2 * FILE : src/gtk/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initprintfwc
56 #define SWIG_name "printfwc"
60 #include <wx/printdlg.h>
64 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 static char* wxStringErrorMsg
= "string type is required for parameter";
114 // Since this one would be tough and ugly to do with the Macros...
115 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
118 bool doSave
= wxPyRestoreThread();
119 if (m_myInst
.findCallback("GetPageInfo")) {
120 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
121 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
124 val
= PyTuple_GetItem(result
, 0);
125 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
128 val
= PyTuple_GetItem(result
, 1);
129 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
132 val
= PyTuple_GetItem(result
, 2);
133 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
136 val
= PyTuple_GetItem(result
, 3);
137 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
144 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
150 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
152 wxPySaveThread(doSave
);
155 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
156 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
160 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
161 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
162 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
163 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
164 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
165 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
166 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
172 #define new_wxPrintData() (new wxPrintData())
173 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
174 PyObject
* _resultobj
;
175 wxPrintData
* _result
;
176 char *_kwnames
[] = { NULL
};
180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
183 wxPy_BEGIN_ALLOW_THREADS
;
184 _result
= (wxPrintData
*)new_wxPrintData();
186 wxPy_END_ALLOW_THREADS
;
188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
189 _resultobj
= Py_BuildValue("s",_ptemp
);
192 _resultobj
= Py_None
;
197 #define delete_wxPrintData(_swigobj) (delete _swigobj)
198 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
201 PyObject
* _argo0
= 0;
202 char *_kwnames
[] = { "self", NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
215 wxPy_BEGIN_ALLOW_THREADS
;
216 delete_wxPrintData(_arg0
);
218 wxPy_END_ALLOW_THREADS
;
219 } Py_INCREF(Py_None
);
220 _resultobj
= Py_None
;
224 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
225 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
229 PyObject
* _argo0
= 0;
230 char *_kwnames
[] = { "self", NULL
};
233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
243 wxPy_BEGIN_ALLOW_THREADS
;
244 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
246 wxPy_END_ALLOW_THREADS
;
247 } _resultobj
= Py_BuildValue("i",_result
);
251 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
252 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
253 PyObject
* _resultobj
;
256 PyObject
* _argo0
= 0;
257 char *_kwnames
[] = { "self", NULL
};
260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
270 wxPy_BEGIN_ALLOW_THREADS
;
271 _result
= (bool )wxPrintData_GetCollate(_arg0
);
273 wxPy_END_ALLOW_THREADS
;
274 } _resultobj
= Py_BuildValue("i",_result
);
278 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
279 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
280 PyObject
* _resultobj
;
283 PyObject
* _argo0
= 0;
284 char *_kwnames
[] = { "self", NULL
};
287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
297 wxPy_BEGIN_ALLOW_THREADS
;
298 _result
= (int )wxPrintData_GetOrientation(_arg0
);
300 wxPy_END_ALLOW_THREADS
;
301 } _resultobj
= Py_BuildValue("i",_result
);
305 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
306 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
310 PyObject
* _argo0
= 0;
311 char *_kwnames
[] = { "self", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
324 wxPy_BEGIN_ALLOW_THREADS
;
325 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
326 _result
= (wxString
*) &_result_ref
;
328 wxPy_END_ALLOW_THREADS
;
330 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
335 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
336 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
337 PyObject
* _resultobj
;
340 PyObject
* _argo0
= 0;
341 char *_kwnames
[] = { "self", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
354 wxPy_BEGIN_ALLOW_THREADS
;
355 _result
= (bool )wxPrintData_GetColour(_arg0
);
357 wxPy_END_ALLOW_THREADS
;
358 } _resultobj
= Py_BuildValue("i",_result
);
362 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
363 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
364 PyObject
* _resultobj
;
365 wxDuplexMode _result
;
367 PyObject
* _argo0
= 0;
368 char *_kwnames
[] = { "self", NULL
};
371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
381 wxPy_BEGIN_ALLOW_THREADS
;
382 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
384 wxPy_END_ALLOW_THREADS
;
385 } _resultobj
= Py_BuildValue("i",_result
);
389 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
390 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
391 PyObject
* _resultobj
;
394 PyObject
* _argo0
= 0;
395 char *_kwnames
[] = { "self", NULL
};
398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
408 wxPy_BEGIN_ALLOW_THREADS
;
409 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
411 wxPy_END_ALLOW_THREADS
;
412 } _resultobj
= Py_BuildValue("i",_result
);
416 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
417 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
421 PyObject
* _argo0
= 0;
422 char *_kwnames
[] = { "self", NULL
};
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
436 wxPy_BEGIN_ALLOW_THREADS
;
437 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
438 _result
= (wxSize
*) &_result_ref
;
440 wxPy_END_ALLOW_THREADS
;
442 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
443 _resultobj
= Py_BuildValue("s",_ptemp
);
446 _resultobj
= Py_None
;
451 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
452 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
454 wxPrintQuality _result
;
456 PyObject
* _argo0
= 0;
457 char *_kwnames
[] = { "self", NULL
};
460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
470 wxPy_BEGIN_ALLOW_THREADS
;
471 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
473 wxPy_END_ALLOW_THREADS
;
474 } _resultobj
= Py_BuildValue("i",_result
);
478 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
479 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
483 PyObject
* _argo0
= 0;
484 char *_kwnames
[] = { "self","v", NULL
};
487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
497 wxPy_BEGIN_ALLOW_THREADS
;
498 wxPrintData_SetNoCopies(_arg0
,_arg1
);
500 wxPy_END_ALLOW_THREADS
;
501 } Py_INCREF(Py_None
);
502 _resultobj
= Py_None
;
506 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
507 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
508 PyObject
* _resultobj
;
511 PyObject
* _argo0
= 0;
513 char *_kwnames
[] = { "self","flag", NULL
};
516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
525 _arg1
= (bool ) tempbool1
;
527 wxPy_BEGIN_ALLOW_THREADS
;
528 wxPrintData_SetCollate(_arg0
,_arg1
);
530 wxPy_END_ALLOW_THREADS
;
531 } Py_INCREF(Py_None
);
532 _resultobj
= Py_None
;
536 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
537 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
538 PyObject
* _resultobj
;
541 PyObject
* _argo0
= 0;
542 char *_kwnames
[] = { "self","orient", NULL
};
545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
555 wxPy_BEGIN_ALLOW_THREADS
;
556 wxPrintData_SetOrientation(_arg0
,_arg1
);
558 wxPy_END_ALLOW_THREADS
;
559 } Py_INCREF(Py_None
);
560 _resultobj
= Py_None
;
564 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
565 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
566 PyObject
* _resultobj
;
569 PyObject
* _argo0
= 0;
570 PyObject
* _obj1
= 0;
571 char *_kwnames
[] = { "self","name", NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
584 #if PYTHON_API_VERSION >= 1009
585 char* tmpPtr
; int tmpSize
;
586 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
587 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
590 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
592 _arg1
= new wxString(tmpPtr
, tmpSize
);
594 if (!PyString_Check(_obj1
)) {
595 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
598 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
602 wxPy_BEGIN_ALLOW_THREADS
;
603 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
605 wxPy_END_ALLOW_THREADS
;
606 } Py_INCREF(Py_None
);
607 _resultobj
= Py_None
;
615 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
616 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 PyObject
* _resultobj
;
620 PyObject
* _argo0
= 0;
622 char *_kwnames
[] = { "self","colour", NULL
};
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
634 _arg1
= (bool ) tempbool1
;
636 wxPy_BEGIN_ALLOW_THREADS
;
637 wxPrintData_SetColour(_arg0
,_arg1
);
639 wxPy_END_ALLOW_THREADS
;
640 } Py_INCREF(Py_None
);
641 _resultobj
= Py_None
;
645 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
646 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
647 PyObject
* _resultobj
;
650 PyObject
* _argo0
= 0;
651 char *_kwnames
[] = { "self","duplex", NULL
};
654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
664 wxPy_BEGIN_ALLOW_THREADS
;
665 wxPrintData_SetDuplex(_arg0
,_arg1
);
667 wxPy_END_ALLOW_THREADS
;
668 } Py_INCREF(Py_None
);
669 _resultobj
= Py_None
;
673 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
674 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
675 PyObject
* _resultobj
;
678 PyObject
* _argo0
= 0;
679 char *_kwnames
[] = { "self","sizeId", NULL
};
682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
692 wxPy_BEGIN_ALLOW_THREADS
;
693 wxPrintData_SetPaperId(_arg0
,_arg1
);
695 wxPy_END_ALLOW_THREADS
;
696 } Py_INCREF(Py_None
);
697 _resultobj
= Py_None
;
701 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
702 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 PyObject
* _resultobj
;
706 PyObject
* _argo0
= 0;
708 PyObject
* _obj1
= 0;
709 char *_kwnames
[] = { "self","sz", NULL
};
712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
723 if (! wxSize_helper(_obj1
, &_arg1
))
727 wxPy_BEGIN_ALLOW_THREADS
;
728 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
730 wxPy_END_ALLOW_THREADS
;
731 } Py_INCREF(Py_None
);
732 _resultobj
= Py_None
;
736 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
737 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
740 wxPrintQuality _arg1
;
741 PyObject
* _argo0
= 0;
742 char *_kwnames
[] = { "self","quality", NULL
};
745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
755 wxPy_BEGIN_ALLOW_THREADS
;
756 wxPrintData_SetQuality(_arg0
,_arg1
);
758 wxPy_END_ALLOW_THREADS
;
759 } Py_INCREF(Py_None
);
760 _resultobj
= Py_None
;
764 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
765 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
766 PyObject
* _resultobj
;
767 wxPageSetupDialogData
* _result
;
768 char *_kwnames
[] = { NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
775 wxPy_BEGIN_ALLOW_THREADS
;
776 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
778 wxPy_END_ALLOW_THREADS
;
780 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
781 _resultobj
= Py_BuildValue("s",_ptemp
);
784 _resultobj
= Py_None
;
789 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
790 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
791 PyObject
* _resultobj
;
792 wxPageSetupDialogData
* _arg0
;
793 PyObject
* _argo0
= 0;
794 char *_kwnames
[] = { "self", NULL
};
797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
807 wxPy_BEGIN_ALLOW_THREADS
;
808 delete_wxPageSetupDialogData(_arg0
);
810 wxPy_END_ALLOW_THREADS
;
811 } Py_INCREF(Py_None
);
812 _resultobj
= Py_None
;
816 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
817 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
818 PyObject
* _resultobj
;
819 wxPageSetupDialogData
* _arg0
;
821 PyObject
* _argo0
= 0;
823 char *_kwnames
[] = { "self","flag", NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
835 _arg1
= (bool ) tempbool1
;
837 wxPy_BEGIN_ALLOW_THREADS
;
838 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
840 wxPy_END_ALLOW_THREADS
;
841 } Py_INCREF(Py_None
);
842 _resultobj
= Py_None
;
846 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
847 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
848 PyObject
* _resultobj
;
849 wxPageSetupDialogData
* _arg0
;
851 PyObject
* _argo0
= 0;
853 char *_kwnames
[] = { "self","flag", NULL
};
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
865 _arg1
= (bool ) tempbool1
;
867 wxPy_BEGIN_ALLOW_THREADS
;
868 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
870 wxPy_END_ALLOW_THREADS
;
871 } Py_INCREF(Py_None
);
872 _resultobj
= Py_None
;
876 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
877 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
878 PyObject
* _resultobj
;
879 wxPageSetupDialogData
* _arg0
;
881 PyObject
* _argo0
= 0;
883 char *_kwnames
[] = { "self","flag", NULL
};
886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
895 _arg1
= (bool ) tempbool1
;
897 wxPy_BEGIN_ALLOW_THREADS
;
898 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
900 wxPy_END_ALLOW_THREADS
;
901 } Py_INCREF(Py_None
);
902 _resultobj
= Py_None
;
906 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
907 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
908 PyObject
* _resultobj
;
909 wxPageSetupDialogData
* _arg0
;
911 PyObject
* _argo0
= 0;
913 char *_kwnames
[] = { "self","flag", NULL
};
916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
925 _arg1
= (bool ) tempbool1
;
927 wxPy_BEGIN_ALLOW_THREADS
;
928 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
930 wxPy_END_ALLOW_THREADS
;
931 } Py_INCREF(Py_None
);
932 _resultobj
= Py_None
;
936 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
937 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
939 wxPageSetupDialogData
* _arg0
;
941 PyObject
* _argo0
= 0;
943 char *_kwnames
[] = { "self","flag", NULL
};
946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
955 _arg1
= (bool ) tempbool1
;
957 wxPy_BEGIN_ALLOW_THREADS
;
958 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
960 wxPy_END_ALLOW_THREADS
;
961 } Py_INCREF(Py_None
);
962 _resultobj
= Py_None
;
966 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
967 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 PyObject
* _resultobj
;
970 wxPageSetupDialogData
* _arg0
;
971 PyObject
* _argo0
= 0;
972 char *_kwnames
[] = { "self", NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
985 wxPy_BEGIN_ALLOW_THREADS
;
986 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
988 wxPy_END_ALLOW_THREADS
;
989 } _resultobj
= Py_BuildValue("i",_result
);
993 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
994 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
995 PyObject
* _resultobj
;
997 wxPageSetupDialogData
* _arg0
;
998 PyObject
* _argo0
= 0;
999 char *_kwnames
[] = { "self", NULL
};
1002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
1005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1012 wxPy_BEGIN_ALLOW_THREADS
;
1013 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1015 wxPy_END_ALLOW_THREADS
;
1016 } _resultobj
= Py_BuildValue("i",_result
);
1020 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
1021 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1022 PyObject
* _resultobj
;
1024 wxPageSetupDialogData
* _arg0
;
1025 PyObject
* _argo0
= 0;
1026 char *_kwnames
[] = { "self", NULL
};
1029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
1032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1039 wxPy_BEGIN_ALLOW_THREADS
;
1040 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1042 wxPy_END_ALLOW_THREADS
;
1043 } _resultobj
= Py_BuildValue("i",_result
);
1047 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
1048 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1051 wxPageSetupDialogData
* _arg0
;
1052 PyObject
* _argo0
= 0;
1053 char *_kwnames
[] = { "self", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
1059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
1066 wxPy_BEGIN_ALLOW_THREADS
;
1067 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
1069 wxPy_END_ALLOW_THREADS
;
1070 } _resultobj
= Py_BuildValue("i",_result
);
1074 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
1075 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
* _resultobj
;
1078 wxPageSetupDialogData
* _arg0
;
1079 PyObject
* _argo0
= 0;
1080 char *_kwnames
[] = { "self", NULL
};
1083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
1086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
1093 wxPy_BEGIN_ALLOW_THREADS
;
1094 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
1096 wxPy_END_ALLOW_THREADS
;
1097 } _resultobj
= Py_BuildValue("i",_result
);
1101 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
1102 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1105 wxPageSetupDialogData
* _arg0
;
1106 PyObject
* _argo0
= 0;
1107 char *_kwnames
[] = { "self", NULL
};
1110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
1113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
1120 wxPy_BEGIN_ALLOW_THREADS
;
1121 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
1123 wxPy_END_ALLOW_THREADS
;
1124 } _resultobj
= Py_BuildValue("i",_result
);
1128 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
1129 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1132 wxPageSetupDialogData
* _arg0
;
1133 PyObject
* _argo0
= 0;
1134 char *_kwnames
[] = { "self", NULL
};
1137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
1140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1147 wxPy_BEGIN_ALLOW_THREADS
;
1148 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
1150 wxPy_END_ALLOW_THREADS
;
1151 } _resultobj
= Py_BuildValue("i",_result
);
1155 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
1156 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1159 wxPageSetupDialogData
* _arg0
;
1160 PyObject
* _argo0
= 0;
1161 char *_kwnames
[] = { "self", NULL
};
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
1168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1175 wxPy_BEGIN_ALLOW_THREADS
;
1176 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
1178 wxPy_END_ALLOW_THREADS
;
1179 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1180 _resultobj
= Py_BuildValue("s",_ptemp
);
1184 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
1185 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1186 PyObject
* _resultobj
;
1188 wxPageSetupDialogData
* _arg0
;
1189 PyObject
* _argo0
= 0;
1190 char *_kwnames
[] = { "self", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1204 wxPy_BEGIN_ALLOW_THREADS
;
1205 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
1207 wxPy_END_ALLOW_THREADS
;
1208 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1209 _resultobj
= Py_BuildValue("s",_ptemp
);
1213 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
1214 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1215 PyObject
* _resultobj
;
1217 wxPageSetupDialogData
* _arg0
;
1218 PyObject
* _argo0
= 0;
1219 char *_kwnames
[] = { "self", NULL
};
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
1226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1233 wxPy_BEGIN_ALLOW_THREADS
;
1234 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
1236 wxPy_END_ALLOW_THREADS
;
1237 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1238 _resultobj
= Py_BuildValue("s",_ptemp
);
1242 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
1243 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1246 wxPageSetupDialogData
* _arg0
;
1247 PyObject
* _argo0
= 0;
1248 char *_kwnames
[] = { "self", NULL
};
1252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
1255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1262 wxPy_BEGIN_ALLOW_THREADS
;
1263 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
1265 wxPy_END_ALLOW_THREADS
;
1266 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1267 _resultobj
= Py_BuildValue("s",_ptemp
);
1271 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
1272 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
* _resultobj
;
1274 wxPaperSize _result
;
1275 wxPageSetupDialogData
* _arg0
;
1276 PyObject
* _argo0
= 0;
1277 char *_kwnames
[] = { "self", NULL
};
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
1283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
1290 wxPy_BEGIN_ALLOW_THREADS
;
1291 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
1293 wxPy_END_ALLOW_THREADS
;
1294 } _resultobj
= Py_BuildValue("i",_result
);
1298 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
1299 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1302 wxPageSetupDialogData
* _arg0
;
1303 PyObject
* _argo0
= 0;
1304 char *_kwnames
[] = { "self", NULL
};
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
1311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
1318 wxPy_BEGIN_ALLOW_THREADS
;
1319 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
1321 wxPy_END_ALLOW_THREADS
;
1322 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1323 _resultobj
= Py_BuildValue("s",_ptemp
);
1327 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
1328 return new wxPrintData(self
->GetPrintData()); // force a copy
1330 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1331 PyObject
* _resultobj
;
1332 wxPrintData
* _result
;
1333 wxPageSetupDialogData
* _arg0
;
1334 PyObject
* _argo0
= 0;
1335 char *_kwnames
[] = { "self", NULL
};
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
1342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
1349 wxPy_BEGIN_ALLOW_THREADS
;
1350 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
1352 wxPy_END_ALLOW_THREADS
;
1354 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1355 _resultobj
= Py_BuildValue("s",_ptemp
);
1358 _resultobj
= Py_None
;
1363 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
1364 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
* _resultobj
;
1366 wxPageSetupDialogData
* _arg0
;
1368 PyObject
* _argo0
= 0;
1370 char *_kwnames
[] = { "self","flag", NULL
};
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
1376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1382 _arg1
= (bool ) tempbool1
;
1384 wxPy_BEGIN_ALLOW_THREADS
;
1385 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
1387 wxPy_END_ALLOW_THREADS
;
1388 } Py_INCREF(Py_None
);
1389 _resultobj
= Py_None
;
1393 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
1394 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1396 wxPageSetupDialogData
* _arg0
;
1398 PyObject
* _argo0
= 0;
1400 char *_kwnames
[] = { "self","flag", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
1406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1412 _arg1
= (bool ) tempbool1
;
1414 wxPy_BEGIN_ALLOW_THREADS
;
1415 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
1417 wxPy_END_ALLOW_THREADS
;
1418 } Py_INCREF(Py_None
);
1419 _resultobj
= Py_None
;
1423 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
1424 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1426 wxPageSetupDialogData
* _arg0
;
1428 PyObject
* _argo0
= 0;
1430 PyObject
* _obj1
= 0;
1431 char *_kwnames
[] = { "self","pt", NULL
};
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
1437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1445 if (! wxPoint_helper(_obj1
, &_arg1
))
1449 wxPy_BEGIN_ALLOW_THREADS
;
1450 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
1452 wxPy_END_ALLOW_THREADS
;
1453 } Py_INCREF(Py_None
);
1454 _resultobj
= Py_None
;
1458 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
1459 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1461 wxPageSetupDialogData
* _arg0
;
1463 PyObject
* _argo0
= 0;
1465 PyObject
* _obj1
= 0;
1466 char *_kwnames
[] = { "self","pt", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
1472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1480 if (! wxPoint_helper(_obj1
, &_arg1
))
1484 wxPy_BEGIN_ALLOW_THREADS
;
1485 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
1487 wxPy_END_ALLOW_THREADS
;
1488 } Py_INCREF(Py_None
);
1489 _resultobj
= Py_None
;
1493 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
1494 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
* _resultobj
;
1496 wxPageSetupDialogData
* _arg0
;
1498 PyObject
* _argo0
= 0;
1500 PyObject
* _obj1
= 0;
1501 char *_kwnames
[] = { "self","pt", NULL
};
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
1507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1515 if (! wxPoint_helper(_obj1
, &_arg1
))
1519 wxPy_BEGIN_ALLOW_THREADS
;
1520 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
1522 wxPy_END_ALLOW_THREADS
;
1523 } Py_INCREF(Py_None
);
1524 _resultobj
= Py_None
;
1528 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
1529 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
* _resultobj
;
1531 wxPageSetupDialogData
* _arg0
;
1533 PyObject
* _argo0
= 0;
1535 PyObject
* _obj1
= 0;
1536 char *_kwnames
[] = { "self","pt", NULL
};
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
1542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1550 if (! wxPoint_helper(_obj1
, &_arg1
))
1554 wxPy_BEGIN_ALLOW_THREADS
;
1555 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
1557 wxPy_END_ALLOW_THREADS
;
1558 } Py_INCREF(Py_None
);
1559 _resultobj
= Py_None
;
1563 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
1564 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
* _resultobj
;
1566 wxPageSetupDialogData
* _arg0
;
1568 PyObject
* _argo0
= 0;
1569 char *_kwnames
[] = { "self","id", NULL
};
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
1575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
1582 wxPy_BEGIN_ALLOW_THREADS
;
1583 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
1585 wxPy_END_ALLOW_THREADS
;
1586 } Py_INCREF(Py_None
);
1587 _resultobj
= Py_None
;
1591 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
1592 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
* _resultobj
;
1594 wxPageSetupDialogData
* _arg0
;
1596 PyObject
* _argo0
= 0;
1598 PyObject
* _obj1
= 0;
1599 char *_kwnames
[] = { "self","size", NULL
};
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
1605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
1613 if (! wxSize_helper(_obj1
, &_arg1
))
1617 wxPy_BEGIN_ALLOW_THREADS
;
1618 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
1620 wxPy_END_ALLOW_THREADS
;
1621 } Py_INCREF(Py_None
);
1622 _resultobj
= Py_None
;
1626 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1627 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
* _resultobj
;
1629 wxPageSetupDialogData
* _arg0
;
1630 wxPrintData
* _arg1
;
1631 PyObject
* _argo0
= 0;
1632 PyObject
* _argo1
= 0;
1633 char *_kwnames
[] = { "self","printData", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
1646 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
1653 wxPy_BEGIN_ALLOW_THREADS
;
1654 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
1656 wxPy_END_ALLOW_THREADS
;
1657 } Py_INCREF(Py_None
);
1658 _resultobj
= Py_None
;
1662 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
1663 wxPageSetupDialog
*src
;
1665 src
= (wxPageSetupDialog
*) ptr
;
1666 dest
= (wxDialog
*) src
;
1667 return (void *) dest
;
1670 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
1671 wxPageSetupDialog
*src
;
1673 src
= (wxPageSetupDialog
*) ptr
;
1674 dest
= (wxPanel
*) src
;
1675 return (void *) dest
;
1678 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
1679 wxPageSetupDialog
*src
;
1681 src
= (wxPageSetupDialog
*) ptr
;
1682 dest
= (wxWindow
*) src
;
1683 return (void *) dest
;
1686 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
1687 wxPageSetupDialog
*src
;
1689 src
= (wxPageSetupDialog
*) ptr
;
1690 dest
= (wxEvtHandler
*) src
;
1691 return (void *) dest
;
1694 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
1695 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
* _resultobj
;
1697 wxPageSetupDialog
* _result
;
1699 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
1700 PyObject
* _argo0
= 0;
1701 PyObject
* _argo1
= 0;
1702 char *_kwnames
[] = { "parent","data", NULL
};
1706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
1709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
1716 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1717 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
1723 wxPy_BEGIN_ALLOW_THREADS
;
1724 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
1726 wxPy_END_ALLOW_THREADS
;
1728 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
1729 _resultobj
= Py_BuildValue("s",_ptemp
);
1732 _resultobj
= Py_None
;
1737 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
1738 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
* _resultobj
;
1740 wxPageSetupDialogData
* _result
;
1741 wxPageSetupDialog
* _arg0
;
1742 PyObject
* _argo0
= 0;
1743 char *_kwnames
[] = { "self", NULL
};
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
1750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
1757 wxPy_BEGIN_ALLOW_THREADS
;
1758 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
1759 _result
= (wxPageSetupDialogData
*) &_result_ref
;
1761 wxPy_END_ALLOW_THREADS
;
1763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1764 _resultobj
= Py_BuildValue("s",_ptemp
);
1767 _resultobj
= Py_None
;
1772 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1773 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1776 wxPageSetupDialog
* _arg0
;
1777 PyObject
* _argo0
= 0;
1778 char *_kwnames
[] = { "self", NULL
};
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
1784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
1791 wxPy_BEGIN_ALLOW_THREADS
;
1792 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
1794 wxPy_END_ALLOW_THREADS
;
1795 } _resultobj
= Py_BuildValue("i",_result
);
1799 #define new_wxPrintDialogData() (new wxPrintDialogData())
1800 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
* _resultobj
;
1802 wxPrintDialogData
* _result
;
1803 char *_kwnames
[] = { NULL
};
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
1810 wxPy_BEGIN_ALLOW_THREADS
;
1811 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
1813 wxPy_END_ALLOW_THREADS
;
1815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
1816 _resultobj
= Py_BuildValue("s",_ptemp
);
1819 _resultobj
= Py_None
;
1824 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
1825 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1827 wxPrintDialogData
* _arg0
;
1828 PyObject
* _argo0
= 0;
1829 char *_kwnames
[] = { "self", NULL
};
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
1835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
1842 wxPy_BEGIN_ALLOW_THREADS
;
1843 delete_wxPrintDialogData(_arg0
);
1845 wxPy_END_ALLOW_THREADS
;
1846 } Py_INCREF(Py_None
);
1847 _resultobj
= Py_None
;
1851 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1852 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1854 wxPrintDialogData
* _arg0
;
1856 PyObject
* _argo0
= 0;
1858 char *_kwnames
[] = { "self","flag", NULL
};
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
1870 _arg1
= (bool ) tempbool1
;
1872 wxPy_BEGIN_ALLOW_THREADS
;
1873 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
1875 wxPy_END_ALLOW_THREADS
;
1876 } Py_INCREF(Py_None
);
1877 _resultobj
= Py_None
;
1881 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
1882 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
* _resultobj
;
1884 wxPrintDialogData
* _arg0
;
1886 PyObject
* _argo0
= 0;
1888 char *_kwnames
[] = { "self","flag", NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
1894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
1900 _arg1
= (bool ) tempbool1
;
1902 wxPy_BEGIN_ALLOW_THREADS
;
1903 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
1905 wxPy_END_ALLOW_THREADS
;
1906 } Py_INCREF(Py_None
);
1907 _resultobj
= Py_None
;
1911 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
1912 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1914 wxPrintDialogData
* _arg0
;
1916 PyObject
* _argo0
= 0;
1918 char *_kwnames
[] = { "self","flag", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
1930 _arg1
= (bool ) tempbool1
;
1932 wxPy_BEGIN_ALLOW_THREADS
;
1933 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
1935 wxPy_END_ALLOW_THREADS
;
1936 } Py_INCREF(Py_None
);
1937 _resultobj
= Py_None
;
1941 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
1942 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
* _resultobj
;
1944 wxPrintDialogData
* _arg0
;
1946 PyObject
* _argo0
= 0;
1948 char *_kwnames
[] = { "self","flag", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
1960 _arg1
= (bool ) tempbool1
;
1962 wxPy_BEGIN_ALLOW_THREADS
;
1963 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
1965 wxPy_END_ALLOW_THREADS
;
1966 } Py_INCREF(Py_None
);
1967 _resultobj
= Py_None
;
1971 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
1972 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
* _resultobj
;
1975 wxPrintDialogData
* _arg0
;
1976 PyObject
* _argo0
= 0;
1977 char *_kwnames
[] = { "self", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
1990 wxPy_BEGIN_ALLOW_THREADS
;
1991 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
1993 wxPy_END_ALLOW_THREADS
;
1994 } _resultobj
= Py_BuildValue("i",_result
);
1998 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
1999 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
* _resultobj
;
2002 wxPrintDialogData
* _arg0
;
2003 PyObject
* _argo0
= 0;
2004 char *_kwnames
[] = { "self", NULL
};
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
2010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
2017 wxPy_BEGIN_ALLOW_THREADS
;
2018 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
2020 wxPy_END_ALLOW_THREADS
;
2021 } _resultobj
= Py_BuildValue("i",_result
);
2025 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
2026 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2029 wxPrintDialogData
* _arg0
;
2030 PyObject
* _argo0
= 0;
2031 char *_kwnames
[] = { "self", NULL
};
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
2037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
2044 wxPy_BEGIN_ALLOW_THREADS
;
2045 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
2047 wxPy_END_ALLOW_THREADS
;
2048 } _resultobj
= Py_BuildValue("i",_result
);
2052 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
2053 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
* _resultobj
;
2056 wxPrintDialogData
* _arg0
;
2057 PyObject
* _argo0
= 0;
2058 char *_kwnames
[] = { "self", NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
2064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
2071 wxPy_BEGIN_ALLOW_THREADS
;
2072 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
2074 wxPy_END_ALLOW_THREADS
;
2075 } _resultobj
= Py_BuildValue("i",_result
);
2079 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
2080 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2083 wxPrintDialogData
* _arg0
;
2084 PyObject
* _argo0
= 0;
2085 char *_kwnames
[] = { "self", NULL
};
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
2091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
2098 wxPy_BEGIN_ALLOW_THREADS
;
2099 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
2101 wxPy_END_ALLOW_THREADS
;
2102 } _resultobj
= Py_BuildValue("i",_result
);
2106 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
2107 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
* _resultobj
;
2110 wxPrintDialogData
* _arg0
;
2111 PyObject
* _argo0
= 0;
2112 char *_kwnames
[] = { "self", NULL
};
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
2118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
2125 wxPy_BEGIN_ALLOW_THREADS
;
2126 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
2128 wxPy_END_ALLOW_THREADS
;
2129 } _resultobj
= Py_BuildValue("i",_result
);
2133 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
2134 return new wxPrintData(self
->GetPrintData()); // force a copy
2136 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2137 PyObject
* _resultobj
;
2138 wxPrintData
* _result
;
2139 wxPrintDialogData
* _arg0
;
2140 PyObject
* _argo0
= 0;
2141 char *_kwnames
[] = { "self", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
2148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
2155 wxPy_BEGIN_ALLOW_THREADS
;
2156 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
2158 wxPy_END_ALLOW_THREADS
;
2160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2161 _resultobj
= Py_BuildValue("s",_ptemp
);
2164 _resultobj
= Py_None
;
2169 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
2170 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
* _resultobj
;
2173 wxPrintDialogData
* _arg0
;
2174 PyObject
* _argo0
= 0;
2175 char *_kwnames
[] = { "self", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
2181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
2188 wxPy_BEGIN_ALLOW_THREADS
;
2189 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
2191 wxPy_END_ALLOW_THREADS
;
2192 } _resultobj
= Py_BuildValue("i",_result
);
2196 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
2197 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2200 wxPrintDialogData
* _arg0
;
2201 PyObject
* _argo0
= 0;
2202 char *_kwnames
[] = { "self", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
2218 wxPy_END_ALLOW_THREADS
;
2219 } _resultobj
= Py_BuildValue("i",_result
);
2223 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
2224 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
* _resultobj
;
2226 wxPrintDialogData
* _arg0
;
2228 PyObject
* _argo0
= 0;
2230 char *_kwnames
[] = { "self","flag", NULL
};
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
2236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
2242 _arg1
= (bool ) tempbool1
;
2244 wxPy_BEGIN_ALLOW_THREADS
;
2245 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
2247 wxPy_END_ALLOW_THREADS
;
2248 } Py_INCREF(Py_None
);
2249 _resultobj
= Py_None
;
2253 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
2254 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
* _resultobj
;
2256 wxPrintDialogData
* _arg0
;
2258 PyObject
* _argo0
= 0;
2259 char *_kwnames
[] = { "self","page", NULL
};
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
2265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
2272 wxPy_BEGIN_ALLOW_THREADS
;
2273 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
2275 wxPy_END_ALLOW_THREADS
;
2276 } Py_INCREF(Py_None
);
2277 _resultobj
= Py_None
;
2281 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
2282 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
* _resultobj
;
2284 wxPrintDialogData
* _arg0
;
2286 PyObject
* _argo0
= 0;
2287 char *_kwnames
[] = { "self","page", NULL
};
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
2293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
2300 wxPy_BEGIN_ALLOW_THREADS
;
2301 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
2303 wxPy_END_ALLOW_THREADS
;
2304 } Py_INCREF(Py_None
);
2305 _resultobj
= Py_None
;
2309 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
2310 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
* _resultobj
;
2312 wxPrintDialogData
* _arg0
;
2314 PyObject
* _argo0
= 0;
2315 char *_kwnames
[] = { "self","page", NULL
};
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
2321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
2328 wxPy_BEGIN_ALLOW_THREADS
;
2329 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
2331 wxPy_END_ALLOW_THREADS
;
2332 } Py_INCREF(Py_None
);
2333 _resultobj
= Py_None
;
2337 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
2338 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
* _resultobj
;
2340 wxPrintDialogData
* _arg0
;
2342 PyObject
* _argo0
= 0;
2343 char *_kwnames
[] = { "self","n", NULL
};
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
2349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
2356 wxPy_BEGIN_ALLOW_THREADS
;
2357 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
2359 wxPy_END_ALLOW_THREADS
;
2360 } Py_INCREF(Py_None
);
2361 _resultobj
= Py_None
;
2365 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2366 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2367 PyObject
* _resultobj
;
2368 wxPrintDialogData
* _arg0
;
2369 wxPrintData
* _arg1
;
2370 PyObject
* _argo0
= 0;
2371 PyObject
* _argo1
= 0;
2372 char *_kwnames
[] = { "self","printData", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
2385 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2386 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
2392 wxPy_BEGIN_ALLOW_THREADS
;
2393 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
2395 wxPy_END_ALLOW_THREADS
;
2396 } Py_INCREF(Py_None
);
2397 _resultobj
= Py_None
;
2401 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
2402 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
* _resultobj
;
2404 wxPrintDialogData
* _arg0
;
2406 PyObject
* _argo0
= 0;
2408 char *_kwnames
[] = { "self","flag", NULL
};
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
2420 _arg1
= (bool ) tempbool1
;
2422 wxPy_BEGIN_ALLOW_THREADS
;
2423 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
2425 wxPy_END_ALLOW_THREADS
;
2426 } Py_INCREF(Py_None
);
2427 _resultobj
= Py_None
;
2431 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
2432 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2434 wxPrintDialogData
* _arg0
;
2436 PyObject
* _argo0
= 0;
2438 char *_kwnames
[] = { "self","flag", NULL
};
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
2444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
2450 _arg1
= (bool ) tempbool1
;
2452 wxPy_BEGIN_ALLOW_THREADS
;
2453 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
2455 wxPy_END_ALLOW_THREADS
;
2456 } Py_INCREF(Py_None
);
2457 _resultobj
= Py_None
;
2461 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
2462 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
* _resultobj
;
2464 wxPrintDialogData
* _arg0
;
2466 PyObject
* _argo0
= 0;
2467 char *_kwnames
[] = { "self","page", NULL
};
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
2473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
2480 wxPy_BEGIN_ALLOW_THREADS
;
2481 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
2483 wxPy_END_ALLOW_THREADS
;
2484 } Py_INCREF(Py_None
);
2485 _resultobj
= Py_None
;
2489 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
2492 src
= (wxPrintDialog
*) ptr
;
2493 dest
= (wxDialog
*) src
;
2494 return (void *) dest
;
2497 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
2500 src
= (wxPrintDialog
*) ptr
;
2501 dest
= (wxPanel
*) src
;
2502 return (void *) dest
;
2505 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
2508 src
= (wxPrintDialog
*) ptr
;
2509 dest
= (wxWindow
*) src
;
2510 return (void *) dest
;
2513 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
2516 src
= (wxPrintDialog
*) ptr
;
2517 dest
= (wxEvtHandler
*) src
;
2518 return (void *) dest
;
2521 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
2522 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2524 wxPrintDialog
* _result
;
2526 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
2527 PyObject
* _argo0
= 0;
2528 PyObject
* _argo1
= 0;
2529 char *_kwnames
[] = { "parent","data", NULL
};
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
2536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
2543 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
2550 wxPy_BEGIN_ALLOW_THREADS
;
2551 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
2553 wxPy_END_ALLOW_THREADS
;
2555 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
2556 _resultobj
= Py_BuildValue("s",_ptemp
);
2559 _resultobj
= Py_None
;
2564 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
2565 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
* _resultobj
;
2567 wxPrintDialogData
* _result
;
2568 wxPrintDialog
* _arg0
;
2569 PyObject
* _argo0
= 0;
2570 char *_kwnames
[] = { "self", NULL
};
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
2577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
2584 wxPy_BEGIN_ALLOW_THREADS
;
2585 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
2586 _result
= (wxPrintDialogData
*) &_result_ref
;
2588 wxPy_END_ALLOW_THREADS
;
2590 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2591 _resultobj
= Py_BuildValue("s",_ptemp
);
2594 _resultobj
= Py_None
;
2599 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
2600 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
* _resultobj
;
2603 wxPrintDialog
* _arg0
;
2604 PyObject
* _argo0
= 0;
2605 char *_kwnames
[] = { "self", NULL
};
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
2612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
2619 wxPy_BEGIN_ALLOW_THREADS
;
2620 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
2622 wxPy_END_ALLOW_THREADS
;
2624 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2625 _resultobj
= Py_BuildValue("s",_ptemp
);
2628 _resultobj
= Py_None
;
2633 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2634 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
* _resultobj
;
2637 wxPrintDialog
* _arg0
;
2638 PyObject
* _argo0
= 0;
2639 char *_kwnames
[] = { "self", NULL
};
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
2645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
2652 wxPy_BEGIN_ALLOW_THREADS
;
2653 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
2655 wxPy_END_ALLOW_THREADS
;
2656 } _resultobj
= Py_BuildValue("i",_result
);
2660 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
2661 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2663 wxPyPrintout
* _result
;
2664 char * _arg0
= (char *) "Printout";
2665 char *_kwnames
[] = { "title", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
2672 wxPy_BEGIN_ALLOW_THREADS
;
2673 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
2675 wxPy_END_ALLOW_THREADS
;
2677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
2678 _resultobj
= Py_BuildValue("s",_ptemp
);
2681 _resultobj
= Py_None
;
2686 #define wxPrintout__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2687 static PyObject
*_wrap_wxPrintout__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2689 wxPyPrintout
* _arg0
;
2692 PyObject
* _argo0
= 0;
2693 PyObject
* _obj1
= 0;
2694 PyObject
* _obj2
= 0;
2695 char *_kwnames
[] = { "self","self","_class", NULL
};
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
2714 wxPy_BEGIN_ALLOW_THREADS
;
2715 wxPrintout__setSelf(_arg0
,_arg1
,_arg2
);
2717 wxPy_END_ALLOW_THREADS
;
2718 } Py_INCREF(Py_None
);
2719 _resultobj
= Py_None
;
2723 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
2724 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
* _resultobj
;
2726 wxPyPrintout
* _arg0
;
2727 PyObject
* _argo0
= 0;
2728 char *_kwnames
[] = { "self", NULL
};
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
2734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
2741 wxPy_BEGIN_ALLOW_THREADS
;
2742 wxPyPrintout_Destroy(_arg0
);
2744 wxPy_END_ALLOW_THREADS
;
2745 } Py_INCREF(Py_None
);
2746 _resultobj
= Py_None
;
2750 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
2751 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
* _resultobj
;
2754 wxPyPrintout
* _arg0
;
2755 PyObject
* _argo0
= 0;
2756 char *_kwnames
[] = { "self", NULL
};
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
2763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
2770 wxPy_BEGIN_ALLOW_THREADS
;
2771 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
2773 wxPy_END_ALLOW_THREADS
;
2775 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2776 _resultobj
= Py_BuildValue("s",_ptemp
);
2779 _resultobj
= Py_None
;
2784 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
2785 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
* _resultobj
;
2787 wxPyPrintout
* _arg0
;
2792 PyObject
* _argo0
= 0;
2793 char *_kwnames
[] = { "self", NULL
};
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
2805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
2812 wxPy_BEGIN_ALLOW_THREADS
;
2813 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
2815 wxPy_END_ALLOW_THREADS
;
2816 } Py_INCREF(Py_None
);
2817 _resultobj
= Py_None
;
2820 o
= PyInt_FromLong((long) (*_arg1
));
2821 _resultobj
= t_output_helper(_resultobj
, o
);
2825 o
= PyInt_FromLong((long) (*_arg2
));
2826 _resultobj
= t_output_helper(_resultobj
, o
);
2831 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
2832 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
* _resultobj
;
2834 wxPyPrintout
* _arg0
;
2839 PyObject
* _argo0
= 0;
2840 char *_kwnames
[] = { "self", NULL
};
2849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
2852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
2859 wxPy_BEGIN_ALLOW_THREADS
;
2860 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
2862 wxPy_END_ALLOW_THREADS
;
2863 } Py_INCREF(Py_None
);
2864 _resultobj
= Py_None
;
2867 o
= PyInt_FromLong((long) (*_arg1
));
2868 _resultobj
= t_output_helper(_resultobj
, o
);
2872 o
= PyInt_FromLong((long) (*_arg2
));
2873 _resultobj
= t_output_helper(_resultobj
, o
);
2878 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
2879 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
* _resultobj
;
2881 wxPyPrintout
* _arg0
;
2886 PyObject
* _argo0
= 0;
2887 char *_kwnames
[] = { "self", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
2899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
2906 wxPy_BEGIN_ALLOW_THREADS
;
2907 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
2909 wxPy_END_ALLOW_THREADS
;
2910 } Py_INCREF(Py_None
);
2911 _resultobj
= Py_None
;
2914 o
= PyInt_FromLong((long) (*_arg1
));
2915 _resultobj
= t_output_helper(_resultobj
, o
);
2919 o
= PyInt_FromLong((long) (*_arg2
));
2920 _resultobj
= t_output_helper(_resultobj
, o
);
2925 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
2926 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
* _resultobj
;
2928 wxPyPrintout
* _arg0
;
2933 PyObject
* _argo0
= 0;
2934 char *_kwnames
[] = { "self", NULL
};
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
2946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
2953 wxPy_BEGIN_ALLOW_THREADS
;
2954 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
2956 wxPy_END_ALLOW_THREADS
;
2957 } Py_INCREF(Py_None
);
2958 _resultobj
= Py_None
;
2961 o
= PyInt_FromLong((long) (*_arg1
));
2962 _resultobj
= t_output_helper(_resultobj
, o
);
2966 o
= PyInt_FromLong((long) (*_arg2
));
2967 _resultobj
= t_output_helper(_resultobj
, o
);
2972 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
2973 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
* _resultobj
;
2976 wxPyPrintout
* _arg0
;
2977 PyObject
* _argo0
= 0;
2978 char *_kwnames
[] = { "self", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
2991 wxPy_BEGIN_ALLOW_THREADS
;
2992 _result
= (bool )wxPrintout_IsPreview(_arg0
);
2994 wxPy_END_ALLOW_THREADS
;
2995 } _resultobj
= Py_BuildValue("i",_result
);
2999 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
3000 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
* _resultobj
;
3003 wxPyPrintout
* _arg0
;
3006 PyObject
* _argo0
= 0;
3007 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
3020 wxPy_BEGIN_ALLOW_THREADS
;
3021 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
3023 wxPy_END_ALLOW_THREADS
;
3024 } _resultobj
= Py_BuildValue("i",_result
);
3028 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
3029 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
* _resultobj
;
3031 wxPyPrintout
* _arg0
;
3032 PyObject
* _argo0
= 0;
3033 char *_kwnames
[] = { "self", NULL
};
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
3039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
3046 wxPy_BEGIN_ALLOW_THREADS
;
3047 wxPrintout_base_OnEndDocument(_arg0
);
3049 wxPy_END_ALLOW_THREADS
;
3050 } Py_INCREF(Py_None
);
3051 _resultobj
= Py_None
;
3055 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
3056 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
* _resultobj
;
3058 wxPyPrintout
* _arg0
;
3059 PyObject
* _argo0
= 0;
3060 char *_kwnames
[] = { "self", NULL
};
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
3066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
3073 wxPy_BEGIN_ALLOW_THREADS
;
3074 wxPrintout_base_OnBeginPrinting(_arg0
);
3076 wxPy_END_ALLOW_THREADS
;
3077 } Py_INCREF(Py_None
);
3078 _resultobj
= Py_None
;
3082 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
3083 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
* _resultobj
;
3085 wxPyPrintout
* _arg0
;
3086 PyObject
* _argo0
= 0;
3087 char *_kwnames
[] = { "self", NULL
};
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
3093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
3100 wxPy_BEGIN_ALLOW_THREADS
;
3101 wxPrintout_base_OnEndPrinting(_arg0
);
3103 wxPy_END_ALLOW_THREADS
;
3104 } Py_INCREF(Py_None
);
3105 _resultobj
= Py_None
;
3109 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
3110 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
* _resultobj
;
3112 wxPyPrintout
* _arg0
;
3113 PyObject
* _argo0
= 0;
3114 char *_kwnames
[] = { "self", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
3127 wxPy_BEGIN_ALLOW_THREADS
;
3128 wxPrintout_base_OnPreparePrinting(_arg0
);
3130 wxPy_END_ALLOW_THREADS
;
3131 } Py_INCREF(Py_None
);
3132 _resultobj
= Py_None
;
3136 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3137 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
* _resultobj
;
3139 wxPyPrintout
* _arg0
;
3148 PyObject
* _argo0
= 0;
3149 char *_kwnames
[] = { "self", NULL
};
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
3167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
3174 wxPy_BEGIN_ALLOW_THREADS
;
3175 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3177 wxPy_END_ALLOW_THREADS
;
3178 } Py_INCREF(Py_None
);
3179 _resultobj
= Py_None
;
3182 o
= PyInt_FromLong((long) (*_arg1
));
3183 _resultobj
= t_output_helper(_resultobj
, o
);
3187 o
= PyInt_FromLong((long) (*_arg2
));
3188 _resultobj
= t_output_helper(_resultobj
, o
);
3192 o
= PyInt_FromLong((long) (*_arg3
));
3193 _resultobj
= t_output_helper(_resultobj
, o
);
3197 o
= PyInt_FromLong((long) (*_arg4
));
3198 _resultobj
= t_output_helper(_resultobj
, o
);
3203 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
3204 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
* _resultobj
;
3207 wxPyPrintout
* _arg0
;
3209 PyObject
* _argo0
= 0;
3210 char *_kwnames
[] = { "self","page", NULL
};
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
3216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
3223 wxPy_BEGIN_ALLOW_THREADS
;
3224 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
3226 wxPy_END_ALLOW_THREADS
;
3227 } _resultobj
= Py_BuildValue("i",_result
);
3231 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
3232 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
* _resultobj
;
3234 wxPrinter
* _result
;
3235 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
3236 PyObject
* _argo0
= 0;
3237 char *_kwnames
[] = { "data", NULL
};
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
3244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
3251 wxPy_BEGIN_ALLOW_THREADS
;
3252 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
3254 wxPy_END_ALLOW_THREADS
;
3256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
3257 _resultobj
= Py_BuildValue("s",_ptemp
);
3260 _resultobj
= Py_None
;
3265 #define delete_wxPrinter(_swigobj) (delete _swigobj)
3266 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3269 PyObject
* _argo0
= 0;
3270 char *_kwnames
[] = { "self", NULL
};
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
3276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
3283 wxPy_BEGIN_ALLOW_THREADS
;
3284 delete_wxPrinter(_arg0
);
3286 wxPy_END_ALLOW_THREADS
;
3287 } Py_INCREF(Py_None
);
3288 _resultobj
= Py_None
;
3292 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
3293 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
* _resultobj
;
3297 wxPyPrintout
* _arg2
;
3298 PyObject
* _argo0
= 0;
3299 PyObject
* _argo1
= 0;
3300 PyObject
* _argo2
= 0;
3301 char *_kwnames
[] = { "self","parent","printout", NULL
};
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
3314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
3321 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3322 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
3328 wxPy_BEGIN_ALLOW_THREADS
;
3329 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
3331 wxPy_END_ALLOW_THREADS
;
3332 } Py_INCREF(Py_None
);
3333 _resultobj
= Py_None
;
3337 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3338 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
* _resultobj
;
3340 wxPrintDialogData
* _result
;
3342 PyObject
* _argo0
= 0;
3343 char *_kwnames
[] = { "self", NULL
};
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
3350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
3357 wxPy_BEGIN_ALLOW_THREADS
;
3358 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
3359 _result
= (wxPrintDialogData
*) &_result_ref
;
3361 wxPy_END_ALLOW_THREADS
;
3363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3364 _resultobj
= Py_BuildValue("s",_ptemp
);
3367 _resultobj
= Py_None
;
3372 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
3373 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
* _resultobj
;
3378 wxPyPrintout
* _arg2
;
3379 int _arg3
= (int ) TRUE
;
3380 PyObject
* _argo0
= 0;
3381 PyObject
* _argo1
= 0;
3382 PyObject
* _argo2
= 0;
3383 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
3396 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
3403 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3404 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
3410 wxPy_BEGIN_ALLOW_THREADS
;
3411 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
3413 wxPy_END_ALLOW_THREADS
;
3414 } _resultobj
= Py_BuildValue("i",_result
);
3418 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
3419 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
* _resultobj
;
3424 PyObject
* _argo0
= 0;
3425 PyObject
* _argo1
= 0;
3426 char *_kwnames
[] = { "self","parent", NULL
};
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
3433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
3440 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3441 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
3447 wxPy_BEGIN_ALLOW_THREADS
;
3448 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
3450 wxPy_END_ALLOW_THREADS
;
3452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3453 _resultobj
= Py_BuildValue("s",_ptemp
);
3456 _resultobj
= Py_None
;
3461 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
3462 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
* _resultobj
;
3466 wxPyPrintout
* _arg2
;
3468 PyObject
* _argo0
= 0;
3469 PyObject
* _argo1
= 0;
3470 PyObject
* _argo2
= 0;
3471 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
3484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
3491 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3492 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
3498 wxPy_BEGIN_ALLOW_THREADS
;
3499 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
3501 wxPy_END_ALLOW_THREADS
;
3502 } Py_INCREF(Py_None
);
3503 _resultobj
= Py_None
;
3507 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
3508 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3513 PyObject
* _argo0
= 0;
3514 PyObject
* _argo1
= 0;
3515 char *_kwnames
[] = { "self","parent", NULL
};
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
3521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
3528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
3535 wxPy_BEGIN_ALLOW_THREADS
;
3536 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
3538 wxPy_END_ALLOW_THREADS
;
3539 } _resultobj
= Py_BuildValue("i",_result
);
3543 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
3544 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
* _resultobj
;
3546 wxPrintPreview
* _result
;
3547 wxPyPrintout
* _arg0
;
3548 wxPyPrintout
* _arg1
;
3549 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
3550 PyObject
* _argo0
= 0;
3551 PyObject
* _argo1
= 0;
3552 PyObject
* _argo2
= 0;
3553 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3567 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3568 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
3569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3574 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3575 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
3576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
3581 wxPy_BEGIN_ALLOW_THREADS
;
3582 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
3584 wxPy_END_ALLOW_THREADS
;
3586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
3587 _resultobj
= Py_BuildValue("s",_ptemp
);
3590 _resultobj
= Py_None
;
3595 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
3596 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
* _resultobj
;
3599 wxPrintPreview
* _arg0
;
3600 PyObject
* _argo0
= 0;
3601 char *_kwnames
[] = { "self", NULL
};
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
3608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
3615 wxPy_BEGIN_ALLOW_THREADS
;
3616 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
3618 wxPy_END_ALLOW_THREADS
;
3620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3621 _resultobj
= Py_BuildValue("s",_ptemp
);
3624 _resultobj
= Py_None
;
3629 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
3630 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3633 wxPrintPreview
* _arg0
;
3634 PyObject
* _argo0
= 0;
3635 char *_kwnames
[] = { "self", NULL
};
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
3641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
3648 wxPy_BEGIN_ALLOW_THREADS
;
3649 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
3651 wxPy_END_ALLOW_THREADS
;
3652 } _resultobj
= Py_BuildValue("i",_result
);
3656 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
3657 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
* _resultobj
;
3660 wxPrintPreview
* _arg0
;
3661 PyObject
* _argo0
= 0;
3662 char *_kwnames
[] = { "self", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
3676 wxPy_BEGIN_ALLOW_THREADS
;
3677 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
3679 wxPy_END_ALLOW_THREADS
;
3681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
3682 _resultobj
= Py_BuildValue("s",_ptemp
);
3685 _resultobj
= Py_None
;
3690 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3691 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
* _resultobj
;
3694 wxPrintPreview
* _arg0
;
3695 PyObject
* _argo0
= 0;
3696 char *_kwnames
[] = { "self", NULL
};
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
3702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
3709 wxPy_BEGIN_ALLOW_THREADS
;
3710 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
3712 wxPy_END_ALLOW_THREADS
;
3713 } _resultobj
= Py_BuildValue("i",_result
);
3717 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3718 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3721 wxPrintPreview
* _arg0
;
3722 PyObject
* _argo0
= 0;
3723 char *_kwnames
[] = { "self", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
3729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
3736 wxPy_BEGIN_ALLOW_THREADS
;
3737 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
3739 wxPy_END_ALLOW_THREADS
;
3740 } _resultobj
= Py_BuildValue("i",_result
);
3744 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3745 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
* _resultobj
;
3747 wxPrintDialogData
* _result
;
3748 wxPrintPreview
* _arg0
;
3749 PyObject
* _argo0
= 0;
3750 char *_kwnames
[] = { "self", NULL
};
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
3757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
3764 wxPy_BEGIN_ALLOW_THREADS
;
3765 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
3766 _result
= (wxPrintDialogData
*) &_result_ref
;
3768 wxPy_END_ALLOW_THREADS
;
3770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3771 _resultobj
= Py_BuildValue("s",_ptemp
);
3774 _resultobj
= Py_None
;
3779 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
3780 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
* _resultobj
;
3782 wxPyPrintout
* _result
;
3783 wxPrintPreview
* _arg0
;
3784 PyObject
* _argo0
= 0;
3785 char *_kwnames
[] = { "self", NULL
};
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
3792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
3799 wxPy_BEGIN_ALLOW_THREADS
;
3800 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
3802 wxPy_END_ALLOW_THREADS
;
3804 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3805 _resultobj
= Py_BuildValue("s",_ptemp
);
3808 _resultobj
= Py_None
;
3813 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
3814 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
* _resultobj
;
3816 wxPyPrintout
* _result
;
3817 wxPrintPreview
* _arg0
;
3818 PyObject
* _argo0
= 0;
3819 char *_kwnames
[] = { "self", NULL
};
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
3826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
3833 wxPy_BEGIN_ALLOW_THREADS
;
3834 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
3836 wxPy_END_ALLOW_THREADS
;
3838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3839 _resultobj
= Py_BuildValue("s",_ptemp
);
3842 _resultobj
= Py_None
;
3847 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
3848 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
* _resultobj
;
3851 wxPrintPreview
* _arg0
;
3852 PyObject
* _argo0
= 0;
3853 char *_kwnames
[] = { "self", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
3866 wxPy_BEGIN_ALLOW_THREADS
;
3867 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
3869 wxPy_END_ALLOW_THREADS
;
3870 } _resultobj
= Py_BuildValue("i",_result
);
3874 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
3875 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
* _resultobj
;
3878 wxPrintPreview
* _arg0
;
3879 PyObject
* _argo0
= 0;
3880 char *_kwnames
[] = { "self", NULL
};
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
3886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
3893 wxPy_BEGIN_ALLOW_THREADS
;
3894 _result
= (bool )wxPrintPreview_Ok(_arg0
);
3896 wxPy_END_ALLOW_THREADS
;
3897 } _resultobj
= Py_BuildValue("i",_result
);
3901 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
3902 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
* _resultobj
;
3905 wxPrintPreview
* _arg0
;
3907 PyObject
* _argo0
= 0;
3909 char *_kwnames
[] = { "self","prompt", NULL
};
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
3915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
3921 _arg1
= (bool ) tempbool1
;
3923 wxPy_BEGIN_ALLOW_THREADS
;
3924 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
3926 wxPy_END_ALLOW_THREADS
;
3927 } _resultobj
= Py_BuildValue("i",_result
);
3931 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
3932 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
* _resultobj
;
3934 wxPrintPreview
* _arg0
;
3936 PyObject
* _argo0
= 0;
3937 PyObject
* _argo1
= 0;
3938 char *_kwnames
[] = { "self","window", NULL
};
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
3944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
3951 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3952 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
3958 wxPy_BEGIN_ALLOW_THREADS
;
3959 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
3961 wxPy_END_ALLOW_THREADS
;
3962 } Py_INCREF(Py_None
);
3963 _resultobj
= Py_None
;
3967 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
3968 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
* _resultobj
;
3970 wxPrintPreview
* _arg0
;
3972 PyObject
* _argo0
= 0;
3973 char *_kwnames
[] = { "self","pageNum", NULL
};
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
3979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
3986 wxPy_BEGIN_ALLOW_THREADS
;
3987 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
3989 wxPy_END_ALLOW_THREADS
;
3990 } Py_INCREF(Py_None
);
3991 _resultobj
= Py_None
;
3995 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
3996 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
* _resultobj
;
3998 wxPrintPreview
* _arg0
;
4000 PyObject
* _argo0
= 0;
4001 PyObject
* _argo1
= 0;
4002 char *_kwnames
[] = { "self","frame", NULL
};
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
4008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
4015 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4016 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
4022 wxPy_BEGIN_ALLOW_THREADS
;
4023 wxPrintPreview_SetFrame(_arg0
,_arg1
);
4025 wxPy_END_ALLOW_THREADS
;
4026 } Py_INCREF(Py_None
);
4027 _resultobj
= Py_None
;
4031 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
4032 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
* _resultobj
;
4034 wxPrintPreview
* _arg0
;
4035 wxPyPrintout
* _arg1
;
4036 PyObject
* _argo0
= 0;
4037 PyObject
* _argo1
= 0;
4038 char *_kwnames
[] = { "self","printout", NULL
};
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
4044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
4051 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4052 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
4058 wxPy_BEGIN_ALLOW_THREADS
;
4059 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
4061 wxPy_END_ALLOW_THREADS
;
4062 } Py_INCREF(Py_None
);
4063 _resultobj
= Py_None
;
4067 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
4068 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
* _resultobj
;
4070 wxPrintPreview
* _arg0
;
4072 PyObject
* _argo0
= 0;
4073 char *_kwnames
[] = { "self","percent", NULL
};
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
4079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
4086 wxPy_BEGIN_ALLOW_THREADS
;
4087 wxPrintPreview_SetZoom(_arg0
,_arg1
);
4089 wxPy_END_ALLOW_THREADS
;
4090 } Py_INCREF(Py_None
);
4091 _resultobj
= Py_None
;
4095 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
4096 wxPreviewFrame
*src
;
4098 src
= (wxPreviewFrame
*) ptr
;
4099 dest
= (wxFrame
*) src
;
4100 return (void *) dest
;
4103 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
4104 wxPreviewFrame
*src
;
4106 src
= (wxPreviewFrame
*) ptr
;
4107 dest
= (wxWindow
*) src
;
4108 return (void *) dest
;
4111 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
4112 wxPreviewFrame
*src
;
4114 src
= (wxPreviewFrame
*) ptr
;
4115 dest
= (wxEvtHandler
*) src
;
4116 return (void *) dest
;
4119 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4120 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
* _resultobj
;
4122 wxPreviewFrame
* _result
;
4123 wxPrintPreview
* _arg0
;
4126 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4127 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4128 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
4129 char * _arg6
= (char *) "frame";
4130 PyObject
* _argo0
= 0;
4131 PyObject
* _argo1
= 0;
4132 PyObject
* _obj2
= 0;
4134 PyObject
* _obj3
= 0;
4136 PyObject
* _obj4
= 0;
4137 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
4151 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4152 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
4158 #if PYTHON_API_VERSION >= 1009
4159 char* tmpPtr
; int tmpSize
;
4160 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4161 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4164 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4166 _arg2
= new wxString(tmpPtr
, tmpSize
);
4168 if (!PyString_Check(_obj2
)) {
4169 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4172 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4178 if (! wxPoint_helper(_obj3
, &_arg3
))
4184 if (! wxSize_helper(_obj4
, &_arg4
))
4188 wxPy_BEGIN_ALLOW_THREADS
;
4189 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4191 wxPy_END_ALLOW_THREADS
;
4193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
4194 _resultobj
= Py_BuildValue("s",_ptemp
);
4197 _resultobj
= Py_None
;
4206 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
4207 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
* _resultobj
;
4209 wxPreviewFrame
* _arg0
;
4210 PyObject
* _argo0
= 0;
4211 char *_kwnames
[] = { "self", NULL
};
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
4217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
4219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
4224 wxPy_BEGIN_ALLOW_THREADS
;
4225 wxPreviewFrame_Initialize(_arg0
);
4227 wxPy_END_ALLOW_THREADS
;
4228 } Py_INCREF(Py_None
);
4229 _resultobj
= Py_None
;
4233 static PyMethodDef printfwcMethods
[] = {
4234 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4235 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
4236 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4237 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4238 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4239 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4240 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
4241 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
4242 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
4243 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4244 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4245 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4246 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4247 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4248 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4249 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4250 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4251 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
4252 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
4253 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
4254 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
4255 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
4256 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
4257 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4258 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
4259 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4260 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4261 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
4262 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
4263 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
4264 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4265 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4266 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
4267 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
4268 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
4269 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
4270 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4271 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
4272 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
4273 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
4274 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4275 { "wxPrintout__setSelf", (PyCFunction
) _wrap_wxPrintout__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
4276 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4277 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4278 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
4279 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4280 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
4281 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
4282 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
4283 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4284 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4285 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4286 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4287 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4288 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
4289 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4290 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
4291 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4292 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4293 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4294 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4295 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4296 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
4297 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4298 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
4299 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
4300 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4301 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
4302 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4303 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4304 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4305 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4306 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
4307 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
4308 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4309 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4310 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4311 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4312 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4313 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4314 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4315 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
4316 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
4317 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4318 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4319 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4320 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4321 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4322 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4323 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4324 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
4325 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4326 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
4327 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
4328 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4329 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
4330 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
4331 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
4332 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
4333 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4334 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
4335 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4336 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4337 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4338 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
4339 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4340 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4341 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
4342 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
4343 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
4344 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4345 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4346 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4347 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
4348 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4349 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4350 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
4351 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
4352 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
4353 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4354 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4355 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4356 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4357 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4364 * This table is used by the pointer type-checker
4366 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4367 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4368 { "_wxEvent","_class_wxEvent",0},
4369 { "_class_wxActivateEvent","_wxActivateEvent",0},
4370 { "_signed_long","_long",0},
4371 { "_wxMenuEvent","_class_wxMenuEvent",0},
4372 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
4373 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
4374 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
4375 { "_wxPrintQuality","_wxCoord",0},
4376 { "_wxPrintQuality","_int",0},
4377 { "_wxPrintQuality","_signed_int",0},
4378 { "_wxPrintQuality","_unsigned_int",0},
4379 { "_wxPrintQuality","_wxWindowID",0},
4380 { "_wxPrintQuality","_uint",0},
4381 { "_wxPrintQuality","_EBool",0},
4382 { "_wxPrintQuality","_size_t",0},
4383 { "_wxPrintQuality","_time_t",0},
4384 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
4385 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
4386 { "_wxFontData","_class_wxFontData",0},
4387 { "_class_wxRegionIterator","_wxRegionIterator",0},
4388 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
4389 { "_class_wxMenuBar","_wxMenuBar",0},
4390 { "_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4391 { "_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4392 { "_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4393 { "_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4394 { "_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4395 { "_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4396 { "_class_wxEvtHandler","_wxEvtHandler",0},
4397 { "_wxPaintEvent","_class_wxPaintEvent",0},
4398 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4399 { "_wxCursor","_class_wxCursor",0},
4400 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
4401 { "_class_wxToolBarBase","_wxToolBarBase",0},
4402 { "_wxMask","_class_wxMask",0},
4403 { "_class_wxColourData","_wxColourData",0},
4404 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
4405 { "_wxPrinter","_class_wxPrinter",0},
4406 { "_wxPen","_class_wxPen",0},
4407 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
4408 { "_byte","_unsigned_char",0},
4409 { "_wxDataObject","_class_wxDataObject",0},
4410 { "_wxStaticBox","_class_wxStaticBox",0},
4411 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
4412 { "_wxPyDropSource","_class_wxPyDropSource",0},
4413 { "_wxChoice","_class_wxChoice",0},
4414 { "_wxSlider","_class_wxSlider",0},
4415 { "_wxPyPrintout","_class_wxPyPrintout",0},
4416 { "_long","_unsigned_long",0},
4417 { "_long","_signed_long",0},
4418 { "_wxImageList","_class_wxImageList",0},
4419 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
4420 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
4421 { "_wxBitmapButton","_class_wxBitmapButton",0},
4422 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
4423 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4424 { "_class_wxClipboard","_wxClipboard",0},
4425 { "_class_wxGauge","_wxGauge",0},
4426 { "_wxDC","_class_wxDC",0},
4427 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
4428 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
4429 { "_wxProgressDialog","_class_wxProgressDialog",0},
4430 { "_wxPrintPreview","_class_wxPrintPreview",0},
4431 { "_wxSpinEvent","_class_wxSpinEvent",0},
4432 { "_size_t","_wxCoord",0},
4433 { "_size_t","_wxPrintQuality",0},
4434 { "_size_t","_time_t",0},
4435 { "_size_t","_unsigned_int",0},
4436 { "_size_t","_int",0},
4437 { "_size_t","_wxWindowID",0},
4438 { "_size_t","_uint",0},
4439 { "_class_wxRealPoint","_wxRealPoint",0},
4440 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
4441 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
4442 { "_class_wxMenuItem","_wxMenuItem",0},
4443 { "_class_wxPaintEvent","_wxPaintEvent",0},
4444 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
4445 { "_class_wxStatusBar","_wxStatusBar",0},
4446 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
4447 { "_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4448 { "_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4449 { "_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4450 { "_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4451 { "_wxPanel","_class_wxPanel",0},
4452 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
4453 { "_wxCheckBox","_class_wxCheckBox",0},
4454 { "_wxPyEvent","_class_wxPyEvent",0},
4455 { "_wxTextCtrl","_class_wxTextCtrl",0},
4456 { "_class_wxMask","_wxMask",0},
4457 { "_wxTextDataObject","_class_wxTextDataObject",0},
4458 { "_class_wxKeyEvent","_wxKeyEvent",0},
4459 { "_wxColour","_class_wxColour",0},
4460 { "_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4461 { "_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4462 { "_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4463 { "_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4464 { "_class_wxDialog","_wxDialog",0},
4465 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
4466 { "_class_wxPrinter","_wxPrinter",0},
4467 { "_class_wxFileDataObject","_wxFileDataObject",0},
4468 { "_wxIdleEvent","_class_wxIdleEvent",0},
4469 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
4470 { "_wxToolBar","_class_wxToolBar",0},
4471 { "_class_wxDataObject","_wxDataObject",0},
4472 { "_wxStaticLine","_class_wxStaticLine",0},
4473 { "_wxBrush","_class_wxBrush",0},
4474 { "_wxMiniFrame","_class_wxMiniFrame",0},
4475 { "_class_wxPyPrintout","_wxPyPrintout",0},
4476 { "_wxDataFormat","_class_wxDataFormat",0},
4477 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
4478 { "_wxShowEvent","_class_wxShowEvent",0},
4479 { "_uint","_wxCoord",0},
4480 { "_uint","_wxPrintQuality",0},
4481 { "_uint","_time_t",0},
4482 { "_uint","_size_t",0},
4483 { "_uint","_unsigned_int",0},
4484 { "_uint","_int",0},
4485 { "_uint","_wxWindowID",0},
4486 { "_wxChar","_char",0},
4487 { "_wxPyValidator","_class_wxPyValidator",0},
4488 { "_class_wxEvent","_wxEvent",0},
4489 { "_wxCheckListBox","_class_wxCheckListBox",0},
4490 { "_wxRect","_class_wxRect",0},
4491 { "_wxCommandEvent","_class_wxCommandEvent",0},
4492 { "_wxSizeEvent","_class_wxSizeEvent",0},
4493 { "_wxPoint","_class_wxPoint",0},
4494 { "_class_wxButton","_wxButton",0},
4495 { "_wxRadioBox","_class_wxRadioBox",0},
4496 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
4497 { "_class_wxFontData","_wxFontData",0},
4498 { "_char","_wxChar",0},
4499 { "_wxBitmap","_class_wxBitmap",0},
4500 { "_wxPrintDialog","_class_wxPrintDialog",0},
4501 { "_wxWindowDC","_class_wxWindowDC",0},
4502 { "_wxTimerEvent","_class_wxTimerEvent",0},
4503 { "_wxScrollBar","_class_wxScrollBar",0},
4504 { "_wxSpinButton","_class_wxSpinButton",0},
4505 { "_wxColourDialog","_class_wxColourDialog",0},
4506 { "_wxPrintData","_class_wxPrintData",0},
4507 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4508 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
4509 { "_wxMessageDialog","_class_wxMessageDialog",0},
4510 { "_class_wxValidator","_wxValidator",0},
4511 { "_class_wxPyEvent","_wxPyEvent",0},
4512 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
4513 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
4514 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
4515 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
4516 { "_class_wxToolBar","_wxToolBar",0},
4517 { "_wxDropTarget","_class_wxDropTarget",0},
4518 { "_class_wxStaticLine","_wxStaticLine",0},
4519 { "_wxScrollEvent","_class_wxScrollEvent",0},
4520 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
4521 { "_EBool","_wxCoord",0},
4522 { "_EBool","_wxPrintQuality",0},
4523 { "_EBool","_signed_int",0},
4524 { "_EBool","_int",0},
4525 { "_EBool","_wxWindowID",0},
4526 { "_class_wxRegion","_wxRegion",0},
4527 { "_class_wxDataFormat","_wxDataFormat",0},
4528 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
4529 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
4530 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
4531 { "_wxStaticText","_class_wxStaticText",0},
4532 { "_wxFont","_class_wxFont",0},
4533 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
4534 { "_wxCloseEvent","_class_wxCloseEvent",0},
4535 { "_unsigned_long","_long",0},
4536 { "_class_wxRect","_wxRect",0},
4537 { "_class_wxDC","_wxDC",0},
4538 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
4539 { "_class_wxProgressDialog","_wxProgressDialog",0},
4540 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
4541 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
4542 { "_class_wxDirDialog","_wxDirDialog",0},
4543 { "_wxFocusEvent","_class_wxFocusEvent",0},
4544 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
4545 { "_class_wxTimerEvent","_wxTimerEvent",0},
4546 { "_class_wxSpinButton","_wxSpinButton",0},
4547 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4548 { "_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4549 { "_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4550 { "_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4551 { "_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4552 { "_class_wxPanel","_wxPanel",0},
4553 { "_class_wxCheckBox","_wxCheckBox",0},
4554 { "_wxComboBox","_class_wxComboBox",0},
4555 { "_wxRadioButton","_class_wxRadioButton",0},
4556 { "_class_wxMessageDialog","_wxMessageDialog",0},
4557 { "_signed_int","_wxCoord",0},
4558 { "_signed_int","_wxPrintQuality",0},
4559 { "_signed_int","_EBool",0},
4560 { "_signed_int","_wxWindowID",0},
4561 { "_signed_int","_int",0},
4562 { "_class_wxTextCtrl","_wxTextCtrl",0},
4563 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4564 { "_class_wxTextDataObject","_wxTextDataObject",0},
4565 { "_wxMenu","_class_wxMenu",0},
4566 { "_class_wxMoveEvent","_wxMoveEvent",0},
4567 { "_wxListBox","_class_wxListBox",0},
4568 { "_wxScreenDC","_class_wxScreenDC",0},
4569 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
4570 { "_WXTYPE","_short",0},
4571 { "_WXTYPE","_signed_short",0},
4572 { "_WXTYPE","_unsigned_short",0},
4573 { "_wxFileDialog","_class_wxFileDialog",0},
4574 { "_class_wxDropTarget","_wxDropTarget",0},
4575 { "_class_wxBrush","_wxBrush",0},
4576 { "_unsigned_short","_WXTYPE",0},
4577 { "_unsigned_short","_short",0},
4578 { "_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4579 { "_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4580 { "_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4581 { "_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4582 { "_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4583 { "_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4584 { "_class_wxWindow","_wxWindow",0},
4585 { "_class_wxStaticText","_wxStaticText",0},
4586 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
4587 { "_class_wxFont","_wxFont",0},
4588 { "_wxClipboard","_class_wxClipboard",0},
4589 { "_class_wxPyValidator","_wxPyValidator",0},
4590 { "_class_wxCloseEvent","_wxCloseEvent",0},
4591 { "_wxBusyInfo","_class_wxBusyInfo",0},
4592 { "_class_wxMenuEvent","_wxMenuEvent",0},
4593 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
4594 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
4595 { "_wxClientDC","_class_wxClientDC",0},
4596 { "_wxMouseEvent","_class_wxMouseEvent",0},
4597 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
4598 { "_class_wxPoint","_wxPoint",0},
4599 { "_wxRealPoint","_class_wxRealPoint",0},
4600 { "_class_wxRadioBox","_wxRadioBox",0},
4601 { "_signed_short","_WXTYPE",0},
4602 { "_signed_short","_short",0},
4603 { "_wxMemoryDC","_class_wxMemoryDC",0},
4604 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
4605 { "_class_wxPrintDialog","_wxPrintDialog",0},
4606 { "_wxPaintDC","_class_wxPaintDC",0},
4607 { "_class_wxWindowDC","_wxWindowDC",0},
4608 { "_class_wxFocusEvent","_wxFocusEvent",0},
4609 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
4610 { "_wxStatusBar","_class_wxStatusBar",0},
4611 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4612 { "_class_wxCursor","_wxCursor",0},
4613 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
4614 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
4615 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
4616 { "_unsigned_char","_byte",0},
4617 { "_class_wxMenu","_wxMenu",0},
4618 { "_wxControl","_class_wxControl",0},
4619 { "_class_wxListBox","_wxListBox",0},
4620 { "_unsigned_int","_wxCoord",0},
4621 { "_unsigned_int","_wxPrintQuality",0},
4622 { "_unsigned_int","_time_t",0},
4623 { "_unsigned_int","_size_t",0},
4624 { "_unsigned_int","_uint",0},
4625 { "_unsigned_int","_wxWindowID",0},
4626 { "_unsigned_int","_int",0},
4627 { "_wxIcon","_class_wxIcon",0},
4628 { "_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4629 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4630 { "_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4631 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4632 { "_wxDialog","_class_wxDialog",0},
4633 { "_class_wxPen","_wxPen",0},
4634 { "_class_wxFileDialog","_wxFileDialog",0},
4635 { "_short","_WXTYPE",0},
4636 { "_short","_unsigned_short",0},
4637 { "_short","_signed_short",0},
4638 { "_class_wxStaticBox","_wxStaticBox",0},
4639 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
4640 { "_class_wxPyDropSource","_wxPyDropSource",0},
4641 { "_class_wxScrollEvent","_wxScrollEvent",0},
4642 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
4643 { "_class_wxChoice","_wxChoice",0},
4644 { "_class_wxSlider","_wxSlider",0},
4645 { "_class_wxImageList","_wxImageList",0},
4646 { "_class_wxBitmapButton","_wxBitmapButton",0},
4647 { "_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4648 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4649 { "_wxFrame","_class_wxFrame",0},
4650 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
4651 { "_wxWindowID","_wxCoord",0},
4652 { "_wxWindowID","_wxPrintQuality",0},
4653 { "_wxWindowID","_time_t",0},
4654 { "_wxWindowID","_size_t",0},
4655 { "_wxWindowID","_EBool",0},
4656 { "_wxWindowID","_uint",0},
4657 { "_wxWindowID","_int",0},
4658 { "_wxWindowID","_signed_int",0},
4659 { "_wxWindowID","_unsigned_int",0},
4660 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
4661 { "_int","_wxCoord",0},
4662 { "_int","_wxPrintQuality",0},
4663 { "_int","_time_t",0},
4664 { "_int","_size_t",0},
4665 { "_int","_EBool",0},
4666 { "_int","_uint",0},
4667 { "_int","_wxWindowID",0},
4668 { "_int","_unsigned_int",0},
4669 { "_int","_signed_int",0},
4670 { "_class_wxMouseEvent","_wxMouseEvent",0},
4671 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
4672 { "_class_wxPrintPreview","_wxPrintPreview",0},
4673 { "_class_wxSpinEvent","_wxSpinEvent",0},
4674 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
4675 { "_time_t","_wxCoord",0},
4676 { "_time_t","_wxPrintQuality",0},
4677 { "_time_t","_unsigned_int",0},
4678 { "_time_t","_int",0},
4679 { "_time_t","_wxWindowID",0},
4680 { "_time_t","_uint",0},
4681 { "_time_t","_size_t",0},
4682 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
4683 { "_wxButton","_class_wxButton",0},
4684 { "_wxSize","_class_wxSize",0},
4685 { "_wxRegionIterator","_class_wxRegionIterator",0},
4686 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
4687 { "_class_wxPaintDC","_wxPaintDC",0},
4688 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
4689 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
4690 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
4691 { "_class_wxComboBox","_wxComboBox",0},
4692 { "_class_wxRadioButton","_wxRadioButton",0},
4693 { "_wxValidator","_class_wxValidator",0},
4694 { "_wxToolBarBase","_class_wxToolBarBase",0},
4695 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4696 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
4697 { "_class_wxControl","_wxControl",0},
4698 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
4699 { "_class_wxIcon","_wxIcon",0},
4700 { "_class_wxColour","_wxColour",0},
4701 { "_class_wxScreenDC","_wxScreenDC",0},
4702 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
4703 { "_wxPalette","_class_wxPalette",0},
4704 { "_class_wxIdleEvent","_wxIdleEvent",0},
4705 { "_wxCoord","_int",0},
4706 { "_wxCoord","_signed_int",0},
4707 { "_wxCoord","_unsigned_int",0},
4708 { "_wxCoord","_wxWindowID",0},
4709 { "_wxCoord","_uint",0},
4710 { "_wxCoord","_EBool",0},
4711 { "_wxCoord","_size_t",0},
4712 { "_wxCoord","_time_t",0},
4713 { "_wxCoord","_wxPrintQuality",0},
4714 { "_wxEraseEvent","_class_wxEraseEvent",0},
4715 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
4716 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
4717 { "_class_wxMiniFrame","_wxMiniFrame",0},
4718 { "_wxFontDialog","_class_wxFontDialog",0},
4719 { "_wxRegion","_class_wxRegion",0},
4720 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
4721 { "_class_wxShowEvent","_wxShowEvent",0},
4722 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
4723 { "_wxActivateEvent","_class_wxActivateEvent",0},
4724 { "_wxGauge","_class_wxGauge",0},
4725 { "_class_wxCheckListBox","_wxCheckListBox",0},
4726 { "_class_wxBusyInfo","_wxBusyInfo",0},
4727 { "_class_wxCommandEvent","_wxCommandEvent",0},
4728 { "_class_wxClientDC","_wxClientDC",0},
4729 { "_class_wxSizeEvent","_wxSizeEvent",0},
4730 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
4731 { "_class_wxSize","_wxSize",0},
4732 { "_class_wxBitmap","_wxBitmap",0},
4733 { "_class_wxMemoryDC","_wxMemoryDC",0},
4734 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
4735 { "_wxMenuBar","_class_wxMenuBar",0},
4736 { "_wxDirDialog","_class_wxDirDialog",0},
4737 { "_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4738 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4739 { "_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4740 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4741 { "_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4742 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4743 { "_wxEvtHandler","_class_wxEvtHandler",0},
4744 { "_wxMenuItem","_class_wxMenuItem",0},
4745 { "_class_wxScrollBar","_wxScrollBar",0},
4746 { "_class_wxColourDialog","_wxColourDialog",0},
4747 { "_class_wxPrintData","_wxPrintData",0},
4748 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
4749 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
4750 { "_wxKeyEvent","_class_wxKeyEvent",0},
4751 { "_wxMoveEvent","_class_wxMoveEvent",0},
4752 { "_wxColourData","_class_wxColourData",0},
4753 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
4754 { "_class_wxPalette","_wxPalette",0},
4755 { "_wxFileDataObject","_class_wxFileDataObject",0},
4756 { "_class_wxEraseEvent","_wxEraseEvent",0},
4757 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
4758 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
4759 { "_class_wxFontDialog","_wxFontDialog",0},
4760 { "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4761 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4762 { "_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4763 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4764 { "_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4765 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4766 { "_wxWindow","_class_wxWindow",0},
4767 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
4768 { "_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4769 { "_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4770 { "_class_wxFrame","_wxFrame",0},
4773 static PyObject
*SWIG_globals
;
4777 SWIGEXPORT(void) initprintfwc() {
4779 SWIG_globals
= SWIG_newvarlink();
4780 m
= Py_InitModule("printfwc", printfwcMethods
);
4781 d
= PyModule_GetDict(m
);
4784 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4785 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);