2 * FILE : src/gtk/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initprintfwc
54 #define SWIG_name "printfwc"
58 #include <wx/printdlg.h>
62 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
66 } else if (target
== Py_None
) {
70 if (!PyList_Check(target
)) {
72 target
= PyList_New(0);
73 PyList_Append(target
, o2
);
76 PyList_Append(target
,o
);
82 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
88 } else if (target
== Py_None
) {
92 if (!PyTuple_Check(target
)) {
94 target
= PyTuple_New(1);
95 PyTuple_SetItem(target
, 0, o2
);
98 PyTuple_SetItem(o3
, 0, o
);
101 target
= PySequence_Concat(o2
, o3
);
108 static char* wxStringErrorMsg
= "string type is required for parameter";
112 // Since this one would be tough and ugly to do with the Macros...
113 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
116 bool doSave
= wxPyRestoreThread();
117 if (m_myInst
.findCallback("GetPageInfo")) {
118 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
119 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
122 val
= PyTuple_GetItem(result
, 0);
123 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
126 val
= PyTuple_GetItem(result
, 1);
127 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
130 val
= PyTuple_GetItem(result
, 2);
131 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
134 val
= PyTuple_GetItem(result
, 3);
135 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
142 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
148 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
150 wxPySaveThread(doSave
);
153 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
154 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
158 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
159 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
160 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
161 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
162 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
163 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
164 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
170 #define new_wxPrintData() (new wxPrintData())
171 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
172 PyObject
* _resultobj
;
173 wxPrintData
* _result
;
174 char *_kwnames
[] = { NULL
};
178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
181 wxPy_BEGIN_ALLOW_THREADS
;
182 _result
= (wxPrintData
*)new_wxPrintData();
184 wxPy_END_ALLOW_THREADS
;
186 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
187 _resultobj
= Py_BuildValue("s",_ptemp
);
190 _resultobj
= Py_None
;
195 #define delete_wxPrintData(_swigobj) (delete _swigobj)
196 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
197 PyObject
* _resultobj
;
199 PyObject
* _argo0
= 0;
200 char *_kwnames
[] = { "self", NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
213 wxPy_BEGIN_ALLOW_THREADS
;
214 delete_wxPrintData(_arg0
);
216 wxPy_END_ALLOW_THREADS
;
217 } Py_INCREF(Py_None
);
218 _resultobj
= Py_None
;
222 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
223 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
224 PyObject
* _resultobj
;
227 PyObject
* _argo0
= 0;
228 char *_kwnames
[] = { "self", NULL
};
231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
241 wxPy_BEGIN_ALLOW_THREADS
;
242 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
244 wxPy_END_ALLOW_THREADS
;
245 } _resultobj
= Py_BuildValue("i",_result
);
249 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
250 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
251 PyObject
* _resultobj
;
254 PyObject
* _argo0
= 0;
255 char *_kwnames
[] = { "self", NULL
};
258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
268 wxPy_BEGIN_ALLOW_THREADS
;
269 _result
= (bool )wxPrintData_GetCollate(_arg0
);
271 wxPy_END_ALLOW_THREADS
;
272 } _resultobj
= Py_BuildValue("i",_result
);
276 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
277 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
281 PyObject
* _argo0
= 0;
282 char *_kwnames
[] = { "self", NULL
};
285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
295 wxPy_BEGIN_ALLOW_THREADS
;
296 _result
= (int )wxPrintData_GetOrientation(_arg0
);
298 wxPy_END_ALLOW_THREADS
;
299 } _resultobj
= Py_BuildValue("i",_result
);
303 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
304 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
305 PyObject
* _resultobj
;
308 PyObject
* _argo0
= 0;
309 char *_kwnames
[] = { "self", NULL
};
312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
322 wxPy_BEGIN_ALLOW_THREADS
;
323 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
324 _result
= (wxString
*) &_result_ref
;
326 wxPy_END_ALLOW_THREADS
;
328 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
333 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
334 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
335 PyObject
* _resultobj
;
338 PyObject
* _argo0
= 0;
339 char *_kwnames
[] = { "self", NULL
};
342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
352 wxPy_BEGIN_ALLOW_THREADS
;
353 _result
= (bool )wxPrintData_GetColour(_arg0
);
355 wxPy_END_ALLOW_THREADS
;
356 } _resultobj
= Py_BuildValue("i",_result
);
360 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
361 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
362 PyObject
* _resultobj
;
363 wxDuplexMode _result
;
365 PyObject
* _argo0
= 0;
366 char *_kwnames
[] = { "self", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
379 wxPy_BEGIN_ALLOW_THREADS
;
380 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
382 wxPy_END_ALLOW_THREADS
;
383 } _resultobj
= Py_BuildValue("i",_result
);
387 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
388 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
389 PyObject
* _resultobj
;
392 PyObject
* _argo0
= 0;
393 char *_kwnames
[] = { "self", NULL
};
396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
406 wxPy_BEGIN_ALLOW_THREADS
;
407 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
409 wxPy_END_ALLOW_THREADS
;
410 } _resultobj
= Py_BuildValue("i",_result
);
414 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
415 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
416 PyObject
* _resultobj
;
419 PyObject
* _argo0
= 0;
420 char *_kwnames
[] = { "self", NULL
};
424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
434 wxPy_BEGIN_ALLOW_THREADS
;
435 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
436 _result
= (wxSize
*) &_result_ref
;
438 wxPy_END_ALLOW_THREADS
;
440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
441 _resultobj
= Py_BuildValue("s",_ptemp
);
444 _resultobj
= Py_None
;
449 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
450 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
451 PyObject
* _resultobj
;
452 wxPrintQuality _result
;
454 PyObject
* _argo0
= 0;
455 char *_kwnames
[] = { "self", NULL
};
458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
468 wxPy_BEGIN_ALLOW_THREADS
;
469 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
471 wxPy_END_ALLOW_THREADS
;
472 } _resultobj
= Py_BuildValue("i",_result
);
476 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
477 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 PyObject
* _resultobj
;
481 PyObject
* _argo0
= 0;
482 char *_kwnames
[] = { "self","v", NULL
};
485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
495 wxPy_BEGIN_ALLOW_THREADS
;
496 wxPrintData_SetNoCopies(_arg0
,_arg1
);
498 wxPy_END_ALLOW_THREADS
;
499 } Py_INCREF(Py_None
);
500 _resultobj
= Py_None
;
504 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
505 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
506 PyObject
* _resultobj
;
509 PyObject
* _argo0
= 0;
511 char *_kwnames
[] = { "self","flag", NULL
};
514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
523 _arg1
= (bool ) tempbool1
;
525 wxPy_BEGIN_ALLOW_THREADS
;
526 wxPrintData_SetCollate(_arg0
,_arg1
);
528 wxPy_END_ALLOW_THREADS
;
529 } Py_INCREF(Py_None
);
530 _resultobj
= Py_None
;
534 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
535 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
536 PyObject
* _resultobj
;
539 PyObject
* _argo0
= 0;
540 char *_kwnames
[] = { "self","orient", NULL
};
543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
553 wxPy_BEGIN_ALLOW_THREADS
;
554 wxPrintData_SetOrientation(_arg0
,_arg1
);
556 wxPy_END_ALLOW_THREADS
;
557 } Py_INCREF(Py_None
);
558 _resultobj
= Py_None
;
562 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
563 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 PyObject
* _resultobj
;
567 PyObject
* _argo0
= 0;
568 PyObject
* _obj1
= 0;
569 char *_kwnames
[] = { "self","name", NULL
};
572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
582 #if PYTHON_API_VERSION >= 1009
583 char* tmpPtr
; int tmpSize
;
584 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
585 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
588 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
590 _arg1
= new wxString(tmpPtr
, tmpSize
);
592 if (!PyString_Check(_obj1
)) {
593 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
596 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
600 wxPy_BEGIN_ALLOW_THREADS
;
601 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
603 wxPy_END_ALLOW_THREADS
;
604 } Py_INCREF(Py_None
);
605 _resultobj
= Py_None
;
613 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
614 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
615 PyObject
* _resultobj
;
618 PyObject
* _argo0
= 0;
620 char *_kwnames
[] = { "self","colour", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
632 _arg1
= (bool ) tempbool1
;
634 wxPy_BEGIN_ALLOW_THREADS
;
635 wxPrintData_SetColour(_arg0
,_arg1
);
637 wxPy_END_ALLOW_THREADS
;
638 } Py_INCREF(Py_None
);
639 _resultobj
= Py_None
;
643 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
644 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
648 PyObject
* _argo0
= 0;
649 char *_kwnames
[] = { "self","duplex", NULL
};
652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
662 wxPy_BEGIN_ALLOW_THREADS
;
663 wxPrintData_SetDuplex(_arg0
,_arg1
);
665 wxPy_END_ALLOW_THREADS
;
666 } Py_INCREF(Py_None
);
667 _resultobj
= Py_None
;
671 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
672 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
673 PyObject
* _resultobj
;
676 PyObject
* _argo0
= 0;
677 char *_kwnames
[] = { "self","sizeId", NULL
};
680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
690 wxPy_BEGIN_ALLOW_THREADS
;
691 wxPrintData_SetPaperId(_arg0
,_arg1
);
693 wxPy_END_ALLOW_THREADS
;
694 } Py_INCREF(Py_None
);
695 _resultobj
= Py_None
;
699 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
700 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
701 PyObject
* _resultobj
;
704 PyObject
* _argo0
= 0;
706 PyObject
* _obj1
= 0;
707 char *_kwnames
[] = { "self","sz", NULL
};
710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
721 if (! wxSize_helper(_obj1
, &_arg1
))
725 wxPy_BEGIN_ALLOW_THREADS
;
726 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
728 wxPy_END_ALLOW_THREADS
;
729 } Py_INCREF(Py_None
);
730 _resultobj
= Py_None
;
734 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
735 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
738 wxPrintQuality _arg1
;
739 PyObject
* _argo0
= 0;
740 char *_kwnames
[] = { "self","quality", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
753 wxPy_BEGIN_ALLOW_THREADS
;
754 wxPrintData_SetQuality(_arg0
,_arg1
);
756 wxPy_END_ALLOW_THREADS
;
757 } Py_INCREF(Py_None
);
758 _resultobj
= Py_None
;
762 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
763 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 PyObject
* _resultobj
;
765 wxPageSetupDialogData
* _result
;
766 char *_kwnames
[] = { NULL
};
770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
773 wxPy_BEGIN_ALLOW_THREADS
;
774 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
776 wxPy_END_ALLOW_THREADS
;
778 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
779 _resultobj
= Py_BuildValue("s",_ptemp
);
782 _resultobj
= Py_None
;
787 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
788 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
789 PyObject
* _resultobj
;
790 wxPageSetupDialogData
* _arg0
;
791 PyObject
* _argo0
= 0;
792 char *_kwnames
[] = { "self", NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
805 wxPy_BEGIN_ALLOW_THREADS
;
806 delete_wxPageSetupDialogData(_arg0
);
808 wxPy_END_ALLOW_THREADS
;
809 } Py_INCREF(Py_None
);
810 _resultobj
= Py_None
;
814 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
815 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
816 PyObject
* _resultobj
;
817 wxPageSetupDialogData
* _arg0
;
819 PyObject
* _argo0
= 0;
821 char *_kwnames
[] = { "self","flag", NULL
};
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
833 _arg1
= (bool ) tempbool1
;
835 wxPy_BEGIN_ALLOW_THREADS
;
836 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
838 wxPy_END_ALLOW_THREADS
;
839 } Py_INCREF(Py_None
);
840 _resultobj
= Py_None
;
844 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
845 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
846 PyObject
* _resultobj
;
847 wxPageSetupDialogData
* _arg0
;
849 PyObject
* _argo0
= 0;
851 char *_kwnames
[] = { "self","flag", NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
863 _arg1
= (bool ) tempbool1
;
865 wxPy_BEGIN_ALLOW_THREADS
;
866 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
868 wxPy_END_ALLOW_THREADS
;
869 } Py_INCREF(Py_None
);
870 _resultobj
= Py_None
;
874 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
875 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
876 PyObject
* _resultobj
;
877 wxPageSetupDialogData
* _arg0
;
879 PyObject
* _argo0
= 0;
881 char *_kwnames
[] = { "self","flag", NULL
};
884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
893 _arg1
= (bool ) tempbool1
;
895 wxPy_BEGIN_ALLOW_THREADS
;
896 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
898 wxPy_END_ALLOW_THREADS
;
899 } Py_INCREF(Py_None
);
900 _resultobj
= Py_None
;
904 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
905 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
906 PyObject
* _resultobj
;
907 wxPageSetupDialogData
* _arg0
;
909 PyObject
* _argo0
= 0;
911 char *_kwnames
[] = { "self","flag", NULL
};
914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
923 _arg1
= (bool ) tempbool1
;
925 wxPy_BEGIN_ALLOW_THREADS
;
926 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
928 wxPy_END_ALLOW_THREADS
;
929 } Py_INCREF(Py_None
);
930 _resultobj
= Py_None
;
934 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
935 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
936 PyObject
* _resultobj
;
937 wxPageSetupDialogData
* _arg0
;
939 PyObject
* _argo0
= 0;
941 char *_kwnames
[] = { "self","flag", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
953 _arg1
= (bool ) tempbool1
;
955 wxPy_BEGIN_ALLOW_THREADS
;
956 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
958 wxPy_END_ALLOW_THREADS
;
959 } Py_INCREF(Py_None
);
960 _resultobj
= Py_None
;
964 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
965 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
966 PyObject
* _resultobj
;
968 wxPageSetupDialogData
* _arg0
;
969 PyObject
* _argo0
= 0;
970 char *_kwnames
[] = { "self", NULL
};
973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
983 wxPy_BEGIN_ALLOW_THREADS
;
984 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
986 wxPy_END_ALLOW_THREADS
;
987 } _resultobj
= Py_BuildValue("i",_result
);
991 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
992 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
993 PyObject
* _resultobj
;
995 wxPageSetupDialogData
* _arg0
;
996 PyObject
* _argo0
= 0;
997 char *_kwnames
[] = { "self", NULL
};
1000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
1003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1010 wxPy_BEGIN_ALLOW_THREADS
;
1011 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1013 wxPy_END_ALLOW_THREADS
;
1014 } _resultobj
= Py_BuildValue("i",_result
);
1018 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
1019 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
* _resultobj
;
1022 wxPageSetupDialogData
* _arg0
;
1023 PyObject
* _argo0
= 0;
1024 char *_kwnames
[] = { "self", NULL
};
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
1030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1037 wxPy_BEGIN_ALLOW_THREADS
;
1038 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1040 wxPy_END_ALLOW_THREADS
;
1041 } _resultobj
= Py_BuildValue("i",_result
);
1045 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
1046 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
* _resultobj
;
1049 wxPageSetupDialogData
* _arg0
;
1050 PyObject
* _argo0
= 0;
1051 char *_kwnames
[] = { "self", NULL
};
1054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
1057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
1064 wxPy_BEGIN_ALLOW_THREADS
;
1065 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
1067 wxPy_END_ALLOW_THREADS
;
1068 } _resultobj
= Py_BuildValue("i",_result
);
1072 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
1073 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1076 wxPageSetupDialogData
* _arg0
;
1077 PyObject
* _argo0
= 0;
1078 char *_kwnames
[] = { "self", NULL
};
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
1084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
1091 wxPy_BEGIN_ALLOW_THREADS
;
1092 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
1094 wxPy_END_ALLOW_THREADS
;
1095 } _resultobj
= Py_BuildValue("i",_result
);
1099 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
1100 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1103 wxPageSetupDialogData
* _arg0
;
1104 PyObject
* _argo0
= 0;
1105 char *_kwnames
[] = { "self", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
1118 wxPy_BEGIN_ALLOW_THREADS
;
1119 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
1121 wxPy_END_ALLOW_THREADS
;
1122 } _resultobj
= Py_BuildValue("i",_result
);
1126 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
1127 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1128 PyObject
* _resultobj
;
1130 wxPageSetupDialogData
* _arg0
;
1131 PyObject
* _argo0
= 0;
1132 char *_kwnames
[] = { "self", NULL
};
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
1138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1145 wxPy_BEGIN_ALLOW_THREADS
;
1146 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
1148 wxPy_END_ALLOW_THREADS
;
1149 } _resultobj
= Py_BuildValue("i",_result
);
1153 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
1154 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1157 wxPageSetupDialogData
* _arg0
;
1158 PyObject
* _argo0
= 0;
1159 char *_kwnames
[] = { "self", NULL
};
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
1166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1173 wxPy_BEGIN_ALLOW_THREADS
;
1174 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
1176 wxPy_END_ALLOW_THREADS
;
1177 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1178 _resultobj
= Py_BuildValue("s",_ptemp
);
1182 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
1183 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1186 wxPageSetupDialogData
* _arg0
;
1187 PyObject
* _argo0
= 0;
1188 char *_kwnames
[] = { "self", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
1195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1202 wxPy_BEGIN_ALLOW_THREADS
;
1203 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
1205 wxPy_END_ALLOW_THREADS
;
1206 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1207 _resultobj
= Py_BuildValue("s",_ptemp
);
1211 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
1212 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
* _resultobj
;
1215 wxPageSetupDialogData
* _arg0
;
1216 PyObject
* _argo0
= 0;
1217 char *_kwnames
[] = { "self", NULL
};
1221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
1224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1231 wxPy_BEGIN_ALLOW_THREADS
;
1232 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
1234 wxPy_END_ALLOW_THREADS
;
1235 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1236 _resultobj
= Py_BuildValue("s",_ptemp
);
1240 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
1241 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1242 PyObject
* _resultobj
;
1244 wxPageSetupDialogData
* _arg0
;
1245 PyObject
* _argo0
= 0;
1246 char *_kwnames
[] = { "self", NULL
};
1250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
1253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1260 wxPy_BEGIN_ALLOW_THREADS
;
1261 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
1263 wxPy_END_ALLOW_THREADS
;
1264 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1265 _resultobj
= Py_BuildValue("s",_ptemp
);
1269 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
1270 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1272 wxPaperSize _result
;
1273 wxPageSetupDialogData
* _arg0
;
1274 PyObject
* _argo0
= 0;
1275 char *_kwnames
[] = { "self", NULL
};
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
1281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
1288 wxPy_BEGIN_ALLOW_THREADS
;
1289 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
1291 wxPy_END_ALLOW_THREADS
;
1292 } _resultobj
= Py_BuildValue("i",_result
);
1296 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
1297 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1298 PyObject
* _resultobj
;
1300 wxPageSetupDialogData
* _arg0
;
1301 PyObject
* _argo0
= 0;
1302 char *_kwnames
[] = { "self", NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
1309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
1316 wxPy_BEGIN_ALLOW_THREADS
;
1317 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
1319 wxPy_END_ALLOW_THREADS
;
1320 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1321 _resultobj
= Py_BuildValue("s",_ptemp
);
1325 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
1326 return new wxPrintData(self
->GetPrintData()); // force a copy
1328 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1330 wxPrintData
* _result
;
1331 wxPageSetupDialogData
* _arg0
;
1332 PyObject
* _argo0
= 0;
1333 char *_kwnames
[] = { "self", NULL
};
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_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_GetPrintData. Expected _wxPageSetupDialogData_p.");
1347 wxPy_BEGIN_ALLOW_THREADS
;
1348 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
1350 wxPy_END_ALLOW_THREADS
;
1352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1353 _resultobj
= Py_BuildValue("s",_ptemp
);
1356 _resultobj
= Py_None
;
1361 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
1362 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
* _resultobj
;
1364 wxPageSetupDialogData
* _arg0
;
1366 PyObject
* _argo0
= 0;
1368 char *_kwnames
[] = { "self","flag", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
1374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1380 _arg1
= (bool ) tempbool1
;
1382 wxPy_BEGIN_ALLOW_THREADS
;
1383 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
1385 wxPy_END_ALLOW_THREADS
;
1386 } Py_INCREF(Py_None
);
1387 _resultobj
= Py_None
;
1391 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
1392 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
* _resultobj
;
1394 wxPageSetupDialogData
* _arg0
;
1396 PyObject
* _argo0
= 0;
1398 char *_kwnames
[] = { "self","flag", NULL
};
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
1404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1410 _arg1
= (bool ) tempbool1
;
1412 wxPy_BEGIN_ALLOW_THREADS
;
1413 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
1415 wxPy_END_ALLOW_THREADS
;
1416 } Py_INCREF(Py_None
);
1417 _resultobj
= Py_None
;
1421 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
1422 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1424 wxPageSetupDialogData
* _arg0
;
1426 PyObject
* _argo0
= 0;
1428 PyObject
* _obj1
= 0;
1429 char *_kwnames
[] = { "self","pt", NULL
};
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
1435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1443 if (! wxPoint_helper(_obj1
, &_arg1
))
1447 wxPy_BEGIN_ALLOW_THREADS
;
1448 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
1450 wxPy_END_ALLOW_THREADS
;
1451 } Py_INCREF(Py_None
);
1452 _resultobj
= Py_None
;
1456 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
1457 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1459 wxPageSetupDialogData
* _arg0
;
1461 PyObject
* _argo0
= 0;
1463 PyObject
* _obj1
= 0;
1464 char *_kwnames
[] = { "self","pt", NULL
};
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
1470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1478 if (! wxPoint_helper(_obj1
, &_arg1
))
1482 wxPy_BEGIN_ALLOW_THREADS
;
1483 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
1485 wxPy_END_ALLOW_THREADS
;
1486 } Py_INCREF(Py_None
);
1487 _resultobj
= Py_None
;
1491 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
1492 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1494 wxPageSetupDialogData
* _arg0
;
1496 PyObject
* _argo0
= 0;
1498 PyObject
* _obj1
= 0;
1499 char *_kwnames
[] = { "self","pt", NULL
};
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
1505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1513 if (! wxPoint_helper(_obj1
, &_arg1
))
1517 wxPy_BEGIN_ALLOW_THREADS
;
1518 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
1520 wxPy_END_ALLOW_THREADS
;
1521 } Py_INCREF(Py_None
);
1522 _resultobj
= Py_None
;
1526 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
1527 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1528 PyObject
* _resultobj
;
1529 wxPageSetupDialogData
* _arg0
;
1531 PyObject
* _argo0
= 0;
1533 PyObject
* _obj1
= 0;
1534 char *_kwnames
[] = { "self","pt", NULL
};
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
1540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1548 if (! wxPoint_helper(_obj1
, &_arg1
))
1552 wxPy_BEGIN_ALLOW_THREADS
;
1553 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
1555 wxPy_END_ALLOW_THREADS
;
1556 } Py_INCREF(Py_None
);
1557 _resultobj
= Py_None
;
1561 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
1562 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
* _resultobj
;
1564 wxPageSetupDialogData
* _arg0
;
1566 PyObject
* _argo0
= 0;
1567 char *_kwnames
[] = { "self","id", NULL
};
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
1573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
1580 wxPy_BEGIN_ALLOW_THREADS
;
1581 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
1583 wxPy_END_ALLOW_THREADS
;
1584 } Py_INCREF(Py_None
);
1585 _resultobj
= Py_None
;
1589 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
1590 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
* _resultobj
;
1592 wxPageSetupDialogData
* _arg0
;
1594 PyObject
* _argo0
= 0;
1596 PyObject
* _obj1
= 0;
1597 char *_kwnames
[] = { "self","size", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
1611 if (! wxSize_helper(_obj1
, &_arg1
))
1615 wxPy_BEGIN_ALLOW_THREADS
;
1616 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
1618 wxPy_END_ALLOW_THREADS
;
1619 } Py_INCREF(Py_None
);
1620 _resultobj
= Py_None
;
1624 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1625 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
* _resultobj
;
1627 wxPageSetupDialogData
* _arg0
;
1628 wxPrintData
* _arg1
;
1629 PyObject
* _argo0
= 0;
1630 PyObject
* _argo1
= 0;
1631 char *_kwnames
[] = { "self","printData", NULL
};
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
1644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
1651 wxPy_BEGIN_ALLOW_THREADS
;
1652 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
1654 wxPy_END_ALLOW_THREADS
;
1655 } Py_INCREF(Py_None
);
1656 _resultobj
= Py_None
;
1660 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
1661 wxPageSetupDialog
*src
;
1663 src
= (wxPageSetupDialog
*) ptr
;
1664 dest
= (wxDialog
*) src
;
1665 return (void *) dest
;
1668 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
1669 wxPageSetupDialog
*src
;
1671 src
= (wxPageSetupDialog
*) ptr
;
1672 dest
= (wxPanel
*) src
;
1673 return (void *) dest
;
1676 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
1677 wxPageSetupDialog
*src
;
1679 src
= (wxPageSetupDialog
*) ptr
;
1680 dest
= (wxWindow
*) src
;
1681 return (void *) dest
;
1684 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
1685 wxPageSetupDialog
*src
;
1687 src
= (wxPageSetupDialog
*) ptr
;
1688 dest
= (wxEvtHandler
*) src
;
1689 return (void *) dest
;
1692 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
1693 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1694 PyObject
* _resultobj
;
1695 wxPageSetupDialog
* _result
;
1697 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
1698 PyObject
* _argo0
= 0;
1699 PyObject
* _argo1
= 0;
1700 char *_kwnames
[] = { "parent","data", NULL
};
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
1707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
1714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
1721 wxPy_BEGIN_ALLOW_THREADS
;
1722 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
1724 wxPy_END_ALLOW_THREADS
;
1726 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
1727 _resultobj
= Py_BuildValue("s",_ptemp
);
1730 _resultobj
= Py_None
;
1735 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
1736 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1738 wxPageSetupDialogData
* _result
;
1739 wxPageSetupDialog
* _arg0
;
1740 PyObject
* _argo0
= 0;
1741 char *_kwnames
[] = { "self", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
1755 wxPy_BEGIN_ALLOW_THREADS
;
1756 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
1757 _result
= (wxPageSetupDialogData
*) &_result_ref
;
1759 wxPy_END_ALLOW_THREADS
;
1761 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1762 _resultobj
= Py_BuildValue("s",_ptemp
);
1765 _resultobj
= Py_None
;
1770 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1771 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
* _resultobj
;
1774 wxPageSetupDialog
* _arg0
;
1775 PyObject
* _argo0
= 0;
1776 char *_kwnames
[] = { "self", NULL
};
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
1782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
1792 wxPy_END_ALLOW_THREADS
;
1793 } _resultobj
= Py_BuildValue("i",_result
);
1797 #define new_wxPrintDialogData() (new wxPrintDialogData())
1798 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1800 wxPrintDialogData
* _result
;
1801 char *_kwnames
[] = { NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
1808 wxPy_BEGIN_ALLOW_THREADS
;
1809 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
1811 wxPy_END_ALLOW_THREADS
;
1813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
1814 _resultobj
= Py_BuildValue("s",_ptemp
);
1817 _resultobj
= Py_None
;
1822 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
1823 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1825 wxPrintDialogData
* _arg0
;
1826 PyObject
* _argo0
= 0;
1827 char *_kwnames
[] = { "self", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
1833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
1840 wxPy_BEGIN_ALLOW_THREADS
;
1841 delete_wxPrintDialogData(_arg0
);
1843 wxPy_END_ALLOW_THREADS
;
1844 } Py_INCREF(Py_None
);
1845 _resultobj
= Py_None
;
1849 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1850 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1852 wxPrintDialogData
* _arg0
;
1854 PyObject
* _argo0
= 0;
1856 char *_kwnames
[] = { "self","flag", NULL
};
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
1868 _arg1
= (bool ) tempbool1
;
1870 wxPy_BEGIN_ALLOW_THREADS
;
1871 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
1873 wxPy_END_ALLOW_THREADS
;
1874 } Py_INCREF(Py_None
);
1875 _resultobj
= Py_None
;
1879 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
1880 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1882 wxPrintDialogData
* _arg0
;
1884 PyObject
* _argo0
= 0;
1886 char *_kwnames
[] = { "self","flag", NULL
};
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
1892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
1898 _arg1
= (bool ) tempbool1
;
1900 wxPy_BEGIN_ALLOW_THREADS
;
1901 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
1903 wxPy_END_ALLOW_THREADS
;
1904 } Py_INCREF(Py_None
);
1905 _resultobj
= Py_None
;
1909 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
1910 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
* _resultobj
;
1912 wxPrintDialogData
* _arg0
;
1914 PyObject
* _argo0
= 0;
1916 char *_kwnames
[] = { "self","flag", NULL
};
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
1922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
1928 _arg1
= (bool ) tempbool1
;
1930 wxPy_BEGIN_ALLOW_THREADS
;
1931 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
1933 wxPy_END_ALLOW_THREADS
;
1934 } Py_INCREF(Py_None
);
1935 _resultobj
= Py_None
;
1939 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
1940 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1942 wxPrintDialogData
* _arg0
;
1944 PyObject
* _argo0
= 0;
1946 char *_kwnames
[] = { "self","flag", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
1958 _arg1
= (bool ) tempbool1
;
1960 wxPy_BEGIN_ALLOW_THREADS
;
1961 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
1963 wxPy_END_ALLOW_THREADS
;
1964 } Py_INCREF(Py_None
);
1965 _resultobj
= Py_None
;
1969 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
1970 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1973 wxPrintDialogData
* _arg0
;
1974 PyObject
* _argo0
= 0;
1975 char *_kwnames
[] = { "self", NULL
};
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
1981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
1988 wxPy_BEGIN_ALLOW_THREADS
;
1989 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
1991 wxPy_END_ALLOW_THREADS
;
1992 } _resultobj
= Py_BuildValue("i",_result
);
1996 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
1997 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2000 wxPrintDialogData
* _arg0
;
2001 PyObject
* _argo0
= 0;
2002 char *_kwnames
[] = { "self", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
2008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
2015 wxPy_BEGIN_ALLOW_THREADS
;
2016 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
2018 wxPy_END_ALLOW_THREADS
;
2019 } _resultobj
= Py_BuildValue("i",_result
);
2023 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
2024 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2027 wxPrintDialogData
* _arg0
;
2028 PyObject
* _argo0
= 0;
2029 char *_kwnames
[] = { "self", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
2035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
2042 wxPy_BEGIN_ALLOW_THREADS
;
2043 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
2045 wxPy_END_ALLOW_THREADS
;
2046 } _resultobj
= Py_BuildValue("i",_result
);
2050 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
2051 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2054 wxPrintDialogData
* _arg0
;
2055 PyObject
* _argo0
= 0;
2056 char *_kwnames
[] = { "self", NULL
};
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
2062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
2069 wxPy_BEGIN_ALLOW_THREADS
;
2070 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
2072 wxPy_END_ALLOW_THREADS
;
2073 } _resultobj
= Py_BuildValue("i",_result
);
2077 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
2078 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2079 PyObject
* _resultobj
;
2081 wxPrintDialogData
* _arg0
;
2082 PyObject
* _argo0
= 0;
2083 char *_kwnames
[] = { "self", NULL
};
2086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
2089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
2096 wxPy_BEGIN_ALLOW_THREADS
;
2097 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
2099 wxPy_END_ALLOW_THREADS
;
2100 } _resultobj
= Py_BuildValue("i",_result
);
2104 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
2105 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
* _resultobj
;
2108 wxPrintDialogData
* _arg0
;
2109 PyObject
* _argo0
= 0;
2110 char *_kwnames
[] = { "self", NULL
};
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
2116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
2123 wxPy_BEGIN_ALLOW_THREADS
;
2124 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
2126 wxPy_END_ALLOW_THREADS
;
2127 } _resultobj
= Py_BuildValue("i",_result
);
2131 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
2132 return new wxPrintData(self
->GetPrintData()); // force a copy
2134 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
* _resultobj
;
2136 wxPrintData
* _result
;
2137 wxPrintDialogData
* _arg0
;
2138 PyObject
* _argo0
= 0;
2139 char *_kwnames
[] = { "self", NULL
};
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
2146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
2153 wxPy_BEGIN_ALLOW_THREADS
;
2154 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
2156 wxPy_END_ALLOW_THREADS
;
2158 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2159 _resultobj
= Py_BuildValue("s",_ptemp
);
2162 _resultobj
= Py_None
;
2167 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
2168 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
* _resultobj
;
2171 wxPrintDialogData
* _arg0
;
2172 PyObject
* _argo0
= 0;
2173 char *_kwnames
[] = { "self", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
2179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
2186 wxPy_BEGIN_ALLOW_THREADS
;
2187 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
2189 wxPy_END_ALLOW_THREADS
;
2190 } _resultobj
= Py_BuildValue("i",_result
);
2194 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
2195 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
* _resultobj
;
2198 wxPrintDialogData
* _arg0
;
2199 PyObject
* _argo0
= 0;
2200 char *_kwnames
[] = { "self", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
2206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
2213 wxPy_BEGIN_ALLOW_THREADS
;
2214 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
2216 wxPy_END_ALLOW_THREADS
;
2217 } _resultobj
= Py_BuildValue("i",_result
);
2221 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
2222 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
* _resultobj
;
2224 wxPrintDialogData
* _arg0
;
2226 PyObject
* _argo0
= 0;
2228 char *_kwnames
[] = { "self","flag", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
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_SetCollate. Expected _wxPrintDialogData_p.");
2240 _arg1
= (bool ) tempbool1
;
2242 wxPy_BEGIN_ALLOW_THREADS
;
2243 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
2245 wxPy_END_ALLOW_THREADS
;
2246 } Py_INCREF(Py_None
);
2247 _resultobj
= Py_None
;
2251 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
2252 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
* _resultobj
;
2254 wxPrintDialogData
* _arg0
;
2256 PyObject
* _argo0
= 0;
2257 char *_kwnames
[] = { "self","page", NULL
};
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
2263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
2270 wxPy_BEGIN_ALLOW_THREADS
;
2271 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
2273 wxPy_END_ALLOW_THREADS
;
2274 } Py_INCREF(Py_None
);
2275 _resultobj
= Py_None
;
2279 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
2280 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
* _resultobj
;
2282 wxPrintDialogData
* _arg0
;
2284 PyObject
* _argo0
= 0;
2285 char *_kwnames
[] = { "self","page", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
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_SetMaxPage. Expected _wxPrintDialogData_p.");
2298 wxPy_BEGIN_ALLOW_THREADS
;
2299 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
2301 wxPy_END_ALLOW_THREADS
;
2302 } Py_INCREF(Py_None
);
2303 _resultobj
= Py_None
;
2307 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
2308 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
* _resultobj
;
2310 wxPrintDialogData
* _arg0
;
2312 PyObject
* _argo0
= 0;
2313 char *_kwnames
[] = { "self","page", NULL
};
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
2319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
2326 wxPy_BEGIN_ALLOW_THREADS
;
2327 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
2329 wxPy_END_ALLOW_THREADS
;
2330 } Py_INCREF(Py_None
);
2331 _resultobj
= Py_None
;
2335 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
2336 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
* _resultobj
;
2338 wxPrintDialogData
* _arg0
;
2340 PyObject
* _argo0
= 0;
2341 char *_kwnames
[] = { "self","n", NULL
};
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
2347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
2354 wxPy_BEGIN_ALLOW_THREADS
;
2355 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
2357 wxPy_END_ALLOW_THREADS
;
2358 } Py_INCREF(Py_None
);
2359 _resultobj
= Py_None
;
2363 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2364 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
* _resultobj
;
2366 wxPrintDialogData
* _arg0
;
2367 wxPrintData
* _arg1
;
2368 PyObject
* _argo0
= 0;
2369 PyObject
* _argo1
= 0;
2370 char *_kwnames
[] = { "self","printData", NULL
};
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
2383 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2384 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
2390 wxPy_BEGIN_ALLOW_THREADS
;
2391 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
2393 wxPy_END_ALLOW_THREADS
;
2394 } Py_INCREF(Py_None
);
2395 _resultobj
= Py_None
;
2399 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
2400 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2401 PyObject
* _resultobj
;
2402 wxPrintDialogData
* _arg0
;
2404 PyObject
* _argo0
= 0;
2406 char *_kwnames
[] = { "self","flag", NULL
};
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
2418 _arg1
= (bool ) tempbool1
;
2420 wxPy_BEGIN_ALLOW_THREADS
;
2421 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
2423 wxPy_END_ALLOW_THREADS
;
2424 } Py_INCREF(Py_None
);
2425 _resultobj
= Py_None
;
2429 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
2430 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
* _resultobj
;
2432 wxPrintDialogData
* _arg0
;
2434 PyObject
* _argo0
= 0;
2436 char *_kwnames
[] = { "self","flag", NULL
};
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
2442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
2448 _arg1
= (bool ) tempbool1
;
2450 wxPy_BEGIN_ALLOW_THREADS
;
2451 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
2453 wxPy_END_ALLOW_THREADS
;
2454 } Py_INCREF(Py_None
);
2455 _resultobj
= Py_None
;
2459 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
2460 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2462 wxPrintDialogData
* _arg0
;
2464 PyObject
* _argo0
= 0;
2465 char *_kwnames
[] = { "self","page", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
2478 wxPy_BEGIN_ALLOW_THREADS
;
2479 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
2481 wxPy_END_ALLOW_THREADS
;
2482 } Py_INCREF(Py_None
);
2483 _resultobj
= Py_None
;
2487 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
2490 src
= (wxPrintDialog
*) ptr
;
2491 dest
= (wxDialog
*) src
;
2492 return (void *) dest
;
2495 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
2498 src
= (wxPrintDialog
*) ptr
;
2499 dest
= (wxPanel
*) src
;
2500 return (void *) dest
;
2503 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
2506 src
= (wxPrintDialog
*) ptr
;
2507 dest
= (wxWindow
*) src
;
2508 return (void *) dest
;
2511 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
2514 src
= (wxPrintDialog
*) ptr
;
2515 dest
= (wxEvtHandler
*) src
;
2516 return (void *) dest
;
2519 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
2520 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
* _resultobj
;
2522 wxPrintDialog
* _result
;
2524 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
2525 PyObject
* _argo0
= 0;
2526 PyObject
* _argo1
= 0;
2527 char *_kwnames
[] = { "parent","data", NULL
};
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
2534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
2541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
2543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
2548 wxPy_BEGIN_ALLOW_THREADS
;
2549 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
2551 wxPy_END_ALLOW_THREADS
;
2553 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
2554 _resultobj
= Py_BuildValue("s",_ptemp
);
2557 _resultobj
= Py_None
;
2562 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
2563 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2565 wxPrintDialogData
* _result
;
2566 wxPrintDialog
* _arg0
;
2567 PyObject
* _argo0
= 0;
2568 char *_kwnames
[] = { "self", NULL
};
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
2575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
2582 wxPy_BEGIN_ALLOW_THREADS
;
2583 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
2584 _result
= (wxPrintDialogData
*) &_result_ref
;
2586 wxPy_END_ALLOW_THREADS
;
2588 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2589 _resultobj
= Py_BuildValue("s",_ptemp
);
2592 _resultobj
= Py_None
;
2597 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
2598 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2601 wxPrintDialog
* _arg0
;
2602 PyObject
* _argo0
= 0;
2603 char *_kwnames
[] = { "self", NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
2610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
2617 wxPy_BEGIN_ALLOW_THREADS
;
2618 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
2620 wxPy_END_ALLOW_THREADS
;
2622 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2623 _resultobj
= Py_BuildValue("s",_ptemp
);
2626 _resultobj
= Py_None
;
2631 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2632 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
* _resultobj
;
2635 wxPrintDialog
* _arg0
;
2636 PyObject
* _argo0
= 0;
2637 char *_kwnames
[] = { "self", NULL
};
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
2643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
2650 wxPy_BEGIN_ALLOW_THREADS
;
2651 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
2653 wxPy_END_ALLOW_THREADS
;
2654 } _resultobj
= Py_BuildValue("i",_result
);
2658 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
2659 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2661 wxPyPrintout
* _result
;
2662 char * _arg0
= (char *) "Printout";
2663 char *_kwnames
[] = { "title", NULL
};
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
2670 wxPy_BEGIN_ALLOW_THREADS
;
2671 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
2673 wxPy_END_ALLOW_THREADS
;
2675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
2676 _resultobj
= Py_BuildValue("s",_ptemp
);
2679 _resultobj
= Py_None
;
2684 #define wxPrintout__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2685 static PyObject
*_wrap_wxPrintout__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
* _resultobj
;
2687 wxPyPrintout
* _arg0
;
2690 PyObject
* _argo0
= 0;
2691 PyObject
* _obj1
= 0;
2692 PyObject
* _obj2
= 0;
2693 char *_kwnames
[] = { "self","self","_class", NULL
};
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
2712 wxPy_BEGIN_ALLOW_THREADS
;
2713 wxPrintout__setSelf(_arg0
,_arg1
,_arg2
);
2715 wxPy_END_ALLOW_THREADS
;
2716 } Py_INCREF(Py_None
);
2717 _resultobj
= Py_None
;
2721 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
2722 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
* _resultobj
;
2724 wxPyPrintout
* _arg0
;
2725 PyObject
* _argo0
= 0;
2726 char *_kwnames
[] = { "self", NULL
};
2729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
2732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
2739 wxPy_BEGIN_ALLOW_THREADS
;
2740 wxPyPrintout_Destroy(_arg0
);
2742 wxPy_END_ALLOW_THREADS
;
2743 } Py_INCREF(Py_None
);
2744 _resultobj
= Py_None
;
2748 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
2749 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
* _resultobj
;
2752 wxPyPrintout
* _arg0
;
2753 PyObject
* _argo0
= 0;
2754 char *_kwnames
[] = { "self", NULL
};
2758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
2761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
2768 wxPy_BEGIN_ALLOW_THREADS
;
2769 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
2771 wxPy_END_ALLOW_THREADS
;
2773 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2774 _resultobj
= Py_BuildValue("s",_ptemp
);
2777 _resultobj
= Py_None
;
2782 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
2783 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
* _resultobj
;
2785 wxPyPrintout
* _arg0
;
2790 PyObject
* _argo0
= 0;
2791 char *_kwnames
[] = { "self", NULL
};
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
2803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
2810 wxPy_BEGIN_ALLOW_THREADS
;
2811 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
2813 wxPy_END_ALLOW_THREADS
;
2814 } Py_INCREF(Py_None
);
2815 _resultobj
= Py_None
;
2818 o
= PyInt_FromLong((long) (*_arg1
));
2819 _resultobj
= t_output_helper(_resultobj
, o
);
2823 o
= PyInt_FromLong((long) (*_arg2
));
2824 _resultobj
= t_output_helper(_resultobj
, o
);
2829 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
2830 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
* _resultobj
;
2832 wxPyPrintout
* _arg0
;
2837 PyObject
* _argo0
= 0;
2838 char *_kwnames
[] = { "self", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
2850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
2857 wxPy_BEGIN_ALLOW_THREADS
;
2858 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
2860 wxPy_END_ALLOW_THREADS
;
2861 } Py_INCREF(Py_None
);
2862 _resultobj
= Py_None
;
2865 o
= PyInt_FromLong((long) (*_arg1
));
2866 _resultobj
= t_output_helper(_resultobj
, o
);
2870 o
= PyInt_FromLong((long) (*_arg2
));
2871 _resultobj
= t_output_helper(_resultobj
, o
);
2876 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
2877 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
* _resultobj
;
2879 wxPyPrintout
* _arg0
;
2884 PyObject
* _argo0
= 0;
2885 char *_kwnames
[] = { "self", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
2897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
2904 wxPy_BEGIN_ALLOW_THREADS
;
2905 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
2907 wxPy_END_ALLOW_THREADS
;
2908 } Py_INCREF(Py_None
);
2909 _resultobj
= Py_None
;
2912 o
= PyInt_FromLong((long) (*_arg1
));
2913 _resultobj
= t_output_helper(_resultobj
, o
);
2917 o
= PyInt_FromLong((long) (*_arg2
));
2918 _resultobj
= t_output_helper(_resultobj
, o
);
2923 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
2924 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
* _resultobj
;
2926 wxPyPrintout
* _arg0
;
2931 PyObject
* _argo0
= 0;
2932 char *_kwnames
[] = { "self", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
2951 wxPy_BEGIN_ALLOW_THREADS
;
2952 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
2954 wxPy_END_ALLOW_THREADS
;
2955 } Py_INCREF(Py_None
);
2956 _resultobj
= Py_None
;
2959 o
= PyInt_FromLong((long) (*_arg1
));
2960 _resultobj
= t_output_helper(_resultobj
, o
);
2964 o
= PyInt_FromLong((long) (*_arg2
));
2965 _resultobj
= t_output_helper(_resultobj
, o
);
2970 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
2971 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2974 wxPyPrintout
* _arg0
;
2975 PyObject
* _argo0
= 0;
2976 char *_kwnames
[] = { "self", NULL
};
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
2982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
2989 wxPy_BEGIN_ALLOW_THREADS
;
2990 _result
= (bool )wxPrintout_IsPreview(_arg0
);
2992 wxPy_END_ALLOW_THREADS
;
2993 } _resultobj
= Py_BuildValue("i",_result
);
2997 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
2998 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
* _resultobj
;
3001 wxPyPrintout
* _arg0
;
3004 PyObject
* _argo0
= 0;
3005 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
3018 wxPy_BEGIN_ALLOW_THREADS
;
3019 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
3021 wxPy_END_ALLOW_THREADS
;
3022 } _resultobj
= Py_BuildValue("i",_result
);
3026 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
3027 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
* _resultobj
;
3029 wxPyPrintout
* _arg0
;
3030 PyObject
* _argo0
= 0;
3031 char *_kwnames
[] = { "self", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
3044 wxPy_BEGIN_ALLOW_THREADS
;
3045 wxPrintout_base_OnEndDocument(_arg0
);
3047 wxPy_END_ALLOW_THREADS
;
3048 } Py_INCREF(Py_None
);
3049 _resultobj
= Py_None
;
3053 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
3054 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
* _resultobj
;
3056 wxPyPrintout
* _arg0
;
3057 PyObject
* _argo0
= 0;
3058 char *_kwnames
[] = { "self", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
3071 wxPy_BEGIN_ALLOW_THREADS
;
3072 wxPrintout_base_OnBeginPrinting(_arg0
);
3074 wxPy_END_ALLOW_THREADS
;
3075 } Py_INCREF(Py_None
);
3076 _resultobj
= Py_None
;
3080 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
3081 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3083 wxPyPrintout
* _arg0
;
3084 PyObject
* _argo0
= 0;
3085 char *_kwnames
[] = { "self", NULL
};
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
3091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
3098 wxPy_BEGIN_ALLOW_THREADS
;
3099 wxPrintout_base_OnEndPrinting(_arg0
);
3101 wxPy_END_ALLOW_THREADS
;
3102 } Py_INCREF(Py_None
);
3103 _resultobj
= Py_None
;
3107 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
3108 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3110 wxPyPrintout
* _arg0
;
3111 PyObject
* _argo0
= 0;
3112 char *_kwnames
[] = { "self", NULL
};
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
3118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
3125 wxPy_BEGIN_ALLOW_THREADS
;
3126 wxPrintout_base_OnPreparePrinting(_arg0
);
3128 wxPy_END_ALLOW_THREADS
;
3129 } Py_INCREF(Py_None
);
3130 _resultobj
= Py_None
;
3134 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3135 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3137 wxPyPrintout
* _arg0
;
3146 PyObject
* _argo0
= 0;
3147 char *_kwnames
[] = { "self", NULL
};
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
3165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
3172 wxPy_BEGIN_ALLOW_THREADS
;
3173 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3175 wxPy_END_ALLOW_THREADS
;
3176 } Py_INCREF(Py_None
);
3177 _resultobj
= Py_None
;
3180 o
= PyInt_FromLong((long) (*_arg1
));
3181 _resultobj
= t_output_helper(_resultobj
, o
);
3185 o
= PyInt_FromLong((long) (*_arg2
));
3186 _resultobj
= t_output_helper(_resultobj
, o
);
3190 o
= PyInt_FromLong((long) (*_arg3
));
3191 _resultobj
= t_output_helper(_resultobj
, o
);
3195 o
= PyInt_FromLong((long) (*_arg4
));
3196 _resultobj
= t_output_helper(_resultobj
, o
);
3201 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
3202 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
* _resultobj
;
3205 wxPyPrintout
* _arg0
;
3207 PyObject
* _argo0
= 0;
3208 char *_kwnames
[] = { "self","page", NULL
};
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
3214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
3221 wxPy_BEGIN_ALLOW_THREADS
;
3222 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
3224 wxPy_END_ALLOW_THREADS
;
3225 } _resultobj
= Py_BuildValue("i",_result
);
3229 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
3230 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
* _resultobj
;
3232 wxPrinter
* _result
;
3233 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
3234 PyObject
* _argo0
= 0;
3235 char *_kwnames
[] = { "data", NULL
};
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
3242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
3249 wxPy_BEGIN_ALLOW_THREADS
;
3250 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
3252 wxPy_END_ALLOW_THREADS
;
3254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
3255 _resultobj
= Py_BuildValue("s",_ptemp
);
3258 _resultobj
= Py_None
;
3263 #define delete_wxPrinter(_swigobj) (delete _swigobj)
3264 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
* _resultobj
;
3267 PyObject
* _argo0
= 0;
3268 char *_kwnames
[] = { "self", NULL
};
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
3274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
3281 wxPy_BEGIN_ALLOW_THREADS
;
3282 delete_wxPrinter(_arg0
);
3284 wxPy_END_ALLOW_THREADS
;
3285 } Py_INCREF(Py_None
);
3286 _resultobj
= Py_None
;
3290 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
3291 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
* _resultobj
;
3295 wxPyPrintout
* _arg2
;
3296 PyObject
* _argo0
= 0;
3297 PyObject
* _argo1
= 0;
3298 PyObject
* _argo2
= 0;
3299 char *_kwnames
[] = { "self","parent","printout", NULL
};
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
3312 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3313 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
3319 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3320 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
3326 wxPy_BEGIN_ALLOW_THREADS
;
3327 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
3329 wxPy_END_ALLOW_THREADS
;
3330 } Py_INCREF(Py_None
);
3331 _resultobj
= Py_None
;
3335 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3336 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
* _resultobj
;
3338 wxPrintDialogData
* _result
;
3340 PyObject
* _argo0
= 0;
3341 char *_kwnames
[] = { "self", NULL
};
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
3348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
3355 wxPy_BEGIN_ALLOW_THREADS
;
3356 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
3357 _result
= (wxPrintDialogData
*) &_result_ref
;
3359 wxPy_END_ALLOW_THREADS
;
3361 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3362 _resultobj
= Py_BuildValue("s",_ptemp
);
3365 _resultobj
= Py_None
;
3370 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
3371 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
* _resultobj
;
3376 wxPyPrintout
* _arg2
;
3377 int _arg3
= (int ) TRUE
;
3378 PyObject
* _argo0
= 0;
3379 PyObject
* _argo1
= 0;
3380 PyObject
* _argo2
= 0;
3381 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
3394 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3395 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
3401 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
3408 wxPy_BEGIN_ALLOW_THREADS
;
3409 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
3411 wxPy_END_ALLOW_THREADS
;
3412 } _resultobj
= Py_BuildValue("i",_result
);
3416 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
3417 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
* _resultobj
;
3422 PyObject
* _argo0
= 0;
3423 PyObject
* _argo1
= 0;
3424 char *_kwnames
[] = { "self","parent", NULL
};
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
3431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
3438 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3439 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
3445 wxPy_BEGIN_ALLOW_THREADS
;
3446 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
3448 wxPy_END_ALLOW_THREADS
;
3450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3451 _resultobj
= Py_BuildValue("s",_ptemp
);
3454 _resultobj
= Py_None
;
3459 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
3460 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
* _resultobj
;
3464 wxPyPrintout
* _arg2
;
3466 PyObject
* _argo0
= 0;
3467 PyObject
* _argo1
= 0;
3468 PyObject
* _argo2
= 0;
3469 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
3482 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3483 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
3489 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3490 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
3496 wxPy_BEGIN_ALLOW_THREADS
;
3497 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
3499 wxPy_END_ALLOW_THREADS
;
3500 } Py_INCREF(Py_None
);
3501 _resultobj
= Py_None
;
3505 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
3506 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
* _resultobj
;
3511 PyObject
* _argo0
= 0;
3512 PyObject
* _argo1
= 0;
3513 char *_kwnames
[] = { "self","parent", NULL
};
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
3519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
3526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
3533 wxPy_BEGIN_ALLOW_THREADS
;
3534 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
3536 wxPy_END_ALLOW_THREADS
;
3537 } _resultobj
= Py_BuildValue("i",_result
);
3541 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
3542 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
* _resultobj
;
3544 wxPrintPreview
* _result
;
3545 wxPyPrintout
* _arg0
;
3546 wxPyPrintout
* _arg1
;
3547 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
3548 PyObject
* _argo0
= 0;
3549 PyObject
* _argo1
= 0;
3550 PyObject
* _argo2
= 0;
3551 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3572 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3573 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
3574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
3579 wxPy_BEGIN_ALLOW_THREADS
;
3580 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
3582 wxPy_END_ALLOW_THREADS
;
3584 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
3585 _resultobj
= Py_BuildValue("s",_ptemp
);
3588 _resultobj
= Py_None
;
3593 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
3594 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
* _resultobj
;
3597 wxPrintPreview
* _arg0
;
3598 PyObject
* _argo0
= 0;
3599 char *_kwnames
[] = { "self", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
3606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
3613 wxPy_BEGIN_ALLOW_THREADS
;
3614 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
3616 wxPy_END_ALLOW_THREADS
;
3618 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3619 _resultobj
= Py_BuildValue("s",_ptemp
);
3622 _resultobj
= Py_None
;
3627 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
3628 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
* _resultobj
;
3631 wxPrintPreview
* _arg0
;
3632 PyObject
* _argo0
= 0;
3633 char *_kwnames
[] = { "self", NULL
};
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
3639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
3646 wxPy_BEGIN_ALLOW_THREADS
;
3647 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
3649 wxPy_END_ALLOW_THREADS
;
3650 } _resultobj
= Py_BuildValue("i",_result
);
3654 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
3655 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3658 wxPrintPreview
* _arg0
;
3659 PyObject
* _argo0
= 0;
3660 char *_kwnames
[] = { "self", NULL
};
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
3667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
3674 wxPy_BEGIN_ALLOW_THREADS
;
3675 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
3677 wxPy_END_ALLOW_THREADS
;
3679 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
3680 _resultobj
= Py_BuildValue("s",_ptemp
);
3683 _resultobj
= Py_None
;
3688 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3689 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
* _resultobj
;
3692 wxPrintPreview
* _arg0
;
3693 PyObject
* _argo0
= 0;
3694 char *_kwnames
[] = { "self", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
3707 wxPy_BEGIN_ALLOW_THREADS
;
3708 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
3710 wxPy_END_ALLOW_THREADS
;
3711 } _resultobj
= Py_BuildValue("i",_result
);
3715 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3716 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
* _resultobj
;
3719 wxPrintPreview
* _arg0
;
3720 PyObject
* _argo0
= 0;
3721 char *_kwnames
[] = { "self", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
3734 wxPy_BEGIN_ALLOW_THREADS
;
3735 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
3737 wxPy_END_ALLOW_THREADS
;
3738 } _resultobj
= Py_BuildValue("i",_result
);
3742 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3743 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
* _resultobj
;
3745 wxPrintDialogData
* _result
;
3746 wxPrintPreview
* _arg0
;
3747 PyObject
* _argo0
= 0;
3748 char *_kwnames
[] = { "self", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
3755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
3762 wxPy_BEGIN_ALLOW_THREADS
;
3763 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
3764 _result
= (wxPrintDialogData
*) &_result_ref
;
3766 wxPy_END_ALLOW_THREADS
;
3768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3769 _resultobj
= Py_BuildValue("s",_ptemp
);
3772 _resultobj
= Py_None
;
3777 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
3778 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
* _resultobj
;
3780 wxPyPrintout
* _result
;
3781 wxPrintPreview
* _arg0
;
3782 PyObject
* _argo0
= 0;
3783 char *_kwnames
[] = { "self", NULL
};
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
3790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
3797 wxPy_BEGIN_ALLOW_THREADS
;
3798 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
3800 wxPy_END_ALLOW_THREADS
;
3802 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3803 _resultobj
= Py_BuildValue("s",_ptemp
);
3806 _resultobj
= Py_None
;
3811 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
3812 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
* _resultobj
;
3814 wxPyPrintout
* _result
;
3815 wxPrintPreview
* _arg0
;
3816 PyObject
* _argo0
= 0;
3817 char *_kwnames
[] = { "self", NULL
};
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
3824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
3831 wxPy_BEGIN_ALLOW_THREADS
;
3832 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
3834 wxPy_END_ALLOW_THREADS
;
3836 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3837 _resultobj
= Py_BuildValue("s",_ptemp
);
3840 _resultobj
= Py_None
;
3845 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
3846 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
* _resultobj
;
3849 wxPrintPreview
* _arg0
;
3850 PyObject
* _argo0
= 0;
3851 char *_kwnames
[] = { "self", NULL
};
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
3857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
3864 wxPy_BEGIN_ALLOW_THREADS
;
3865 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
3867 wxPy_END_ALLOW_THREADS
;
3868 } _resultobj
= Py_BuildValue("i",_result
);
3872 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
3873 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
* _resultobj
;
3876 wxPrintPreview
* _arg0
;
3877 PyObject
* _argo0
= 0;
3878 char *_kwnames
[] = { "self", NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
3884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
3891 wxPy_BEGIN_ALLOW_THREADS
;
3892 _result
= (bool )wxPrintPreview_Ok(_arg0
);
3894 wxPy_END_ALLOW_THREADS
;
3895 } _resultobj
= Py_BuildValue("i",_result
);
3899 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
3900 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3903 wxPrintPreview
* _arg0
;
3905 PyObject
* _argo0
= 0;
3907 char *_kwnames
[] = { "self","prompt", NULL
};
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
3913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
3919 _arg1
= (bool ) tempbool1
;
3921 wxPy_BEGIN_ALLOW_THREADS
;
3922 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
3924 wxPy_END_ALLOW_THREADS
;
3925 } _resultobj
= Py_BuildValue("i",_result
);
3929 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
3930 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
* _resultobj
;
3932 wxPrintPreview
* _arg0
;
3934 PyObject
* _argo0
= 0;
3935 PyObject
* _argo1
= 0;
3936 char *_kwnames
[] = { "self","window", NULL
};
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
3942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
3949 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3950 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
3956 wxPy_BEGIN_ALLOW_THREADS
;
3957 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
3959 wxPy_END_ALLOW_THREADS
;
3960 } Py_INCREF(Py_None
);
3961 _resultobj
= Py_None
;
3965 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
3966 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3968 wxPrintPreview
* _arg0
;
3970 PyObject
* _argo0
= 0;
3971 char *_kwnames
[] = { "self","pageNum", NULL
};
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
3977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
3984 wxPy_BEGIN_ALLOW_THREADS
;
3985 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
3987 wxPy_END_ALLOW_THREADS
;
3988 } Py_INCREF(Py_None
);
3989 _resultobj
= Py_None
;
3993 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
3994 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
* _resultobj
;
3996 wxPrintPreview
* _arg0
;
3998 PyObject
* _argo0
= 0;
3999 PyObject
* _argo1
= 0;
4000 char *_kwnames
[] = { "self","frame", NULL
};
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
4006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
4013 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4014 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
4020 wxPy_BEGIN_ALLOW_THREADS
;
4021 wxPrintPreview_SetFrame(_arg0
,_arg1
);
4023 wxPy_END_ALLOW_THREADS
;
4024 } Py_INCREF(Py_None
);
4025 _resultobj
= Py_None
;
4029 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
4030 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
* _resultobj
;
4032 wxPrintPreview
* _arg0
;
4033 wxPyPrintout
* _arg1
;
4034 PyObject
* _argo0
= 0;
4035 PyObject
* _argo1
= 0;
4036 char *_kwnames
[] = { "self","printout", NULL
};
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
4042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
4049 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
4056 wxPy_BEGIN_ALLOW_THREADS
;
4057 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
4059 wxPy_END_ALLOW_THREADS
;
4060 } Py_INCREF(Py_None
);
4061 _resultobj
= Py_None
;
4065 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
4066 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
* _resultobj
;
4068 wxPrintPreview
* _arg0
;
4070 PyObject
* _argo0
= 0;
4071 char *_kwnames
[] = { "self","percent", NULL
};
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
4077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
4084 wxPy_BEGIN_ALLOW_THREADS
;
4085 wxPrintPreview_SetZoom(_arg0
,_arg1
);
4087 wxPy_END_ALLOW_THREADS
;
4088 } Py_INCREF(Py_None
);
4089 _resultobj
= Py_None
;
4093 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
4094 wxPreviewFrame
*src
;
4096 src
= (wxPreviewFrame
*) ptr
;
4097 dest
= (wxFrame
*) src
;
4098 return (void *) dest
;
4101 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
4102 wxPreviewFrame
*src
;
4104 src
= (wxPreviewFrame
*) ptr
;
4105 dest
= (wxWindow
*) src
;
4106 return (void *) dest
;
4109 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
4110 wxPreviewFrame
*src
;
4112 src
= (wxPreviewFrame
*) ptr
;
4113 dest
= (wxEvtHandler
*) src
;
4114 return (void *) dest
;
4117 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4118 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
* _resultobj
;
4120 wxPreviewFrame
* _result
;
4121 wxPrintPreview
* _arg0
;
4124 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4125 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4126 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
4127 char * _arg6
= (char *) "frame";
4128 PyObject
* _argo0
= 0;
4129 PyObject
* _argo1
= 0;
4130 PyObject
* _obj2
= 0;
4132 PyObject
* _obj3
= 0;
4134 PyObject
* _obj4
= 0;
4135 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
4149 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4150 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
4156 #if PYTHON_API_VERSION >= 1009
4157 char* tmpPtr
; int tmpSize
;
4158 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4159 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4162 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4164 _arg2
= new wxString(tmpPtr
, tmpSize
);
4166 if (!PyString_Check(_obj2
)) {
4167 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4170 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4176 if (! wxPoint_helper(_obj3
, &_arg3
))
4182 if (! wxSize_helper(_obj4
, &_arg4
))
4186 wxPy_BEGIN_ALLOW_THREADS
;
4187 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4189 wxPy_END_ALLOW_THREADS
;
4191 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
4192 _resultobj
= Py_BuildValue("s",_ptemp
);
4195 _resultobj
= Py_None
;
4204 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
4205 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
* _resultobj
;
4207 wxPreviewFrame
* _arg0
;
4208 PyObject
* _argo0
= 0;
4209 char *_kwnames
[] = { "self", NULL
};
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
4215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
4217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
4222 wxPy_BEGIN_ALLOW_THREADS
;
4223 wxPreviewFrame_Initialize(_arg0
);
4225 wxPy_END_ALLOW_THREADS
;
4226 } Py_INCREF(Py_None
);
4227 _resultobj
= Py_None
;
4231 static PyMethodDef printfwcMethods
[] = {
4232 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4233 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
4234 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4235 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4236 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4237 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4238 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
4239 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
4240 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
4241 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4242 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4243 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4244 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4245 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4246 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4247 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4248 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4249 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
4250 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
4251 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
4252 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
4253 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
4254 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
4255 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4256 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
4257 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4258 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4259 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
4260 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
4261 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
4262 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4263 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4264 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
4265 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
4266 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
4267 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
4268 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4269 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
4270 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
4271 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
4272 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4273 { "wxPrintout__setSelf", (PyCFunction
) _wrap_wxPrintout__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
4274 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4275 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4276 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
4277 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4278 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
4279 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
4280 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
4281 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4282 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4283 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4284 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4285 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4286 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
4287 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4288 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
4289 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4290 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4291 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4292 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4293 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4294 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
4295 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4296 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
4297 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
4298 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4299 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
4300 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4301 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4302 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4303 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4304 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
4305 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
4306 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4307 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4308 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4309 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4310 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4311 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4312 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4313 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
4314 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
4315 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4316 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4317 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4318 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4319 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4320 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4321 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4322 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
4323 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4324 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
4325 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
4326 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4327 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
4328 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
4329 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
4330 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
4331 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4332 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
4333 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4334 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4335 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4336 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
4337 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4338 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4339 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
4340 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
4341 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
4342 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4343 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4344 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4345 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
4346 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4347 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4348 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
4349 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
4350 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
4351 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4352 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4353 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4354 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4355 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4362 * This table is used by the pointer type-checker
4364 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4365 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4366 { "_wxEvent","_class_wxEvent",0},
4367 { "_class_wxActivateEvent","_wxActivateEvent",0},
4368 { "_signed_long","_long",0},
4369 { "_wxMenuEvent","_class_wxMenuEvent",0},
4370 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
4371 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
4372 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
4373 { "_wxPrintQuality","_wxCoord",0},
4374 { "_wxPrintQuality","_int",0},
4375 { "_wxPrintQuality","_signed_int",0},
4376 { "_wxPrintQuality","_unsigned_int",0},
4377 { "_wxPrintQuality","_wxWindowID",0},
4378 { "_wxPrintQuality","_uint",0},
4379 { "_wxPrintQuality","_EBool",0},
4380 { "_wxPrintQuality","_size_t",0},
4381 { "_wxPrintQuality","_time_t",0},
4382 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
4383 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
4384 { "_wxFontData","_class_wxFontData",0},
4385 { "_class_wxRegionIterator","_wxRegionIterator",0},
4386 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
4387 { "_class_wxMenuBar","_wxMenuBar",0},
4388 { "_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4389 { "_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4390 { "_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4391 { "_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4392 { "_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4393 { "_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4394 { "_class_wxEvtHandler","_wxEvtHandler",0},
4395 { "_wxPaintEvent","_class_wxPaintEvent",0},
4396 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4397 { "_wxCursor","_class_wxCursor",0},
4398 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
4399 { "_class_wxToolBarBase","_wxToolBarBase",0},
4400 { "_wxMask","_class_wxMask",0},
4401 { "_class_wxColourData","_wxColourData",0},
4402 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
4403 { "_wxPrinter","_class_wxPrinter",0},
4404 { "_wxPen","_class_wxPen",0},
4405 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
4406 { "_byte","_unsigned_char",0},
4407 { "_wxDataObject","_class_wxDataObject",0},
4408 { "_wxStaticBox","_class_wxStaticBox",0},
4409 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
4410 { "_wxPyDropSource","_class_wxPyDropSource",0},
4411 { "_wxChoice","_class_wxChoice",0},
4412 { "_wxSlider","_class_wxSlider",0},
4413 { "_wxPyPrintout","_class_wxPyPrintout",0},
4414 { "_long","_unsigned_long",0},
4415 { "_long","_signed_long",0},
4416 { "_wxImageList","_class_wxImageList",0},
4417 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
4418 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
4419 { "_wxBitmapButton","_class_wxBitmapButton",0},
4420 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
4421 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4422 { "_class_wxClipboard","_wxClipboard",0},
4423 { "_class_wxGauge","_wxGauge",0},
4424 { "_wxDC","_class_wxDC",0},
4425 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
4426 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
4427 { "_wxProgressDialog","_class_wxProgressDialog",0},
4428 { "_wxPrintPreview","_class_wxPrintPreview",0},
4429 { "_wxSpinEvent","_class_wxSpinEvent",0},
4430 { "_size_t","_wxCoord",0},
4431 { "_size_t","_wxPrintQuality",0},
4432 { "_size_t","_time_t",0},
4433 { "_size_t","_unsigned_int",0},
4434 { "_size_t","_int",0},
4435 { "_size_t","_wxWindowID",0},
4436 { "_size_t","_uint",0},
4437 { "_class_wxRealPoint","_wxRealPoint",0},
4438 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
4439 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
4440 { "_class_wxMenuItem","_wxMenuItem",0},
4441 { "_class_wxPaintEvent","_wxPaintEvent",0},
4442 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
4443 { "_class_wxStatusBar","_wxStatusBar",0},
4444 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
4445 { "_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4446 { "_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4447 { "_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4448 { "_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4449 { "_wxPanel","_class_wxPanel",0},
4450 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
4451 { "_wxCheckBox","_class_wxCheckBox",0},
4452 { "_wxPyEvent","_class_wxPyEvent",0},
4453 { "_wxTextCtrl","_class_wxTextCtrl",0},
4454 { "_class_wxMask","_wxMask",0},
4455 { "_wxTextDataObject","_class_wxTextDataObject",0},
4456 { "_class_wxKeyEvent","_wxKeyEvent",0},
4457 { "_wxColour","_class_wxColour",0},
4458 { "_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4459 { "_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4460 { "_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4461 { "_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4462 { "_class_wxDialog","_wxDialog",0},
4463 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
4464 { "_class_wxPrinter","_wxPrinter",0},
4465 { "_class_wxFileDataObject","_wxFileDataObject",0},
4466 { "_wxIdleEvent","_class_wxIdleEvent",0},
4467 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
4468 { "_wxToolBar","_class_wxToolBar",0},
4469 { "_class_wxDataObject","_wxDataObject",0},
4470 { "_wxStaticLine","_class_wxStaticLine",0},
4471 { "_wxBrush","_class_wxBrush",0},
4472 { "_wxMiniFrame","_class_wxMiniFrame",0},
4473 { "_class_wxPyPrintout","_wxPyPrintout",0},
4474 { "_wxDataFormat","_class_wxDataFormat",0},
4475 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
4476 { "_wxShowEvent","_class_wxShowEvent",0},
4477 { "_uint","_wxCoord",0},
4478 { "_uint","_wxPrintQuality",0},
4479 { "_uint","_time_t",0},
4480 { "_uint","_size_t",0},
4481 { "_uint","_unsigned_int",0},
4482 { "_uint","_int",0},
4483 { "_uint","_wxWindowID",0},
4484 { "_wxChar","_char",0},
4485 { "_wxPyValidator","_class_wxPyValidator",0},
4486 { "_class_wxEvent","_wxEvent",0},
4487 { "_wxCheckListBox","_class_wxCheckListBox",0},
4488 { "_wxRect","_class_wxRect",0},
4489 { "_wxCommandEvent","_class_wxCommandEvent",0},
4490 { "_wxSizeEvent","_class_wxSizeEvent",0},
4491 { "_wxPoint","_class_wxPoint",0},
4492 { "_class_wxButton","_wxButton",0},
4493 { "_wxRadioBox","_class_wxRadioBox",0},
4494 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
4495 { "_class_wxFontData","_wxFontData",0},
4496 { "_char","_wxChar",0},
4497 { "_wxBitmap","_class_wxBitmap",0},
4498 { "_wxPrintDialog","_class_wxPrintDialog",0},
4499 { "_wxWindowDC","_class_wxWindowDC",0},
4500 { "_wxTimerEvent","_class_wxTimerEvent",0},
4501 { "_wxScrollBar","_class_wxScrollBar",0},
4502 { "_wxSpinButton","_class_wxSpinButton",0},
4503 { "_wxColourDialog","_class_wxColourDialog",0},
4504 { "_wxPrintData","_class_wxPrintData",0},
4505 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4506 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
4507 { "_wxMessageDialog","_class_wxMessageDialog",0},
4508 { "_class_wxValidator","_wxValidator",0},
4509 { "_class_wxPyEvent","_wxPyEvent",0},
4510 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
4511 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
4512 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
4513 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
4514 { "_class_wxToolBar","_wxToolBar",0},
4515 { "_wxDropTarget","_class_wxDropTarget",0},
4516 { "_class_wxStaticLine","_wxStaticLine",0},
4517 { "_wxScrollEvent","_class_wxScrollEvent",0},
4518 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
4519 { "_EBool","_wxCoord",0},
4520 { "_EBool","_wxPrintQuality",0},
4521 { "_EBool","_signed_int",0},
4522 { "_EBool","_int",0},
4523 { "_EBool","_wxWindowID",0},
4524 { "_class_wxRegion","_wxRegion",0},
4525 { "_class_wxDataFormat","_wxDataFormat",0},
4526 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
4527 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
4528 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
4529 { "_wxStaticText","_class_wxStaticText",0},
4530 { "_wxFont","_class_wxFont",0},
4531 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
4532 { "_wxCloseEvent","_class_wxCloseEvent",0},
4533 { "_unsigned_long","_long",0},
4534 { "_class_wxRect","_wxRect",0},
4535 { "_class_wxDC","_wxDC",0},
4536 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
4537 { "_class_wxProgressDialog","_wxProgressDialog",0},
4538 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
4539 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
4540 { "_class_wxDirDialog","_wxDirDialog",0},
4541 { "_wxFocusEvent","_class_wxFocusEvent",0},
4542 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
4543 { "_class_wxTimerEvent","_wxTimerEvent",0},
4544 { "_class_wxSpinButton","_wxSpinButton",0},
4545 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4546 { "_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4547 { "_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4548 { "_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4549 { "_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4550 { "_class_wxPanel","_wxPanel",0},
4551 { "_class_wxCheckBox","_wxCheckBox",0},
4552 { "_wxComboBox","_class_wxComboBox",0},
4553 { "_wxRadioButton","_class_wxRadioButton",0},
4554 { "_class_wxMessageDialog","_wxMessageDialog",0},
4555 { "_signed_int","_wxCoord",0},
4556 { "_signed_int","_wxPrintQuality",0},
4557 { "_signed_int","_EBool",0},
4558 { "_signed_int","_wxWindowID",0},
4559 { "_signed_int","_int",0},
4560 { "_class_wxTextCtrl","_wxTextCtrl",0},
4561 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4562 { "_class_wxTextDataObject","_wxTextDataObject",0},
4563 { "_wxMenu","_class_wxMenu",0},
4564 { "_class_wxMoveEvent","_wxMoveEvent",0},
4565 { "_wxListBox","_class_wxListBox",0},
4566 { "_wxScreenDC","_class_wxScreenDC",0},
4567 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
4568 { "_WXTYPE","_short",0},
4569 { "_WXTYPE","_signed_short",0},
4570 { "_WXTYPE","_unsigned_short",0},
4571 { "_wxFileDialog","_class_wxFileDialog",0},
4572 { "_class_wxDropTarget","_wxDropTarget",0},
4573 { "_class_wxBrush","_wxBrush",0},
4574 { "_unsigned_short","_WXTYPE",0},
4575 { "_unsigned_short","_short",0},
4576 { "_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4577 { "_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4578 { "_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4579 { "_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4580 { "_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4581 { "_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4582 { "_class_wxWindow","_wxWindow",0},
4583 { "_class_wxStaticText","_wxStaticText",0},
4584 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
4585 { "_class_wxFont","_wxFont",0},
4586 { "_wxClipboard","_class_wxClipboard",0},
4587 { "_class_wxPyValidator","_wxPyValidator",0},
4588 { "_class_wxCloseEvent","_wxCloseEvent",0},
4589 { "_wxBusyInfo","_class_wxBusyInfo",0},
4590 { "_class_wxMenuEvent","_wxMenuEvent",0},
4591 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
4592 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
4593 { "_wxClientDC","_class_wxClientDC",0},
4594 { "_wxMouseEvent","_class_wxMouseEvent",0},
4595 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
4596 { "_class_wxPoint","_wxPoint",0},
4597 { "_wxRealPoint","_class_wxRealPoint",0},
4598 { "_class_wxRadioBox","_wxRadioBox",0},
4599 { "_signed_short","_WXTYPE",0},
4600 { "_signed_short","_short",0},
4601 { "_wxMemoryDC","_class_wxMemoryDC",0},
4602 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
4603 { "_class_wxPrintDialog","_wxPrintDialog",0},
4604 { "_wxPaintDC","_class_wxPaintDC",0},
4605 { "_class_wxWindowDC","_wxWindowDC",0},
4606 { "_class_wxFocusEvent","_wxFocusEvent",0},
4607 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
4608 { "_wxStatusBar","_class_wxStatusBar",0},
4609 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4610 { "_class_wxCursor","_wxCursor",0},
4611 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
4612 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
4613 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
4614 { "_unsigned_char","_byte",0},
4615 { "_class_wxMenu","_wxMenu",0},
4616 { "_wxControl","_class_wxControl",0},
4617 { "_class_wxListBox","_wxListBox",0},
4618 { "_unsigned_int","_wxCoord",0},
4619 { "_unsigned_int","_wxPrintQuality",0},
4620 { "_unsigned_int","_time_t",0},
4621 { "_unsigned_int","_size_t",0},
4622 { "_unsigned_int","_uint",0},
4623 { "_unsigned_int","_wxWindowID",0},
4624 { "_unsigned_int","_int",0},
4625 { "_wxIcon","_class_wxIcon",0},
4626 { "_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4627 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4628 { "_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4629 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4630 { "_wxDialog","_class_wxDialog",0},
4631 { "_class_wxPen","_wxPen",0},
4632 { "_class_wxFileDialog","_wxFileDialog",0},
4633 { "_short","_WXTYPE",0},
4634 { "_short","_unsigned_short",0},
4635 { "_short","_signed_short",0},
4636 { "_class_wxStaticBox","_wxStaticBox",0},
4637 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
4638 { "_class_wxPyDropSource","_wxPyDropSource",0},
4639 { "_class_wxScrollEvent","_wxScrollEvent",0},
4640 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
4641 { "_class_wxChoice","_wxChoice",0},
4642 { "_class_wxSlider","_wxSlider",0},
4643 { "_class_wxImageList","_wxImageList",0},
4644 { "_class_wxBitmapButton","_wxBitmapButton",0},
4645 { "_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4646 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4647 { "_wxFrame","_class_wxFrame",0},
4648 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
4649 { "_wxWindowID","_wxCoord",0},
4650 { "_wxWindowID","_wxPrintQuality",0},
4651 { "_wxWindowID","_time_t",0},
4652 { "_wxWindowID","_size_t",0},
4653 { "_wxWindowID","_EBool",0},
4654 { "_wxWindowID","_uint",0},
4655 { "_wxWindowID","_int",0},
4656 { "_wxWindowID","_signed_int",0},
4657 { "_wxWindowID","_unsigned_int",0},
4658 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
4659 { "_int","_wxCoord",0},
4660 { "_int","_wxPrintQuality",0},
4661 { "_int","_time_t",0},
4662 { "_int","_size_t",0},
4663 { "_int","_EBool",0},
4664 { "_int","_uint",0},
4665 { "_int","_wxWindowID",0},
4666 { "_int","_unsigned_int",0},
4667 { "_int","_signed_int",0},
4668 { "_class_wxMouseEvent","_wxMouseEvent",0},
4669 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
4670 { "_class_wxPrintPreview","_wxPrintPreview",0},
4671 { "_class_wxSpinEvent","_wxSpinEvent",0},
4672 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
4673 { "_time_t","_wxCoord",0},
4674 { "_time_t","_wxPrintQuality",0},
4675 { "_time_t","_unsigned_int",0},
4676 { "_time_t","_int",0},
4677 { "_time_t","_wxWindowID",0},
4678 { "_time_t","_uint",0},
4679 { "_time_t","_size_t",0},
4680 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
4681 { "_wxButton","_class_wxButton",0},
4682 { "_wxSize","_class_wxSize",0},
4683 { "_wxRegionIterator","_class_wxRegionIterator",0},
4684 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
4685 { "_class_wxPaintDC","_wxPaintDC",0},
4686 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
4687 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
4688 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
4689 { "_class_wxComboBox","_wxComboBox",0},
4690 { "_class_wxRadioButton","_wxRadioButton",0},
4691 { "_wxValidator","_class_wxValidator",0},
4692 { "_wxToolBarBase","_class_wxToolBarBase",0},
4693 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4694 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
4695 { "_class_wxControl","_wxControl",0},
4696 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
4697 { "_class_wxIcon","_wxIcon",0},
4698 { "_class_wxColour","_wxColour",0},
4699 { "_class_wxScreenDC","_wxScreenDC",0},
4700 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
4701 { "_wxPalette","_class_wxPalette",0},
4702 { "_class_wxIdleEvent","_wxIdleEvent",0},
4703 { "_wxCoord","_int",0},
4704 { "_wxCoord","_signed_int",0},
4705 { "_wxCoord","_unsigned_int",0},
4706 { "_wxCoord","_wxWindowID",0},
4707 { "_wxCoord","_uint",0},
4708 { "_wxCoord","_EBool",0},
4709 { "_wxCoord","_size_t",0},
4710 { "_wxCoord","_time_t",0},
4711 { "_wxCoord","_wxPrintQuality",0},
4712 { "_wxEraseEvent","_class_wxEraseEvent",0},
4713 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
4714 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
4715 { "_class_wxMiniFrame","_wxMiniFrame",0},
4716 { "_wxFontDialog","_class_wxFontDialog",0},
4717 { "_wxRegion","_class_wxRegion",0},
4718 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
4719 { "_class_wxShowEvent","_wxShowEvent",0},
4720 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
4721 { "_wxActivateEvent","_class_wxActivateEvent",0},
4722 { "_wxGauge","_class_wxGauge",0},
4723 { "_class_wxCheckListBox","_wxCheckListBox",0},
4724 { "_class_wxBusyInfo","_wxBusyInfo",0},
4725 { "_class_wxCommandEvent","_wxCommandEvent",0},
4726 { "_class_wxClientDC","_wxClientDC",0},
4727 { "_class_wxSizeEvent","_wxSizeEvent",0},
4728 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
4729 { "_class_wxSize","_wxSize",0},
4730 { "_class_wxBitmap","_wxBitmap",0},
4731 { "_class_wxMemoryDC","_wxMemoryDC",0},
4732 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
4733 { "_wxMenuBar","_class_wxMenuBar",0},
4734 { "_wxDirDialog","_class_wxDirDialog",0},
4735 { "_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4736 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4737 { "_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4738 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4739 { "_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4740 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4741 { "_wxEvtHandler","_class_wxEvtHandler",0},
4742 { "_wxMenuItem","_class_wxMenuItem",0},
4743 { "_class_wxScrollBar","_wxScrollBar",0},
4744 { "_class_wxColourDialog","_wxColourDialog",0},
4745 { "_class_wxPrintData","_wxPrintData",0},
4746 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
4747 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
4748 { "_wxKeyEvent","_class_wxKeyEvent",0},
4749 { "_wxMoveEvent","_class_wxMoveEvent",0},
4750 { "_wxColourData","_class_wxColourData",0},
4751 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
4752 { "_class_wxPalette","_wxPalette",0},
4753 { "_wxFileDataObject","_class_wxFileDataObject",0},
4754 { "_class_wxEraseEvent","_wxEraseEvent",0},
4755 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
4756 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
4757 { "_class_wxFontDialog","_wxFontDialog",0},
4758 { "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4759 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4760 { "_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4761 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4762 { "_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4763 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4764 { "_wxWindow","_class_wxWindow",0},
4765 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
4766 { "_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4767 { "_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4768 { "_class_wxFrame","_wxFrame",0},
4771 static PyObject
*SWIG_globals
;
4775 SWIGEXPORT(void) initprintfwc() {
4777 SWIG_globals
= SWIG_newvarlink();
4778 m
= Py_InitModule("printfwc", printfwcMethods
);
4779 d
= PyModule_GetDict(m
);
4782 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4783 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);