2 * FILE : msw/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initprintfwc
54 #define SWIG_name "printfwc"
58 #include <wx/printdlg.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
108 HELPEREXPORT byte
* byte_LIST_helper(PyObject
* source
);
109 HELPEREXPORT
int* int_LIST_helper(PyObject
* source
);
110 HELPEREXPORT
long* long_LIST_helper(PyObject
* source
);
111 HELPEREXPORT
char** string_LIST_helper(PyObject
* source
);
112 HELPEREXPORT wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 HELPEREXPORT wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 HELPEREXPORT wxString
* wxString_LIST_helper(PyObject
* source
);
115 HELPEREXPORT wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
120 class wxPyPrintout
: public wxPrintout
{
122 wxPyPrintout(const wxString
& title
) : wxPrintout(title
) {}
124 DEC_PYCALLBACK_BOOL_INTINT(OnBeginDocument
);
125 DEC_PYCALLBACK__(OnEndDocument
);
126 DEC_PYCALLBACK__(OnBeginPrinting
);
127 DEC_PYCALLBACK__(OnEndPrinting
);
128 DEC_PYCALLBACK__(OnPreparePrinting
);
129 DEC_PYCALLBACK_BOOL_INT_pure(OnPrintPage
);
130 DEC_PYCALLBACK_BOOL_INT(HasPage
);
133 // Since this one would be tough and ugly to do with the Macros...
134 void GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
137 bool doSave
= wxPyRestoreThread();
138 if (m_myInst
.findCallback("GetPageInfo")) {
139 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
140 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
143 val
= PyTuple_GetItem(result
, 0);
144 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
147 val
= PyTuple_GetItem(result
, 1);
148 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
151 val
= PyTuple_GetItem(result
, 2);
152 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
155 val
= PyTuple_GetItem(result
, 3);
156 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
163 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
169 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
171 wxPySaveThread(doSave
);
174 void base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
175 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
181 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
182 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
183 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
184 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
185 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
186 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
187 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
193 #define new_wxPrintData() (new wxPrintData())
194 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
195 PyObject
* _resultobj
;
196 wxPrintData
* _result
;
197 char *_kwnames
[] = { NULL
};
201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
204 wxPy_BEGIN_ALLOW_THREADS
;
205 _result
= (wxPrintData
*)new_wxPrintData();
207 wxPy_END_ALLOW_THREADS
;
209 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
210 _resultobj
= Py_BuildValue("s",_ptemp
);
213 _resultobj
= Py_None
;
218 #define delete_wxPrintData(_swigobj) (delete _swigobj)
219 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
220 PyObject
* _resultobj
;
222 PyObject
* _argo0
= 0;
223 char *_kwnames
[] = { "self", NULL
};
226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
236 wxPy_BEGIN_ALLOW_THREADS
;
237 delete_wxPrintData(_arg0
);
239 wxPy_END_ALLOW_THREADS
;
240 } Py_INCREF(Py_None
);
241 _resultobj
= Py_None
;
245 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
246 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
247 PyObject
* _resultobj
;
250 PyObject
* _argo0
= 0;
251 char *_kwnames
[] = { "self", NULL
};
254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
264 wxPy_BEGIN_ALLOW_THREADS
;
265 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
267 wxPy_END_ALLOW_THREADS
;
268 } _resultobj
= Py_BuildValue("i",_result
);
272 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
273 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
274 PyObject
* _resultobj
;
277 PyObject
* _argo0
= 0;
278 char *_kwnames
[] = { "self", NULL
};
281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
291 wxPy_BEGIN_ALLOW_THREADS
;
292 _result
= (bool )wxPrintData_GetCollate(_arg0
);
294 wxPy_END_ALLOW_THREADS
;
295 } _resultobj
= Py_BuildValue("i",_result
);
299 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
300 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
301 PyObject
* _resultobj
;
304 PyObject
* _argo0
= 0;
305 char *_kwnames
[] = { "self", NULL
};
308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
318 wxPy_BEGIN_ALLOW_THREADS
;
319 _result
= (int )wxPrintData_GetOrientation(_arg0
);
321 wxPy_END_ALLOW_THREADS
;
322 } _resultobj
= Py_BuildValue("i",_result
);
326 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
327 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
328 PyObject
* _resultobj
;
331 PyObject
* _argo0
= 0;
332 char *_kwnames
[] = { "self", NULL
};
335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
345 wxPy_BEGIN_ALLOW_THREADS
;
346 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
347 _result
= (wxString
*) &_result_ref
;
349 wxPy_END_ALLOW_THREADS
;
351 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
356 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
357 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
358 PyObject
* _resultobj
;
361 PyObject
* _argo0
= 0;
362 char *_kwnames
[] = { "self", NULL
};
365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
375 wxPy_BEGIN_ALLOW_THREADS
;
376 _result
= (bool )wxPrintData_GetColour(_arg0
);
378 wxPy_END_ALLOW_THREADS
;
379 } _resultobj
= Py_BuildValue("i",_result
);
383 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
384 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
385 PyObject
* _resultobj
;
386 wxDuplexMode _result
;
388 PyObject
* _argo0
= 0;
389 char *_kwnames
[] = { "self", NULL
};
392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
402 wxPy_BEGIN_ALLOW_THREADS
;
403 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
405 wxPy_END_ALLOW_THREADS
;
406 } _resultobj
= Py_BuildValue("i",_result
);
410 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
411 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
412 PyObject
* _resultobj
;
415 PyObject
* _argo0
= 0;
416 char *_kwnames
[] = { "self", NULL
};
419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
429 wxPy_BEGIN_ALLOW_THREADS
;
430 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
432 wxPy_END_ALLOW_THREADS
;
433 } _resultobj
= Py_BuildValue("i",_result
);
437 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
438 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
439 PyObject
* _resultobj
;
442 PyObject
* _argo0
= 0;
443 char *_kwnames
[] = { "self", NULL
};
447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
457 wxPy_BEGIN_ALLOW_THREADS
;
458 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
459 _result
= (wxSize
*) &_result_ref
;
461 wxPy_END_ALLOW_THREADS
;
463 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
464 _resultobj
= Py_BuildValue("s",_ptemp
);
467 _resultobj
= Py_None
;
472 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
473 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
474 PyObject
* _resultobj
;
475 wxPrintQuality _result
;
477 PyObject
* _argo0
= 0;
478 char *_kwnames
[] = { "self", NULL
};
481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
491 wxPy_BEGIN_ALLOW_THREADS
;
492 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
494 wxPy_END_ALLOW_THREADS
;
495 } _resultobj
= Py_BuildValue("i",_result
);
499 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
500 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
501 PyObject
* _resultobj
;
504 PyObject
* _argo0
= 0;
505 char *_kwnames
[] = { "self","v", NULL
};
508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
518 wxPy_BEGIN_ALLOW_THREADS
;
519 wxPrintData_SetNoCopies(_arg0
,_arg1
);
521 wxPy_END_ALLOW_THREADS
;
522 } Py_INCREF(Py_None
);
523 _resultobj
= Py_None
;
527 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
528 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
529 PyObject
* _resultobj
;
532 PyObject
* _argo0
= 0;
534 char *_kwnames
[] = { "self","flag", NULL
};
537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
546 _arg1
= (bool ) tempbool1
;
548 wxPy_BEGIN_ALLOW_THREADS
;
549 wxPrintData_SetCollate(_arg0
,_arg1
);
551 wxPy_END_ALLOW_THREADS
;
552 } Py_INCREF(Py_None
);
553 _resultobj
= Py_None
;
557 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
558 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
559 PyObject
* _resultobj
;
562 PyObject
* _argo0
= 0;
563 char *_kwnames
[] = { "self","orient", NULL
};
566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
576 wxPy_BEGIN_ALLOW_THREADS
;
577 wxPrintData_SetOrientation(_arg0
,_arg1
);
579 wxPy_END_ALLOW_THREADS
;
580 } Py_INCREF(Py_None
);
581 _resultobj
= Py_None
;
585 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
586 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
587 PyObject
* _resultobj
;
590 PyObject
* _argo0
= 0;
591 PyObject
* _obj1
= 0;
592 char *_kwnames
[] = { "self","name", NULL
};
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
605 if (!PyString_Check(_obj1
)) {
606 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
609 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
612 wxPy_BEGIN_ALLOW_THREADS
;
613 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
615 wxPy_END_ALLOW_THREADS
;
616 } Py_INCREF(Py_None
);
617 _resultobj
= Py_None
;
625 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
626 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
627 PyObject
* _resultobj
;
630 PyObject
* _argo0
= 0;
632 char *_kwnames
[] = { "self","colour", NULL
};
635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
644 _arg1
= (bool ) tempbool1
;
646 wxPy_BEGIN_ALLOW_THREADS
;
647 wxPrintData_SetColour(_arg0
,_arg1
);
649 wxPy_END_ALLOW_THREADS
;
650 } Py_INCREF(Py_None
);
651 _resultobj
= Py_None
;
655 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
656 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 PyObject
* _resultobj
;
660 PyObject
* _argo0
= 0;
661 char *_kwnames
[] = { "self","duplex", NULL
};
664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
674 wxPy_BEGIN_ALLOW_THREADS
;
675 wxPrintData_SetDuplex(_arg0
,_arg1
);
677 wxPy_END_ALLOW_THREADS
;
678 } Py_INCREF(Py_None
);
679 _resultobj
= Py_None
;
683 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
684 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
685 PyObject
* _resultobj
;
688 PyObject
* _argo0
= 0;
689 char *_kwnames
[] = { "self","sizeId", NULL
};
692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
702 wxPy_BEGIN_ALLOW_THREADS
;
703 wxPrintData_SetPaperId(_arg0
,_arg1
);
705 wxPy_END_ALLOW_THREADS
;
706 } Py_INCREF(Py_None
);
707 _resultobj
= Py_None
;
711 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
712 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
716 PyObject
* _argo0
= 0;
717 PyObject
* _argo1
= 0;
718 char *_kwnames
[] = { "self","sz", NULL
};
721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_argo1
))
724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
731 if (_argo1
== Py_None
) { _arg1
= NULL
; }
732 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPaperSize. Expected _wxSize_p.");
738 wxPy_BEGIN_ALLOW_THREADS
;
739 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
741 wxPy_END_ALLOW_THREADS
;
742 } Py_INCREF(Py_None
);
743 _resultobj
= Py_None
;
747 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
748 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
749 PyObject
* _resultobj
;
751 wxPrintQuality _arg1
;
752 PyObject
* _argo0
= 0;
753 char *_kwnames
[] = { "self","quality", NULL
};
756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
766 wxPy_BEGIN_ALLOW_THREADS
;
767 wxPrintData_SetQuality(_arg0
,_arg1
);
769 wxPy_END_ALLOW_THREADS
;
770 } Py_INCREF(Py_None
);
771 _resultobj
= Py_None
;
775 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
776 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
778 wxPageSetupDialogData
* _result
;
779 char *_kwnames
[] = { NULL
};
783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
786 wxPy_BEGIN_ALLOW_THREADS
;
787 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
789 wxPy_END_ALLOW_THREADS
;
791 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
792 _resultobj
= Py_BuildValue("s",_ptemp
);
795 _resultobj
= Py_None
;
800 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
801 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
802 PyObject
* _resultobj
;
803 wxPageSetupDialogData
* _arg0
;
804 PyObject
* _argo0
= 0;
805 char *_kwnames
[] = { "self", NULL
};
808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
818 wxPy_BEGIN_ALLOW_THREADS
;
819 delete_wxPageSetupDialogData(_arg0
);
821 wxPy_END_ALLOW_THREADS
;
822 } Py_INCREF(Py_None
);
823 _resultobj
= Py_None
;
827 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
828 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
829 PyObject
* _resultobj
;
830 wxPageSetupDialogData
* _arg0
;
832 PyObject
* _argo0
= 0;
834 char *_kwnames
[] = { "self","flag", NULL
};
837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
846 _arg1
= (bool ) tempbool1
;
848 wxPy_BEGIN_ALLOW_THREADS
;
849 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
851 wxPy_END_ALLOW_THREADS
;
852 } Py_INCREF(Py_None
);
853 _resultobj
= Py_None
;
857 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
858 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
859 PyObject
* _resultobj
;
860 wxPageSetupDialogData
* _arg0
;
862 PyObject
* _argo0
= 0;
864 char *_kwnames
[] = { "self","flag", NULL
};
867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
876 _arg1
= (bool ) tempbool1
;
878 wxPy_BEGIN_ALLOW_THREADS
;
879 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
881 wxPy_END_ALLOW_THREADS
;
882 } Py_INCREF(Py_None
);
883 _resultobj
= Py_None
;
887 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
888 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
889 PyObject
* _resultobj
;
890 wxPageSetupDialogData
* _arg0
;
892 PyObject
* _argo0
= 0;
894 char *_kwnames
[] = { "self","flag", NULL
};
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
906 _arg1
= (bool ) tempbool1
;
908 wxPy_BEGIN_ALLOW_THREADS
;
909 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
911 wxPy_END_ALLOW_THREADS
;
912 } Py_INCREF(Py_None
);
913 _resultobj
= Py_None
;
917 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
918 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
919 PyObject
* _resultobj
;
920 wxPageSetupDialogData
* _arg0
;
922 PyObject
* _argo0
= 0;
924 char *_kwnames
[] = { "self","flag", NULL
};
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
936 _arg1
= (bool ) tempbool1
;
938 wxPy_BEGIN_ALLOW_THREADS
;
939 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
941 wxPy_END_ALLOW_THREADS
;
942 } Py_INCREF(Py_None
);
943 _resultobj
= Py_None
;
947 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
948 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 PyObject
* _resultobj
;
950 wxPageSetupDialogData
* _arg0
;
952 PyObject
* _argo0
= 0;
954 char *_kwnames
[] = { "self","flag", NULL
};
957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
966 _arg1
= (bool ) tempbool1
;
968 wxPy_BEGIN_ALLOW_THREADS
;
969 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
971 wxPy_END_ALLOW_THREADS
;
972 } Py_INCREF(Py_None
);
973 _resultobj
= Py_None
;
977 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
978 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 PyObject
* _resultobj
;
981 wxPageSetupDialogData
* _arg0
;
982 PyObject
* _argo0
= 0;
983 char *_kwnames
[] = { "self", NULL
};
986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
996 wxPy_BEGIN_ALLOW_THREADS
;
997 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
999 wxPy_END_ALLOW_THREADS
;
1000 } _resultobj
= Py_BuildValue("i",_result
);
1004 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
1005 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1008 wxPageSetupDialogData
* _arg0
;
1009 PyObject
* _argo0
= 0;
1010 char *_kwnames
[] = { "self", NULL
};
1013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
1016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1023 wxPy_BEGIN_ALLOW_THREADS
;
1024 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1026 wxPy_END_ALLOW_THREADS
;
1027 } _resultobj
= Py_BuildValue("i",_result
);
1031 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
1032 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1035 wxPageSetupDialogData
* _arg0
;
1036 PyObject
* _argo0
= 0;
1037 char *_kwnames
[] = { "self", NULL
};
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
1043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1050 wxPy_BEGIN_ALLOW_THREADS
;
1051 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1053 wxPy_END_ALLOW_THREADS
;
1054 } _resultobj
= Py_BuildValue("i",_result
);
1058 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
1059 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1062 wxPageSetupDialogData
* _arg0
;
1063 PyObject
* _argo0
= 0;
1064 char *_kwnames
[] = { "self", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
1070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
1077 wxPy_BEGIN_ALLOW_THREADS
;
1078 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
1080 wxPy_END_ALLOW_THREADS
;
1081 } _resultobj
= Py_BuildValue("i",_result
);
1085 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
1086 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1089 wxPageSetupDialogData
* _arg0
;
1090 PyObject
* _argo0
= 0;
1091 char *_kwnames
[] = { "self", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
1104 wxPy_BEGIN_ALLOW_THREADS
;
1105 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
1107 wxPy_END_ALLOW_THREADS
;
1108 } _resultobj
= Py_BuildValue("i",_result
);
1112 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
1113 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1114 PyObject
* _resultobj
;
1116 wxPageSetupDialogData
* _arg0
;
1117 PyObject
* _argo0
= 0;
1118 char *_kwnames
[] = { "self", NULL
};
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
1124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
1131 wxPy_BEGIN_ALLOW_THREADS
;
1132 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
1134 wxPy_END_ALLOW_THREADS
;
1135 } _resultobj
= Py_BuildValue("i",_result
);
1139 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
1140 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
* _resultobj
;
1143 wxPageSetupDialogData
* _arg0
;
1144 PyObject
* _argo0
= 0;
1145 char *_kwnames
[] = { "self", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1158 wxPy_BEGIN_ALLOW_THREADS
;
1159 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
1161 wxPy_END_ALLOW_THREADS
;
1162 } _resultobj
= Py_BuildValue("i",_result
);
1166 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
1167 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1170 wxPageSetupDialogData
* _arg0
;
1171 PyObject
* _argo0
= 0;
1172 char *_kwnames
[] = { "self", NULL
};
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
1179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1186 wxPy_BEGIN_ALLOW_THREADS
;
1187 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
1189 wxPy_END_ALLOW_THREADS
;
1190 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1191 _resultobj
= Py_BuildValue("s",_ptemp
);
1195 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
1196 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1197 PyObject
* _resultobj
;
1199 wxPageSetupDialogData
* _arg0
;
1200 PyObject
* _argo0
= 0;
1201 char *_kwnames
[] = { "self", NULL
};
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
1208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1215 wxPy_BEGIN_ALLOW_THREADS
;
1216 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
1218 wxPy_END_ALLOW_THREADS
;
1219 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1220 _resultobj
= Py_BuildValue("s",_ptemp
);
1224 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
1225 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1226 PyObject
* _resultobj
;
1228 wxPageSetupDialogData
* _arg0
;
1229 PyObject
* _argo0
= 0;
1230 char *_kwnames
[] = { "self", NULL
};
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
1237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1244 wxPy_BEGIN_ALLOW_THREADS
;
1245 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
1247 wxPy_END_ALLOW_THREADS
;
1248 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1249 _resultobj
= Py_BuildValue("s",_ptemp
);
1253 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
1254 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1257 wxPageSetupDialogData
* _arg0
;
1258 PyObject
* _argo0
= 0;
1259 char *_kwnames
[] = { "self", NULL
};
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
1266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1273 wxPy_BEGIN_ALLOW_THREADS
;
1274 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
1276 wxPy_END_ALLOW_THREADS
;
1277 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1278 _resultobj
= Py_BuildValue("s",_ptemp
);
1282 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
1283 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1284 PyObject
* _resultobj
;
1285 wxPaperSize _result
;
1286 wxPageSetupDialogData
* _arg0
;
1287 PyObject
* _argo0
= 0;
1288 char *_kwnames
[] = { "self", NULL
};
1291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
1294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
1301 wxPy_BEGIN_ALLOW_THREADS
;
1302 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
1304 wxPy_END_ALLOW_THREADS
;
1305 } _resultobj
= Py_BuildValue("i",_result
);
1309 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
1310 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
* _resultobj
;
1313 wxPageSetupDialogData
* _arg0
;
1314 PyObject
* _argo0
= 0;
1315 char *_kwnames
[] = { "self", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
1329 wxPy_BEGIN_ALLOW_THREADS
;
1330 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
1332 wxPy_END_ALLOW_THREADS
;
1333 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1334 _resultobj
= Py_BuildValue("s",_ptemp
);
1338 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
1339 return new wxPrintData(self
->GetPrintData()); // force a copy
1341 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1342 PyObject
* _resultobj
;
1343 wxPrintData
* _result
;
1344 wxPageSetupDialogData
* _arg0
;
1345 PyObject
* _argo0
= 0;
1346 char *_kwnames
[] = { "self", NULL
};
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
1353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
1360 wxPy_BEGIN_ALLOW_THREADS
;
1361 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
1363 wxPy_END_ALLOW_THREADS
;
1365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1366 _resultobj
= Py_BuildValue("s",_ptemp
);
1369 _resultobj
= Py_None
;
1374 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
1375 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
* _resultobj
;
1377 wxPageSetupDialogData
* _arg0
;
1379 PyObject
* _argo0
= 0;
1381 char *_kwnames
[] = { "self","flag", NULL
};
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
1387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1393 _arg1
= (bool ) tempbool1
;
1395 wxPy_BEGIN_ALLOW_THREADS
;
1396 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
1398 wxPy_END_ALLOW_THREADS
;
1399 } Py_INCREF(Py_None
);
1400 _resultobj
= Py_None
;
1404 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
1405 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1406 PyObject
* _resultobj
;
1407 wxPageSetupDialogData
* _arg0
;
1409 PyObject
* _argo0
= 0;
1411 char *_kwnames
[] = { "self","flag", NULL
};
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
1417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1423 _arg1
= (bool ) tempbool1
;
1425 wxPy_BEGIN_ALLOW_THREADS
;
1426 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
1428 wxPy_END_ALLOW_THREADS
;
1429 } Py_INCREF(Py_None
);
1430 _resultobj
= Py_None
;
1434 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
1435 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1437 wxPageSetupDialogData
* _arg0
;
1439 PyObject
* _argo0
= 0;
1440 PyObject
* _argo1
= 0;
1441 char *_kwnames
[] = { "self","pt", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_argo1
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1454 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1455 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPoint_p.");
1461 wxPy_BEGIN_ALLOW_THREADS
;
1462 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
1464 wxPy_END_ALLOW_THREADS
;
1465 } Py_INCREF(Py_None
);
1466 _resultobj
= Py_None
;
1470 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
1471 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1472 PyObject
* _resultobj
;
1473 wxPageSetupDialogData
* _arg0
;
1475 PyObject
* _argo0
= 0;
1476 PyObject
* _argo1
= 0;
1477 char *_kwnames
[] = { "self","pt", NULL
};
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_argo1
))
1483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPoint_p.");
1497 wxPy_BEGIN_ALLOW_THREADS
;
1498 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
1500 wxPy_END_ALLOW_THREADS
;
1501 } Py_INCREF(Py_None
);
1502 _resultobj
= Py_None
;
1506 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
1507 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1509 wxPageSetupDialogData
* _arg0
;
1511 PyObject
* _argo0
= 0;
1512 PyObject
* _argo1
= 0;
1513 char *_kwnames
[] = { "self","pt", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_argo1
))
1519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPoint_p.");
1533 wxPy_BEGIN_ALLOW_THREADS
;
1534 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
1536 wxPy_END_ALLOW_THREADS
;
1537 } Py_INCREF(Py_None
);
1538 _resultobj
= Py_None
;
1542 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
1543 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1545 wxPageSetupDialogData
* _arg0
;
1547 PyObject
* _argo0
= 0;
1548 PyObject
* _argo1
= 0;
1549 char *_kwnames
[] = { "self","pt", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_argo1
))
1555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1562 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1563 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPoint_p.");
1569 wxPy_BEGIN_ALLOW_THREADS
;
1570 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
1572 wxPy_END_ALLOW_THREADS
;
1573 } Py_INCREF(Py_None
);
1574 _resultobj
= Py_None
;
1578 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
1579 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
* _resultobj
;
1581 wxPageSetupDialogData
* _arg0
;
1582 wxPaperSize
* _arg1
;
1583 PyObject
* _argo0
= 0;
1584 PyObject
* _argo1
= 0;
1585 char *_kwnames
[] = { "self","id", NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_argo1
))
1591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
1598 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1599 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPaperSize_p")) {
1600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPaperId. Expected _wxPaperSize_p.");
1605 wxPy_BEGIN_ALLOW_THREADS
;
1606 wxPageSetupDialogData_SetPaperId(_arg0
,*_arg1
);
1608 wxPy_END_ALLOW_THREADS
;
1609 } Py_INCREF(Py_None
);
1610 _resultobj
= Py_None
;
1614 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
1615 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1617 wxPageSetupDialogData
* _arg0
;
1619 PyObject
* _argo0
= 0;
1620 PyObject
* _argo1
= 0;
1621 char *_kwnames
[] = { "self","size", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_argo1
))
1627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
1634 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPaperSize. Expected _wxSize_p.");
1641 wxPy_BEGIN_ALLOW_THREADS
;
1642 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
1644 wxPy_END_ALLOW_THREADS
;
1645 } Py_INCREF(Py_None
);
1646 _resultobj
= Py_None
;
1650 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1651 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1653 wxPageSetupDialogData
* _arg0
;
1654 wxPrintData
* _arg1
;
1655 PyObject
* _argo0
= 0;
1656 PyObject
* _argo1
= 0;
1657 char *_kwnames
[] = { "self","printData", NULL
};
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
1670 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1671 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
1677 wxPy_BEGIN_ALLOW_THREADS
;
1678 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
1680 wxPy_END_ALLOW_THREADS
;
1681 } Py_INCREF(Py_None
);
1682 _resultobj
= Py_None
;
1686 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
1687 wxPageSetupDialog
*src
;
1689 src
= (wxPageSetupDialog
*) ptr
;
1690 dest
= (wxDialog
*) src
;
1691 return (void *) dest
;
1694 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
1695 wxPageSetupDialog
*src
;
1697 src
= (wxPageSetupDialog
*) ptr
;
1698 dest
= (wxPanel
*) src
;
1699 return (void *) dest
;
1702 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
1703 wxPageSetupDialog
*src
;
1705 src
= (wxPageSetupDialog
*) ptr
;
1706 dest
= (wxWindow
*) src
;
1707 return (void *) dest
;
1710 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
1711 wxPageSetupDialog
*src
;
1713 src
= (wxPageSetupDialog
*) ptr
;
1714 dest
= (wxEvtHandler
*) src
;
1715 return (void *) dest
;
1718 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
1719 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1720 PyObject
* _resultobj
;
1721 wxPageSetupDialog
* _result
;
1723 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
1724 PyObject
* _argo0
= 0;
1725 PyObject
* _argo1
= 0;
1726 char *_kwnames
[] = { "parent","data", NULL
};
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
1733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
1740 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
1747 wxPy_BEGIN_ALLOW_THREADS
;
1748 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
1750 wxPy_END_ALLOW_THREADS
;
1752 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
1753 _resultobj
= Py_BuildValue("s",_ptemp
);
1756 _resultobj
= Py_None
;
1761 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
1762 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
* _resultobj
;
1764 wxPageSetupDialogData
* _result
;
1765 wxPageSetupDialog
* _arg0
;
1766 PyObject
* _argo0
= 0;
1767 char *_kwnames
[] = { "self", NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
1774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
1781 wxPy_BEGIN_ALLOW_THREADS
;
1782 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
1783 _result
= (wxPageSetupDialogData
*) &_result_ref
;
1785 wxPy_END_ALLOW_THREADS
;
1787 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1788 _resultobj
= Py_BuildValue("s",_ptemp
);
1791 _resultobj
= Py_None
;
1796 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1797 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1800 wxPageSetupDialog
* _arg0
;
1801 PyObject
* _argo0
= 0;
1802 char *_kwnames
[] = { "self", NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
1808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
1815 wxPy_BEGIN_ALLOW_THREADS
;
1816 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
1818 wxPy_END_ALLOW_THREADS
;
1819 } _resultobj
= Py_BuildValue("i",_result
);
1823 #define new_wxPrintDialogData() (new wxPrintDialogData())
1824 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
* _resultobj
;
1826 wxPrintDialogData
* _result
;
1827 char *_kwnames
[] = { NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
1834 wxPy_BEGIN_ALLOW_THREADS
;
1835 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
1837 wxPy_END_ALLOW_THREADS
;
1839 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
1840 _resultobj
= Py_BuildValue("s",_ptemp
);
1843 _resultobj
= Py_None
;
1848 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
1849 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
* _resultobj
;
1851 wxPrintDialogData
* _arg0
;
1852 PyObject
* _argo0
= 0;
1853 char *_kwnames
[] = { "self", NULL
};
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
1859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
1866 wxPy_BEGIN_ALLOW_THREADS
;
1867 delete_wxPrintDialogData(_arg0
);
1869 wxPy_END_ALLOW_THREADS
;
1870 } Py_INCREF(Py_None
);
1871 _resultobj
= Py_None
;
1875 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1876 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1878 wxPrintDialogData
* _arg0
;
1880 PyObject
* _argo0
= 0;
1882 char *_kwnames
[] = { "self","flag", NULL
};
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
1894 _arg1
= (bool ) tempbool1
;
1896 wxPy_BEGIN_ALLOW_THREADS
;
1897 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
1899 wxPy_END_ALLOW_THREADS
;
1900 } Py_INCREF(Py_None
);
1901 _resultobj
= Py_None
;
1905 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
1906 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1908 wxPrintDialogData
* _arg0
;
1910 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self","flag", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
1924 _arg1
= (bool ) tempbool1
;
1926 wxPy_BEGIN_ALLOW_THREADS
;
1927 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
1929 wxPy_END_ALLOW_THREADS
;
1930 } Py_INCREF(Py_None
);
1931 _resultobj
= Py_None
;
1935 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
1936 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1938 wxPrintDialogData
* _arg0
;
1940 PyObject
* _argo0
= 0;
1942 char *_kwnames
[] = { "self","flag", NULL
};
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
1948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
1954 _arg1
= (bool ) tempbool1
;
1956 wxPy_BEGIN_ALLOW_THREADS
;
1957 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
1959 wxPy_END_ALLOW_THREADS
;
1960 } Py_INCREF(Py_None
);
1961 _resultobj
= Py_None
;
1965 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
1966 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
* _resultobj
;
1968 wxPrintDialogData
* _arg0
;
1970 PyObject
* _argo0
= 0;
1972 char *_kwnames
[] = { "self","flag", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
1978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
1984 _arg1
= (bool ) tempbool1
;
1986 wxPy_BEGIN_ALLOW_THREADS
;
1987 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
1989 wxPy_END_ALLOW_THREADS
;
1990 } Py_INCREF(Py_None
);
1991 _resultobj
= Py_None
;
1995 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
1996 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
* _resultobj
;
1999 wxPrintDialogData
* _arg0
;
2000 PyObject
* _argo0
= 0;
2001 char *_kwnames
[] = { "self", NULL
};
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
2007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
2014 wxPy_BEGIN_ALLOW_THREADS
;
2015 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
2017 wxPy_END_ALLOW_THREADS
;
2018 } _resultobj
= Py_BuildValue("i",_result
);
2022 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
2023 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
* _resultobj
;
2026 wxPrintDialogData
* _arg0
;
2027 PyObject
* _argo0
= 0;
2028 char *_kwnames
[] = { "self", NULL
};
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
2034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
2041 wxPy_BEGIN_ALLOW_THREADS
;
2042 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
2044 wxPy_END_ALLOW_THREADS
;
2045 } _resultobj
= Py_BuildValue("i",_result
);
2049 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
2050 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
* _resultobj
;
2053 wxPrintDialogData
* _arg0
;
2054 PyObject
* _argo0
= 0;
2055 char *_kwnames
[] = { "self", NULL
};
2058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
2061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
2068 wxPy_BEGIN_ALLOW_THREADS
;
2069 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
2071 wxPy_END_ALLOW_THREADS
;
2072 } _resultobj
= Py_BuildValue("i",_result
);
2076 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
2077 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2078 PyObject
* _resultobj
;
2080 wxPrintDialogData
* _arg0
;
2081 PyObject
* _argo0
= 0;
2082 char *_kwnames
[] = { "self", NULL
};
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
2088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
2095 wxPy_BEGIN_ALLOW_THREADS
;
2096 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
2098 wxPy_END_ALLOW_THREADS
;
2099 } _resultobj
= Py_BuildValue("i",_result
);
2103 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
2104 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
* _resultobj
;
2107 wxPrintDialogData
* _arg0
;
2108 PyObject
* _argo0
= 0;
2109 char *_kwnames
[] = { "self", NULL
};
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
2115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
2122 wxPy_BEGIN_ALLOW_THREADS
;
2123 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
2125 wxPy_END_ALLOW_THREADS
;
2126 } _resultobj
= Py_BuildValue("i",_result
);
2130 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
2131 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
* _resultobj
;
2134 wxPrintDialogData
* _arg0
;
2135 PyObject
* _argo0
= 0;
2136 char *_kwnames
[] = { "self", NULL
};
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
2142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
2149 wxPy_BEGIN_ALLOW_THREADS
;
2150 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
2152 wxPy_END_ALLOW_THREADS
;
2153 } _resultobj
= Py_BuildValue("i",_result
);
2157 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
2158 return new wxPrintData(self
->GetPrintData()); // force a copy
2160 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
* _resultobj
;
2162 wxPrintData
* _result
;
2163 wxPrintDialogData
* _arg0
;
2164 PyObject
* _argo0
= 0;
2165 char *_kwnames
[] = { "self", NULL
};
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
2172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
2179 wxPy_BEGIN_ALLOW_THREADS
;
2180 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
2182 wxPy_END_ALLOW_THREADS
;
2184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2185 _resultobj
= Py_BuildValue("s",_ptemp
);
2188 _resultobj
= Py_None
;
2193 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
2194 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
* _resultobj
;
2197 wxPrintDialogData
* _arg0
;
2198 PyObject
* _argo0
= 0;
2199 char *_kwnames
[] = { "self", NULL
};
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
2205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
2212 wxPy_BEGIN_ALLOW_THREADS
;
2213 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
2215 wxPy_END_ALLOW_THREADS
;
2216 } _resultobj
= Py_BuildValue("i",_result
);
2220 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
2221 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
* _resultobj
;
2224 wxPrintDialogData
* _arg0
;
2225 PyObject
* _argo0
= 0;
2226 char *_kwnames
[] = { "self", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
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_GetToPage. Expected _wxPrintDialogData_p.");
2239 wxPy_BEGIN_ALLOW_THREADS
;
2240 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
2242 wxPy_END_ALLOW_THREADS
;
2243 } _resultobj
= Py_BuildValue("i",_result
);
2247 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
2248 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
* _resultobj
;
2250 wxPrintDialogData
* _arg0
;
2252 PyObject
* _argo0
= 0;
2254 char *_kwnames
[] = { "self","flag", NULL
};
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
2260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
2266 _arg1
= (bool ) tempbool1
;
2268 wxPy_BEGIN_ALLOW_THREADS
;
2269 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
2271 wxPy_END_ALLOW_THREADS
;
2272 } Py_INCREF(Py_None
);
2273 _resultobj
= Py_None
;
2277 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
2278 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(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_SetFromPage",_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_SetFromPage. Expected _wxPrintDialogData_p.");
2296 wxPy_BEGIN_ALLOW_THREADS
;
2297 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
2299 wxPy_END_ALLOW_THREADS
;
2300 } Py_INCREF(Py_None
);
2301 _resultobj
= Py_None
;
2305 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
2306 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(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_SetMaxPage",_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_SetMaxPage. Expected _wxPrintDialogData_p.");
2324 wxPy_BEGIN_ALLOW_THREADS
;
2325 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
2327 wxPy_END_ALLOW_THREADS
;
2328 } Py_INCREF(Py_None
);
2329 _resultobj
= Py_None
;
2333 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
2334 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
* _resultobj
;
2336 wxPrintDialogData
* _arg0
;
2338 PyObject
* _argo0
= 0;
2339 char *_kwnames
[] = { "self","page", NULL
};
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_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_SetMinPage. Expected _wxPrintDialogData_p.");
2352 wxPy_BEGIN_ALLOW_THREADS
;
2353 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
2355 wxPy_END_ALLOW_THREADS
;
2356 } Py_INCREF(Py_None
);
2357 _resultobj
= Py_None
;
2361 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
2362 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2364 wxPrintDialogData
* _arg0
;
2366 PyObject
* _argo0
= 0;
2367 char *_kwnames
[] = { "self","n", NULL
};
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
2373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
2380 wxPy_BEGIN_ALLOW_THREADS
;
2381 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
2383 wxPy_END_ALLOW_THREADS
;
2384 } Py_INCREF(Py_None
);
2385 _resultobj
= Py_None
;
2389 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2390 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
* _resultobj
;
2392 wxPrintDialogData
* _arg0
;
2393 wxPrintData
* _arg1
;
2394 PyObject
* _argo0
= 0;
2395 PyObject
* _argo1
= 0;
2396 char *_kwnames
[] = { "self","printData", NULL
};
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
2409 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2410 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
2416 wxPy_BEGIN_ALLOW_THREADS
;
2417 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
2419 wxPy_END_ALLOW_THREADS
;
2420 } Py_INCREF(Py_None
);
2421 _resultobj
= Py_None
;
2425 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
2426 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
* _resultobj
;
2428 wxPrintDialogData
* _arg0
;
2430 PyObject
* _argo0
= 0;
2432 char *_kwnames
[] = { "self","flag", NULL
};
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
2444 _arg1
= (bool ) tempbool1
;
2446 wxPy_BEGIN_ALLOW_THREADS
;
2447 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
2449 wxPy_END_ALLOW_THREADS
;
2450 } Py_INCREF(Py_None
);
2451 _resultobj
= Py_None
;
2455 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
2456 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
* _resultobj
;
2458 wxPrintDialogData
* _arg0
;
2460 PyObject
* _argo0
= 0;
2462 char *_kwnames
[] = { "self","flag", NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
2468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
2474 _arg1
= (bool ) tempbool1
;
2476 wxPy_BEGIN_ALLOW_THREADS
;
2477 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
2479 wxPy_END_ALLOW_THREADS
;
2480 } Py_INCREF(Py_None
);
2481 _resultobj
= Py_None
;
2485 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
2486 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
* _resultobj
;
2488 wxPrintDialogData
* _arg0
;
2490 PyObject
* _argo0
= 0;
2491 char *_kwnames
[] = { "self","page", NULL
};
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
2497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
2504 wxPy_BEGIN_ALLOW_THREADS
;
2505 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
2507 wxPy_END_ALLOW_THREADS
;
2508 } Py_INCREF(Py_None
);
2509 _resultobj
= Py_None
;
2513 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
2516 src
= (wxPrintDialog
*) ptr
;
2517 dest
= (wxDialog
*) src
;
2518 return (void *) dest
;
2521 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
2524 src
= (wxPrintDialog
*) ptr
;
2525 dest
= (wxPanel
*) src
;
2526 return (void *) dest
;
2529 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
2532 src
= (wxPrintDialog
*) ptr
;
2533 dest
= (wxWindow
*) src
;
2534 return (void *) dest
;
2537 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
2540 src
= (wxPrintDialog
*) ptr
;
2541 dest
= (wxEvtHandler
*) src
;
2542 return (void *) dest
;
2545 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
2546 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2548 wxPrintDialog
* _result
;
2550 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
2551 PyObject
* _argo0
= 0;
2552 PyObject
* _argo1
= 0;
2553 char *_kwnames
[] = { "parent","data", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
2560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
2567 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2568 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
2569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
2574 wxPy_BEGIN_ALLOW_THREADS
;
2575 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
2577 wxPy_END_ALLOW_THREADS
;
2579 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
2580 _resultobj
= Py_BuildValue("s",_ptemp
);
2583 _resultobj
= Py_None
;
2588 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
2589 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2591 wxPrintDialogData
* _result
;
2592 wxPrintDialog
* _arg0
;
2593 PyObject
* _argo0
= 0;
2594 char *_kwnames
[] = { "self", NULL
};
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
2601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
2608 wxPy_BEGIN_ALLOW_THREADS
;
2609 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
2610 _result
= (wxPrintDialogData
*) &_result_ref
;
2612 wxPy_END_ALLOW_THREADS
;
2614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2615 _resultobj
= Py_BuildValue("s",_ptemp
);
2618 _resultobj
= Py_None
;
2623 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
2624 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
* _resultobj
;
2627 wxPrintDialog
* _arg0
;
2628 PyObject
* _argo0
= 0;
2629 char *_kwnames
[] = { "self", NULL
};
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
2636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
2643 wxPy_BEGIN_ALLOW_THREADS
;
2644 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
2646 wxPy_END_ALLOW_THREADS
;
2648 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2649 _resultobj
= Py_BuildValue("s",_ptemp
);
2652 _resultobj
= Py_None
;
2657 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2658 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
* _resultobj
;
2661 wxPrintDialog
* _arg0
;
2662 PyObject
* _argo0
= 0;
2663 char *_kwnames
[] = { "self", NULL
};
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
2669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
2676 wxPy_BEGIN_ALLOW_THREADS
;
2677 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
2679 wxPy_END_ALLOW_THREADS
;
2680 } _resultobj
= Py_BuildValue("i",_result
);
2684 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
2685 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
* _resultobj
;
2687 wxPyPrintout
* _result
;
2688 char * _arg0
= (char *) "Printout";
2689 char *_kwnames
[] = { "title", NULL
};
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
2696 wxPy_BEGIN_ALLOW_THREADS
;
2697 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
2699 wxPy_END_ALLOW_THREADS
;
2701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
2702 _resultobj
= Py_BuildValue("s",_ptemp
);
2705 _resultobj
= Py_None
;
2710 #define wxPrintout__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2711 static PyObject
*_wrap_wxPrintout__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
* _resultobj
;
2713 wxPyPrintout
* _arg0
;
2715 PyObject
* _argo0
= 0;
2716 PyObject
* _obj1
= 0;
2717 char *_kwnames
[] = { "self","self", NULL
};
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintout__setSelf",_kwnames
,&_argo0
,&_obj1
))
2723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
2733 wxPy_BEGIN_ALLOW_THREADS
;
2734 wxPrintout__setSelf(_arg0
,_arg1
);
2736 wxPy_END_ALLOW_THREADS
;
2737 } Py_INCREF(Py_None
);
2738 _resultobj
= Py_None
;
2742 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
2743 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
* _resultobj
;
2745 wxPyPrintout
* _arg0
;
2746 PyObject
* _argo0
= 0;
2747 char *_kwnames
[] = { "self", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
2753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
2760 wxPy_BEGIN_ALLOW_THREADS
;
2761 wxPyPrintout_Destroy(_arg0
);
2763 wxPy_END_ALLOW_THREADS
;
2764 } Py_INCREF(Py_None
);
2765 _resultobj
= Py_None
;
2769 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
2770 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2771 PyObject
* _resultobj
;
2773 wxPyPrintout
* _arg0
;
2774 PyObject
* _argo0
= 0;
2775 char *_kwnames
[] = { "self", NULL
};
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
2782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
2789 wxPy_BEGIN_ALLOW_THREADS
;
2790 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
2792 wxPy_END_ALLOW_THREADS
;
2794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2795 _resultobj
= Py_BuildValue("s",_ptemp
);
2798 _resultobj
= Py_None
;
2803 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
2804 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2806 wxPyPrintout
* _arg0
;
2811 PyObject
* _argo0
= 0;
2812 char *_kwnames
[] = { "self", NULL
};
2821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
2824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
2831 wxPy_BEGIN_ALLOW_THREADS
;
2832 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
2834 wxPy_END_ALLOW_THREADS
;
2835 } Py_INCREF(Py_None
);
2836 _resultobj
= Py_None
;
2839 o
= PyInt_FromLong((long) (*_arg1
));
2840 _resultobj
= t_output_helper(_resultobj
, o
);
2844 o
= PyInt_FromLong((long) (*_arg2
));
2845 _resultobj
= t_output_helper(_resultobj
, o
);
2850 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
2851 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
* _resultobj
;
2853 wxPyPrintout
* _arg0
;
2858 PyObject
* _argo0
= 0;
2859 char *_kwnames
[] = { "self", NULL
};
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
2871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
2878 wxPy_BEGIN_ALLOW_THREADS
;
2879 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
2881 wxPy_END_ALLOW_THREADS
;
2882 } Py_INCREF(Py_None
);
2883 _resultobj
= Py_None
;
2886 o
= PyInt_FromLong((long) (*_arg1
));
2887 _resultobj
= t_output_helper(_resultobj
, o
);
2891 o
= PyInt_FromLong((long) (*_arg2
));
2892 _resultobj
= t_output_helper(_resultobj
, o
);
2897 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
2898 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
* _resultobj
;
2900 wxPyPrintout
* _arg0
;
2905 PyObject
* _argo0
= 0;
2906 char *_kwnames
[] = { "self", NULL
};
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
2918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
2925 wxPy_BEGIN_ALLOW_THREADS
;
2926 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
2928 wxPy_END_ALLOW_THREADS
;
2929 } Py_INCREF(Py_None
);
2930 _resultobj
= Py_None
;
2933 o
= PyInt_FromLong((long) (*_arg1
));
2934 _resultobj
= t_output_helper(_resultobj
, o
);
2938 o
= PyInt_FromLong((long) (*_arg2
));
2939 _resultobj
= t_output_helper(_resultobj
, o
);
2944 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
2945 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2947 wxPyPrintout
* _arg0
;
2952 PyObject
* _argo0
= 0;
2953 char *_kwnames
[] = { "self", NULL
};
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
2965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
2972 wxPy_BEGIN_ALLOW_THREADS
;
2973 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
2975 wxPy_END_ALLOW_THREADS
;
2976 } Py_INCREF(Py_None
);
2977 _resultobj
= Py_None
;
2980 o
= PyInt_FromLong((long) (*_arg1
));
2981 _resultobj
= t_output_helper(_resultobj
, o
);
2985 o
= PyInt_FromLong((long) (*_arg2
));
2986 _resultobj
= t_output_helper(_resultobj
, o
);
2991 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
2992 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2995 wxPyPrintout
* _arg0
;
2996 PyObject
* _argo0
= 0;
2997 char *_kwnames
[] = { "self", NULL
};
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
3003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
3010 wxPy_BEGIN_ALLOW_THREADS
;
3011 _result
= (bool )wxPrintout_IsPreview(_arg0
);
3013 wxPy_END_ALLOW_THREADS
;
3014 } _resultobj
= Py_BuildValue("i",_result
);
3018 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
3019 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
* _resultobj
;
3022 wxPyPrintout
* _arg0
;
3025 PyObject
* _argo0
= 0;
3026 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
3039 wxPy_BEGIN_ALLOW_THREADS
;
3040 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
3042 wxPy_END_ALLOW_THREADS
;
3043 } _resultobj
= Py_BuildValue("i",_result
);
3047 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
3048 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
* _resultobj
;
3050 wxPyPrintout
* _arg0
;
3051 PyObject
* _argo0
= 0;
3052 char *_kwnames
[] = { "self", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
3058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
3065 wxPy_BEGIN_ALLOW_THREADS
;
3066 wxPrintout_base_OnEndDocument(_arg0
);
3068 wxPy_END_ALLOW_THREADS
;
3069 } Py_INCREF(Py_None
);
3070 _resultobj
= Py_None
;
3074 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
3075 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
* _resultobj
;
3077 wxPyPrintout
* _arg0
;
3078 PyObject
* _argo0
= 0;
3079 char *_kwnames
[] = { "self", NULL
};
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
3085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
3092 wxPy_BEGIN_ALLOW_THREADS
;
3093 wxPrintout_base_OnBeginPrinting(_arg0
);
3095 wxPy_END_ALLOW_THREADS
;
3096 } Py_INCREF(Py_None
);
3097 _resultobj
= Py_None
;
3101 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
3102 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
* _resultobj
;
3104 wxPyPrintout
* _arg0
;
3105 PyObject
* _argo0
= 0;
3106 char *_kwnames
[] = { "self", NULL
};
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
3112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
3119 wxPy_BEGIN_ALLOW_THREADS
;
3120 wxPrintout_base_OnEndPrinting(_arg0
);
3122 wxPy_END_ALLOW_THREADS
;
3123 } Py_INCREF(Py_None
);
3124 _resultobj
= Py_None
;
3128 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
3129 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
* _resultobj
;
3131 wxPyPrintout
* _arg0
;
3132 PyObject
* _argo0
= 0;
3133 char *_kwnames
[] = { "self", NULL
};
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
3139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
3146 wxPy_BEGIN_ALLOW_THREADS
;
3147 wxPrintout_base_OnPreparePrinting(_arg0
);
3149 wxPy_END_ALLOW_THREADS
;
3150 } Py_INCREF(Py_None
);
3151 _resultobj
= Py_None
;
3155 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3156 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
* _resultobj
;
3158 wxPyPrintout
* _arg0
;
3167 PyObject
* _argo0
= 0;
3168 char *_kwnames
[] = { "self", NULL
};
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
3186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
3193 wxPy_BEGIN_ALLOW_THREADS
;
3194 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3196 wxPy_END_ALLOW_THREADS
;
3197 } Py_INCREF(Py_None
);
3198 _resultobj
= Py_None
;
3201 o
= PyInt_FromLong((long) (*_arg1
));
3202 _resultobj
= t_output_helper(_resultobj
, o
);
3206 o
= PyInt_FromLong((long) (*_arg2
));
3207 _resultobj
= t_output_helper(_resultobj
, o
);
3211 o
= PyInt_FromLong((long) (*_arg3
));
3212 _resultobj
= t_output_helper(_resultobj
, o
);
3216 o
= PyInt_FromLong((long) (*_arg4
));
3217 _resultobj
= t_output_helper(_resultobj
, o
);
3222 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
3223 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3226 wxPyPrintout
* _arg0
;
3228 PyObject
* _argo0
= 0;
3229 char *_kwnames
[] = { "self","page", NULL
};
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
3235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
3242 wxPy_BEGIN_ALLOW_THREADS
;
3243 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
3245 wxPy_END_ALLOW_THREADS
;
3246 } _resultobj
= Py_BuildValue("i",_result
);
3250 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
3251 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3253 wxPrinter
* _result
;
3254 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
3255 PyObject
* _argo0
= 0;
3256 char *_kwnames
[] = { "data", NULL
};
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
3263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
3270 wxPy_BEGIN_ALLOW_THREADS
;
3271 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
3273 wxPy_END_ALLOW_THREADS
;
3275 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
3276 _resultobj
= Py_BuildValue("s",_ptemp
);
3279 _resultobj
= Py_None
;
3284 #define delete_wxPrinter(_swigobj) (delete _swigobj)
3285 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
* _resultobj
;
3288 PyObject
* _argo0
= 0;
3289 char *_kwnames
[] = { "self", NULL
};
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
3295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
3302 wxPy_BEGIN_ALLOW_THREADS
;
3303 delete_wxPrinter(_arg0
);
3305 wxPy_END_ALLOW_THREADS
;
3306 } Py_INCREF(Py_None
);
3307 _resultobj
= Py_None
;
3311 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
3312 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
* _resultobj
;
3316 wxPyPrintout
* _arg2
;
3317 PyObject
* _argo0
= 0;
3318 PyObject
* _argo1
= 0;
3319 PyObject
* _argo2
= 0;
3320 char *_kwnames
[] = { "self","parent","printout", NULL
};
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
3333 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3334 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
3340 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3341 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
3347 wxPy_BEGIN_ALLOW_THREADS
;
3348 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
3350 wxPy_END_ALLOW_THREADS
;
3351 } Py_INCREF(Py_None
);
3352 _resultobj
= Py_None
;
3356 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3357 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
* _resultobj
;
3359 wxPrintDialogData
* _result
;
3361 PyObject
* _argo0
= 0;
3362 char *_kwnames
[] = { "self", NULL
};
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
3369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
3376 wxPy_BEGIN_ALLOW_THREADS
;
3377 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
3378 _result
= (wxPrintDialogData
*) &_result_ref
;
3380 wxPy_END_ALLOW_THREADS
;
3382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3383 _resultobj
= Py_BuildValue("s",_ptemp
);
3386 _resultobj
= Py_None
;
3391 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
3392 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
* _resultobj
;
3397 wxPyPrintout
* _arg2
;
3398 int _arg3
= (int ) TRUE
;
3399 PyObject
* _argo0
= 0;
3400 PyObject
* _argo1
= 0;
3401 PyObject
* _argo2
= 0;
3402 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
3415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
3422 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3423 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
3429 wxPy_BEGIN_ALLOW_THREADS
;
3430 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
3432 wxPy_END_ALLOW_THREADS
;
3433 } _resultobj
= Py_BuildValue("i",_result
);
3437 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
3438 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
* _resultobj
;
3443 PyObject
* _argo0
= 0;
3444 PyObject
* _argo1
= 0;
3445 char *_kwnames
[] = { "self","parent", NULL
};
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
3452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
3459 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3460 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
3466 wxPy_BEGIN_ALLOW_THREADS
;
3467 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
3469 wxPy_END_ALLOW_THREADS
;
3471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3472 _resultobj
= Py_BuildValue("s",_ptemp
);
3475 _resultobj
= Py_None
;
3480 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
3481 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3485 wxPyPrintout
* _arg2
;
3487 PyObject
* _argo0
= 0;
3488 PyObject
* _argo1
= 0;
3489 PyObject
* _argo2
= 0;
3490 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
3503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
3510 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3511 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
3517 wxPy_BEGIN_ALLOW_THREADS
;
3518 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
3520 wxPy_END_ALLOW_THREADS
;
3521 } Py_INCREF(Py_None
);
3522 _resultobj
= Py_None
;
3526 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
3527 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
* _resultobj
;
3532 PyObject
* _argo0
= 0;
3533 PyObject
* _argo1
= 0;
3534 char *_kwnames
[] = { "self","parent", NULL
};
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
3540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
3547 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3548 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
3554 wxPy_BEGIN_ALLOW_THREADS
;
3555 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
3557 wxPy_END_ALLOW_THREADS
;
3558 } _resultobj
= Py_BuildValue("i",_result
);
3562 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
3563 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
* _resultobj
;
3565 wxPrintPreview
* _result
;
3566 wxPyPrintout
* _arg0
;
3567 wxPyPrintout
* _arg1
;
3568 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
3569 PyObject
* _argo0
= 0;
3570 PyObject
* _argo1
= 0;
3571 PyObject
* _argo2
= 0;
3572 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3586 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3593 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
3600 wxPy_BEGIN_ALLOW_THREADS
;
3601 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
3603 wxPy_END_ALLOW_THREADS
;
3605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
3606 _resultobj
= Py_BuildValue("s",_ptemp
);
3609 _resultobj
= Py_None
;
3614 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
3615 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
* _resultobj
;
3618 wxPrintPreview
* _arg0
;
3619 PyObject
* _argo0
= 0;
3620 char *_kwnames
[] = { "self", NULL
};
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
3627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
3634 wxPy_BEGIN_ALLOW_THREADS
;
3635 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
3637 wxPy_END_ALLOW_THREADS
;
3639 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3640 _resultobj
= Py_BuildValue("s",_ptemp
);
3643 _resultobj
= Py_None
;
3648 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
3649 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
* _resultobj
;
3652 wxPrintPreview
* _arg0
;
3653 PyObject
* _argo0
= 0;
3654 char *_kwnames
[] = { "self", NULL
};
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
3660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
3667 wxPy_BEGIN_ALLOW_THREADS
;
3668 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
3670 wxPy_END_ALLOW_THREADS
;
3671 } _resultobj
= Py_BuildValue("i",_result
);
3675 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
3676 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3679 wxPrintPreview
* _arg0
;
3680 PyObject
* _argo0
= 0;
3681 char *_kwnames
[] = { "self", NULL
};
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
3688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
3695 wxPy_BEGIN_ALLOW_THREADS
;
3696 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
3698 wxPy_END_ALLOW_THREADS
;
3700 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
3701 _resultobj
= Py_BuildValue("s",_ptemp
);
3704 _resultobj
= Py_None
;
3709 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3710 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
* _resultobj
;
3713 wxPrintPreview
* _arg0
;
3714 PyObject
* _argo0
= 0;
3715 char *_kwnames
[] = { "self", NULL
};
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
3721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
3728 wxPy_BEGIN_ALLOW_THREADS
;
3729 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
3731 wxPy_END_ALLOW_THREADS
;
3732 } _resultobj
= Py_BuildValue("i",_result
);
3736 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3737 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
* _resultobj
;
3740 wxPrintPreview
* _arg0
;
3741 PyObject
* _argo0
= 0;
3742 char *_kwnames
[] = { "self", NULL
};
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
3748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
3755 wxPy_BEGIN_ALLOW_THREADS
;
3756 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
3758 wxPy_END_ALLOW_THREADS
;
3759 } _resultobj
= Py_BuildValue("i",_result
);
3763 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3764 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
* _resultobj
;
3766 wxPrintDialogData
* _result
;
3767 wxPrintPreview
* _arg0
;
3768 PyObject
* _argo0
= 0;
3769 char *_kwnames
[] = { "self", NULL
};
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
3776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
3783 wxPy_BEGIN_ALLOW_THREADS
;
3784 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
3785 _result
= (wxPrintDialogData
*) &_result_ref
;
3787 wxPy_END_ALLOW_THREADS
;
3789 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3790 _resultobj
= Py_BuildValue("s",_ptemp
);
3793 _resultobj
= Py_None
;
3798 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
3799 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
* _resultobj
;
3801 wxPyPrintout
* _result
;
3802 wxPrintPreview
* _arg0
;
3803 PyObject
* _argo0
= 0;
3804 char *_kwnames
[] = { "self", NULL
};
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
3811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
3818 wxPy_BEGIN_ALLOW_THREADS
;
3819 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
3821 wxPy_END_ALLOW_THREADS
;
3823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3824 _resultobj
= Py_BuildValue("s",_ptemp
);
3827 _resultobj
= Py_None
;
3832 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
3833 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
* _resultobj
;
3835 wxPyPrintout
* _result
;
3836 wxPrintPreview
* _arg0
;
3837 PyObject
* _argo0
= 0;
3838 char *_kwnames
[] = { "self", NULL
};
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
3845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
3852 wxPy_BEGIN_ALLOW_THREADS
;
3853 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
3855 wxPy_END_ALLOW_THREADS
;
3857 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3858 _resultobj
= Py_BuildValue("s",_ptemp
);
3861 _resultobj
= Py_None
;
3866 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
3867 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
* _resultobj
;
3870 wxPrintPreview
* _arg0
;
3871 PyObject
* _argo0
= 0;
3872 char *_kwnames
[] = { "self", NULL
};
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
3878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
3885 wxPy_BEGIN_ALLOW_THREADS
;
3886 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
3888 wxPy_END_ALLOW_THREADS
;
3889 } _resultobj
= Py_BuildValue("i",_result
);
3893 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
3894 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
* _resultobj
;
3897 wxPrintPreview
* _arg0
;
3898 PyObject
* _argo0
= 0;
3899 char *_kwnames
[] = { "self", NULL
};
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
3905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
3912 wxPy_BEGIN_ALLOW_THREADS
;
3913 _result
= (bool )wxPrintPreview_Ok(_arg0
);
3915 wxPy_END_ALLOW_THREADS
;
3916 } _resultobj
= Py_BuildValue("i",_result
);
3920 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
3921 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
* _resultobj
;
3924 wxPrintPreview
* _arg0
;
3926 PyObject
* _argo0
= 0;
3928 char *_kwnames
[] = { "self","prompt", NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
3934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
3940 _arg1
= (bool ) tempbool1
;
3942 wxPy_BEGIN_ALLOW_THREADS
;
3943 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
3945 wxPy_END_ALLOW_THREADS
;
3946 } _resultobj
= Py_BuildValue("i",_result
);
3950 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
3951 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
* _resultobj
;
3953 wxPrintPreview
* _arg0
;
3955 PyObject
* _argo0
= 0;
3956 PyObject
* _argo1
= 0;
3957 char *_kwnames
[] = { "self","window", NULL
};
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
3963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
3970 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3971 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
3977 wxPy_BEGIN_ALLOW_THREADS
;
3978 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
3980 wxPy_END_ALLOW_THREADS
;
3981 } Py_INCREF(Py_None
);
3982 _resultobj
= Py_None
;
3986 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
3987 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
* _resultobj
;
3989 wxPrintPreview
* _arg0
;
3991 PyObject
* _argo0
= 0;
3992 char *_kwnames
[] = { "self","pageNum", NULL
};
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
3998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
4005 wxPy_BEGIN_ALLOW_THREADS
;
4006 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
4008 wxPy_END_ALLOW_THREADS
;
4009 } Py_INCREF(Py_None
);
4010 _resultobj
= Py_None
;
4014 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
4015 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
* _resultobj
;
4017 wxPrintPreview
* _arg0
;
4019 PyObject
* _argo0
= 0;
4020 PyObject
* _argo1
= 0;
4021 char *_kwnames
[] = { "self","frame", NULL
};
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
4027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
4034 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4035 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
4041 wxPy_BEGIN_ALLOW_THREADS
;
4042 wxPrintPreview_SetFrame(_arg0
,_arg1
);
4044 wxPy_END_ALLOW_THREADS
;
4045 } Py_INCREF(Py_None
);
4046 _resultobj
= Py_None
;
4050 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
4051 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
* _resultobj
;
4053 wxPrintPreview
* _arg0
;
4054 wxPyPrintout
* _arg1
;
4055 PyObject
* _argo0
= 0;
4056 PyObject
* _argo1
= 0;
4057 char *_kwnames
[] = { "self","printout", NULL
};
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
4063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
4070 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4071 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
4077 wxPy_BEGIN_ALLOW_THREADS
;
4078 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
4080 wxPy_END_ALLOW_THREADS
;
4081 } Py_INCREF(Py_None
);
4082 _resultobj
= Py_None
;
4086 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
4087 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
* _resultobj
;
4089 wxPrintPreview
* _arg0
;
4091 PyObject
* _argo0
= 0;
4092 char *_kwnames
[] = { "self","percent", NULL
};
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
4098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
4105 wxPy_BEGIN_ALLOW_THREADS
;
4106 wxPrintPreview_SetZoom(_arg0
,_arg1
);
4108 wxPy_END_ALLOW_THREADS
;
4109 } Py_INCREF(Py_None
);
4110 _resultobj
= Py_None
;
4114 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
4115 wxPreviewFrame
*src
;
4117 src
= (wxPreviewFrame
*) ptr
;
4118 dest
= (wxFrame
*) src
;
4119 return (void *) dest
;
4122 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
4123 wxPreviewFrame
*src
;
4125 src
= (wxPreviewFrame
*) ptr
;
4126 dest
= (wxWindow
*) src
;
4127 return (void *) dest
;
4130 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
4131 wxPreviewFrame
*src
;
4133 src
= (wxPreviewFrame
*) ptr
;
4134 dest
= (wxEvtHandler
*) src
;
4135 return (void *) dest
;
4138 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4139 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
* _resultobj
;
4141 wxPreviewFrame
* _result
;
4142 wxPrintPreview
* _arg0
;
4145 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4146 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4147 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
4148 char * _arg6
= (char *) "frame";
4149 PyObject
* _argo0
= 0;
4150 PyObject
* _argo1
= 0;
4151 PyObject
* _obj2
= 0;
4152 PyObject
* _argo3
= 0;
4153 PyObject
* _argo4
= 0;
4154 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_arg6
))
4161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
4168 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4169 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
4175 if (!PyString_Check(_obj2
)) {
4176 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4179 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4182 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4183 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
4184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPreviewFrame. Expected _wxPoint_p.");
4189 if (_argo4
== Py_None
) { _arg4
= NULL
; }
4190 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
4191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxPreviewFrame. Expected _wxSize_p.");
4196 wxPy_BEGIN_ALLOW_THREADS
;
4197 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4199 wxPy_END_ALLOW_THREADS
;
4201 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
4202 _resultobj
= Py_BuildValue("s",_ptemp
);
4205 _resultobj
= Py_None
;
4214 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
4215 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
* _resultobj
;
4217 wxPreviewFrame
* _arg0
;
4218 PyObject
* _argo0
= 0;
4219 char *_kwnames
[] = { "self", NULL
};
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
4225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
4227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
4232 wxPy_BEGIN_ALLOW_THREADS
;
4233 wxPreviewFrame_Initialize(_arg0
);
4235 wxPy_END_ALLOW_THREADS
;
4236 } Py_INCREF(Py_None
);
4237 _resultobj
= Py_None
;
4241 static PyMethodDef printfwcMethods
[] = {
4242 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4243 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
4244 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4245 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4246 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4247 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4248 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
4249 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
4250 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
4251 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4252 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4253 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4254 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4255 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4256 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4257 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4258 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4259 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
4260 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
4261 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
4262 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
4263 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
4264 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
4265 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4266 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
4267 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4268 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4269 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
4270 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
4271 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
4272 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4273 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4274 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
4275 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
4276 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
4277 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
4278 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4279 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
4280 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
4281 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
4282 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4283 { "wxPrintout__setSelf", (PyCFunction
) _wrap_wxPrintout__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
4284 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4285 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4286 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
4287 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4288 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
4289 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
4290 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
4291 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4292 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4293 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4294 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4295 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4296 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
4297 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4298 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
4299 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4300 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4301 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4302 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4303 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4304 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
4305 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4306 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
4307 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
4308 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4309 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
4310 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4311 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4312 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4313 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4314 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
4315 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
4316 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4317 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4318 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4319 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4320 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4321 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4322 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4323 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
4324 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
4325 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4326 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4327 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4328 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4329 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4330 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4331 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4332 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
4333 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4334 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
4335 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
4336 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4337 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
4338 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
4339 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
4340 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
4341 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4342 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
4343 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4344 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4345 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4346 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
4347 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4348 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4349 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
4350 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
4351 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
4352 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4353 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4354 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4355 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
4356 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4357 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4358 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
4359 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
4360 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
4361 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4362 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4363 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4364 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4365 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4372 * This table is used by the pointer type-checker
4374 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4375 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4376 { "_wxEvent","_class_wxEvent",0},
4377 { "_class_wxActivateEvent","_wxActivateEvent",0},
4378 { "_signed_long","_long",0},
4379 { "_wxMenuEvent","_class_wxMenuEvent",0},
4380 { "_wxPrintQuality","_int",0},
4381 { "_wxPrintQuality","_signed_int",0},
4382 { "_wxPrintQuality","_unsigned_int",0},
4383 { "_wxPrintQuality","_wxWindowID",0},
4384 { "_wxPrintQuality","_uint",0},
4385 { "_wxPrintQuality","_EBool",0},
4386 { "_wxPrintQuality","_size_t",0},
4387 { "_wxFontData","_class_wxFontData",0},
4388 { "_class_wxRegionIterator","_wxRegionIterator",0},
4389 { "_class_wxMenuBar","_wxMenuBar",0},
4390 { "_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4391 { "_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4392 { "_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4393 { "_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4394 { "_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4395 { "_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4396 { "_class_wxEvtHandler","_wxEvtHandler",0},
4397 { "_wxPaintEvent","_class_wxPaintEvent",0},
4398 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4399 { "_wxCursor","_class_wxCursor",0},
4400 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
4401 { "_wxMask","_class_wxMask",0},
4402 { "_class_wxColourData","_wxColourData",0},
4403 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
4404 { "_wxPrinter","_class_wxPrinter",0},
4405 { "_wxPen","_class_wxPen",0},
4406 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
4407 { "_byte","_unsigned_char",0},
4408 { "_wxStaticBox","_class_wxStaticBox",0},
4409 { "_wxChoice","_class_wxChoice",0},
4410 { "_wxSlider","_class_wxSlider",0},
4411 { "_wxPyPrintout","_class_wxPyPrintout",0},
4412 { "_long","_wxDash",0},
4413 { "_long","_unsigned_long",0},
4414 { "_long","_signed_long",0},
4415 { "_wxImageList","_class_wxImageList",0},
4416 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
4417 { "_wxBitmapButton","_class_wxBitmapButton",0},
4418 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
4419 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4420 { "_class_wxGauge","_wxGauge",0},
4421 { "_wxDC","_class_wxDC",0},
4422 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
4423 { "_wxProgressDialog","_class_wxProgressDialog",0},
4424 { "_wxPrintPreview","_class_wxPrintPreview",0},
4425 { "_wxSpinEvent","_class_wxSpinEvent",0},
4426 { "_size_t","_wxPrintQuality",0},
4427 { "_size_t","_unsigned_int",0},
4428 { "_size_t","_int",0},
4429 { "_size_t","_wxWindowID",0},
4430 { "_size_t","_uint",0},
4431 { "_class_wxRealPoint","_wxRealPoint",0},
4432 { "_wxPrinterDC","_class_wxPrinterDC",0},
4433 { "_class_wxMenuItem","_wxMenuItem",0},
4434 { "_class_wxPaintEvent","_wxPaintEvent",0},
4435 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
4436 { "_class_wxStatusBar","_wxStatusBar",0},
4437 { "_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4438 { "_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4439 { "_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4440 { "_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4441 { "_wxPanel","_class_wxPanel",0},
4442 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
4443 { "_wxCheckBox","_class_wxCheckBox",0},
4444 { "_wxPyEvent","_class_wxPyEvent",0},
4445 { "_wxTextCtrl","_class_wxTextCtrl",0},
4446 { "_class_wxMask","_wxMask",0},
4447 { "_class_wxKeyEvent","_wxKeyEvent",0},
4448 { "_wxColour","_class_wxColour",0},
4449 { "_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4450 { "_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4451 { "_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4452 { "_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4453 { "_class_wxDialog","_wxDialog",0},
4454 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
4455 { "_class_wxPrinter","_wxPrinter",0},
4456 { "_wxIdleEvent","_class_wxIdleEvent",0},
4457 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
4458 { "_wxToolBar","_class_wxToolBar",0},
4459 { "_wxStaticLine","_class_wxStaticLine",0},
4460 { "_wxBrush","_class_wxBrush",0},
4461 { "_wxMiniFrame","_class_wxMiniFrame",0},
4462 { "_class_wxPyPrintout","_wxPyPrintout",0},
4463 { "_wxShowEvent","_class_wxShowEvent",0},
4464 { "_uint","_wxPrintQuality",0},
4465 { "_uint","_size_t",0},
4466 { "_uint","_unsigned_int",0},
4467 { "_uint","_int",0},
4468 { "_uint","_wxWindowID",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 { "_wxBitmap","_class_wxBitmap",0},
4479 { "_wxPrintDialog","_class_wxPrintDialog",0},
4480 { "_wxPyTimer","_class_wxPyTimer",0},
4481 { "_wxWindowDC","_class_wxWindowDC",0},
4482 { "_wxScrollBar","_class_wxScrollBar",0},
4483 { "_wxSpinButton","_class_wxSpinButton",0},
4484 { "_wxToolBarTool","_class_wxToolBarTool",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_wxPyEvent","_wxPyEvent",0},
4491 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
4492 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
4493 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
4494 { "_class_wxToolBar","_wxToolBar",0},
4495 { "_class_wxStaticLine","_wxStaticLine",0},
4496 { "_wxScrollEvent","_class_wxScrollEvent",0},
4497 { "_EBool","_wxPrintQuality",0},
4498 { "_EBool","_signed_int",0},
4499 { "_EBool","_int",0},
4500 { "_EBool","_wxWindowID",0},
4501 { "_class_wxRegion","_wxRegion",0},
4502 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
4503 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
4504 { "_wxStaticText","_class_wxStaticText",0},
4505 { "_wxFont","_class_wxFont",0},
4506 { "_wxCloseEvent","_class_wxCloseEvent",0},
4507 { "_unsigned_long","_wxDash",0},
4508 { "_unsigned_long","_long",0},
4509 { "_class_wxRect","_wxRect",0},
4510 { "_class_wxDC","_wxDC",0},
4511 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
4512 { "_class_wxProgressDialog","_wxProgressDialog",0},
4513 { "_class_wxDirDialog","_wxDirDialog",0},
4514 { "_class_wxPyTimer","_wxPyTimer",0},
4515 { "_wxFocusEvent","_class_wxFocusEvent",0},
4516 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
4517 { "_class_wxSpinButton","_wxSpinButton",0},
4518 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4519 { "_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4520 { "_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4521 { "_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4522 { "_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4523 { "_class_wxPanel","_wxPanel",0},
4524 { "_class_wxCheckBox","_wxCheckBox",0},
4525 { "_wxComboBox","_class_wxComboBox",0},
4526 { "_wxRadioButton","_class_wxRadioButton",0},
4527 { "_class_wxMessageDialog","_wxMessageDialog",0},
4528 { "_signed_int","_wxPrintQuality",0},
4529 { "_signed_int","_EBool",0},
4530 { "_signed_int","_wxWindowID",0},
4531 { "_signed_int","_int",0},
4532 { "_class_wxTextCtrl","_wxTextCtrl",0},
4533 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4534 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
4535 { "_wxMenu","_class_wxMenu",0},
4536 { "_class_wxMoveEvent","_wxMoveEvent",0},
4537 { "_wxListBox","_class_wxListBox",0},
4538 { "_wxScreenDC","_class_wxScreenDC",0},
4539 { "_WXTYPE","_short",0},
4540 { "_WXTYPE","_signed_short",0},
4541 { "_WXTYPE","_unsigned_short",0},
4542 { "_wxFileDialog","_class_wxFileDialog",0},
4543 { "_class_wxBrush","_wxBrush",0},
4544 { "_unsigned_short","_WXTYPE",0},
4545 { "_unsigned_short","_short",0},
4546 { "_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4547 { "_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4548 { "_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4549 { "_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4550 { "_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4551 { "_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4552 { "_class_wxWindow","_wxWindow",0},
4553 { "_class_wxStaticText","_wxStaticText",0},
4554 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
4555 { "_class_wxFont","_wxFont",0},
4556 { "_class_wxCloseEvent","_wxCloseEvent",0},
4557 { "_class_wxMenuEvent","_wxMenuEvent",0},
4558 { "_wxClientDC","_class_wxClientDC",0},
4559 { "_wxMouseEvent","_class_wxMouseEvent",0},
4560 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
4561 { "_class_wxPoint","_wxPoint",0},
4562 { "_wxRealPoint","_class_wxRealPoint",0},
4563 { "_class_wxRadioBox","_wxRadioBox",0},
4564 { "_signed_short","_WXTYPE",0},
4565 { "_signed_short","_short",0},
4566 { "_wxMemoryDC","_class_wxMemoryDC",0},
4567 { "_class_wxPrintDialog","_wxPrintDialog",0},
4568 { "_wxPaintDC","_class_wxPaintDC",0},
4569 { "_class_wxWindowDC","_wxWindowDC",0},
4570 { "_class_wxFocusEvent","_wxFocusEvent",0},
4571 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
4572 { "_wxStatusBar","_class_wxStatusBar",0},
4573 { "_class_wxToolBarTool","_wxToolBarTool",0},
4574 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4575 { "_class_wxCursor","_wxCursor",0},
4576 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
4577 { "_unsigned_char","_byte",0},
4578 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
4579 { "_class_wxMenu","_wxMenu",0},
4580 { "_wxControl","_class_wxControl",0},
4581 { "_class_wxListBox","_wxListBox",0},
4582 { "_unsigned_int","_wxPrintQuality",0},
4583 { "_unsigned_int","_size_t",0},
4584 { "_unsigned_int","_uint",0},
4585 { "_unsigned_int","_wxWindowID",0},
4586 { "_unsigned_int","_int",0},
4587 { "_wxIcon","_class_wxIcon",0},
4588 { "_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4589 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4590 { "_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4591 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4592 { "_wxDialog","_class_wxDialog",0},
4593 { "_class_wxPen","_wxPen",0},
4594 { "_class_wxFileDialog","_wxFileDialog",0},
4595 { "_short","_WXTYPE",0},
4596 { "_short","_unsigned_short",0},
4597 { "_short","_signed_short",0},
4598 { "_class_wxStaticBox","_wxStaticBox",0},
4599 { "_class_wxScrollEvent","_wxScrollEvent",0},
4600 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
4601 { "_class_wxChoice","_wxChoice",0},
4602 { "_class_wxSlider","_wxSlider",0},
4603 { "_class_wxImageList","_wxImageList",0},
4604 { "_class_wxBitmapButton","_wxBitmapButton",0},
4605 { "_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4606 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4607 { "_wxFrame","_class_wxFrame",0},
4608 { "_wxWindowID","_wxPrintQuality",0},
4609 { "_wxWindowID","_size_t",0},
4610 { "_wxWindowID","_EBool",0},
4611 { "_wxWindowID","_uint",0},
4612 { "_wxWindowID","_int",0},
4613 { "_wxWindowID","_signed_int",0},
4614 { "_wxWindowID","_unsigned_int",0},
4615 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
4616 { "_int","_wxPrintQuality",0},
4617 { "_int","_size_t",0},
4618 { "_int","_EBool",0},
4619 { "_int","_uint",0},
4620 { "_int","_wxWindowID",0},
4621 { "_int","_unsigned_int",0},
4622 { "_int","_signed_int",0},
4623 { "_class_wxMouseEvent","_wxMouseEvent",0},
4624 { "_class_wxPrintPreview","_wxPrintPreview",0},
4625 { "_class_wxSpinEvent","_wxSpinEvent",0},
4626 { "_wxButton","_class_wxButton",0},
4627 { "_wxSize","_class_wxSize",0},
4628 { "_wxRegionIterator","_class_wxRegionIterator",0},
4629 { "_class_wxPrinterDC","_wxPrinterDC",0},
4630 { "_class_wxPaintDC","_wxPaintDC",0},
4631 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
4632 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
4633 { "_class_wxComboBox","_wxComboBox",0},
4634 { "_class_wxRadioButton","_wxRadioButton",0},
4635 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4636 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
4637 { "_class_wxControl","_wxControl",0},
4638 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
4639 { "_class_wxIcon","_wxIcon",0},
4640 { "_class_wxColour","_wxColour",0},
4641 { "_class_wxScreenDC","_wxScreenDC",0},
4642 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
4643 { "_wxPalette","_class_wxPalette",0},
4644 { "_class_wxIdleEvent","_wxIdleEvent",0},
4645 { "_wxEraseEvent","_class_wxEraseEvent",0},
4646 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
4647 { "_class_wxMiniFrame","_wxMiniFrame",0},
4648 { "_wxFontDialog","_class_wxFontDialog",0},
4649 { "_wxRegion","_class_wxRegion",0},
4650 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
4651 { "_class_wxShowEvent","_wxShowEvent",0},
4652 { "_wxActivateEvent","_class_wxActivateEvent",0},
4653 { "_wxGauge","_class_wxGauge",0},
4654 { "_class_wxCheckListBox","_wxCheckListBox",0},
4655 { "_class_wxCommandEvent","_wxCommandEvent",0},
4656 { "_class_wxClientDC","_wxClientDC",0},
4657 { "_class_wxSizeEvent","_wxSizeEvent",0},
4658 { "_class_wxSize","_wxSize",0},
4659 { "_class_wxBitmap","_wxBitmap",0},
4660 { "_class_wxMemoryDC","_wxMemoryDC",0},
4661 { "_wxMenuBar","_class_wxMenuBar",0},
4662 { "_wxDirDialog","_class_wxDirDialog",0},
4663 { "_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4664 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4665 { "_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4666 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4667 { "_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4668 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4669 { "_wxEvtHandler","_class_wxEvtHandler",0},
4670 { "_wxMenuItem","_class_wxMenuItem",0},
4671 { "_class_wxScrollBar","_wxScrollBar",0},
4672 { "_class_wxColourDialog","_wxColourDialog",0},
4673 { "_class_wxPrintData","_wxPrintData",0},
4674 { "_wxDash","_unsigned_long",0},
4675 { "_wxDash","_long",0},
4676 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
4677 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
4678 { "_wxKeyEvent","_class_wxKeyEvent",0},
4679 { "_wxMoveEvent","_class_wxMoveEvent",0},
4680 { "_wxColourData","_class_wxColourData",0},
4681 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
4682 { "_class_wxPalette","_wxPalette",0},
4683 { "_class_wxEraseEvent","_wxEraseEvent",0},
4684 { "_class_wxFontDialog","_wxFontDialog",0},
4685 { "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4686 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4687 { "_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4688 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4689 { "_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4690 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4691 { "_wxWindow","_class_wxWindow",0},
4692 { "_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4693 { "_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4694 { "_class_wxFrame","_wxFrame",0},
4697 static PyObject
*SWIG_globals
;
4701 SWIGEXPORT(void) initprintfwc() {
4703 SWIG_globals
= SWIG_newvarlink();
4704 m
= Py_InitModule("printfwc", printfwcMethods
);
4705 d
= PyModule_GetDict(m
);
4708 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4709 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);