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>
62 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
109 static char* wxStringErrorMsg
= "string type is required for parameter";
113 // Since this one would be tough and ugly to do with the Macros...
114 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
117 bool doSave
= wxPyRestoreThread();
118 if (m_myInst
.findCallback("GetPageInfo")) {
119 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
120 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
123 val
= PyTuple_GetItem(result
, 0);
124 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
127 val
= PyTuple_GetItem(result
, 1);
128 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
131 val
= PyTuple_GetItem(result
, 2);
132 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
135 val
= PyTuple_GetItem(result
, 3);
136 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
143 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
149 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
151 wxPySaveThread(doSave
);
154 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
155 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
159 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
160 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
161 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
162 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
163 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
164 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
165 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
171 #define new_wxPrintData() (new wxPrintData())
172 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
173 PyObject
* _resultobj
;
174 wxPrintData
* _result
;
175 char *_kwnames
[] = { NULL
};
179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
182 wxPy_BEGIN_ALLOW_THREADS
;
183 _result
= (wxPrintData
*)new_wxPrintData();
185 wxPy_END_ALLOW_THREADS
;
187 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
188 _resultobj
= Py_BuildValue("s",_ptemp
);
191 _resultobj
= Py_None
;
196 #define delete_wxPrintData(_swigobj) (delete _swigobj)
197 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
198 PyObject
* _resultobj
;
200 PyObject
* _argo0
= 0;
201 char *_kwnames
[] = { "self", NULL
};
204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
214 wxPy_BEGIN_ALLOW_THREADS
;
215 delete_wxPrintData(_arg0
);
217 wxPy_END_ALLOW_THREADS
;
218 } Py_INCREF(Py_None
);
219 _resultobj
= Py_None
;
223 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
224 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
225 PyObject
* _resultobj
;
228 PyObject
* _argo0
= 0;
229 char *_kwnames
[] = { "self", NULL
};
232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
242 wxPy_BEGIN_ALLOW_THREADS
;
243 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
245 wxPy_END_ALLOW_THREADS
;
246 } _resultobj
= Py_BuildValue("i",_result
);
250 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
251 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
252 PyObject
* _resultobj
;
255 PyObject
* _argo0
= 0;
256 char *_kwnames
[] = { "self", NULL
};
259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
269 wxPy_BEGIN_ALLOW_THREADS
;
270 _result
= (bool )wxPrintData_GetCollate(_arg0
);
272 wxPy_END_ALLOW_THREADS
;
273 } _resultobj
= Py_BuildValue("i",_result
);
277 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
278 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
279 PyObject
* _resultobj
;
282 PyObject
* _argo0
= 0;
283 char *_kwnames
[] = { "self", NULL
};
286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
296 wxPy_BEGIN_ALLOW_THREADS
;
297 _result
= (int )wxPrintData_GetOrientation(_arg0
);
299 wxPy_END_ALLOW_THREADS
;
300 } _resultobj
= Py_BuildValue("i",_result
);
304 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
305 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
306 PyObject
* _resultobj
;
309 PyObject
* _argo0
= 0;
310 char *_kwnames
[] = { "self", NULL
};
313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
323 wxPy_BEGIN_ALLOW_THREADS
;
324 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
325 _result
= (wxString
*) &_result_ref
;
327 wxPy_END_ALLOW_THREADS
;
329 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
334 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
335 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
336 PyObject
* _resultobj
;
339 PyObject
* _argo0
= 0;
340 char *_kwnames
[] = { "self", NULL
};
343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
353 wxPy_BEGIN_ALLOW_THREADS
;
354 _result
= (bool )wxPrintData_GetColour(_arg0
);
356 wxPy_END_ALLOW_THREADS
;
357 } _resultobj
= Py_BuildValue("i",_result
);
361 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
362 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
363 PyObject
* _resultobj
;
364 wxDuplexMode _result
;
366 PyObject
* _argo0
= 0;
367 char *_kwnames
[] = { "self", NULL
};
370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
380 wxPy_BEGIN_ALLOW_THREADS
;
381 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
383 wxPy_END_ALLOW_THREADS
;
384 } _resultobj
= Py_BuildValue("i",_result
);
388 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
389 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
390 PyObject
* _resultobj
;
393 PyObject
* _argo0
= 0;
394 char *_kwnames
[] = { "self", NULL
};
397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
407 wxPy_BEGIN_ALLOW_THREADS
;
408 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
410 wxPy_END_ALLOW_THREADS
;
411 } _resultobj
= Py_BuildValue("i",_result
);
415 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
416 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
417 PyObject
* _resultobj
;
420 PyObject
* _argo0
= 0;
421 char *_kwnames
[] = { "self", NULL
};
425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
435 wxPy_BEGIN_ALLOW_THREADS
;
436 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
437 _result
= (wxSize
*) &_result_ref
;
439 wxPy_END_ALLOW_THREADS
;
441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
442 _resultobj
= Py_BuildValue("s",_ptemp
);
445 _resultobj
= Py_None
;
450 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
451 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
452 PyObject
* _resultobj
;
453 wxPrintQuality _result
;
455 PyObject
* _argo0
= 0;
456 char *_kwnames
[] = { "self", NULL
};
459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
469 wxPy_BEGIN_ALLOW_THREADS
;
470 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
472 wxPy_END_ALLOW_THREADS
;
473 } _resultobj
= Py_BuildValue("i",_result
);
477 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
478 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
479 PyObject
* _resultobj
;
482 PyObject
* _argo0
= 0;
483 char *_kwnames
[] = { "self","v", NULL
};
486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
496 wxPy_BEGIN_ALLOW_THREADS
;
497 wxPrintData_SetNoCopies(_arg0
,_arg1
);
499 wxPy_END_ALLOW_THREADS
;
500 } Py_INCREF(Py_None
);
501 _resultobj
= Py_None
;
505 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
506 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
507 PyObject
* _resultobj
;
510 PyObject
* _argo0
= 0;
512 char *_kwnames
[] = { "self","flag", NULL
};
515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
524 _arg1
= (bool ) tempbool1
;
526 wxPy_BEGIN_ALLOW_THREADS
;
527 wxPrintData_SetCollate(_arg0
,_arg1
);
529 wxPy_END_ALLOW_THREADS
;
530 } Py_INCREF(Py_None
);
531 _resultobj
= Py_None
;
535 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
536 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
537 PyObject
* _resultobj
;
540 PyObject
* _argo0
= 0;
541 char *_kwnames
[] = { "self","orient", NULL
};
544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
554 wxPy_BEGIN_ALLOW_THREADS
;
555 wxPrintData_SetOrientation(_arg0
,_arg1
);
557 wxPy_END_ALLOW_THREADS
;
558 } Py_INCREF(Py_None
);
559 _resultobj
= Py_None
;
563 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
564 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
565 PyObject
* _resultobj
;
568 PyObject
* _argo0
= 0;
569 PyObject
* _obj1
= 0;
570 char *_kwnames
[] = { "self","name", NULL
};
573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
583 if (!PyString_Check(_obj1
)) {
584 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
587 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
590 wxPy_BEGIN_ALLOW_THREADS
;
591 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
593 wxPy_END_ALLOW_THREADS
;
594 } Py_INCREF(Py_None
);
595 _resultobj
= Py_None
;
603 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
604 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
605 PyObject
* _resultobj
;
608 PyObject
* _argo0
= 0;
610 char *_kwnames
[] = { "self","colour", NULL
};
613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
622 _arg1
= (bool ) tempbool1
;
624 wxPy_BEGIN_ALLOW_THREADS
;
625 wxPrintData_SetColour(_arg0
,_arg1
);
627 wxPy_END_ALLOW_THREADS
;
628 } Py_INCREF(Py_None
);
629 _resultobj
= Py_None
;
633 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
634 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
635 PyObject
* _resultobj
;
638 PyObject
* _argo0
= 0;
639 char *_kwnames
[] = { "self","duplex", NULL
};
642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
652 wxPy_BEGIN_ALLOW_THREADS
;
653 wxPrintData_SetDuplex(_arg0
,_arg1
);
655 wxPy_END_ALLOW_THREADS
;
656 } Py_INCREF(Py_None
);
657 _resultobj
= Py_None
;
661 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
662 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
663 PyObject
* _resultobj
;
666 PyObject
* _argo0
= 0;
667 char *_kwnames
[] = { "self","sizeId", NULL
};
670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
680 wxPy_BEGIN_ALLOW_THREADS
;
681 wxPrintData_SetPaperId(_arg0
,_arg1
);
683 wxPy_END_ALLOW_THREADS
;
684 } Py_INCREF(Py_None
);
685 _resultobj
= Py_None
;
689 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
690 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
691 PyObject
* _resultobj
;
694 PyObject
* _argo0
= 0;
696 PyObject
* _obj1
= 0;
697 char *_kwnames
[] = { "self","sz", NULL
};
700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
711 if (! wxSize_helper(_obj1
, &_arg1
))
715 wxPy_BEGIN_ALLOW_THREADS
;
716 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
718 wxPy_END_ALLOW_THREADS
;
719 } Py_INCREF(Py_None
);
720 _resultobj
= Py_None
;
724 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
725 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
726 PyObject
* _resultobj
;
728 wxPrintQuality _arg1
;
729 PyObject
* _argo0
= 0;
730 char *_kwnames
[] = { "self","quality", NULL
};
733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
743 wxPy_BEGIN_ALLOW_THREADS
;
744 wxPrintData_SetQuality(_arg0
,_arg1
);
746 wxPy_END_ALLOW_THREADS
;
747 } Py_INCREF(Py_None
);
748 _resultobj
= Py_None
;
752 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
753 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
754 PyObject
* _resultobj
;
755 wxPageSetupDialogData
* _result
;
756 char *_kwnames
[] = { NULL
};
760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
763 wxPy_BEGIN_ALLOW_THREADS
;
764 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
766 wxPy_END_ALLOW_THREADS
;
768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
769 _resultobj
= Py_BuildValue("s",_ptemp
);
772 _resultobj
= Py_None
;
777 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
778 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
780 wxPageSetupDialogData
* _arg0
;
781 PyObject
* _argo0
= 0;
782 char *_kwnames
[] = { "self", NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
795 wxPy_BEGIN_ALLOW_THREADS
;
796 delete_wxPageSetupDialogData(_arg0
);
798 wxPy_END_ALLOW_THREADS
;
799 } Py_INCREF(Py_None
);
800 _resultobj
= Py_None
;
804 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
805 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
806 PyObject
* _resultobj
;
807 wxPageSetupDialogData
* _arg0
;
809 PyObject
* _argo0
= 0;
811 char *_kwnames
[] = { "self","flag", NULL
};
814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
823 _arg1
= (bool ) tempbool1
;
825 wxPy_BEGIN_ALLOW_THREADS
;
826 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
828 wxPy_END_ALLOW_THREADS
;
829 } Py_INCREF(Py_None
);
830 _resultobj
= Py_None
;
834 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
835 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
837 wxPageSetupDialogData
* _arg0
;
839 PyObject
* _argo0
= 0;
841 char *_kwnames
[] = { "self","flag", NULL
};
844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
853 _arg1
= (bool ) tempbool1
;
855 wxPy_BEGIN_ALLOW_THREADS
;
856 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
858 wxPy_END_ALLOW_THREADS
;
859 } Py_INCREF(Py_None
);
860 _resultobj
= Py_None
;
864 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
865 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
866 PyObject
* _resultobj
;
867 wxPageSetupDialogData
* _arg0
;
869 PyObject
* _argo0
= 0;
871 char *_kwnames
[] = { "self","flag", NULL
};
874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
883 _arg1
= (bool ) tempbool1
;
885 wxPy_BEGIN_ALLOW_THREADS
;
886 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
888 wxPy_END_ALLOW_THREADS
;
889 } Py_INCREF(Py_None
);
890 _resultobj
= Py_None
;
894 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
895 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
896 PyObject
* _resultobj
;
897 wxPageSetupDialogData
* _arg0
;
899 PyObject
* _argo0
= 0;
901 char *_kwnames
[] = { "self","flag", NULL
};
904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
913 _arg1
= (bool ) tempbool1
;
915 wxPy_BEGIN_ALLOW_THREADS
;
916 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
918 wxPy_END_ALLOW_THREADS
;
919 } Py_INCREF(Py_None
);
920 _resultobj
= Py_None
;
924 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
925 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 PyObject
* _resultobj
;
927 wxPageSetupDialogData
* _arg0
;
929 PyObject
* _argo0
= 0;
931 char *_kwnames
[] = { "self","flag", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
943 _arg1
= (bool ) tempbool1
;
945 wxPy_BEGIN_ALLOW_THREADS
;
946 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
948 wxPy_END_ALLOW_THREADS
;
949 } Py_INCREF(Py_None
);
950 _resultobj
= Py_None
;
954 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
955 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 PyObject
* _resultobj
;
958 wxPageSetupDialogData
* _arg0
;
959 PyObject
* _argo0
= 0;
960 char *_kwnames
[] = { "self", NULL
};
963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
973 wxPy_BEGIN_ALLOW_THREADS
;
974 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
976 wxPy_END_ALLOW_THREADS
;
977 } _resultobj
= Py_BuildValue("i",_result
);
981 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
982 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
983 PyObject
* _resultobj
;
985 wxPageSetupDialogData
* _arg0
;
986 PyObject
* _argo0
= 0;
987 char *_kwnames
[] = { "self", NULL
};
990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1000 wxPy_BEGIN_ALLOW_THREADS
;
1001 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1003 wxPy_END_ALLOW_THREADS
;
1004 } _resultobj
= Py_BuildValue("i",_result
);
1008 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
1009 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1010 PyObject
* _resultobj
;
1012 wxPageSetupDialogData
* _arg0
;
1013 PyObject
* _argo0
= 0;
1014 char *_kwnames
[] = { "self", NULL
};
1017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
1020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1027 wxPy_BEGIN_ALLOW_THREADS
;
1028 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1030 wxPy_END_ALLOW_THREADS
;
1031 } _resultobj
= Py_BuildValue("i",_result
);
1035 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
1036 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
* _resultobj
;
1039 wxPageSetupDialogData
* _arg0
;
1040 PyObject
* _argo0
= 0;
1041 char *_kwnames
[] = { "self", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
1047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
1054 wxPy_BEGIN_ALLOW_THREADS
;
1055 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
1057 wxPy_END_ALLOW_THREADS
;
1058 } _resultobj
= Py_BuildValue("i",_result
);
1062 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
1063 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
* _resultobj
;
1066 wxPageSetupDialogData
* _arg0
;
1067 PyObject
* _argo0
= 0;
1068 char *_kwnames
[] = { "self", NULL
};
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
1074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
1081 wxPy_BEGIN_ALLOW_THREADS
;
1082 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
1084 wxPy_END_ALLOW_THREADS
;
1085 } _resultobj
= Py_BuildValue("i",_result
);
1089 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
1090 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
* _resultobj
;
1093 wxPageSetupDialogData
* _arg0
;
1094 PyObject
* _argo0
= 0;
1095 char *_kwnames
[] = { "self", NULL
};
1098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
1101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
1108 wxPy_BEGIN_ALLOW_THREADS
;
1109 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
1111 wxPy_END_ALLOW_THREADS
;
1112 } _resultobj
= Py_BuildValue("i",_result
);
1116 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
1117 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1120 wxPageSetupDialogData
* _arg0
;
1121 PyObject
* _argo0
= 0;
1122 char *_kwnames
[] = { "self", NULL
};
1125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
1128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1135 wxPy_BEGIN_ALLOW_THREADS
;
1136 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
1138 wxPy_END_ALLOW_THREADS
;
1139 } _resultobj
= Py_BuildValue("i",_result
);
1143 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
1144 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
* _resultobj
;
1147 wxPageSetupDialogData
* _arg0
;
1148 PyObject
* _argo0
= 0;
1149 char *_kwnames
[] = { "self", NULL
};
1153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
1156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1163 wxPy_BEGIN_ALLOW_THREADS
;
1164 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
1166 wxPy_END_ALLOW_THREADS
;
1167 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1168 _resultobj
= Py_BuildValue("s",_ptemp
);
1172 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
1173 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
* _resultobj
;
1176 wxPageSetupDialogData
* _arg0
;
1177 PyObject
* _argo0
= 0;
1178 char *_kwnames
[] = { "self", NULL
};
1182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
1185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1192 wxPy_BEGIN_ALLOW_THREADS
;
1193 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
1195 wxPy_END_ALLOW_THREADS
;
1196 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1197 _resultobj
= Py_BuildValue("s",_ptemp
);
1201 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
1202 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1203 PyObject
* _resultobj
;
1205 wxPageSetupDialogData
* _arg0
;
1206 PyObject
* _argo0
= 0;
1207 char *_kwnames
[] = { "self", NULL
};
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
1214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1221 wxPy_BEGIN_ALLOW_THREADS
;
1222 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
1224 wxPy_END_ALLOW_THREADS
;
1225 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1226 _resultobj
= Py_BuildValue("s",_ptemp
);
1230 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
1231 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1232 PyObject
* _resultobj
;
1234 wxPageSetupDialogData
* _arg0
;
1235 PyObject
* _argo0
= 0;
1236 char *_kwnames
[] = { "self", NULL
};
1240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
1243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1250 wxPy_BEGIN_ALLOW_THREADS
;
1251 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
1253 wxPy_END_ALLOW_THREADS
;
1254 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1255 _resultobj
= Py_BuildValue("s",_ptemp
);
1259 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
1260 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1262 wxPaperSize _result
;
1263 wxPageSetupDialogData
* _arg0
;
1264 PyObject
* _argo0
= 0;
1265 char *_kwnames
[] = { "self", NULL
};
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
1271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
1278 wxPy_BEGIN_ALLOW_THREADS
;
1279 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
1281 wxPy_END_ALLOW_THREADS
;
1282 } _resultobj
= Py_BuildValue("i",_result
);
1286 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
1287 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
* _resultobj
;
1290 wxPageSetupDialogData
* _arg0
;
1291 PyObject
* _argo0
= 0;
1292 char *_kwnames
[] = { "self", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
1306 wxPy_BEGIN_ALLOW_THREADS
;
1307 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
1309 wxPy_END_ALLOW_THREADS
;
1310 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1311 _resultobj
= Py_BuildValue("s",_ptemp
);
1315 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
1316 return new wxPrintData(self
->GetPrintData()); // force a copy
1318 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
* _resultobj
;
1320 wxPrintData
* _result
;
1321 wxPageSetupDialogData
* _arg0
;
1322 PyObject
* _argo0
= 0;
1323 char *_kwnames
[] = { "self", NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
1330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
1337 wxPy_BEGIN_ALLOW_THREADS
;
1338 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
1340 wxPy_END_ALLOW_THREADS
;
1342 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1343 _resultobj
= Py_BuildValue("s",_ptemp
);
1346 _resultobj
= Py_None
;
1351 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
1352 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
* _resultobj
;
1354 wxPageSetupDialogData
* _arg0
;
1356 PyObject
* _argo0
= 0;
1358 char *_kwnames
[] = { "self","flag", NULL
};
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
1364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1370 _arg1
= (bool ) tempbool1
;
1372 wxPy_BEGIN_ALLOW_THREADS
;
1373 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
1375 wxPy_END_ALLOW_THREADS
;
1376 } Py_INCREF(Py_None
);
1377 _resultobj
= Py_None
;
1381 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
1382 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
* _resultobj
;
1384 wxPageSetupDialogData
* _arg0
;
1386 PyObject
* _argo0
= 0;
1388 char *_kwnames
[] = { "self","flag", NULL
};
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
1394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1400 _arg1
= (bool ) tempbool1
;
1402 wxPy_BEGIN_ALLOW_THREADS
;
1403 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
1405 wxPy_END_ALLOW_THREADS
;
1406 } Py_INCREF(Py_None
);
1407 _resultobj
= Py_None
;
1411 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
1412 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1414 wxPageSetupDialogData
* _arg0
;
1416 PyObject
* _argo0
= 0;
1418 PyObject
* _obj1
= 0;
1419 char *_kwnames
[] = { "self","pt", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
1425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1433 if (! wxPoint_helper(_obj1
, &_arg1
))
1437 wxPy_BEGIN_ALLOW_THREADS
;
1438 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
1440 wxPy_END_ALLOW_THREADS
;
1441 } Py_INCREF(Py_None
);
1442 _resultobj
= Py_None
;
1446 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
1447 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
* _resultobj
;
1449 wxPageSetupDialogData
* _arg0
;
1451 PyObject
* _argo0
= 0;
1453 PyObject
* _obj1
= 0;
1454 char *_kwnames
[] = { "self","pt", NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
1460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1468 if (! wxPoint_helper(_obj1
, &_arg1
))
1472 wxPy_BEGIN_ALLOW_THREADS
;
1473 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
1475 wxPy_END_ALLOW_THREADS
;
1476 } Py_INCREF(Py_None
);
1477 _resultobj
= Py_None
;
1481 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
1482 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1484 wxPageSetupDialogData
* _arg0
;
1486 PyObject
* _argo0
= 0;
1488 PyObject
* _obj1
= 0;
1489 char *_kwnames
[] = { "self","pt", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
1495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1503 if (! wxPoint_helper(_obj1
, &_arg1
))
1507 wxPy_BEGIN_ALLOW_THREADS
;
1508 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
1510 wxPy_END_ALLOW_THREADS
;
1511 } Py_INCREF(Py_None
);
1512 _resultobj
= Py_None
;
1516 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
1517 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1519 wxPageSetupDialogData
* _arg0
;
1521 PyObject
* _argo0
= 0;
1523 PyObject
* _obj1
= 0;
1524 char *_kwnames
[] = { "self","pt", NULL
};
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
1530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1538 if (! wxPoint_helper(_obj1
, &_arg1
))
1542 wxPy_BEGIN_ALLOW_THREADS
;
1543 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
1545 wxPy_END_ALLOW_THREADS
;
1546 } Py_INCREF(Py_None
);
1547 _resultobj
= Py_None
;
1551 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
1552 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
* _resultobj
;
1554 wxPageSetupDialogData
* _arg0
;
1555 wxPaperSize
* _arg1
;
1556 PyObject
* _argo0
= 0;
1557 PyObject
* _argo1
= 0;
1558 char *_kwnames
[] = { "self","id", NULL
};
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_argo1
))
1564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
1571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPaperSize_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPaperId. Expected _wxPaperSize_p.");
1578 wxPy_BEGIN_ALLOW_THREADS
;
1579 wxPageSetupDialogData_SetPaperId(_arg0
,*_arg1
);
1581 wxPy_END_ALLOW_THREADS
;
1582 } Py_INCREF(Py_None
);
1583 _resultobj
= Py_None
;
1587 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
1588 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1590 wxPageSetupDialogData
* _arg0
;
1592 PyObject
* _argo0
= 0;
1594 PyObject
* _obj1
= 0;
1595 char *_kwnames
[] = { "self","size", NULL
};
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
1601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
1609 if (! wxSize_helper(_obj1
, &_arg1
))
1613 wxPy_BEGIN_ALLOW_THREADS
;
1614 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
1616 wxPy_END_ALLOW_THREADS
;
1617 } Py_INCREF(Py_None
);
1618 _resultobj
= Py_None
;
1622 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1623 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
* _resultobj
;
1625 wxPageSetupDialogData
* _arg0
;
1626 wxPrintData
* _arg1
;
1627 PyObject
* _argo0
= 0;
1628 PyObject
* _argo1
= 0;
1629 char *_kwnames
[] = { "self","printData", NULL
};
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
1642 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1643 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
1649 wxPy_BEGIN_ALLOW_THREADS
;
1650 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
1652 wxPy_END_ALLOW_THREADS
;
1653 } Py_INCREF(Py_None
);
1654 _resultobj
= Py_None
;
1658 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
1659 wxPageSetupDialog
*src
;
1661 src
= (wxPageSetupDialog
*) ptr
;
1662 dest
= (wxDialog
*) src
;
1663 return (void *) dest
;
1666 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
1667 wxPageSetupDialog
*src
;
1669 src
= (wxPageSetupDialog
*) ptr
;
1670 dest
= (wxPanel
*) src
;
1671 return (void *) dest
;
1674 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
1675 wxPageSetupDialog
*src
;
1677 src
= (wxPageSetupDialog
*) ptr
;
1678 dest
= (wxWindow
*) src
;
1679 return (void *) dest
;
1682 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
1683 wxPageSetupDialog
*src
;
1685 src
= (wxPageSetupDialog
*) ptr
;
1686 dest
= (wxEvtHandler
*) src
;
1687 return (void *) dest
;
1690 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
1691 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
* _resultobj
;
1693 wxPageSetupDialog
* _result
;
1695 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
1696 PyObject
* _argo0
= 0;
1697 PyObject
* _argo1
= 0;
1698 char *_kwnames
[] = { "parent","data", NULL
};
1702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
1705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
1712 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1713 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
1714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
1719 wxPy_BEGIN_ALLOW_THREADS
;
1720 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
1722 wxPy_END_ALLOW_THREADS
;
1724 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
1725 _resultobj
= Py_BuildValue("s",_ptemp
);
1728 _resultobj
= Py_None
;
1733 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
1734 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
* _resultobj
;
1736 wxPageSetupDialogData
* _result
;
1737 wxPageSetupDialog
* _arg0
;
1738 PyObject
* _argo0
= 0;
1739 char *_kwnames
[] = { "self", NULL
};
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
1746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
1753 wxPy_BEGIN_ALLOW_THREADS
;
1754 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
1755 _result
= (wxPageSetupDialogData
*) &_result_ref
;
1757 wxPy_END_ALLOW_THREADS
;
1759 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1760 _resultobj
= Py_BuildValue("s",_ptemp
);
1763 _resultobj
= Py_None
;
1768 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1769 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
* _resultobj
;
1772 wxPageSetupDialog
* _arg0
;
1773 PyObject
* _argo0
= 0;
1774 char *_kwnames
[] = { "self", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
1787 wxPy_BEGIN_ALLOW_THREADS
;
1788 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
1790 wxPy_END_ALLOW_THREADS
;
1791 } _resultobj
= Py_BuildValue("i",_result
);
1795 #define new_wxPrintDialogData() (new wxPrintDialogData())
1796 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
* _resultobj
;
1798 wxPrintDialogData
* _result
;
1799 char *_kwnames
[] = { NULL
};
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
1806 wxPy_BEGIN_ALLOW_THREADS
;
1807 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
1809 wxPy_END_ALLOW_THREADS
;
1811 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
1812 _resultobj
= Py_BuildValue("s",_ptemp
);
1815 _resultobj
= Py_None
;
1820 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
1821 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1822 PyObject
* _resultobj
;
1823 wxPrintDialogData
* _arg0
;
1824 PyObject
* _argo0
= 0;
1825 char *_kwnames
[] = { "self", NULL
};
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
1831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
1838 wxPy_BEGIN_ALLOW_THREADS
;
1839 delete_wxPrintDialogData(_arg0
);
1841 wxPy_END_ALLOW_THREADS
;
1842 } Py_INCREF(Py_None
);
1843 _resultobj
= Py_None
;
1847 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1848 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
* _resultobj
;
1850 wxPrintDialogData
* _arg0
;
1852 PyObject
* _argo0
= 0;
1854 char *_kwnames
[] = { "self","flag", NULL
};
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
1866 _arg1
= (bool ) tempbool1
;
1868 wxPy_BEGIN_ALLOW_THREADS
;
1869 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
1871 wxPy_END_ALLOW_THREADS
;
1872 } Py_INCREF(Py_None
);
1873 _resultobj
= Py_None
;
1877 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
1878 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1880 wxPrintDialogData
* _arg0
;
1882 PyObject
* _argo0
= 0;
1884 char *_kwnames
[] = { "self","flag", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
1896 _arg1
= (bool ) tempbool1
;
1898 wxPy_BEGIN_ALLOW_THREADS
;
1899 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
1901 wxPy_END_ALLOW_THREADS
;
1902 } Py_INCREF(Py_None
);
1903 _resultobj
= Py_None
;
1907 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
1908 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1910 wxPrintDialogData
* _arg0
;
1912 PyObject
* _argo0
= 0;
1914 char *_kwnames
[] = { "self","flag", NULL
};
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
1920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
1926 _arg1
= (bool ) tempbool1
;
1928 wxPy_BEGIN_ALLOW_THREADS
;
1929 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
1931 wxPy_END_ALLOW_THREADS
;
1932 } Py_INCREF(Py_None
);
1933 _resultobj
= Py_None
;
1937 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
1938 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
* _resultobj
;
1940 wxPrintDialogData
* _arg0
;
1942 PyObject
* _argo0
= 0;
1944 char *_kwnames
[] = { "self","flag", NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
1950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
1956 _arg1
= (bool ) tempbool1
;
1958 wxPy_BEGIN_ALLOW_THREADS
;
1959 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
1961 wxPy_END_ALLOW_THREADS
;
1962 } Py_INCREF(Py_None
);
1963 _resultobj
= Py_None
;
1967 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
1968 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1971 wxPrintDialogData
* _arg0
;
1972 PyObject
* _argo0
= 0;
1973 char *_kwnames
[] = { "self", NULL
};
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
1979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
1986 wxPy_BEGIN_ALLOW_THREADS
;
1987 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
1989 wxPy_END_ALLOW_THREADS
;
1990 } _resultobj
= Py_BuildValue("i",_result
);
1994 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
1995 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1996 PyObject
* _resultobj
;
1998 wxPrintDialogData
* _arg0
;
1999 PyObject
* _argo0
= 0;
2000 char *_kwnames
[] = { "self", NULL
};
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
2006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
2013 wxPy_BEGIN_ALLOW_THREADS
;
2014 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
2016 wxPy_END_ALLOW_THREADS
;
2017 } _resultobj
= Py_BuildValue("i",_result
);
2021 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
2022 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
* _resultobj
;
2025 wxPrintDialogData
* _arg0
;
2026 PyObject
* _argo0
= 0;
2027 char *_kwnames
[] = { "self", NULL
};
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
2033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
2040 wxPy_BEGIN_ALLOW_THREADS
;
2041 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
2043 wxPy_END_ALLOW_THREADS
;
2044 } _resultobj
= Py_BuildValue("i",_result
);
2048 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
2049 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
* _resultobj
;
2052 wxPrintDialogData
* _arg0
;
2053 PyObject
* _argo0
= 0;
2054 char *_kwnames
[] = { "self", NULL
};
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
2060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
2067 wxPy_BEGIN_ALLOW_THREADS
;
2068 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
2070 wxPy_END_ALLOW_THREADS
;
2071 } _resultobj
= Py_BuildValue("i",_result
);
2075 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
2076 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
* _resultobj
;
2079 wxPrintDialogData
* _arg0
;
2080 PyObject
* _argo0
= 0;
2081 char *_kwnames
[] = { "self", NULL
};
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
2087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
2094 wxPy_BEGIN_ALLOW_THREADS
;
2095 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
2097 wxPy_END_ALLOW_THREADS
;
2098 } _resultobj
= Py_BuildValue("i",_result
);
2102 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
2103 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
* _resultobj
;
2106 wxPrintDialogData
* _arg0
;
2107 PyObject
* _argo0
= 0;
2108 char *_kwnames
[] = { "self", NULL
};
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
2114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
2121 wxPy_BEGIN_ALLOW_THREADS
;
2122 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
2124 wxPy_END_ALLOW_THREADS
;
2125 } _resultobj
= Py_BuildValue("i",_result
);
2129 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
2130 return new wxPrintData(self
->GetPrintData()); // force a copy
2132 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2134 wxPrintData
* _result
;
2135 wxPrintDialogData
* _arg0
;
2136 PyObject
* _argo0
= 0;
2137 char *_kwnames
[] = { "self", NULL
};
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
2144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
2151 wxPy_BEGIN_ALLOW_THREADS
;
2152 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
2154 wxPy_END_ALLOW_THREADS
;
2156 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2157 _resultobj
= Py_BuildValue("s",_ptemp
);
2160 _resultobj
= Py_None
;
2165 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
2166 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2169 wxPrintDialogData
* _arg0
;
2170 PyObject
* _argo0
= 0;
2171 char *_kwnames
[] = { "self", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
2177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
2184 wxPy_BEGIN_ALLOW_THREADS
;
2185 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
2187 wxPy_END_ALLOW_THREADS
;
2188 } _resultobj
= Py_BuildValue("i",_result
);
2192 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
2193 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2196 wxPrintDialogData
* _arg0
;
2197 PyObject
* _argo0
= 0;
2198 char *_kwnames
[] = { "self", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
2204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
2211 wxPy_BEGIN_ALLOW_THREADS
;
2212 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
2214 wxPy_END_ALLOW_THREADS
;
2215 } _resultobj
= Py_BuildValue("i",_result
);
2219 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
2220 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2222 wxPrintDialogData
* _arg0
;
2224 PyObject
* _argo0
= 0;
2226 char *_kwnames
[] = { "self","flag", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
2232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
2238 _arg1
= (bool ) tempbool1
;
2240 wxPy_BEGIN_ALLOW_THREADS
;
2241 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
2243 wxPy_END_ALLOW_THREADS
;
2244 } Py_INCREF(Py_None
);
2245 _resultobj
= Py_None
;
2249 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
2250 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2252 wxPrintDialogData
* _arg0
;
2254 PyObject
* _argo0
= 0;
2255 char *_kwnames
[] = { "self","page", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
2268 wxPy_BEGIN_ALLOW_THREADS
;
2269 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
2271 wxPy_END_ALLOW_THREADS
;
2272 } Py_INCREF(Py_None
);
2273 _resultobj
= Py_None
;
2277 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
2278 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
* _resultobj
;
2280 wxPrintDialogData
* _arg0
;
2282 PyObject
* _argo0
= 0;
2283 char *_kwnames
[] = { "self","page", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
2289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
2296 wxPy_BEGIN_ALLOW_THREADS
;
2297 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
2299 wxPy_END_ALLOW_THREADS
;
2300 } Py_INCREF(Py_None
);
2301 _resultobj
= Py_None
;
2305 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
2306 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2307 PyObject
* _resultobj
;
2308 wxPrintDialogData
* _arg0
;
2310 PyObject
* _argo0
= 0;
2311 char *_kwnames
[] = { "self","page", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
2317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
2324 wxPy_BEGIN_ALLOW_THREADS
;
2325 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
2327 wxPy_END_ALLOW_THREADS
;
2328 } Py_INCREF(Py_None
);
2329 _resultobj
= Py_None
;
2333 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
2334 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
* _resultobj
;
2336 wxPrintDialogData
* _arg0
;
2338 PyObject
* _argo0
= 0;
2339 char *_kwnames
[] = { "self","n", NULL
};
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
2345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
2352 wxPy_BEGIN_ALLOW_THREADS
;
2353 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
2355 wxPy_END_ALLOW_THREADS
;
2356 } Py_INCREF(Py_None
);
2357 _resultobj
= Py_None
;
2361 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2362 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2364 wxPrintDialogData
* _arg0
;
2365 wxPrintData
* _arg1
;
2366 PyObject
* _argo0
= 0;
2367 PyObject
* _argo1
= 0;
2368 char *_kwnames
[] = { "self","printData", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
2381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
2388 wxPy_BEGIN_ALLOW_THREADS
;
2389 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
2391 wxPy_END_ALLOW_THREADS
;
2392 } Py_INCREF(Py_None
);
2393 _resultobj
= Py_None
;
2397 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
2398 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
* _resultobj
;
2400 wxPrintDialogData
* _arg0
;
2402 PyObject
* _argo0
= 0;
2404 char *_kwnames
[] = { "self","flag", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
2416 _arg1
= (bool ) tempbool1
;
2418 wxPy_BEGIN_ALLOW_THREADS
;
2419 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
2421 wxPy_END_ALLOW_THREADS
;
2422 } Py_INCREF(Py_None
);
2423 _resultobj
= Py_None
;
2427 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
2428 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
* _resultobj
;
2430 wxPrintDialogData
* _arg0
;
2432 PyObject
* _argo0
= 0;
2434 char *_kwnames
[] = { "self","flag", NULL
};
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
2440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
2446 _arg1
= (bool ) tempbool1
;
2448 wxPy_BEGIN_ALLOW_THREADS
;
2449 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
2451 wxPy_END_ALLOW_THREADS
;
2452 } Py_INCREF(Py_None
);
2453 _resultobj
= Py_None
;
2457 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
2458 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
* _resultobj
;
2460 wxPrintDialogData
* _arg0
;
2462 PyObject
* _argo0
= 0;
2463 char *_kwnames
[] = { "self","page", NULL
};
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
2469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
2476 wxPy_BEGIN_ALLOW_THREADS
;
2477 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
2479 wxPy_END_ALLOW_THREADS
;
2480 } Py_INCREF(Py_None
);
2481 _resultobj
= Py_None
;
2485 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
2488 src
= (wxPrintDialog
*) ptr
;
2489 dest
= (wxDialog
*) src
;
2490 return (void *) dest
;
2493 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
2496 src
= (wxPrintDialog
*) ptr
;
2497 dest
= (wxPanel
*) src
;
2498 return (void *) dest
;
2501 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
2504 src
= (wxPrintDialog
*) ptr
;
2505 dest
= (wxWindow
*) src
;
2506 return (void *) dest
;
2509 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
2512 src
= (wxPrintDialog
*) ptr
;
2513 dest
= (wxEvtHandler
*) src
;
2514 return (void *) dest
;
2517 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
2518 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2520 wxPrintDialog
* _result
;
2522 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
2523 PyObject
* _argo0
= 0;
2524 PyObject
* _argo1
= 0;
2525 char *_kwnames
[] = { "parent","data", NULL
};
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
2532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
2539 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2540 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
2546 wxPy_BEGIN_ALLOW_THREADS
;
2547 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
2549 wxPy_END_ALLOW_THREADS
;
2551 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
2552 _resultobj
= Py_BuildValue("s",_ptemp
);
2555 _resultobj
= Py_None
;
2560 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
2561 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
* _resultobj
;
2563 wxPrintDialogData
* _result
;
2564 wxPrintDialog
* _arg0
;
2565 PyObject
* _argo0
= 0;
2566 char *_kwnames
[] = { "self", NULL
};
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
2573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
2580 wxPy_BEGIN_ALLOW_THREADS
;
2581 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
2582 _result
= (wxPrintDialogData
*) &_result_ref
;
2584 wxPy_END_ALLOW_THREADS
;
2586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2587 _resultobj
= Py_BuildValue("s",_ptemp
);
2590 _resultobj
= Py_None
;
2595 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
2596 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
* _resultobj
;
2599 wxPrintDialog
* _arg0
;
2600 PyObject
* _argo0
= 0;
2601 char *_kwnames
[] = { "self", NULL
};
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
2608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
2615 wxPy_BEGIN_ALLOW_THREADS
;
2616 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
2618 wxPy_END_ALLOW_THREADS
;
2620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2621 _resultobj
= Py_BuildValue("s",_ptemp
);
2624 _resultobj
= Py_None
;
2629 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2630 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
* _resultobj
;
2633 wxPrintDialog
* _arg0
;
2634 PyObject
* _argo0
= 0;
2635 char *_kwnames
[] = { "self", NULL
};
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
2641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
2648 wxPy_BEGIN_ALLOW_THREADS
;
2649 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
2651 wxPy_END_ALLOW_THREADS
;
2652 } _resultobj
= Py_BuildValue("i",_result
);
2656 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
2657 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
* _resultobj
;
2659 wxPyPrintout
* _result
;
2660 char * _arg0
= (char *) "Printout";
2661 char *_kwnames
[] = { "title", NULL
};
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
2668 wxPy_BEGIN_ALLOW_THREADS
;
2669 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
2671 wxPy_END_ALLOW_THREADS
;
2673 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
2674 _resultobj
= Py_BuildValue("s",_ptemp
);
2677 _resultobj
= Py_None
;
2682 #define wxPrintout__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2683 static PyObject
*_wrap_wxPrintout__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
* _resultobj
;
2685 wxPyPrintout
* _arg0
;
2688 PyObject
* _argo0
= 0;
2689 PyObject
* _obj1
= 0;
2690 PyObject
* _obj2
= 0;
2691 char *_kwnames
[] = { "self","self","_class", NULL
};
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
2710 wxPy_BEGIN_ALLOW_THREADS
;
2711 wxPrintout__setSelf(_arg0
,_arg1
,_arg2
);
2713 wxPy_END_ALLOW_THREADS
;
2714 } Py_INCREF(Py_None
);
2715 _resultobj
= Py_None
;
2719 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
2720 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2722 wxPyPrintout
* _arg0
;
2723 PyObject
* _argo0
= 0;
2724 char *_kwnames
[] = { "self", NULL
};
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
2730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
2737 wxPy_BEGIN_ALLOW_THREADS
;
2738 wxPyPrintout_Destroy(_arg0
);
2740 wxPy_END_ALLOW_THREADS
;
2741 } Py_INCREF(Py_None
);
2742 _resultobj
= Py_None
;
2746 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
2747 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
* _resultobj
;
2750 wxPyPrintout
* _arg0
;
2751 PyObject
* _argo0
= 0;
2752 char *_kwnames
[] = { "self", NULL
};
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
2759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
2766 wxPy_BEGIN_ALLOW_THREADS
;
2767 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
2769 wxPy_END_ALLOW_THREADS
;
2771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2772 _resultobj
= Py_BuildValue("s",_ptemp
);
2775 _resultobj
= Py_None
;
2780 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
2781 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
* _resultobj
;
2783 wxPyPrintout
* _arg0
;
2788 PyObject
* _argo0
= 0;
2789 char *_kwnames
[] = { "self", NULL
};
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
2801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
2808 wxPy_BEGIN_ALLOW_THREADS
;
2809 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
2811 wxPy_END_ALLOW_THREADS
;
2812 } Py_INCREF(Py_None
);
2813 _resultobj
= Py_None
;
2816 o
= PyInt_FromLong((long) (*_arg1
));
2817 _resultobj
= t_output_helper(_resultobj
, o
);
2821 o
= PyInt_FromLong((long) (*_arg2
));
2822 _resultobj
= t_output_helper(_resultobj
, o
);
2827 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
2828 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2830 wxPyPrintout
* _arg0
;
2835 PyObject
* _argo0
= 0;
2836 char *_kwnames
[] = { "self", NULL
};
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
2848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
2855 wxPy_BEGIN_ALLOW_THREADS
;
2856 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
2858 wxPy_END_ALLOW_THREADS
;
2859 } Py_INCREF(Py_None
);
2860 _resultobj
= Py_None
;
2863 o
= PyInt_FromLong((long) (*_arg1
));
2864 _resultobj
= t_output_helper(_resultobj
, o
);
2868 o
= PyInt_FromLong((long) (*_arg2
));
2869 _resultobj
= t_output_helper(_resultobj
, o
);
2874 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
2875 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
* _resultobj
;
2877 wxPyPrintout
* _arg0
;
2882 PyObject
* _argo0
= 0;
2883 char *_kwnames
[] = { "self", NULL
};
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
2895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
2902 wxPy_BEGIN_ALLOW_THREADS
;
2903 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
2905 wxPy_END_ALLOW_THREADS
;
2906 } Py_INCREF(Py_None
);
2907 _resultobj
= Py_None
;
2910 o
= PyInt_FromLong((long) (*_arg1
));
2911 _resultobj
= t_output_helper(_resultobj
, o
);
2915 o
= PyInt_FromLong((long) (*_arg2
));
2916 _resultobj
= t_output_helper(_resultobj
, o
);
2921 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
2922 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
* _resultobj
;
2924 wxPyPrintout
* _arg0
;
2929 PyObject
* _argo0
= 0;
2930 char *_kwnames
[] = { "self", NULL
};
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
2942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
2949 wxPy_BEGIN_ALLOW_THREADS
;
2950 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
2952 wxPy_END_ALLOW_THREADS
;
2953 } Py_INCREF(Py_None
);
2954 _resultobj
= Py_None
;
2957 o
= PyInt_FromLong((long) (*_arg1
));
2958 _resultobj
= t_output_helper(_resultobj
, o
);
2962 o
= PyInt_FromLong((long) (*_arg2
));
2963 _resultobj
= t_output_helper(_resultobj
, o
);
2968 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
2969 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2972 wxPyPrintout
* _arg0
;
2973 PyObject
* _argo0
= 0;
2974 char *_kwnames
[] = { "self", NULL
};
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
2980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
2987 wxPy_BEGIN_ALLOW_THREADS
;
2988 _result
= (bool )wxPrintout_IsPreview(_arg0
);
2990 wxPy_END_ALLOW_THREADS
;
2991 } _resultobj
= Py_BuildValue("i",_result
);
2995 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
2996 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
2999 wxPyPrintout
* _arg0
;
3002 PyObject
* _argo0
= 0;
3003 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
3016 wxPy_BEGIN_ALLOW_THREADS
;
3017 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
3019 wxPy_END_ALLOW_THREADS
;
3020 } _resultobj
= Py_BuildValue("i",_result
);
3024 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
3025 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
* _resultobj
;
3027 wxPyPrintout
* _arg0
;
3028 PyObject
* _argo0
= 0;
3029 char *_kwnames
[] = { "self", NULL
};
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
3035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
3042 wxPy_BEGIN_ALLOW_THREADS
;
3043 wxPrintout_base_OnEndDocument(_arg0
);
3045 wxPy_END_ALLOW_THREADS
;
3046 } Py_INCREF(Py_None
);
3047 _resultobj
= Py_None
;
3051 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
3052 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3054 wxPyPrintout
* _arg0
;
3055 PyObject
* _argo0
= 0;
3056 char *_kwnames
[] = { "self", NULL
};
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
3062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
3069 wxPy_BEGIN_ALLOW_THREADS
;
3070 wxPrintout_base_OnBeginPrinting(_arg0
);
3072 wxPy_END_ALLOW_THREADS
;
3073 } Py_INCREF(Py_None
);
3074 _resultobj
= Py_None
;
3078 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
3079 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
* _resultobj
;
3081 wxPyPrintout
* _arg0
;
3082 PyObject
* _argo0
= 0;
3083 char *_kwnames
[] = { "self", NULL
};
3086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
3089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
3096 wxPy_BEGIN_ALLOW_THREADS
;
3097 wxPrintout_base_OnEndPrinting(_arg0
);
3099 wxPy_END_ALLOW_THREADS
;
3100 } Py_INCREF(Py_None
);
3101 _resultobj
= Py_None
;
3105 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
3106 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3108 wxPyPrintout
* _arg0
;
3109 PyObject
* _argo0
= 0;
3110 char *_kwnames
[] = { "self", NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
3116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
3123 wxPy_BEGIN_ALLOW_THREADS
;
3124 wxPrintout_base_OnPreparePrinting(_arg0
);
3126 wxPy_END_ALLOW_THREADS
;
3127 } Py_INCREF(Py_None
);
3128 _resultobj
= Py_None
;
3132 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3133 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
* _resultobj
;
3135 wxPyPrintout
* _arg0
;
3144 PyObject
* _argo0
= 0;
3145 char *_kwnames
[] = { "self", NULL
};
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
3163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
3170 wxPy_BEGIN_ALLOW_THREADS
;
3171 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3173 wxPy_END_ALLOW_THREADS
;
3174 } Py_INCREF(Py_None
);
3175 _resultobj
= Py_None
;
3178 o
= PyInt_FromLong((long) (*_arg1
));
3179 _resultobj
= t_output_helper(_resultobj
, o
);
3183 o
= PyInt_FromLong((long) (*_arg2
));
3184 _resultobj
= t_output_helper(_resultobj
, o
);
3188 o
= PyInt_FromLong((long) (*_arg3
));
3189 _resultobj
= t_output_helper(_resultobj
, o
);
3193 o
= PyInt_FromLong((long) (*_arg4
));
3194 _resultobj
= t_output_helper(_resultobj
, o
);
3199 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
3200 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
* _resultobj
;
3203 wxPyPrintout
* _arg0
;
3205 PyObject
* _argo0
= 0;
3206 char *_kwnames
[] = { "self","page", NULL
};
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
3212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
3219 wxPy_BEGIN_ALLOW_THREADS
;
3220 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
3222 wxPy_END_ALLOW_THREADS
;
3223 } _resultobj
= Py_BuildValue("i",_result
);
3227 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
3228 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
* _resultobj
;
3230 wxPrinter
* _result
;
3231 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
3232 PyObject
* _argo0
= 0;
3233 char *_kwnames
[] = { "data", NULL
};
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
3240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
3247 wxPy_BEGIN_ALLOW_THREADS
;
3248 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
3250 wxPy_END_ALLOW_THREADS
;
3252 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
3253 _resultobj
= Py_BuildValue("s",_ptemp
);
3256 _resultobj
= Py_None
;
3261 #define delete_wxPrinter(_swigobj) (delete _swigobj)
3262 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
* _resultobj
;
3265 PyObject
* _argo0
= 0;
3266 char *_kwnames
[] = { "self", NULL
};
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
3272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
3279 wxPy_BEGIN_ALLOW_THREADS
;
3280 delete_wxPrinter(_arg0
);
3282 wxPy_END_ALLOW_THREADS
;
3283 } Py_INCREF(Py_None
);
3284 _resultobj
= Py_None
;
3288 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
3289 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
* _resultobj
;
3293 wxPyPrintout
* _arg2
;
3294 PyObject
* _argo0
= 0;
3295 PyObject
* _argo1
= 0;
3296 PyObject
* _argo2
= 0;
3297 char *_kwnames
[] = { "self","parent","printout", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
3310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
3317 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3318 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
3324 wxPy_BEGIN_ALLOW_THREADS
;
3325 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
3327 wxPy_END_ALLOW_THREADS
;
3328 } Py_INCREF(Py_None
);
3329 _resultobj
= Py_None
;
3333 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3334 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3336 wxPrintDialogData
* _result
;
3338 PyObject
* _argo0
= 0;
3339 char *_kwnames
[] = { "self", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
3353 wxPy_BEGIN_ALLOW_THREADS
;
3354 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
3355 _result
= (wxPrintDialogData
*) &_result_ref
;
3357 wxPy_END_ALLOW_THREADS
;
3359 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3360 _resultobj
= Py_BuildValue("s",_ptemp
);
3363 _resultobj
= Py_None
;
3368 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
3369 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
* _resultobj
;
3374 wxPyPrintout
* _arg2
;
3375 int _arg3
= (int ) TRUE
;
3376 PyObject
* _argo0
= 0;
3377 PyObject
* _argo1
= 0;
3378 PyObject
* _argo2
= 0;
3379 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
3392 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3393 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
3399 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
3406 wxPy_BEGIN_ALLOW_THREADS
;
3407 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
3409 wxPy_END_ALLOW_THREADS
;
3410 } _resultobj
= Py_BuildValue("i",_result
);
3414 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
3415 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
* _resultobj
;
3420 PyObject
* _argo0
= 0;
3421 PyObject
* _argo1
= 0;
3422 char *_kwnames
[] = { "self","parent", NULL
};
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
3429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
3436 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
3443 wxPy_BEGIN_ALLOW_THREADS
;
3444 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
3446 wxPy_END_ALLOW_THREADS
;
3448 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3449 _resultobj
= Py_BuildValue("s",_ptemp
);
3452 _resultobj
= Py_None
;
3457 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
3458 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
* _resultobj
;
3462 wxPyPrintout
* _arg2
;
3464 PyObject
* _argo0
= 0;
3465 PyObject
* _argo1
= 0;
3466 PyObject
* _argo2
= 0;
3467 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
3480 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3481 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
3487 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3488 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
3494 wxPy_BEGIN_ALLOW_THREADS
;
3495 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
3497 wxPy_END_ALLOW_THREADS
;
3498 } Py_INCREF(Py_None
);
3499 _resultobj
= Py_None
;
3503 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
3504 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
* _resultobj
;
3509 PyObject
* _argo0
= 0;
3510 PyObject
* _argo1
= 0;
3511 char *_kwnames
[] = { "self","parent", NULL
};
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
3517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
3524 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3525 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
3531 wxPy_BEGIN_ALLOW_THREADS
;
3532 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
3534 wxPy_END_ALLOW_THREADS
;
3535 } _resultobj
= Py_BuildValue("i",_result
);
3539 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
3540 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
* _resultobj
;
3542 wxPrintPreview
* _result
;
3543 wxPyPrintout
* _arg0
;
3544 wxPyPrintout
* _arg1
;
3545 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
3546 PyObject
* _argo0
= 0;
3547 PyObject
* _argo1
= 0;
3548 PyObject
* _argo2
= 0;
3549 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3563 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3570 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
3577 wxPy_BEGIN_ALLOW_THREADS
;
3578 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
3580 wxPy_END_ALLOW_THREADS
;
3582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
3583 _resultobj
= Py_BuildValue("s",_ptemp
);
3586 _resultobj
= Py_None
;
3591 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
3592 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3595 wxPrintPreview
* _arg0
;
3596 PyObject
* _argo0
= 0;
3597 char *_kwnames
[] = { "self", NULL
};
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
3604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
3611 wxPy_BEGIN_ALLOW_THREADS
;
3612 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
3614 wxPy_END_ALLOW_THREADS
;
3616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3617 _resultobj
= Py_BuildValue("s",_ptemp
);
3620 _resultobj
= Py_None
;
3625 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
3626 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
* _resultobj
;
3629 wxPrintPreview
* _arg0
;
3630 PyObject
* _argo0
= 0;
3631 char *_kwnames
[] = { "self", NULL
};
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
3637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
3644 wxPy_BEGIN_ALLOW_THREADS
;
3645 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
3647 wxPy_END_ALLOW_THREADS
;
3648 } _resultobj
= Py_BuildValue("i",_result
);
3652 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
3653 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
* _resultobj
;
3656 wxPrintPreview
* _arg0
;
3657 PyObject
* _argo0
= 0;
3658 char *_kwnames
[] = { "self", NULL
};
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
3665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
3672 wxPy_BEGIN_ALLOW_THREADS
;
3673 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
3675 wxPy_END_ALLOW_THREADS
;
3677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
3678 _resultobj
= Py_BuildValue("s",_ptemp
);
3681 _resultobj
= Py_None
;
3686 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3687 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
* _resultobj
;
3690 wxPrintPreview
* _arg0
;
3691 PyObject
* _argo0
= 0;
3692 char *_kwnames
[] = { "self", NULL
};
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
3698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
3705 wxPy_BEGIN_ALLOW_THREADS
;
3706 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
3708 wxPy_END_ALLOW_THREADS
;
3709 } _resultobj
= Py_BuildValue("i",_result
);
3713 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3714 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3717 wxPrintPreview
* _arg0
;
3718 PyObject
* _argo0
= 0;
3719 char *_kwnames
[] = { "self", NULL
};
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
3725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
3732 wxPy_BEGIN_ALLOW_THREADS
;
3733 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
3735 wxPy_END_ALLOW_THREADS
;
3736 } _resultobj
= Py_BuildValue("i",_result
);
3740 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3741 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
* _resultobj
;
3743 wxPrintDialogData
* _result
;
3744 wxPrintPreview
* _arg0
;
3745 PyObject
* _argo0
= 0;
3746 char *_kwnames
[] = { "self", NULL
};
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
3753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
3760 wxPy_BEGIN_ALLOW_THREADS
;
3761 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
3762 _result
= (wxPrintDialogData
*) &_result_ref
;
3764 wxPy_END_ALLOW_THREADS
;
3766 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3767 _resultobj
= Py_BuildValue("s",_ptemp
);
3770 _resultobj
= Py_None
;
3775 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
3776 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
* _resultobj
;
3778 wxPyPrintout
* _result
;
3779 wxPrintPreview
* _arg0
;
3780 PyObject
* _argo0
= 0;
3781 char *_kwnames
[] = { "self", NULL
};
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
3788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
3795 wxPy_BEGIN_ALLOW_THREADS
;
3796 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
3798 wxPy_END_ALLOW_THREADS
;
3800 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3801 _resultobj
= Py_BuildValue("s",_ptemp
);
3804 _resultobj
= Py_None
;
3809 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
3810 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3812 wxPyPrintout
* _result
;
3813 wxPrintPreview
* _arg0
;
3814 PyObject
* _argo0
= 0;
3815 char *_kwnames
[] = { "self", NULL
};
3819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
3822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
3829 wxPy_BEGIN_ALLOW_THREADS
;
3830 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
3832 wxPy_END_ALLOW_THREADS
;
3834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3835 _resultobj
= Py_BuildValue("s",_ptemp
);
3838 _resultobj
= Py_None
;
3843 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
3844 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3847 wxPrintPreview
* _arg0
;
3848 PyObject
* _argo0
= 0;
3849 char *_kwnames
[] = { "self", NULL
};
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
3855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
3862 wxPy_BEGIN_ALLOW_THREADS
;
3863 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
3865 wxPy_END_ALLOW_THREADS
;
3866 } _resultobj
= Py_BuildValue("i",_result
);
3870 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
3871 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
* _resultobj
;
3874 wxPrintPreview
* _arg0
;
3875 PyObject
* _argo0
= 0;
3876 char *_kwnames
[] = { "self", NULL
};
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
3882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
3889 wxPy_BEGIN_ALLOW_THREADS
;
3890 _result
= (bool )wxPrintPreview_Ok(_arg0
);
3892 wxPy_END_ALLOW_THREADS
;
3893 } _resultobj
= Py_BuildValue("i",_result
);
3897 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
3898 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
* _resultobj
;
3901 wxPrintPreview
* _arg0
;
3903 PyObject
* _argo0
= 0;
3905 char *_kwnames
[] = { "self","prompt", NULL
};
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
3911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
3917 _arg1
= (bool ) tempbool1
;
3919 wxPy_BEGIN_ALLOW_THREADS
;
3920 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
3922 wxPy_END_ALLOW_THREADS
;
3923 } _resultobj
= Py_BuildValue("i",_result
);
3927 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
3928 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
* _resultobj
;
3930 wxPrintPreview
* _arg0
;
3932 PyObject
* _argo0
= 0;
3933 PyObject
* _argo1
= 0;
3934 char *_kwnames
[] = { "self","window", NULL
};
3937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
3940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
3947 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3948 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
3954 wxPy_BEGIN_ALLOW_THREADS
;
3955 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
3957 wxPy_END_ALLOW_THREADS
;
3958 } Py_INCREF(Py_None
);
3959 _resultobj
= Py_None
;
3963 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
3964 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
* _resultobj
;
3966 wxPrintPreview
* _arg0
;
3968 PyObject
* _argo0
= 0;
3969 char *_kwnames
[] = { "self","pageNum", NULL
};
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
3975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
3982 wxPy_BEGIN_ALLOW_THREADS
;
3983 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
3985 wxPy_END_ALLOW_THREADS
;
3986 } Py_INCREF(Py_None
);
3987 _resultobj
= Py_None
;
3991 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
3992 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
* _resultobj
;
3994 wxPrintPreview
* _arg0
;
3996 PyObject
* _argo0
= 0;
3997 PyObject
* _argo1
= 0;
3998 char *_kwnames
[] = { "self","frame", NULL
};
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
4004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
4011 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4012 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
4018 wxPy_BEGIN_ALLOW_THREADS
;
4019 wxPrintPreview_SetFrame(_arg0
,_arg1
);
4021 wxPy_END_ALLOW_THREADS
;
4022 } Py_INCREF(Py_None
);
4023 _resultobj
= Py_None
;
4027 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
4028 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
* _resultobj
;
4030 wxPrintPreview
* _arg0
;
4031 wxPyPrintout
* _arg1
;
4032 PyObject
* _argo0
= 0;
4033 PyObject
* _argo1
= 0;
4034 char *_kwnames
[] = { "self","printout", NULL
};
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
4040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
4047 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4048 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
4054 wxPy_BEGIN_ALLOW_THREADS
;
4055 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
4057 wxPy_END_ALLOW_THREADS
;
4058 } Py_INCREF(Py_None
);
4059 _resultobj
= Py_None
;
4063 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
4064 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
* _resultobj
;
4066 wxPrintPreview
* _arg0
;
4068 PyObject
* _argo0
= 0;
4069 char *_kwnames
[] = { "self","percent", NULL
};
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
4075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
4082 wxPy_BEGIN_ALLOW_THREADS
;
4083 wxPrintPreview_SetZoom(_arg0
,_arg1
);
4085 wxPy_END_ALLOW_THREADS
;
4086 } Py_INCREF(Py_None
);
4087 _resultobj
= Py_None
;
4091 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
4092 wxPreviewFrame
*src
;
4094 src
= (wxPreviewFrame
*) ptr
;
4095 dest
= (wxFrame
*) src
;
4096 return (void *) dest
;
4099 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
4100 wxPreviewFrame
*src
;
4102 src
= (wxPreviewFrame
*) ptr
;
4103 dest
= (wxWindow
*) src
;
4104 return (void *) dest
;
4107 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
4108 wxPreviewFrame
*src
;
4110 src
= (wxPreviewFrame
*) ptr
;
4111 dest
= (wxEvtHandler
*) src
;
4112 return (void *) dest
;
4115 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4116 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
* _resultobj
;
4118 wxPreviewFrame
* _result
;
4119 wxPrintPreview
* _arg0
;
4122 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4123 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4124 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
4125 char * _arg6
= (char *) "frame";
4126 PyObject
* _argo0
= 0;
4127 PyObject
* _argo1
= 0;
4128 PyObject
* _obj2
= 0;
4130 PyObject
* _obj3
= 0;
4132 PyObject
* _obj4
= 0;
4133 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
4147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
4154 if (!PyString_Check(_obj2
)) {
4155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4158 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4163 if (! wxPoint_helper(_obj3
, &_arg3
))
4169 if (! wxSize_helper(_obj4
, &_arg4
))
4173 wxPy_BEGIN_ALLOW_THREADS
;
4174 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4176 wxPy_END_ALLOW_THREADS
;
4178 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
4179 _resultobj
= Py_BuildValue("s",_ptemp
);
4182 _resultobj
= Py_None
;
4191 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
4192 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
* _resultobj
;
4194 wxPreviewFrame
* _arg0
;
4195 PyObject
* _argo0
= 0;
4196 char *_kwnames
[] = { "self", NULL
};
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
4202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
4204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
4209 wxPy_BEGIN_ALLOW_THREADS
;
4210 wxPreviewFrame_Initialize(_arg0
);
4212 wxPy_END_ALLOW_THREADS
;
4213 } Py_INCREF(Py_None
);
4214 _resultobj
= Py_None
;
4218 static PyMethodDef printfwcMethods
[] = {
4219 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4220 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
4221 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4222 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4223 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4224 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4225 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
4226 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
4227 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
4228 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4229 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4230 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4231 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4232 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4233 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4234 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4235 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4236 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
4237 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
4238 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
4239 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
4240 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
4241 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
4242 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4243 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
4244 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4245 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4246 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
4247 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
4248 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
4249 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4250 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4251 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
4252 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
4253 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
4254 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
4255 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4256 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
4257 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
4258 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
4259 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4260 { "wxPrintout__setSelf", (PyCFunction
) _wrap_wxPrintout__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
4261 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4262 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4263 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
4264 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4265 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
4266 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
4267 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
4268 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4269 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4270 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4271 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4272 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4273 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
4274 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4275 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
4276 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4277 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4278 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4279 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4280 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4281 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
4282 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4283 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
4284 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
4285 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4286 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
4287 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4288 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4289 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4290 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4291 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
4292 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
4293 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4294 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4295 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4296 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4297 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4298 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4299 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4300 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
4301 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
4302 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4303 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4304 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4305 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4306 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4307 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4308 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4309 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
4310 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4311 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
4312 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
4313 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4314 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
4315 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
4316 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
4317 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
4318 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4319 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
4320 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4321 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4322 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4323 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
4324 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4325 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4326 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
4327 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
4328 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
4329 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4330 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4331 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4332 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
4333 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4334 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4335 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
4336 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
4337 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
4338 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4339 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4340 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4341 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4342 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4349 * This table is used by the pointer type-checker
4351 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4352 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4353 { "_wxEvent","_class_wxEvent",0},
4354 { "_class_wxActivateEvent","_wxActivateEvent",0},
4355 { "_signed_long","_long",0},
4356 { "_wxMenuEvent","_class_wxMenuEvent",0},
4357 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
4358 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
4359 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
4360 { "_wxPrintQuality","_wxCoord",0},
4361 { "_wxPrintQuality","_int",0},
4362 { "_wxPrintQuality","_signed_int",0},
4363 { "_wxPrintQuality","_unsigned_int",0},
4364 { "_wxPrintQuality","_wxWindowID",0},
4365 { "_wxPrintQuality","_uint",0},
4366 { "_wxPrintQuality","_EBool",0},
4367 { "_wxPrintQuality","_size_t",0},
4368 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
4369 { "_wxFontData","_class_wxFontData",0},
4370 { "_class_wxRegionIterator","_wxRegionIterator",0},
4371 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
4372 { "_class_wxMenuBar","_wxMenuBar",0},
4373 { "_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4374 { "_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4375 { "_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4376 { "_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4377 { "_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4378 { "_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4379 { "_class_wxEvtHandler","_wxEvtHandler",0},
4380 { "_wxPaintEvent","_class_wxPaintEvent",0},
4381 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4382 { "_wxCursor","_class_wxCursor",0},
4383 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
4384 { "_class_wxToolBarBase","_wxToolBarBase",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 { "_wxDataObject","_class_wxDataObject",0},
4393 { "_wxStaticBox","_class_wxStaticBox",0},
4394 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
4395 { "_wxPyDropSource","_class_wxPyDropSource",0},
4396 { "_wxChoice","_class_wxChoice",0},
4397 { "_wxSlider","_class_wxSlider",0},
4398 { "_wxPyPrintout","_class_wxPyPrintout",0},
4399 { "_long","_unsigned_long",0},
4400 { "_long","_signed_long",0},
4401 { "_wxImageList","_class_wxImageList",0},
4402 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
4403 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
4404 { "_wxBitmapButton","_class_wxBitmapButton",0},
4405 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
4406 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4407 { "_class_wxClipboard","_wxClipboard",0},
4408 { "_class_wxGauge","_wxGauge",0},
4409 { "_wxDC","_class_wxDC",0},
4410 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
4411 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
4412 { "_wxProgressDialog","_class_wxProgressDialog",0},
4413 { "_wxPrintPreview","_class_wxPrintPreview",0},
4414 { "_wxSpinEvent","_class_wxSpinEvent",0},
4415 { "_size_t","_wxCoord",0},
4416 { "_size_t","_wxPrintQuality",0},
4417 { "_size_t","_unsigned_int",0},
4418 { "_size_t","_int",0},
4419 { "_size_t","_wxWindowID",0},
4420 { "_size_t","_uint",0},
4421 { "_class_wxRealPoint","_wxRealPoint",0},
4422 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
4423 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
4424 { "_class_wxMenuItem","_wxMenuItem",0},
4425 { "_class_wxPaintEvent","_wxPaintEvent",0},
4426 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
4427 { "_class_wxStatusBar","_wxStatusBar",0},
4428 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
4429 { "_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4430 { "_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4431 { "_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4432 { "_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4433 { "_wxPanel","_class_wxPanel",0},
4434 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
4435 { "_wxCheckBox","_class_wxCheckBox",0},
4436 { "_wxPyEvent","_class_wxPyEvent",0},
4437 { "_wxTextCtrl","_class_wxTextCtrl",0},
4438 { "_class_wxMask","_wxMask",0},
4439 { "_wxTextDataObject","_class_wxTextDataObject",0},
4440 { "_class_wxKeyEvent","_wxKeyEvent",0},
4441 { "_wxColour","_class_wxColour",0},
4442 { "_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4443 { "_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4444 { "_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4445 { "_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4446 { "_class_wxDialog","_wxDialog",0},
4447 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
4448 { "_class_wxPrinter","_wxPrinter",0},
4449 { "_class_wxFileDataObject","_wxFileDataObject",0},
4450 { "_wxIdleEvent","_class_wxIdleEvent",0},
4451 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
4452 { "_wxToolBar","_class_wxToolBar",0},
4453 { "_class_wxDataObject","_wxDataObject",0},
4454 { "_wxStaticLine","_class_wxStaticLine",0},
4455 { "_wxBrush","_class_wxBrush",0},
4456 { "_wxMiniFrame","_class_wxMiniFrame",0},
4457 { "_class_wxPyPrintout","_wxPyPrintout",0},
4458 { "_wxDataFormat","_class_wxDataFormat",0},
4459 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
4460 { "_wxShowEvent","_class_wxShowEvent",0},
4461 { "_uint","_wxCoord",0},
4462 { "_uint","_wxPrintQuality",0},
4463 { "_uint","_size_t",0},
4464 { "_uint","_unsigned_int",0},
4465 { "_uint","_int",0},
4466 { "_uint","_wxWindowID",0},
4467 { "_wxChar","_char",0},
4468 { "_wxPyValidator","_class_wxPyValidator",0},
4469 { "_class_wxEvent","_wxEvent",0},
4470 { "_wxCheckListBox","_class_wxCheckListBox",0},
4471 { "_wxRect","_class_wxRect",0},
4472 { "_wxCommandEvent","_class_wxCommandEvent",0},
4473 { "_wxSizeEvent","_class_wxSizeEvent",0},
4474 { "_wxPoint","_class_wxPoint",0},
4475 { "_class_wxButton","_wxButton",0},
4476 { "_wxRadioBox","_class_wxRadioBox",0},
4477 { "_class_wxFontData","_wxFontData",0},
4478 { "_char","_wxChar",0},
4479 { "_wxBitmap","_class_wxBitmap",0},
4480 { "_wxPrintDialog","_class_wxPrintDialog",0},
4481 { "_wxWindowDC","_class_wxWindowDC",0},
4482 { "_wxTimerEvent","_class_wxTimerEvent",0},
4483 { "_wxScrollBar","_class_wxScrollBar",0},
4484 { "_wxSpinButton","_class_wxSpinButton",0},
4485 { "_wxColourDialog","_class_wxColourDialog",0},
4486 { "_wxPrintData","_class_wxPrintData",0},
4487 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4488 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
4489 { "_wxMessageDialog","_class_wxMessageDialog",0},
4490 { "_class_wxValidator","_wxValidator",0},
4491 { "_class_wxPyEvent","_wxPyEvent",0},
4492 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
4493 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
4494 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
4495 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
4496 { "_class_wxToolBar","_wxToolBar",0},
4497 { "_wxDropTarget","_class_wxDropTarget",0},
4498 { "_class_wxStaticLine","_wxStaticLine",0},
4499 { "_wxScrollEvent","_class_wxScrollEvent",0},
4500 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
4501 { "_EBool","_wxCoord",0},
4502 { "_EBool","_wxPrintQuality",0},
4503 { "_EBool","_signed_int",0},
4504 { "_EBool","_int",0},
4505 { "_EBool","_wxWindowID",0},
4506 { "_class_wxRegion","_wxRegion",0},
4507 { "_class_wxDataFormat","_wxDataFormat",0},
4508 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
4509 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
4510 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
4511 { "_wxStaticText","_class_wxStaticText",0},
4512 { "_wxFont","_class_wxFont",0},
4513 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
4514 { "_wxCloseEvent","_class_wxCloseEvent",0},
4515 { "_unsigned_long","_long",0},
4516 { "_class_wxRect","_wxRect",0},
4517 { "_class_wxDC","_wxDC",0},
4518 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
4519 { "_class_wxProgressDialog","_wxProgressDialog",0},
4520 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
4521 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
4522 { "_class_wxDirDialog","_wxDirDialog",0},
4523 { "_wxFocusEvent","_class_wxFocusEvent",0},
4524 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
4525 { "_class_wxTimerEvent","_wxTimerEvent",0},
4526 { "_class_wxSpinButton","_wxSpinButton",0},
4527 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4528 { "_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4529 { "_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4530 { "_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4531 { "_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4532 { "_class_wxPanel","_wxPanel",0},
4533 { "_class_wxCheckBox","_wxCheckBox",0},
4534 { "_wxComboBox","_class_wxComboBox",0},
4535 { "_wxRadioButton","_class_wxRadioButton",0},
4536 { "_class_wxMessageDialog","_wxMessageDialog",0},
4537 { "_signed_int","_wxCoord",0},
4538 { "_signed_int","_wxPrintQuality",0},
4539 { "_signed_int","_EBool",0},
4540 { "_signed_int","_wxWindowID",0},
4541 { "_signed_int","_int",0},
4542 { "_class_wxTextCtrl","_wxTextCtrl",0},
4543 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4544 { "_class_wxTextDataObject","_wxTextDataObject",0},
4545 { "_wxMenu","_class_wxMenu",0},
4546 { "_class_wxMoveEvent","_wxMoveEvent",0},
4547 { "_wxListBox","_class_wxListBox",0},
4548 { "_wxScreenDC","_class_wxScreenDC",0},
4549 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
4550 { "_WXTYPE","_short",0},
4551 { "_WXTYPE","_signed_short",0},
4552 { "_WXTYPE","_unsigned_short",0},
4553 { "_wxFileDialog","_class_wxFileDialog",0},
4554 { "_class_wxDropTarget","_wxDropTarget",0},
4555 { "_class_wxBrush","_wxBrush",0},
4556 { "_unsigned_short","_WXTYPE",0},
4557 { "_unsigned_short","_short",0},
4558 { "_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4559 { "_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4560 { "_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4561 { "_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4562 { "_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4563 { "_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4564 { "_class_wxWindow","_wxWindow",0},
4565 { "_class_wxStaticText","_wxStaticText",0},
4566 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
4567 { "_class_wxFont","_wxFont",0},
4568 { "_wxClipboard","_class_wxClipboard",0},
4569 { "_class_wxPyValidator","_wxPyValidator",0},
4570 { "_class_wxCloseEvent","_wxCloseEvent",0},
4571 { "_wxBusyInfo","_class_wxBusyInfo",0},
4572 { "_class_wxMenuEvent","_wxMenuEvent",0},
4573 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
4574 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
4575 { "_wxClientDC","_class_wxClientDC",0},
4576 { "_wxMouseEvent","_class_wxMouseEvent",0},
4577 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
4578 { "_class_wxPoint","_wxPoint",0},
4579 { "_wxRealPoint","_class_wxRealPoint",0},
4580 { "_class_wxRadioBox","_wxRadioBox",0},
4581 { "_signed_short","_WXTYPE",0},
4582 { "_signed_short","_short",0},
4583 { "_wxMemoryDC","_class_wxMemoryDC",0},
4584 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
4585 { "_class_wxPrintDialog","_wxPrintDialog",0},
4586 { "_wxPaintDC","_class_wxPaintDC",0},
4587 { "_class_wxWindowDC","_wxWindowDC",0},
4588 { "_class_wxFocusEvent","_wxFocusEvent",0},
4589 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
4590 { "_wxStatusBar","_class_wxStatusBar",0},
4591 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4592 { "_class_wxCursor","_wxCursor",0},
4593 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
4594 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
4595 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
4596 { "_unsigned_char","_byte",0},
4597 { "_class_wxMenu","_wxMenu",0},
4598 { "_wxControl","_class_wxControl",0},
4599 { "_class_wxListBox","_wxListBox",0},
4600 { "_unsigned_int","_wxCoord",0},
4601 { "_unsigned_int","_wxPrintQuality",0},
4602 { "_unsigned_int","_size_t",0},
4603 { "_unsigned_int","_uint",0},
4604 { "_unsigned_int","_wxWindowID",0},
4605 { "_unsigned_int","_int",0},
4606 { "_wxIcon","_class_wxIcon",0},
4607 { "_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4608 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4609 { "_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4610 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4611 { "_wxDialog","_class_wxDialog",0},
4612 { "_class_wxPen","_wxPen",0},
4613 { "_class_wxFileDialog","_wxFileDialog",0},
4614 { "_short","_WXTYPE",0},
4615 { "_short","_unsigned_short",0},
4616 { "_short","_signed_short",0},
4617 { "_class_wxStaticBox","_wxStaticBox",0},
4618 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
4619 { "_class_wxPyDropSource","_wxPyDropSource",0},
4620 { "_class_wxScrollEvent","_wxScrollEvent",0},
4621 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
4622 { "_class_wxChoice","_wxChoice",0},
4623 { "_class_wxSlider","_wxSlider",0},
4624 { "_class_wxImageList","_wxImageList",0},
4625 { "_class_wxBitmapButton","_wxBitmapButton",0},
4626 { "_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4627 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4628 { "_wxFrame","_class_wxFrame",0},
4629 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
4630 { "_wxWindowID","_wxCoord",0},
4631 { "_wxWindowID","_wxPrintQuality",0},
4632 { "_wxWindowID","_size_t",0},
4633 { "_wxWindowID","_EBool",0},
4634 { "_wxWindowID","_uint",0},
4635 { "_wxWindowID","_int",0},
4636 { "_wxWindowID","_signed_int",0},
4637 { "_wxWindowID","_unsigned_int",0},
4638 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
4639 { "_int","_wxCoord",0},
4640 { "_int","_wxPrintQuality",0},
4641 { "_int","_size_t",0},
4642 { "_int","_EBool",0},
4643 { "_int","_uint",0},
4644 { "_int","_wxWindowID",0},
4645 { "_int","_unsigned_int",0},
4646 { "_int","_signed_int",0},
4647 { "_class_wxMouseEvent","_wxMouseEvent",0},
4648 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
4649 { "_class_wxPrintPreview","_wxPrintPreview",0},
4650 { "_class_wxSpinEvent","_wxSpinEvent",0},
4651 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
4652 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
4653 { "_wxButton","_class_wxButton",0},
4654 { "_wxSize","_class_wxSize",0},
4655 { "_wxRegionIterator","_class_wxRegionIterator",0},
4656 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
4657 { "_class_wxPaintDC","_wxPaintDC",0},
4658 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
4659 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
4660 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
4661 { "_class_wxComboBox","_wxComboBox",0},
4662 { "_class_wxRadioButton","_wxRadioButton",0},
4663 { "_wxValidator","_class_wxValidator",0},
4664 { "_wxToolBarBase","_class_wxToolBarBase",0},
4665 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4666 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
4667 { "_class_wxControl","_wxControl",0},
4668 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
4669 { "_class_wxIcon","_wxIcon",0},
4670 { "_class_wxColour","_wxColour",0},
4671 { "_class_wxScreenDC","_wxScreenDC",0},
4672 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
4673 { "_wxPalette","_class_wxPalette",0},
4674 { "_class_wxIdleEvent","_wxIdleEvent",0},
4675 { "_wxCoord","_int",0},
4676 { "_wxCoord","_signed_int",0},
4677 { "_wxCoord","_unsigned_int",0},
4678 { "_wxCoord","_wxWindowID",0},
4679 { "_wxCoord","_uint",0},
4680 { "_wxCoord","_EBool",0},
4681 { "_wxCoord","_size_t",0},
4682 { "_wxCoord","_wxPrintQuality",0},
4683 { "_wxEraseEvent","_class_wxEraseEvent",0},
4684 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
4685 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
4686 { "_class_wxMiniFrame","_wxMiniFrame",0},
4687 { "_wxFontDialog","_class_wxFontDialog",0},
4688 { "_wxRegion","_class_wxRegion",0},
4689 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
4690 { "_class_wxShowEvent","_wxShowEvent",0},
4691 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
4692 { "_wxActivateEvent","_class_wxActivateEvent",0},
4693 { "_wxGauge","_class_wxGauge",0},
4694 { "_class_wxCheckListBox","_wxCheckListBox",0},
4695 { "_class_wxBusyInfo","_wxBusyInfo",0},
4696 { "_class_wxCommandEvent","_wxCommandEvent",0},
4697 { "_class_wxClientDC","_wxClientDC",0},
4698 { "_class_wxSizeEvent","_wxSizeEvent",0},
4699 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
4700 { "_class_wxSize","_wxSize",0},
4701 { "_class_wxBitmap","_wxBitmap",0},
4702 { "_class_wxMemoryDC","_wxMemoryDC",0},
4703 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
4704 { "_wxMenuBar","_class_wxMenuBar",0},
4705 { "_wxDirDialog","_class_wxDirDialog",0},
4706 { "_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4707 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4708 { "_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4709 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4710 { "_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4711 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4712 { "_wxEvtHandler","_class_wxEvtHandler",0},
4713 { "_wxMenuItem","_class_wxMenuItem",0},
4714 { "_class_wxScrollBar","_wxScrollBar",0},
4715 { "_class_wxColourDialog","_wxColourDialog",0},
4716 { "_class_wxPrintData","_wxPrintData",0},
4717 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
4718 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
4719 { "_wxKeyEvent","_class_wxKeyEvent",0},
4720 { "_wxMoveEvent","_class_wxMoveEvent",0},
4721 { "_wxColourData","_class_wxColourData",0},
4722 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
4723 { "_class_wxPalette","_wxPalette",0},
4724 { "_wxFileDataObject","_class_wxFileDataObject",0},
4725 { "_class_wxEraseEvent","_wxEraseEvent",0},
4726 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
4727 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
4728 { "_class_wxFontDialog","_wxFontDialog",0},
4729 { "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4730 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4731 { "_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4732 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4733 { "_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4734 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4735 { "_wxWindow","_class_wxWindow",0},
4736 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
4737 { "_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4738 { "_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4739 { "_class_wxFrame","_wxFrame",0},
4742 static PyObject
*SWIG_globals
;
4746 SWIGEXPORT(void) initprintfwc() {
4748 SWIG_globals
= SWIG_newvarlink();
4749 m
= Py_InitModule("printfwc", printfwcMethods
);
4750 d
= PyModule_GetDict(m
);
4753 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4754 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);