2 * FILE : gtk/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initprintfwc
54 #define SWIG_name "printfwc"
58 #include <wx/printdlg.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
109 class wxPyPrintout
: public wxPrintout
{
111 wxPyPrintout(const wxString
& title
) : wxPrintout(title
) {}
113 DEC_PYCALLBACK_BOOL_INTINT(OnBeginDocument
);
114 DEC_PYCALLBACK__(OnEndDocument
);
115 DEC_PYCALLBACK__(OnBeginPrinting
);
116 DEC_PYCALLBACK__(OnEndPrinting
);
117 DEC_PYCALLBACK__(OnPreparePrinting
);
118 DEC_PYCALLBACK_BOOL_INT_pure(OnPrintPage
);
119 DEC_PYCALLBACK_BOOL_INT(HasPage
);
122 // Since this one would be tough and ugly to do with the Macros...
123 void GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
126 bool doSave
= wxPyRestoreThread();
127 if (m_myInst
.findCallback("GetPageInfo")) {
128 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
129 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
132 val
= PyTuple_GetItem(result
, 0);
133 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
136 val
= PyTuple_GetItem(result
, 1);
137 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
140 val
= PyTuple_GetItem(result
, 2);
141 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
144 val
= PyTuple_GetItem(result
, 3);
145 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
152 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
158 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
160 wxPySaveThread(doSave
);
163 void base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
164 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
170 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
171 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
172 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
173 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
174 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
175 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
176 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
182 #define new_wxPrintData() (new wxPrintData())
183 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
185 wxPrintData
* _result
;
186 char *_kwnames
[] = { NULL
};
190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
193 wxPy_BEGIN_ALLOW_THREADS
;
194 _result
= (wxPrintData
*)new_wxPrintData();
196 wxPy_END_ALLOW_THREADS
;
198 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
199 _resultobj
= Py_BuildValue("s",_ptemp
);
202 _resultobj
= Py_None
;
207 #define delete_wxPrintData(_swigobj) (delete _swigobj)
208 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
209 PyObject
* _resultobj
;
211 PyObject
* _argo0
= 0;
212 char *_kwnames
[] = { "self", NULL
};
215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
225 wxPy_BEGIN_ALLOW_THREADS
;
226 delete_wxPrintData(_arg0
);
228 wxPy_END_ALLOW_THREADS
;
229 } Py_INCREF(Py_None
);
230 _resultobj
= Py_None
;
234 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
235 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
236 PyObject
* _resultobj
;
239 PyObject
* _argo0
= 0;
240 char *_kwnames
[] = { "self", NULL
};
243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
253 wxPy_BEGIN_ALLOW_THREADS
;
254 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
256 wxPy_END_ALLOW_THREADS
;
257 } _resultobj
= Py_BuildValue("i",_result
);
261 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
262 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
263 PyObject
* _resultobj
;
266 PyObject
* _argo0
= 0;
267 char *_kwnames
[] = { "self", NULL
};
270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
280 wxPy_BEGIN_ALLOW_THREADS
;
281 _result
= (bool )wxPrintData_GetCollate(_arg0
);
283 wxPy_END_ALLOW_THREADS
;
284 } _resultobj
= Py_BuildValue("i",_result
);
288 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
289 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
290 PyObject
* _resultobj
;
293 PyObject
* _argo0
= 0;
294 char *_kwnames
[] = { "self", NULL
};
297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
307 wxPy_BEGIN_ALLOW_THREADS
;
308 _result
= (int )wxPrintData_GetOrientation(_arg0
);
310 wxPy_END_ALLOW_THREADS
;
311 } _resultobj
= Py_BuildValue("i",_result
);
315 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
316 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
317 PyObject
* _resultobj
;
320 PyObject
* _argo0
= 0;
321 char *_kwnames
[] = { "self", NULL
};
324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
334 wxPy_BEGIN_ALLOW_THREADS
;
335 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
336 _result
= (wxString
*) &_result_ref
;
338 wxPy_END_ALLOW_THREADS
;
340 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
345 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
346 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
347 PyObject
* _resultobj
;
350 PyObject
* _argo0
= 0;
351 char *_kwnames
[] = { "self", NULL
};
354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
364 wxPy_BEGIN_ALLOW_THREADS
;
365 _result
= (bool )wxPrintData_GetColour(_arg0
);
367 wxPy_END_ALLOW_THREADS
;
368 } _resultobj
= Py_BuildValue("i",_result
);
372 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
373 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
374 PyObject
* _resultobj
;
375 wxDuplexMode _result
;
377 PyObject
* _argo0
= 0;
378 char *_kwnames
[] = { "self", NULL
};
381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
391 wxPy_BEGIN_ALLOW_THREADS
;
392 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
394 wxPy_END_ALLOW_THREADS
;
395 } _resultobj
= Py_BuildValue("i",_result
);
399 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
400 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
404 PyObject
* _argo0
= 0;
405 char *_kwnames
[] = { "self", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
418 wxPy_BEGIN_ALLOW_THREADS
;
419 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
421 wxPy_END_ALLOW_THREADS
;
422 } _resultobj
= Py_BuildValue("i",_result
);
426 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
427 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
428 PyObject
* _resultobj
;
431 PyObject
* _argo0
= 0;
432 char *_kwnames
[] = { "self", NULL
};
436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
446 wxPy_BEGIN_ALLOW_THREADS
;
447 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
448 _result
= (wxSize
*) &_result_ref
;
450 wxPy_END_ALLOW_THREADS
;
452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
453 _resultobj
= Py_BuildValue("s",_ptemp
);
456 _resultobj
= Py_None
;
461 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
462 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
463 PyObject
* _resultobj
;
464 wxPrintQuality _result
;
466 PyObject
* _argo0
= 0;
467 char *_kwnames
[] = { "self", NULL
};
470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
480 wxPy_BEGIN_ALLOW_THREADS
;
481 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
483 wxPy_END_ALLOW_THREADS
;
484 } _resultobj
= Py_BuildValue("i",_result
);
488 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
489 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
490 PyObject
* _resultobj
;
493 PyObject
* _argo0
= 0;
494 char *_kwnames
[] = { "self","v", NULL
};
497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
507 wxPy_BEGIN_ALLOW_THREADS
;
508 wxPrintData_SetNoCopies(_arg0
,_arg1
);
510 wxPy_END_ALLOW_THREADS
;
511 } Py_INCREF(Py_None
);
512 _resultobj
= Py_None
;
516 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
517 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 PyObject
* _resultobj
;
521 PyObject
* _argo0
= 0;
523 char *_kwnames
[] = { "self","flag", NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
535 _arg1
= (bool ) tempbool1
;
537 wxPy_BEGIN_ALLOW_THREADS
;
538 wxPrintData_SetCollate(_arg0
,_arg1
);
540 wxPy_END_ALLOW_THREADS
;
541 } Py_INCREF(Py_None
);
542 _resultobj
= Py_None
;
546 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
547 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
548 PyObject
* _resultobj
;
551 PyObject
* _argo0
= 0;
552 char *_kwnames
[] = { "self","orient", NULL
};
555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
565 wxPy_BEGIN_ALLOW_THREADS
;
566 wxPrintData_SetOrientation(_arg0
,_arg1
);
568 wxPy_END_ALLOW_THREADS
;
569 } Py_INCREF(Py_None
);
570 _resultobj
= Py_None
;
574 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
575 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
579 PyObject
* _argo0
= 0;
580 PyObject
* _obj1
= 0;
581 char *_kwnames
[] = { "self","name", NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
594 if (!PyString_Check(_obj1
)) {
595 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
598 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
601 wxPy_BEGIN_ALLOW_THREADS
;
602 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
604 wxPy_END_ALLOW_THREADS
;
605 } Py_INCREF(Py_None
);
606 _resultobj
= Py_None
;
614 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
615 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 PyObject
* _resultobj
;
619 PyObject
* _argo0
= 0;
621 char *_kwnames
[] = { "self","colour", NULL
};
624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
633 _arg1
= (bool ) tempbool1
;
635 wxPy_BEGIN_ALLOW_THREADS
;
636 wxPrintData_SetColour(_arg0
,_arg1
);
638 wxPy_END_ALLOW_THREADS
;
639 } Py_INCREF(Py_None
);
640 _resultobj
= Py_None
;
644 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
645 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
646 PyObject
* _resultobj
;
649 PyObject
* _argo0
= 0;
650 char *_kwnames
[] = { "self","duplex", NULL
};
653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
663 wxPy_BEGIN_ALLOW_THREADS
;
664 wxPrintData_SetDuplex(_arg0
,_arg1
);
666 wxPy_END_ALLOW_THREADS
;
667 } Py_INCREF(Py_None
);
668 _resultobj
= Py_None
;
672 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
673 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
674 PyObject
* _resultobj
;
677 PyObject
* _argo0
= 0;
678 char *_kwnames
[] = { "self","sizeId", NULL
};
681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
691 wxPy_BEGIN_ALLOW_THREADS
;
692 wxPrintData_SetPaperId(_arg0
,_arg1
);
694 wxPy_END_ALLOW_THREADS
;
695 } Py_INCREF(Py_None
);
696 _resultobj
= Py_None
;
700 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
701 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
702 PyObject
* _resultobj
;
705 PyObject
* _argo0
= 0;
707 PyObject
* _obj1
= 0;
708 char *_kwnames
[] = { "self","sz", NULL
};
711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
722 if (! wxSize_helper(_obj1
, &_arg1
))
726 wxPy_BEGIN_ALLOW_THREADS
;
727 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
729 wxPy_END_ALLOW_THREADS
;
730 } Py_INCREF(Py_None
);
731 _resultobj
= Py_None
;
735 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
736 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
737 PyObject
* _resultobj
;
739 wxPrintQuality _arg1
;
740 PyObject
* _argo0
= 0;
741 char *_kwnames
[] = { "self","quality", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
754 wxPy_BEGIN_ALLOW_THREADS
;
755 wxPrintData_SetQuality(_arg0
,_arg1
);
757 wxPy_END_ALLOW_THREADS
;
758 } Py_INCREF(Py_None
);
759 _resultobj
= Py_None
;
763 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
764 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
765 PyObject
* _resultobj
;
766 wxPageSetupDialogData
* _result
;
767 char *_kwnames
[] = { NULL
};
771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
774 wxPy_BEGIN_ALLOW_THREADS
;
775 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
777 wxPy_END_ALLOW_THREADS
;
779 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
780 _resultobj
= Py_BuildValue("s",_ptemp
);
783 _resultobj
= Py_None
;
788 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
789 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
790 PyObject
* _resultobj
;
791 wxPageSetupDialogData
* _arg0
;
792 PyObject
* _argo0
= 0;
793 char *_kwnames
[] = { "self", NULL
};
796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
806 wxPy_BEGIN_ALLOW_THREADS
;
807 delete_wxPageSetupDialogData(_arg0
);
809 wxPy_END_ALLOW_THREADS
;
810 } Py_INCREF(Py_None
);
811 _resultobj
= Py_None
;
815 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
816 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
818 wxPageSetupDialogData
* _arg0
;
820 PyObject
* _argo0
= 0;
822 char *_kwnames
[] = { "self","flag", NULL
};
825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
834 _arg1
= (bool ) tempbool1
;
836 wxPy_BEGIN_ALLOW_THREADS
;
837 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
839 wxPy_END_ALLOW_THREADS
;
840 } Py_INCREF(Py_None
);
841 _resultobj
= Py_None
;
845 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
846 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
847 PyObject
* _resultobj
;
848 wxPageSetupDialogData
* _arg0
;
850 PyObject
* _argo0
= 0;
852 char *_kwnames
[] = { "self","flag", NULL
};
855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
864 _arg1
= (bool ) tempbool1
;
866 wxPy_BEGIN_ALLOW_THREADS
;
867 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
869 wxPy_END_ALLOW_THREADS
;
870 } Py_INCREF(Py_None
);
871 _resultobj
= Py_None
;
875 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
876 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
877 PyObject
* _resultobj
;
878 wxPageSetupDialogData
* _arg0
;
880 PyObject
* _argo0
= 0;
882 char *_kwnames
[] = { "self","flag", NULL
};
885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
894 _arg1
= (bool ) tempbool1
;
896 wxPy_BEGIN_ALLOW_THREADS
;
897 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
899 wxPy_END_ALLOW_THREADS
;
900 } Py_INCREF(Py_None
);
901 _resultobj
= Py_None
;
905 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
906 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 PyObject
* _resultobj
;
908 wxPageSetupDialogData
* _arg0
;
910 PyObject
* _argo0
= 0;
912 char *_kwnames
[] = { "self","flag", NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
924 _arg1
= (bool ) tempbool1
;
926 wxPy_BEGIN_ALLOW_THREADS
;
927 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
929 wxPy_END_ALLOW_THREADS
;
930 } Py_INCREF(Py_None
);
931 _resultobj
= Py_None
;
935 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
936 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
938 wxPageSetupDialogData
* _arg0
;
940 PyObject
* _argo0
= 0;
942 char *_kwnames
[] = { "self","flag", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
954 _arg1
= (bool ) tempbool1
;
956 wxPy_BEGIN_ALLOW_THREADS
;
957 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
959 wxPy_END_ALLOW_THREADS
;
960 } Py_INCREF(Py_None
);
961 _resultobj
= Py_None
;
965 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
966 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
967 PyObject
* _resultobj
;
969 wxPageSetupDialogData
* _arg0
;
970 PyObject
* _argo0
= 0;
971 char *_kwnames
[] = { "self", NULL
};
974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
984 wxPy_BEGIN_ALLOW_THREADS
;
985 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
987 wxPy_END_ALLOW_THREADS
;
988 } _resultobj
= Py_BuildValue("i",_result
);
992 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
993 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
994 PyObject
* _resultobj
;
996 wxPageSetupDialogData
* _arg0
;
997 PyObject
* _argo0
= 0;
998 char *_kwnames
[] = { "self", NULL
};
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
1004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1011 wxPy_BEGIN_ALLOW_THREADS
;
1012 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1014 wxPy_END_ALLOW_THREADS
;
1015 } _resultobj
= Py_BuildValue("i",_result
);
1019 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
1020 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
* _resultobj
;
1023 wxPageSetupDialogData
* _arg0
;
1024 PyObject
* _argo0
= 0;
1025 char *_kwnames
[] = { "self", NULL
};
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
1031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1038 wxPy_BEGIN_ALLOW_THREADS
;
1039 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1041 wxPy_END_ALLOW_THREADS
;
1042 } _resultobj
= Py_BuildValue("i",_result
);
1046 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
1047 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1048 PyObject
* _resultobj
;
1050 wxPageSetupDialogData
* _arg0
;
1051 PyObject
* _argo0
= 0;
1052 char *_kwnames
[] = { "self", NULL
};
1055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
1058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
1065 wxPy_BEGIN_ALLOW_THREADS
;
1066 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
1068 wxPy_END_ALLOW_THREADS
;
1069 } _resultobj
= Py_BuildValue("i",_result
);
1073 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
1074 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1075 PyObject
* _resultobj
;
1077 wxPageSetupDialogData
* _arg0
;
1078 PyObject
* _argo0
= 0;
1079 char *_kwnames
[] = { "self", NULL
};
1082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
1085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
1092 wxPy_BEGIN_ALLOW_THREADS
;
1093 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
1095 wxPy_END_ALLOW_THREADS
;
1096 } _resultobj
= Py_BuildValue("i",_result
);
1100 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
1101 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1102 PyObject
* _resultobj
;
1104 wxPageSetupDialogData
* _arg0
;
1105 PyObject
* _argo0
= 0;
1106 char *_kwnames
[] = { "self", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
1119 wxPy_BEGIN_ALLOW_THREADS
;
1120 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
1122 wxPy_END_ALLOW_THREADS
;
1123 } _resultobj
= Py_BuildValue("i",_result
);
1127 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
1128 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
* _resultobj
;
1131 wxPageSetupDialogData
* _arg0
;
1132 PyObject
* _argo0
= 0;
1133 char *_kwnames
[] = { "self", NULL
};
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
1139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1146 wxPy_BEGIN_ALLOW_THREADS
;
1147 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
1149 wxPy_END_ALLOW_THREADS
;
1150 } _resultobj
= Py_BuildValue("i",_result
);
1154 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
1155 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1156 PyObject
* _resultobj
;
1158 wxPageSetupDialogData
* _arg0
;
1159 PyObject
* _argo0
= 0;
1160 char *_kwnames
[] = { "self", NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
1167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1174 wxPy_BEGIN_ALLOW_THREADS
;
1175 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
1177 wxPy_END_ALLOW_THREADS
;
1178 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1179 _resultobj
= Py_BuildValue("s",_ptemp
);
1183 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
1184 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1187 wxPageSetupDialogData
* _arg0
;
1188 PyObject
* _argo0
= 0;
1189 char *_kwnames
[] = { "self", NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
1196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1203 wxPy_BEGIN_ALLOW_THREADS
;
1204 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
1206 wxPy_END_ALLOW_THREADS
;
1207 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1208 _resultobj
= Py_BuildValue("s",_ptemp
);
1212 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
1213 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1214 PyObject
* _resultobj
;
1216 wxPageSetupDialogData
* _arg0
;
1217 PyObject
* _argo0
= 0;
1218 char *_kwnames
[] = { "self", NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
1225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1232 wxPy_BEGIN_ALLOW_THREADS
;
1233 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
1235 wxPy_END_ALLOW_THREADS
;
1236 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1237 _resultobj
= Py_BuildValue("s",_ptemp
);
1241 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
1242 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1243 PyObject
* _resultobj
;
1245 wxPageSetupDialogData
* _arg0
;
1246 PyObject
* _argo0
= 0;
1247 char *_kwnames
[] = { "self", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
1254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1261 wxPy_BEGIN_ALLOW_THREADS
;
1262 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
1264 wxPy_END_ALLOW_THREADS
;
1265 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1266 _resultobj
= Py_BuildValue("s",_ptemp
);
1270 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
1271 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1273 wxPaperSize _result
;
1274 wxPageSetupDialogData
* _arg0
;
1275 PyObject
* _argo0
= 0;
1276 char *_kwnames
[] = { "self", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
1282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
1289 wxPy_BEGIN_ALLOW_THREADS
;
1290 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
1292 wxPy_END_ALLOW_THREADS
;
1293 } _resultobj
= Py_BuildValue("i",_result
);
1297 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
1298 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
* _resultobj
;
1301 wxPageSetupDialogData
* _arg0
;
1302 PyObject
* _argo0
= 0;
1303 char *_kwnames
[] = { "self", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
1317 wxPy_BEGIN_ALLOW_THREADS
;
1318 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
1320 wxPy_END_ALLOW_THREADS
;
1321 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1322 _resultobj
= Py_BuildValue("s",_ptemp
);
1326 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
1327 return new wxPrintData(self
->GetPrintData()); // force a copy
1329 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1330 PyObject
* _resultobj
;
1331 wxPrintData
* _result
;
1332 wxPageSetupDialogData
* _arg0
;
1333 PyObject
* _argo0
= 0;
1334 char *_kwnames
[] = { "self", NULL
};
1338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
1341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
1348 wxPy_BEGIN_ALLOW_THREADS
;
1349 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
1351 wxPy_END_ALLOW_THREADS
;
1353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1354 _resultobj
= Py_BuildValue("s",_ptemp
);
1357 _resultobj
= Py_None
;
1362 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
1363 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
* _resultobj
;
1365 wxPageSetupDialogData
* _arg0
;
1367 PyObject
* _argo0
= 0;
1369 char *_kwnames
[] = { "self","flag", NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
1375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1381 _arg1
= (bool ) tempbool1
;
1383 wxPy_BEGIN_ALLOW_THREADS
;
1384 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
1386 wxPy_END_ALLOW_THREADS
;
1387 } Py_INCREF(Py_None
);
1388 _resultobj
= Py_None
;
1392 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
1393 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1395 wxPageSetupDialogData
* _arg0
;
1397 PyObject
* _argo0
= 0;
1399 char *_kwnames
[] = { "self","flag", NULL
};
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
1405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1411 _arg1
= (bool ) tempbool1
;
1413 wxPy_BEGIN_ALLOW_THREADS
;
1414 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
1416 wxPy_END_ALLOW_THREADS
;
1417 } Py_INCREF(Py_None
);
1418 _resultobj
= Py_None
;
1422 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
1423 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
* _resultobj
;
1425 wxPageSetupDialogData
* _arg0
;
1427 PyObject
* _argo0
= 0;
1429 PyObject
* _obj1
= 0;
1430 char *_kwnames
[] = { "self","pt", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
1436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1444 if (! wxPoint_helper(_obj1
, &_arg1
))
1448 wxPy_BEGIN_ALLOW_THREADS
;
1449 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
1451 wxPy_END_ALLOW_THREADS
;
1452 } Py_INCREF(Py_None
);
1453 _resultobj
= Py_None
;
1457 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
1458 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
* _resultobj
;
1460 wxPageSetupDialogData
* _arg0
;
1462 PyObject
* _argo0
= 0;
1464 PyObject
* _obj1
= 0;
1465 char *_kwnames
[] = { "self","pt", NULL
};
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
1471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1479 if (! wxPoint_helper(_obj1
, &_arg1
))
1483 wxPy_BEGIN_ALLOW_THREADS
;
1484 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
1486 wxPy_END_ALLOW_THREADS
;
1487 } Py_INCREF(Py_None
);
1488 _resultobj
= Py_None
;
1492 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
1493 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
* _resultobj
;
1495 wxPageSetupDialogData
* _arg0
;
1497 PyObject
* _argo0
= 0;
1499 PyObject
* _obj1
= 0;
1500 char *_kwnames
[] = { "self","pt", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
1506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1514 if (! wxPoint_helper(_obj1
, &_arg1
))
1518 wxPy_BEGIN_ALLOW_THREADS
;
1519 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
1521 wxPy_END_ALLOW_THREADS
;
1522 } Py_INCREF(Py_None
);
1523 _resultobj
= Py_None
;
1527 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
1528 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
* _resultobj
;
1530 wxPageSetupDialogData
* _arg0
;
1532 PyObject
* _argo0
= 0;
1534 PyObject
* _obj1
= 0;
1535 char *_kwnames
[] = { "self","pt", NULL
};
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
1541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1549 if (! wxPoint_helper(_obj1
, &_arg1
))
1553 wxPy_BEGIN_ALLOW_THREADS
;
1554 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
1556 wxPy_END_ALLOW_THREADS
;
1557 } Py_INCREF(Py_None
);
1558 _resultobj
= Py_None
;
1562 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
1563 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1565 wxPageSetupDialogData
* _arg0
;
1566 wxPaperSize
* _arg1
;
1567 PyObject
* _argo0
= 0;
1568 PyObject
* _argo1
= 0;
1569 char *_kwnames
[] = { "self","id", NULL
};
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_argo1
))
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 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPaperSize_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPaperId. Expected _wxPaperSize_p.");
1589 wxPy_BEGIN_ALLOW_THREADS
;
1590 wxPageSetupDialogData_SetPaperId(_arg0
,*_arg1
);
1592 wxPy_END_ALLOW_THREADS
;
1593 } Py_INCREF(Py_None
);
1594 _resultobj
= Py_None
;
1598 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
1599 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1601 wxPageSetupDialogData
* _arg0
;
1603 PyObject
* _argo0
= 0;
1605 PyObject
* _obj1
= 0;
1606 char *_kwnames
[] = { "self","size", NULL
};
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
1612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
1620 if (! wxSize_helper(_obj1
, &_arg1
))
1624 wxPy_BEGIN_ALLOW_THREADS
;
1625 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
1627 wxPy_END_ALLOW_THREADS
;
1628 } Py_INCREF(Py_None
);
1629 _resultobj
= Py_None
;
1633 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1634 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1636 wxPageSetupDialogData
* _arg0
;
1637 wxPrintData
* _arg1
;
1638 PyObject
* _argo0
= 0;
1639 PyObject
* _argo1
= 0;
1640 char *_kwnames
[] = { "self","printData", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
1653 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
1660 wxPy_BEGIN_ALLOW_THREADS
;
1661 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
1663 wxPy_END_ALLOW_THREADS
;
1664 } Py_INCREF(Py_None
);
1665 _resultobj
= Py_None
;
1669 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
1670 wxPageSetupDialog
*src
;
1672 src
= (wxPageSetupDialog
*) ptr
;
1673 dest
= (wxDialog
*) src
;
1674 return (void *) dest
;
1677 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
1678 wxPageSetupDialog
*src
;
1680 src
= (wxPageSetupDialog
*) ptr
;
1681 dest
= (wxPanel
*) src
;
1682 return (void *) dest
;
1685 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
1686 wxPageSetupDialog
*src
;
1688 src
= (wxPageSetupDialog
*) ptr
;
1689 dest
= (wxWindow
*) src
;
1690 return (void *) dest
;
1693 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
1694 wxPageSetupDialog
*src
;
1696 src
= (wxPageSetupDialog
*) ptr
;
1697 dest
= (wxEvtHandler
*) src
;
1698 return (void *) dest
;
1701 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
1702 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
* _resultobj
;
1704 wxPageSetupDialog
* _result
;
1706 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
1707 PyObject
* _argo0
= 0;
1708 PyObject
* _argo1
= 0;
1709 char *_kwnames
[] = { "parent","data", NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
1716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
1723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
1730 wxPy_BEGIN_ALLOW_THREADS
;
1731 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
1733 wxPy_END_ALLOW_THREADS
;
1735 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
1736 _resultobj
= Py_BuildValue("s",_ptemp
);
1739 _resultobj
= Py_None
;
1744 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
1745 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
* _resultobj
;
1747 wxPageSetupDialogData
* _result
;
1748 wxPageSetupDialog
* _arg0
;
1749 PyObject
* _argo0
= 0;
1750 char *_kwnames
[] = { "self", NULL
};
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
1757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
1764 wxPy_BEGIN_ALLOW_THREADS
;
1765 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
1766 _result
= (wxPageSetupDialogData
*) &_result_ref
;
1768 wxPy_END_ALLOW_THREADS
;
1770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1771 _resultobj
= Py_BuildValue("s",_ptemp
);
1774 _resultobj
= Py_None
;
1779 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1780 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
* _resultobj
;
1783 wxPageSetupDialog
* _arg0
;
1784 PyObject
* _argo0
= 0;
1785 char *_kwnames
[] = { "self", NULL
};
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
1791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
1798 wxPy_BEGIN_ALLOW_THREADS
;
1799 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
1801 wxPy_END_ALLOW_THREADS
;
1802 } _resultobj
= Py_BuildValue("i",_result
);
1806 #define new_wxPrintDialogData() (new wxPrintDialogData())
1807 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1809 wxPrintDialogData
* _result
;
1810 char *_kwnames
[] = { NULL
};
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
1817 wxPy_BEGIN_ALLOW_THREADS
;
1818 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
1820 wxPy_END_ALLOW_THREADS
;
1822 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
1823 _resultobj
= Py_BuildValue("s",_ptemp
);
1826 _resultobj
= Py_None
;
1831 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
1832 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1834 wxPrintDialogData
* _arg0
;
1835 PyObject
* _argo0
= 0;
1836 char *_kwnames
[] = { "self", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
1849 wxPy_BEGIN_ALLOW_THREADS
;
1850 delete_wxPrintDialogData(_arg0
);
1852 wxPy_END_ALLOW_THREADS
;
1853 } Py_INCREF(Py_None
);
1854 _resultobj
= Py_None
;
1858 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1859 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
* _resultobj
;
1861 wxPrintDialogData
* _arg0
;
1863 PyObject
* _argo0
= 0;
1865 char *_kwnames
[] = { "self","flag", NULL
};
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
1877 _arg1
= (bool ) tempbool1
;
1879 wxPy_BEGIN_ALLOW_THREADS
;
1880 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
1882 wxPy_END_ALLOW_THREADS
;
1883 } Py_INCREF(Py_None
);
1884 _resultobj
= Py_None
;
1888 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
1889 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
* _resultobj
;
1891 wxPrintDialogData
* _arg0
;
1893 PyObject
* _argo0
= 0;
1895 char *_kwnames
[] = { "self","flag", NULL
};
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
1901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
1907 _arg1
= (bool ) tempbool1
;
1909 wxPy_BEGIN_ALLOW_THREADS
;
1910 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
1912 wxPy_END_ALLOW_THREADS
;
1913 } Py_INCREF(Py_None
);
1914 _resultobj
= Py_None
;
1918 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
1919 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
* _resultobj
;
1921 wxPrintDialogData
* _arg0
;
1923 PyObject
* _argo0
= 0;
1925 char *_kwnames
[] = { "self","flag", NULL
};
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
1931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
1937 _arg1
= (bool ) tempbool1
;
1939 wxPy_BEGIN_ALLOW_THREADS
;
1940 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
1942 wxPy_END_ALLOW_THREADS
;
1943 } Py_INCREF(Py_None
);
1944 _resultobj
= Py_None
;
1948 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
1949 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
* _resultobj
;
1951 wxPrintDialogData
* _arg0
;
1953 PyObject
* _argo0
= 0;
1955 char *_kwnames
[] = { "self","flag", NULL
};
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
1961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
1967 _arg1
= (bool ) tempbool1
;
1969 wxPy_BEGIN_ALLOW_THREADS
;
1970 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
1972 wxPy_END_ALLOW_THREADS
;
1973 } Py_INCREF(Py_None
);
1974 _resultobj
= Py_None
;
1978 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
1979 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
* _resultobj
;
1982 wxPrintDialogData
* _arg0
;
1983 PyObject
* _argo0
= 0;
1984 char *_kwnames
[] = { "self", NULL
};
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
1990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
1997 wxPy_BEGIN_ALLOW_THREADS
;
1998 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
2000 wxPy_END_ALLOW_THREADS
;
2001 } _resultobj
= Py_BuildValue("i",_result
);
2005 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
2006 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
* _resultobj
;
2009 wxPrintDialogData
* _arg0
;
2010 PyObject
* _argo0
= 0;
2011 char *_kwnames
[] = { "self", NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
2017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
2024 wxPy_BEGIN_ALLOW_THREADS
;
2025 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
2027 wxPy_END_ALLOW_THREADS
;
2028 } _resultobj
= Py_BuildValue("i",_result
);
2032 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
2033 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
* _resultobj
;
2036 wxPrintDialogData
* _arg0
;
2037 PyObject
* _argo0
= 0;
2038 char *_kwnames
[] = { "self", NULL
};
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
2044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
2051 wxPy_BEGIN_ALLOW_THREADS
;
2052 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
2054 wxPy_END_ALLOW_THREADS
;
2055 } _resultobj
= Py_BuildValue("i",_result
);
2059 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
2060 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
* _resultobj
;
2063 wxPrintDialogData
* _arg0
;
2064 PyObject
* _argo0
= 0;
2065 char *_kwnames
[] = { "self", NULL
};
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
2071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
2078 wxPy_BEGIN_ALLOW_THREADS
;
2079 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
2081 wxPy_END_ALLOW_THREADS
;
2082 } _resultobj
= Py_BuildValue("i",_result
);
2086 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
2087 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2090 wxPrintDialogData
* _arg0
;
2091 PyObject
* _argo0
= 0;
2092 char *_kwnames
[] = { "self", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
2098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
2108 wxPy_END_ALLOW_THREADS
;
2109 } _resultobj
= Py_BuildValue("i",_result
);
2113 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
2114 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2117 wxPrintDialogData
* _arg0
;
2118 PyObject
* _argo0
= 0;
2119 char *_kwnames
[] = { "self", NULL
};
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
2125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
2132 wxPy_BEGIN_ALLOW_THREADS
;
2133 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
2135 wxPy_END_ALLOW_THREADS
;
2136 } _resultobj
= Py_BuildValue("i",_result
);
2140 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
2141 return new wxPrintData(self
->GetPrintData()); // force a copy
2143 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
* _resultobj
;
2145 wxPrintData
* _result
;
2146 wxPrintDialogData
* _arg0
;
2147 PyObject
* _argo0
= 0;
2148 char *_kwnames
[] = { "self", NULL
};
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
2155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
2162 wxPy_BEGIN_ALLOW_THREADS
;
2163 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
2165 wxPy_END_ALLOW_THREADS
;
2167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2168 _resultobj
= Py_BuildValue("s",_ptemp
);
2171 _resultobj
= Py_None
;
2176 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
2177 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2180 wxPrintDialogData
* _arg0
;
2181 PyObject
* _argo0
= 0;
2182 char *_kwnames
[] = { "self", NULL
};
2185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
2188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
2195 wxPy_BEGIN_ALLOW_THREADS
;
2196 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
2198 wxPy_END_ALLOW_THREADS
;
2199 } _resultobj
= Py_BuildValue("i",_result
);
2203 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
2204 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
* _resultobj
;
2207 wxPrintDialogData
* _arg0
;
2208 PyObject
* _argo0
= 0;
2209 char *_kwnames
[] = { "self", NULL
};
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
2215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
2222 wxPy_BEGIN_ALLOW_THREADS
;
2223 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
2225 wxPy_END_ALLOW_THREADS
;
2226 } _resultobj
= Py_BuildValue("i",_result
);
2230 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
2231 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
* _resultobj
;
2233 wxPrintDialogData
* _arg0
;
2235 PyObject
* _argo0
= 0;
2237 char *_kwnames
[] = { "self","flag", NULL
};
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
2243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
2249 _arg1
= (bool ) tempbool1
;
2251 wxPy_BEGIN_ALLOW_THREADS
;
2252 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
2254 wxPy_END_ALLOW_THREADS
;
2255 } Py_INCREF(Py_None
);
2256 _resultobj
= Py_None
;
2260 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
2261 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
* _resultobj
;
2263 wxPrintDialogData
* _arg0
;
2265 PyObject
* _argo0
= 0;
2266 char *_kwnames
[] = { "self","page", NULL
};
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
2272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
2279 wxPy_BEGIN_ALLOW_THREADS
;
2280 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
2282 wxPy_END_ALLOW_THREADS
;
2283 } Py_INCREF(Py_None
);
2284 _resultobj
= Py_None
;
2288 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
2289 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
* _resultobj
;
2291 wxPrintDialogData
* _arg0
;
2293 PyObject
* _argo0
= 0;
2294 char *_kwnames
[] = { "self","page", NULL
};
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
2300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
2307 wxPy_BEGIN_ALLOW_THREADS
;
2308 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
2310 wxPy_END_ALLOW_THREADS
;
2311 } Py_INCREF(Py_None
);
2312 _resultobj
= Py_None
;
2316 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
2317 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2318 PyObject
* _resultobj
;
2319 wxPrintDialogData
* _arg0
;
2321 PyObject
* _argo0
= 0;
2322 char *_kwnames
[] = { "self","page", NULL
};
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
2328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
2335 wxPy_BEGIN_ALLOW_THREADS
;
2336 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
2338 wxPy_END_ALLOW_THREADS
;
2339 } Py_INCREF(Py_None
);
2340 _resultobj
= Py_None
;
2344 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
2345 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
* _resultobj
;
2347 wxPrintDialogData
* _arg0
;
2349 PyObject
* _argo0
= 0;
2350 char *_kwnames
[] = { "self","n", NULL
};
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
2356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
2363 wxPy_BEGIN_ALLOW_THREADS
;
2364 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
2366 wxPy_END_ALLOW_THREADS
;
2367 } Py_INCREF(Py_None
);
2368 _resultobj
= Py_None
;
2372 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2373 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
* _resultobj
;
2375 wxPrintDialogData
* _arg0
;
2376 wxPrintData
* _arg1
;
2377 PyObject
* _argo0
= 0;
2378 PyObject
* _argo1
= 0;
2379 char *_kwnames
[] = { "self","printData", NULL
};
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
2392 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2393 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
2399 wxPy_BEGIN_ALLOW_THREADS
;
2400 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
2402 wxPy_END_ALLOW_THREADS
;
2403 } Py_INCREF(Py_None
);
2404 _resultobj
= Py_None
;
2408 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
2409 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
* _resultobj
;
2411 wxPrintDialogData
* _arg0
;
2413 PyObject
* _argo0
= 0;
2415 char *_kwnames
[] = { "self","flag", NULL
};
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
2427 _arg1
= (bool ) tempbool1
;
2429 wxPy_BEGIN_ALLOW_THREADS
;
2430 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
2432 wxPy_END_ALLOW_THREADS
;
2433 } Py_INCREF(Py_None
);
2434 _resultobj
= Py_None
;
2438 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
2439 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2440 PyObject
* _resultobj
;
2441 wxPrintDialogData
* _arg0
;
2443 PyObject
* _argo0
= 0;
2445 char *_kwnames
[] = { "self","flag", NULL
};
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
2451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
2457 _arg1
= (bool ) tempbool1
;
2459 wxPy_BEGIN_ALLOW_THREADS
;
2460 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
2462 wxPy_END_ALLOW_THREADS
;
2463 } Py_INCREF(Py_None
);
2464 _resultobj
= Py_None
;
2468 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
2469 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2471 wxPrintDialogData
* _arg0
;
2473 PyObject
* _argo0
= 0;
2474 char *_kwnames
[] = { "self","page", NULL
};
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
2480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
2487 wxPy_BEGIN_ALLOW_THREADS
;
2488 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
2490 wxPy_END_ALLOW_THREADS
;
2491 } Py_INCREF(Py_None
);
2492 _resultobj
= Py_None
;
2496 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
2499 src
= (wxPrintDialog
*) ptr
;
2500 dest
= (wxDialog
*) src
;
2501 return (void *) dest
;
2504 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
2507 src
= (wxPrintDialog
*) ptr
;
2508 dest
= (wxPanel
*) src
;
2509 return (void *) dest
;
2512 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
2515 src
= (wxPrintDialog
*) ptr
;
2516 dest
= (wxWindow
*) src
;
2517 return (void *) dest
;
2520 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
2523 src
= (wxPrintDialog
*) ptr
;
2524 dest
= (wxEvtHandler
*) src
;
2525 return (void *) dest
;
2528 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
2529 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
* _resultobj
;
2531 wxPrintDialog
* _result
;
2533 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
2534 PyObject
* _argo0
= 0;
2535 PyObject
* _argo1
= 0;
2536 char *_kwnames
[] = { "parent","data", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
2543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
2550 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2551 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
2552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
2557 wxPy_BEGIN_ALLOW_THREADS
;
2558 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
2560 wxPy_END_ALLOW_THREADS
;
2562 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
2563 _resultobj
= Py_BuildValue("s",_ptemp
);
2566 _resultobj
= Py_None
;
2571 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
2572 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
* _resultobj
;
2574 wxPrintDialogData
* _result
;
2575 wxPrintDialog
* _arg0
;
2576 PyObject
* _argo0
= 0;
2577 char *_kwnames
[] = { "self", NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
2584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
2591 wxPy_BEGIN_ALLOW_THREADS
;
2592 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
2593 _result
= (wxPrintDialogData
*) &_result_ref
;
2595 wxPy_END_ALLOW_THREADS
;
2597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2598 _resultobj
= Py_BuildValue("s",_ptemp
);
2601 _resultobj
= Py_None
;
2606 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
2607 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
* _resultobj
;
2610 wxPrintDialog
* _arg0
;
2611 PyObject
* _argo0
= 0;
2612 char *_kwnames
[] = { "self", NULL
};
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
2619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
2626 wxPy_BEGIN_ALLOW_THREADS
;
2627 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
2629 wxPy_END_ALLOW_THREADS
;
2631 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2632 _resultobj
= Py_BuildValue("s",_ptemp
);
2635 _resultobj
= Py_None
;
2640 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2641 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
* _resultobj
;
2644 wxPrintDialog
* _arg0
;
2645 PyObject
* _argo0
= 0;
2646 char *_kwnames
[] = { "self", NULL
};
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
2652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
2659 wxPy_BEGIN_ALLOW_THREADS
;
2660 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
2662 wxPy_END_ALLOW_THREADS
;
2663 } _resultobj
= Py_BuildValue("i",_result
);
2667 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
2668 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2670 wxPyPrintout
* _result
;
2671 char * _arg0
= (char *) "Printout";
2672 char *_kwnames
[] = { "title", NULL
};
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
2679 wxPy_BEGIN_ALLOW_THREADS
;
2680 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
2682 wxPy_END_ALLOW_THREADS
;
2684 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
2685 _resultobj
= Py_BuildValue("s",_ptemp
);
2688 _resultobj
= Py_None
;
2693 #define wxPrintout__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2694 static PyObject
*_wrap_wxPrintout__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
* _resultobj
;
2696 wxPyPrintout
* _arg0
;
2698 PyObject
* _argo0
= 0;
2699 PyObject
* _obj1
= 0;
2700 char *_kwnames
[] = { "self","self", NULL
};
2703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintout__setSelf",_kwnames
,&_argo0
,&_obj1
))
2706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
2716 wxPy_BEGIN_ALLOW_THREADS
;
2717 wxPrintout__setSelf(_arg0
,_arg1
);
2719 wxPy_END_ALLOW_THREADS
;
2720 } Py_INCREF(Py_None
);
2721 _resultobj
= Py_None
;
2725 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
2726 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
* _resultobj
;
2728 wxPyPrintout
* _arg0
;
2729 PyObject
* _argo0
= 0;
2730 char *_kwnames
[] = { "self", NULL
};
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
2736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
2743 wxPy_BEGIN_ALLOW_THREADS
;
2744 wxPyPrintout_Destroy(_arg0
);
2746 wxPy_END_ALLOW_THREADS
;
2747 } Py_INCREF(Py_None
);
2748 _resultobj
= Py_None
;
2752 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
2753 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
* _resultobj
;
2756 wxPyPrintout
* _arg0
;
2757 PyObject
* _argo0
= 0;
2758 char *_kwnames
[] = { "self", NULL
};
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
2765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
2772 wxPy_BEGIN_ALLOW_THREADS
;
2773 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
2775 wxPy_END_ALLOW_THREADS
;
2777 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2778 _resultobj
= Py_BuildValue("s",_ptemp
);
2781 _resultobj
= Py_None
;
2786 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
2787 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
* _resultobj
;
2789 wxPyPrintout
* _arg0
;
2794 PyObject
* _argo0
= 0;
2795 char *_kwnames
[] = { "self", NULL
};
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
2807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
2814 wxPy_BEGIN_ALLOW_THREADS
;
2815 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
2817 wxPy_END_ALLOW_THREADS
;
2818 } Py_INCREF(Py_None
);
2819 _resultobj
= Py_None
;
2822 o
= PyInt_FromLong((long) (*_arg1
));
2823 _resultobj
= t_output_helper(_resultobj
, o
);
2827 o
= PyInt_FromLong((long) (*_arg2
));
2828 _resultobj
= t_output_helper(_resultobj
, o
);
2833 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
2834 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
* _resultobj
;
2836 wxPyPrintout
* _arg0
;
2841 PyObject
* _argo0
= 0;
2842 char *_kwnames
[] = { "self", NULL
};
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
2854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
2861 wxPy_BEGIN_ALLOW_THREADS
;
2862 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
2864 wxPy_END_ALLOW_THREADS
;
2865 } Py_INCREF(Py_None
);
2866 _resultobj
= Py_None
;
2869 o
= PyInt_FromLong((long) (*_arg1
));
2870 _resultobj
= t_output_helper(_resultobj
, o
);
2874 o
= PyInt_FromLong((long) (*_arg2
));
2875 _resultobj
= t_output_helper(_resultobj
, o
);
2880 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
2881 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
* _resultobj
;
2883 wxPyPrintout
* _arg0
;
2888 PyObject
* _argo0
= 0;
2889 char *_kwnames
[] = { "self", NULL
};
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
2901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
2908 wxPy_BEGIN_ALLOW_THREADS
;
2909 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
2911 wxPy_END_ALLOW_THREADS
;
2912 } Py_INCREF(Py_None
);
2913 _resultobj
= Py_None
;
2916 o
= PyInt_FromLong((long) (*_arg1
));
2917 _resultobj
= t_output_helper(_resultobj
, o
);
2921 o
= PyInt_FromLong((long) (*_arg2
));
2922 _resultobj
= t_output_helper(_resultobj
, o
);
2927 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
2928 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
* _resultobj
;
2930 wxPyPrintout
* _arg0
;
2935 PyObject
* _argo0
= 0;
2936 char *_kwnames
[] = { "self", NULL
};
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
2948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
2955 wxPy_BEGIN_ALLOW_THREADS
;
2956 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
2958 wxPy_END_ALLOW_THREADS
;
2959 } Py_INCREF(Py_None
);
2960 _resultobj
= Py_None
;
2963 o
= PyInt_FromLong((long) (*_arg1
));
2964 _resultobj
= t_output_helper(_resultobj
, o
);
2968 o
= PyInt_FromLong((long) (*_arg2
));
2969 _resultobj
= t_output_helper(_resultobj
, o
);
2974 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
2975 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2978 wxPyPrintout
* _arg0
;
2979 PyObject
* _argo0
= 0;
2980 char *_kwnames
[] = { "self", NULL
};
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
2986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
2993 wxPy_BEGIN_ALLOW_THREADS
;
2994 _result
= (bool )wxPrintout_IsPreview(_arg0
);
2996 wxPy_END_ALLOW_THREADS
;
2997 } _resultobj
= Py_BuildValue("i",_result
);
3001 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
3002 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
* _resultobj
;
3005 wxPyPrintout
* _arg0
;
3008 PyObject
* _argo0
= 0;
3009 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
3022 wxPy_BEGIN_ALLOW_THREADS
;
3023 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
3025 wxPy_END_ALLOW_THREADS
;
3026 } _resultobj
= Py_BuildValue("i",_result
);
3030 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
3031 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
* _resultobj
;
3033 wxPyPrintout
* _arg0
;
3034 PyObject
* _argo0
= 0;
3035 char *_kwnames
[] = { "self", NULL
};
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
3041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
3048 wxPy_BEGIN_ALLOW_THREADS
;
3049 wxPrintout_base_OnEndDocument(_arg0
);
3051 wxPy_END_ALLOW_THREADS
;
3052 } Py_INCREF(Py_None
);
3053 _resultobj
= Py_None
;
3057 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
3058 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
* _resultobj
;
3060 wxPyPrintout
* _arg0
;
3061 PyObject
* _argo0
= 0;
3062 char *_kwnames
[] = { "self", NULL
};
3065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
3068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
3075 wxPy_BEGIN_ALLOW_THREADS
;
3076 wxPrintout_base_OnBeginPrinting(_arg0
);
3078 wxPy_END_ALLOW_THREADS
;
3079 } Py_INCREF(Py_None
);
3080 _resultobj
= Py_None
;
3084 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
3085 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
* _resultobj
;
3087 wxPyPrintout
* _arg0
;
3088 PyObject
* _argo0
= 0;
3089 char *_kwnames
[] = { "self", NULL
};
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
3095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
3102 wxPy_BEGIN_ALLOW_THREADS
;
3103 wxPrintout_base_OnEndPrinting(_arg0
);
3105 wxPy_END_ALLOW_THREADS
;
3106 } Py_INCREF(Py_None
);
3107 _resultobj
= Py_None
;
3111 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
3112 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
* _resultobj
;
3114 wxPyPrintout
* _arg0
;
3115 PyObject
* _argo0
= 0;
3116 char *_kwnames
[] = { "self", NULL
};
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
3122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
3129 wxPy_BEGIN_ALLOW_THREADS
;
3130 wxPrintout_base_OnPreparePrinting(_arg0
);
3132 wxPy_END_ALLOW_THREADS
;
3133 } Py_INCREF(Py_None
);
3134 _resultobj
= Py_None
;
3138 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3139 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
* _resultobj
;
3141 wxPyPrintout
* _arg0
;
3150 PyObject
* _argo0
= 0;
3151 char *_kwnames
[] = { "self", NULL
};
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
3169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
3176 wxPy_BEGIN_ALLOW_THREADS
;
3177 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3179 wxPy_END_ALLOW_THREADS
;
3180 } Py_INCREF(Py_None
);
3181 _resultobj
= Py_None
;
3184 o
= PyInt_FromLong((long) (*_arg1
));
3185 _resultobj
= t_output_helper(_resultobj
, o
);
3189 o
= PyInt_FromLong((long) (*_arg2
));
3190 _resultobj
= t_output_helper(_resultobj
, o
);
3194 o
= PyInt_FromLong((long) (*_arg3
));
3195 _resultobj
= t_output_helper(_resultobj
, o
);
3199 o
= PyInt_FromLong((long) (*_arg4
));
3200 _resultobj
= t_output_helper(_resultobj
, o
);
3205 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
3206 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
* _resultobj
;
3209 wxPyPrintout
* _arg0
;
3211 PyObject
* _argo0
= 0;
3212 char *_kwnames
[] = { "self","page", NULL
};
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
3218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
3225 wxPy_BEGIN_ALLOW_THREADS
;
3226 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
3228 wxPy_END_ALLOW_THREADS
;
3229 } _resultobj
= Py_BuildValue("i",_result
);
3233 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
3234 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
* _resultobj
;
3236 wxPrinter
* _result
;
3237 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
3238 PyObject
* _argo0
= 0;
3239 char *_kwnames
[] = { "data", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
3253 wxPy_BEGIN_ALLOW_THREADS
;
3254 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
3256 wxPy_END_ALLOW_THREADS
;
3258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
3259 _resultobj
= Py_BuildValue("s",_ptemp
);
3262 _resultobj
= Py_None
;
3267 #define delete_wxPrinter(_swigobj) (delete _swigobj)
3268 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
* _resultobj
;
3271 PyObject
* _argo0
= 0;
3272 char *_kwnames
[] = { "self", NULL
};
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
3278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
3285 wxPy_BEGIN_ALLOW_THREADS
;
3286 delete_wxPrinter(_arg0
);
3288 wxPy_END_ALLOW_THREADS
;
3289 } Py_INCREF(Py_None
);
3290 _resultobj
= Py_None
;
3294 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
3295 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
* _resultobj
;
3299 wxPyPrintout
* _arg2
;
3300 PyObject
* _argo0
= 0;
3301 PyObject
* _argo1
= 0;
3302 PyObject
* _argo2
= 0;
3303 char *_kwnames
[] = { "self","parent","printout", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
3316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
3323 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3324 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
3330 wxPy_BEGIN_ALLOW_THREADS
;
3331 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
3333 wxPy_END_ALLOW_THREADS
;
3334 } Py_INCREF(Py_None
);
3335 _resultobj
= Py_None
;
3339 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3340 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
* _resultobj
;
3342 wxPrintDialogData
* _result
;
3344 PyObject
* _argo0
= 0;
3345 char *_kwnames
[] = { "self", NULL
};
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
3352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
3359 wxPy_BEGIN_ALLOW_THREADS
;
3360 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
3361 _result
= (wxPrintDialogData
*) &_result_ref
;
3363 wxPy_END_ALLOW_THREADS
;
3365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3366 _resultobj
= Py_BuildValue("s",_ptemp
);
3369 _resultobj
= Py_None
;
3374 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
3375 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
* _resultobj
;
3380 wxPyPrintout
* _arg2
;
3381 int _arg3
= (int ) TRUE
;
3382 PyObject
* _argo0
= 0;
3383 PyObject
* _argo1
= 0;
3384 PyObject
* _argo2
= 0;
3385 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
3398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
3405 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3406 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
3412 wxPy_BEGIN_ALLOW_THREADS
;
3413 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
3415 wxPy_END_ALLOW_THREADS
;
3416 } _resultobj
= Py_BuildValue("i",_result
);
3420 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
3421 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
* _resultobj
;
3426 PyObject
* _argo0
= 0;
3427 PyObject
* _argo1
= 0;
3428 char *_kwnames
[] = { "self","parent", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
3435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
3442 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3443 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
3449 wxPy_BEGIN_ALLOW_THREADS
;
3450 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
3452 wxPy_END_ALLOW_THREADS
;
3454 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3455 _resultobj
= Py_BuildValue("s",_ptemp
);
3458 _resultobj
= Py_None
;
3463 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
3464 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
* _resultobj
;
3468 wxPyPrintout
* _arg2
;
3470 PyObject
* _argo0
= 0;
3471 PyObject
* _argo1
= 0;
3472 PyObject
* _argo2
= 0;
3473 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
3486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
3493 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3494 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
3500 wxPy_BEGIN_ALLOW_THREADS
;
3501 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
3503 wxPy_END_ALLOW_THREADS
;
3504 } Py_INCREF(Py_None
);
3505 _resultobj
= Py_None
;
3509 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
3510 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3515 PyObject
* _argo0
= 0;
3516 PyObject
* _argo1
= 0;
3517 char *_kwnames
[] = { "self","parent", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
3530 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3531 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
3537 wxPy_BEGIN_ALLOW_THREADS
;
3538 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
3540 wxPy_END_ALLOW_THREADS
;
3541 } _resultobj
= Py_BuildValue("i",_result
);
3545 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
3546 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3548 wxPrintPreview
* _result
;
3549 wxPyPrintout
* _arg0
;
3550 wxPyPrintout
* _arg1
;
3551 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
3552 PyObject
* _argo0
= 0;
3553 PyObject
* _argo1
= 0;
3554 PyObject
* _argo2
= 0;
3555 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
3571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3576 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3577 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
3578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
3583 wxPy_BEGIN_ALLOW_THREADS
;
3584 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
3586 wxPy_END_ALLOW_THREADS
;
3588 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
3589 _resultobj
= Py_BuildValue("s",_ptemp
);
3592 _resultobj
= Py_None
;
3597 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
3598 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
* _resultobj
;
3601 wxPrintPreview
* _arg0
;
3602 PyObject
* _argo0
= 0;
3603 char *_kwnames
[] = { "self", NULL
};
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
3610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
3617 wxPy_BEGIN_ALLOW_THREADS
;
3618 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
3620 wxPy_END_ALLOW_THREADS
;
3622 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3623 _resultobj
= Py_BuildValue("s",_ptemp
);
3626 _resultobj
= Py_None
;
3631 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
3632 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
* _resultobj
;
3635 wxPrintPreview
* _arg0
;
3636 PyObject
* _argo0
= 0;
3637 char *_kwnames
[] = { "self", NULL
};
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
3650 wxPy_BEGIN_ALLOW_THREADS
;
3651 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
3653 wxPy_END_ALLOW_THREADS
;
3654 } _resultobj
= Py_BuildValue("i",_result
);
3658 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
3659 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
* _resultobj
;
3662 wxPrintPreview
* _arg0
;
3663 PyObject
* _argo0
= 0;
3664 char *_kwnames
[] = { "self", NULL
};
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
3671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
3678 wxPy_BEGIN_ALLOW_THREADS
;
3679 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
3681 wxPy_END_ALLOW_THREADS
;
3683 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
3684 _resultobj
= Py_BuildValue("s",_ptemp
);
3687 _resultobj
= Py_None
;
3692 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3693 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3696 wxPrintPreview
* _arg0
;
3697 PyObject
* _argo0
= 0;
3698 char *_kwnames
[] = { "self", NULL
};
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
3704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
3711 wxPy_BEGIN_ALLOW_THREADS
;
3712 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
3714 wxPy_END_ALLOW_THREADS
;
3715 } _resultobj
= Py_BuildValue("i",_result
);
3719 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3720 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3723 wxPrintPreview
* _arg0
;
3724 PyObject
* _argo0
= 0;
3725 char *_kwnames
[] = { "self", NULL
};
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
3731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
3738 wxPy_BEGIN_ALLOW_THREADS
;
3739 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
3741 wxPy_END_ALLOW_THREADS
;
3742 } _resultobj
= Py_BuildValue("i",_result
);
3746 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3747 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
* _resultobj
;
3749 wxPrintDialogData
* _result
;
3750 wxPrintPreview
* _arg0
;
3751 PyObject
* _argo0
= 0;
3752 char *_kwnames
[] = { "self", NULL
};
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
3759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
3766 wxPy_BEGIN_ALLOW_THREADS
;
3767 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
3768 _result
= (wxPrintDialogData
*) &_result_ref
;
3770 wxPy_END_ALLOW_THREADS
;
3772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3773 _resultobj
= Py_BuildValue("s",_ptemp
);
3776 _resultobj
= Py_None
;
3781 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
3782 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
* _resultobj
;
3784 wxPyPrintout
* _result
;
3785 wxPrintPreview
* _arg0
;
3786 PyObject
* _argo0
= 0;
3787 char *_kwnames
[] = { "self", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
3794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
3801 wxPy_BEGIN_ALLOW_THREADS
;
3802 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
3804 wxPy_END_ALLOW_THREADS
;
3806 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3807 _resultobj
= Py_BuildValue("s",_ptemp
);
3810 _resultobj
= Py_None
;
3815 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
3816 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
* _resultobj
;
3818 wxPyPrintout
* _result
;
3819 wxPrintPreview
* _arg0
;
3820 PyObject
* _argo0
= 0;
3821 char *_kwnames
[] = { "self", NULL
};
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
3828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
3835 wxPy_BEGIN_ALLOW_THREADS
;
3836 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
3838 wxPy_END_ALLOW_THREADS
;
3840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3841 _resultobj
= Py_BuildValue("s",_ptemp
);
3844 _resultobj
= Py_None
;
3849 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
3850 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
* _resultobj
;
3853 wxPrintPreview
* _arg0
;
3854 PyObject
* _argo0
= 0;
3855 char *_kwnames
[] = { "self", NULL
};
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
3861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
3868 wxPy_BEGIN_ALLOW_THREADS
;
3869 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
3871 wxPy_END_ALLOW_THREADS
;
3872 } _resultobj
= Py_BuildValue("i",_result
);
3876 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
3877 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
* _resultobj
;
3880 wxPrintPreview
* _arg0
;
3881 PyObject
* _argo0
= 0;
3882 char *_kwnames
[] = { "self", NULL
};
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
3888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
3895 wxPy_BEGIN_ALLOW_THREADS
;
3896 _result
= (bool )wxPrintPreview_Ok(_arg0
);
3898 wxPy_END_ALLOW_THREADS
;
3899 } _resultobj
= Py_BuildValue("i",_result
);
3903 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
3904 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
* _resultobj
;
3907 wxPrintPreview
* _arg0
;
3909 PyObject
* _argo0
= 0;
3911 char *_kwnames
[] = { "self","prompt", NULL
};
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
3917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
3923 _arg1
= (bool ) tempbool1
;
3925 wxPy_BEGIN_ALLOW_THREADS
;
3926 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
3928 wxPy_END_ALLOW_THREADS
;
3929 } _resultobj
= Py_BuildValue("i",_result
);
3933 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
3934 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
* _resultobj
;
3936 wxPrintPreview
* _arg0
;
3938 PyObject
* _argo0
= 0;
3939 PyObject
* _argo1
= 0;
3940 char *_kwnames
[] = { "self","window", NULL
};
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
3946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
3953 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
3960 wxPy_BEGIN_ALLOW_THREADS
;
3961 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
3963 wxPy_END_ALLOW_THREADS
;
3964 } Py_INCREF(Py_None
);
3965 _resultobj
= Py_None
;
3969 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
3970 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
* _resultobj
;
3972 wxPrintPreview
* _arg0
;
3974 PyObject
* _argo0
= 0;
3975 char *_kwnames
[] = { "self","pageNum", NULL
};
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
3981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
3988 wxPy_BEGIN_ALLOW_THREADS
;
3989 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
3991 wxPy_END_ALLOW_THREADS
;
3992 } Py_INCREF(Py_None
);
3993 _resultobj
= Py_None
;
3997 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
3998 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
* _resultobj
;
4000 wxPrintPreview
* _arg0
;
4002 PyObject
* _argo0
= 0;
4003 PyObject
* _argo1
= 0;
4004 char *_kwnames
[] = { "self","frame", NULL
};
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
4010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
4017 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4018 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
4024 wxPy_BEGIN_ALLOW_THREADS
;
4025 wxPrintPreview_SetFrame(_arg0
,_arg1
);
4027 wxPy_END_ALLOW_THREADS
;
4028 } Py_INCREF(Py_None
);
4029 _resultobj
= Py_None
;
4033 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
4034 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4036 wxPrintPreview
* _arg0
;
4037 wxPyPrintout
* _arg1
;
4038 PyObject
* _argo0
= 0;
4039 PyObject
* _argo1
= 0;
4040 char *_kwnames
[] = { "self","printout", NULL
};
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
4046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
4053 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4054 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
4060 wxPy_BEGIN_ALLOW_THREADS
;
4061 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
4063 wxPy_END_ALLOW_THREADS
;
4064 } Py_INCREF(Py_None
);
4065 _resultobj
= Py_None
;
4069 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
4070 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
* _resultobj
;
4072 wxPrintPreview
* _arg0
;
4074 PyObject
* _argo0
= 0;
4075 char *_kwnames
[] = { "self","percent", NULL
};
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
4081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
4088 wxPy_BEGIN_ALLOW_THREADS
;
4089 wxPrintPreview_SetZoom(_arg0
,_arg1
);
4091 wxPy_END_ALLOW_THREADS
;
4092 } Py_INCREF(Py_None
);
4093 _resultobj
= Py_None
;
4097 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
4098 wxPreviewFrame
*src
;
4100 src
= (wxPreviewFrame
*) ptr
;
4101 dest
= (wxFrame
*) src
;
4102 return (void *) dest
;
4105 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
4106 wxPreviewFrame
*src
;
4108 src
= (wxPreviewFrame
*) ptr
;
4109 dest
= (wxWindow
*) src
;
4110 return (void *) dest
;
4113 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
4114 wxPreviewFrame
*src
;
4116 src
= (wxPreviewFrame
*) ptr
;
4117 dest
= (wxEvtHandler
*) src
;
4118 return (void *) dest
;
4121 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4122 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
* _resultobj
;
4124 wxPreviewFrame
* _result
;
4125 wxPrintPreview
* _arg0
;
4128 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4129 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4130 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
4131 char * _arg6
= (char *) "frame";
4132 PyObject
* _argo0
= 0;
4133 PyObject
* _argo1
= 0;
4134 PyObject
* _obj2
= 0;
4136 PyObject
* _obj3
= 0;
4138 PyObject
* _obj4
= 0;
4139 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
4153 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4154 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
4160 if (!PyString_Check(_obj2
)) {
4161 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4164 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4169 if (! wxPoint_helper(_obj3
, &_arg3
))
4175 if (! wxSize_helper(_obj4
, &_arg4
))
4179 wxPy_BEGIN_ALLOW_THREADS
;
4180 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4182 wxPy_END_ALLOW_THREADS
;
4184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
4185 _resultobj
= Py_BuildValue("s",_ptemp
);
4188 _resultobj
= Py_None
;
4197 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
4198 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
* _resultobj
;
4200 wxPreviewFrame
* _arg0
;
4201 PyObject
* _argo0
= 0;
4202 char *_kwnames
[] = { "self", NULL
};
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
4208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
4210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
4215 wxPy_BEGIN_ALLOW_THREADS
;
4216 wxPreviewFrame_Initialize(_arg0
);
4218 wxPy_END_ALLOW_THREADS
;
4219 } Py_INCREF(Py_None
);
4220 _resultobj
= Py_None
;
4224 static PyMethodDef printfwcMethods
[] = {
4225 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4226 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
4227 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4228 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4229 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4230 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4231 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
4232 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
4233 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
4234 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4235 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4236 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4237 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4238 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4239 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4240 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4241 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4242 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
4243 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
4244 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
4245 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
4246 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
4247 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
4248 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4249 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
4250 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4251 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4252 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
4253 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
4254 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
4255 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4256 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4257 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
4258 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
4259 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
4260 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
4261 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4262 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
4263 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
4264 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
4265 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4266 { "wxPrintout__setSelf", (PyCFunction
) _wrap_wxPrintout__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
4267 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4268 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4269 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
4270 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4271 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
4272 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
4273 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
4274 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4275 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4276 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4277 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4278 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4279 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
4280 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4281 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
4282 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4283 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4284 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4285 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4286 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4287 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
4288 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4289 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
4290 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
4291 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4292 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
4293 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4294 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4295 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4296 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4297 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
4298 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
4299 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4300 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4301 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4302 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4303 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4304 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4305 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4306 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
4307 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
4308 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4309 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4310 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4311 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4312 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4313 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4314 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4315 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
4316 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4317 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
4318 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
4319 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4320 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
4321 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
4322 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
4323 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
4324 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4325 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
4326 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4327 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4328 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4329 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
4330 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4331 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4332 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
4333 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
4334 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
4335 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4336 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4337 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4338 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
4339 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4340 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4341 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
4342 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
4343 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
4344 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4345 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4346 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4347 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4348 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4355 * This table is used by the pointer type-checker
4357 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4358 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4359 { "_wxEvent","_class_wxEvent",0},
4360 { "_class_wxActivateEvent","_wxActivateEvent",0},
4361 { "_signed_long","_long",0},
4362 { "_wxMenuEvent","_class_wxMenuEvent",0},
4363 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
4364 { "_wxPrintQuality","_int",0},
4365 { "_wxPrintQuality","_signed_int",0},
4366 { "_wxPrintQuality","_unsigned_int",0},
4367 { "_wxPrintQuality","_wxWindowID",0},
4368 { "_wxPrintQuality","_uint",0},
4369 { "_wxPrintQuality","_EBool",0},
4370 { "_wxPrintQuality","_size_t",0},
4371 { "_wxFontData","_class_wxFontData",0},
4372 { "_class_wxRegionIterator","_wxRegionIterator",0},
4373 { "_class_wxMenuBar","_wxMenuBar",0},
4374 { "_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4375 { "_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4376 { "_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4377 { "_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4378 { "_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4379 { "_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4380 { "_class_wxEvtHandler","_wxEvtHandler",0},
4381 { "_wxPaintEvent","_class_wxPaintEvent",0},
4382 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4383 { "_wxCursor","_class_wxCursor",0},
4384 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
4385 { "_wxMask","_class_wxMask",0},
4386 { "_class_wxColourData","_wxColourData",0},
4387 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
4388 { "_wxPrinter","_class_wxPrinter",0},
4389 { "_wxPen","_class_wxPen",0},
4390 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
4391 { "_byte","_unsigned_char",0},
4392 { "_wxStaticBox","_class_wxStaticBox",0},
4393 { "_wxChoice","_class_wxChoice",0},
4394 { "_wxSlider","_class_wxSlider",0},
4395 { "_wxPyPrintout","_class_wxPyPrintout",0},
4396 { "_long","_wxDash",0},
4397 { "_long","_unsigned_long",0},
4398 { "_long","_signed_long",0},
4399 { "_wxImageList","_class_wxImageList",0},
4400 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
4401 { "_wxBitmapButton","_class_wxBitmapButton",0},
4402 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
4403 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4404 { "_class_wxGauge","_wxGauge",0},
4405 { "_wxDC","_class_wxDC",0},
4406 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
4407 { "_wxProgressDialog","_class_wxProgressDialog",0},
4408 { "_wxPrintPreview","_class_wxPrintPreview",0},
4409 { "_wxSpinEvent","_class_wxSpinEvent",0},
4410 { "_size_t","_wxPrintQuality",0},
4411 { "_size_t","_unsigned_int",0},
4412 { "_size_t","_int",0},
4413 { "_size_t","_wxWindowID",0},
4414 { "_size_t","_uint",0},
4415 { "_class_wxRealPoint","_wxRealPoint",0},
4416 { "_class_wxMenuItem","_wxMenuItem",0},
4417 { "_class_wxPaintEvent","_wxPaintEvent",0},
4418 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
4419 { "_class_wxStatusBar","_wxStatusBar",0},
4420 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
4421 { "_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4422 { "_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4423 { "_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4424 { "_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4425 { "_wxPanel","_class_wxPanel",0},
4426 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
4427 { "_wxCheckBox","_class_wxCheckBox",0},
4428 { "_wxPyEvent","_class_wxPyEvent",0},
4429 { "_wxTextCtrl","_class_wxTextCtrl",0},
4430 { "_class_wxMask","_wxMask",0},
4431 { "_class_wxKeyEvent","_wxKeyEvent",0},
4432 { "_wxColour","_class_wxColour",0},
4433 { "_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4434 { "_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4435 { "_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4436 { "_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4437 { "_class_wxDialog","_wxDialog",0},
4438 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
4439 { "_class_wxPrinter","_wxPrinter",0},
4440 { "_wxIdleEvent","_class_wxIdleEvent",0},
4441 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
4442 { "_wxToolBar","_class_wxToolBar",0},
4443 { "_wxStaticLine","_class_wxStaticLine",0},
4444 { "_wxBrush","_class_wxBrush",0},
4445 { "_wxMiniFrame","_class_wxMiniFrame",0},
4446 { "_class_wxPyPrintout","_wxPyPrintout",0},
4447 { "_wxShowEvent","_class_wxShowEvent",0},
4448 { "_uint","_wxPrintQuality",0},
4449 { "_uint","_size_t",0},
4450 { "_uint","_unsigned_int",0},
4451 { "_uint","_int",0},
4452 { "_uint","_wxWindowID",0},
4453 { "_wxPyValidator","_class_wxPyValidator",0},
4454 { "_class_wxEvent","_wxEvent",0},
4455 { "_wxCheckListBox","_class_wxCheckListBox",0},
4456 { "_wxRect","_class_wxRect",0},
4457 { "_wxCommandEvent","_class_wxCommandEvent",0},
4458 { "_wxSizeEvent","_class_wxSizeEvent",0},
4459 { "_wxPoint","_class_wxPoint",0},
4460 { "_class_wxButton","_wxButton",0},
4461 { "_wxRadioBox","_class_wxRadioBox",0},
4462 { "_class_wxFontData","_wxFontData",0},
4463 { "_wxBitmap","_class_wxBitmap",0},
4464 { "_wxPrintDialog","_class_wxPrintDialog",0},
4465 { "_wxPyTimer","_class_wxPyTimer",0},
4466 { "_wxWindowDC","_class_wxWindowDC",0},
4467 { "_wxScrollBar","_class_wxScrollBar",0},
4468 { "_wxSpinButton","_class_wxSpinButton",0},
4469 { "_wxToolBarTool","_class_wxToolBarTool",0},
4470 { "_wxColourDialog","_class_wxColourDialog",0},
4471 { "_wxPrintData","_class_wxPrintData",0},
4472 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4473 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
4474 { "_wxMessageDialog","_class_wxMessageDialog",0},
4475 { "_class_wxValidator","_wxValidator",0},
4476 { "_class_wxPyEvent","_wxPyEvent",0},
4477 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
4478 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
4479 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
4480 { "_class_wxToolBar","_wxToolBar",0},
4481 { "_class_wxStaticLine","_wxStaticLine",0},
4482 { "_wxScrollEvent","_class_wxScrollEvent",0},
4483 { "_EBool","_wxPrintQuality",0},
4484 { "_EBool","_signed_int",0},
4485 { "_EBool","_int",0},
4486 { "_EBool","_wxWindowID",0},
4487 { "_class_wxRegion","_wxRegion",0},
4488 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
4489 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
4490 { "_wxStaticText","_class_wxStaticText",0},
4491 { "_wxFont","_class_wxFont",0},
4492 { "_wxCloseEvent","_class_wxCloseEvent",0},
4493 { "_unsigned_long","_wxDash",0},
4494 { "_unsigned_long","_long",0},
4495 { "_class_wxRect","_wxRect",0},
4496 { "_class_wxDC","_wxDC",0},
4497 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
4498 { "_class_wxProgressDialog","_wxProgressDialog",0},
4499 { "_class_wxDirDialog","_wxDirDialog",0},
4500 { "_class_wxPyTimer","_wxPyTimer",0},
4501 { "_wxFocusEvent","_class_wxFocusEvent",0},
4502 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
4503 { "_class_wxSpinButton","_wxSpinButton",0},
4504 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4505 { "_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4506 { "_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4507 { "_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4508 { "_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4509 { "_class_wxPanel","_wxPanel",0},
4510 { "_class_wxCheckBox","_wxCheckBox",0},
4511 { "_wxComboBox","_class_wxComboBox",0},
4512 { "_wxRadioButton","_class_wxRadioButton",0},
4513 { "_class_wxMessageDialog","_wxMessageDialog",0},
4514 { "_signed_int","_wxPrintQuality",0},
4515 { "_signed_int","_EBool",0},
4516 { "_signed_int","_wxWindowID",0},
4517 { "_signed_int","_int",0},
4518 { "_class_wxTextCtrl","_wxTextCtrl",0},
4519 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4520 { "_wxMenu","_class_wxMenu",0},
4521 { "_class_wxMoveEvent","_wxMoveEvent",0},
4522 { "_wxListBox","_class_wxListBox",0},
4523 { "_wxScreenDC","_class_wxScreenDC",0},
4524 { "_WXTYPE","_short",0},
4525 { "_WXTYPE","_signed_short",0},
4526 { "_WXTYPE","_unsigned_short",0},
4527 { "_wxFileDialog","_class_wxFileDialog",0},
4528 { "_class_wxBrush","_wxBrush",0},
4529 { "_unsigned_short","_WXTYPE",0},
4530 { "_unsigned_short","_short",0},
4531 { "_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4532 { "_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4533 { "_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4534 { "_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4535 { "_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4536 { "_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4537 { "_class_wxWindow","_wxWindow",0},
4538 { "_class_wxStaticText","_wxStaticText",0},
4539 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
4540 { "_class_wxFont","_wxFont",0},
4541 { "_class_wxPyValidator","_wxPyValidator",0},
4542 { "_class_wxCloseEvent","_wxCloseEvent",0},
4543 { "_class_wxMenuEvent","_wxMenuEvent",0},
4544 { "_wxClientDC","_class_wxClientDC",0},
4545 { "_wxMouseEvent","_class_wxMouseEvent",0},
4546 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
4547 { "_class_wxPoint","_wxPoint",0},
4548 { "_wxRealPoint","_class_wxRealPoint",0},
4549 { "_class_wxRadioBox","_wxRadioBox",0},
4550 { "_signed_short","_WXTYPE",0},
4551 { "_signed_short","_short",0},
4552 { "_wxMemoryDC","_class_wxMemoryDC",0},
4553 { "_class_wxPrintDialog","_wxPrintDialog",0},
4554 { "_wxPaintDC","_class_wxPaintDC",0},
4555 { "_class_wxWindowDC","_wxWindowDC",0},
4556 { "_class_wxFocusEvent","_wxFocusEvent",0},
4557 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
4558 { "_wxStatusBar","_class_wxStatusBar",0},
4559 { "_class_wxToolBarTool","_wxToolBarTool",0},
4560 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4561 { "_class_wxCursor","_wxCursor",0},
4562 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
4563 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
4564 { "_unsigned_char","_byte",0},
4565 { "_class_wxMenu","_wxMenu",0},
4566 { "_wxControl","_class_wxControl",0},
4567 { "_class_wxListBox","_wxListBox",0},
4568 { "_unsigned_int","_wxPrintQuality",0},
4569 { "_unsigned_int","_size_t",0},
4570 { "_unsigned_int","_uint",0},
4571 { "_unsigned_int","_wxWindowID",0},
4572 { "_unsigned_int","_int",0},
4573 { "_wxIcon","_class_wxIcon",0},
4574 { "_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4575 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4576 { "_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4577 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4578 { "_wxDialog","_class_wxDialog",0},
4579 { "_class_wxPen","_wxPen",0},
4580 { "_class_wxFileDialog","_wxFileDialog",0},
4581 { "_short","_WXTYPE",0},
4582 { "_short","_unsigned_short",0},
4583 { "_short","_signed_short",0},
4584 { "_class_wxStaticBox","_wxStaticBox",0},
4585 { "_class_wxScrollEvent","_wxScrollEvent",0},
4586 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
4587 { "_class_wxChoice","_wxChoice",0},
4588 { "_class_wxSlider","_wxSlider",0},
4589 { "_class_wxImageList","_wxImageList",0},
4590 { "_class_wxBitmapButton","_wxBitmapButton",0},
4591 { "_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4592 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4593 { "_wxFrame","_class_wxFrame",0},
4594 { "_wxWindowID","_wxPrintQuality",0},
4595 { "_wxWindowID","_size_t",0},
4596 { "_wxWindowID","_EBool",0},
4597 { "_wxWindowID","_uint",0},
4598 { "_wxWindowID","_int",0},
4599 { "_wxWindowID","_signed_int",0},
4600 { "_wxWindowID","_unsigned_int",0},
4601 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
4602 { "_int","_wxPrintQuality",0},
4603 { "_int","_size_t",0},
4604 { "_int","_EBool",0},
4605 { "_int","_uint",0},
4606 { "_int","_wxWindowID",0},
4607 { "_int","_unsigned_int",0},
4608 { "_int","_signed_int",0},
4609 { "_class_wxMouseEvent","_wxMouseEvent",0},
4610 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
4611 { "_class_wxPrintPreview","_wxPrintPreview",0},
4612 { "_class_wxSpinEvent","_wxSpinEvent",0},
4613 { "_wxButton","_class_wxButton",0},
4614 { "_wxSize","_class_wxSize",0},
4615 { "_wxRegionIterator","_class_wxRegionIterator",0},
4616 { "_class_wxPaintDC","_wxPaintDC",0},
4617 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
4618 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
4619 { "_class_wxComboBox","_wxComboBox",0},
4620 { "_class_wxRadioButton","_wxRadioButton",0},
4621 { "_wxValidator","_class_wxValidator",0},
4622 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4623 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
4624 { "_class_wxControl","_wxControl",0},
4625 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
4626 { "_class_wxIcon","_wxIcon",0},
4627 { "_class_wxColour","_wxColour",0},
4628 { "_class_wxScreenDC","_wxScreenDC",0},
4629 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
4630 { "_wxPalette","_class_wxPalette",0},
4631 { "_class_wxIdleEvent","_wxIdleEvent",0},
4632 { "_wxEraseEvent","_class_wxEraseEvent",0},
4633 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
4634 { "_class_wxMiniFrame","_wxMiniFrame",0},
4635 { "_wxFontDialog","_class_wxFontDialog",0},
4636 { "_wxRegion","_class_wxRegion",0},
4637 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
4638 { "_class_wxShowEvent","_wxShowEvent",0},
4639 { "_wxActivateEvent","_class_wxActivateEvent",0},
4640 { "_wxGauge","_class_wxGauge",0},
4641 { "_class_wxCheckListBox","_wxCheckListBox",0},
4642 { "_class_wxCommandEvent","_wxCommandEvent",0},
4643 { "_class_wxClientDC","_wxClientDC",0},
4644 { "_class_wxSizeEvent","_wxSizeEvent",0},
4645 { "_class_wxSize","_wxSize",0},
4646 { "_class_wxBitmap","_wxBitmap",0},
4647 { "_class_wxMemoryDC","_wxMemoryDC",0},
4648 { "_wxMenuBar","_class_wxMenuBar",0},
4649 { "_wxDirDialog","_class_wxDirDialog",0},
4650 { "_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4651 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4652 { "_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4653 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4654 { "_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4655 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4656 { "_wxEvtHandler","_class_wxEvtHandler",0},
4657 { "_wxMenuItem","_class_wxMenuItem",0},
4658 { "_class_wxScrollBar","_wxScrollBar",0},
4659 { "_class_wxColourDialog","_wxColourDialog",0},
4660 { "_class_wxPrintData","_wxPrintData",0},
4661 { "_wxDash","_unsigned_long",0},
4662 { "_wxDash","_long",0},
4663 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
4664 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
4665 { "_wxKeyEvent","_class_wxKeyEvent",0},
4666 { "_wxMoveEvent","_class_wxMoveEvent",0},
4667 { "_wxColourData","_class_wxColourData",0},
4668 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
4669 { "_class_wxPalette","_wxPalette",0},
4670 { "_class_wxEraseEvent","_wxEraseEvent",0},
4671 { "_class_wxFontDialog","_wxFontDialog",0},
4672 { "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4673 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4674 { "_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4675 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4676 { "_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4677 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4678 { "_wxWindow","_class_wxWindow",0},
4679 { "_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4680 { "_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4681 { "_class_wxFrame","_wxFrame",0},
4684 static PyObject
*SWIG_globals
;
4688 SWIGEXPORT(void) initprintfwc() {
4690 SWIG_globals
= SWIG_newvarlink();
4691 m
= Py_InitModule("printfwc", printfwcMethods
);
4692 d
= PyModule_GetDict(m
);
4695 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4696 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);