2 * FILE : src/msw/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initprintfwc
55 #define SWIG_name "printfwc"
59 #include <wx/printdlg.h>
64 // Put some wx default wxChar* values into wxStrings.
65 static const wxChar
* wxPrintoutTitleStr
= wxT("Printout");
66 DECLARE_DEF_STRING(PrintoutTitleStr
);
67 static const wxChar
* wxPreviewCanvasNameStr
= wxT("previewcanvas");
68 DECLARE_DEF_STRING(PreviewCanvasNameStr
);
70 DECLARE_DEF_STRING(FrameNameStr
);
71 DECLARE_DEF_STRING(PanelNameStr
);
72 DECLARE_DEF_STRING(DialogNameStr
);
76 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
82 } else if (target
== Py_None
) {
86 if (!PyTuple_Check(target
)) {
88 target
= PyTuple_New(1);
89 PyTuple_SetItem(target
, 0, o2
);
92 PyTuple_SetItem(o3
, 0, o
);
95 target
= PySequence_Concat(o2
, o3
);
104 // Since this one would be tough and ugly to do with the Macros...
105 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
109 wxPyBeginBlockThreads();
110 if ((found
= m_myInst
.findCallback("GetPageInfo"))) {
111 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
112 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
115 val
= PyTuple_GetItem(result
, 0);
116 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
119 val
= PyTuple_GetItem(result
, 1);
120 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
123 val
= PyTuple_GetItem(result
, 2);
124 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
127 val
= PyTuple_GetItem(result
, 3);
128 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
135 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
140 wxPyEndBlockThreads();
142 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
145 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
146 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
150 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
151 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
152 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
153 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
154 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
155 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
156 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
161 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
162 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
163 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
166 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
167 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
170 wxPyBeginBlockThreads(); \
171 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
172 PyObject* win = wxPyMake_wxObject(a); \
173 PyObject* dc = wxPyMake_wxObject(&b); \
174 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
178 wxPyEndBlockThreads(); \
180 rval = PCLASS::CBNAME(a, b); \
183 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
184 return PCLASS::CBNAME(a, b); \
190 class wxPyPrintPreview
: public wxPrintPreview
192 DECLARE_CLASS(wxPyPrintPreview
)
194 wxPyPrintPreview(wxPyPrintout
* printout
,
195 wxPyPrintout
* printoutForPrinting
,
196 wxPrintData
* data
=NULL
)
197 : wxPrintPreview(printout
, printoutForPrinting
, data
)
200 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
201 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
202 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
203 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
204 DEC_PYCALLBACK_VOID_INT(SetZoom
);
205 DEC_PYCALLBACK_BOOL_BOOL(Print
);
206 DEC_PYCALLBACK_VOID_(DetermineScaling
);
211 // Stupid renamed classes... Fix this in 2.5...
212 #if defined(__WXMSW__)
213 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
214 #elif defined(__WXMAC__)
215 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
217 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
220 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
221 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
222 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
223 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
224 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
225 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
226 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
228 class wxPyPreviewFrame
: public wxPreviewFrame
230 DECLARE_CLASS(wxPyPreviewFrame
);
232 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
233 const wxString
& title
,
234 const wxPoint
& pos
= wxDefaultPosition
,
235 const wxSize
& size
= wxDefaultSize
,
236 long style
= wxDEFAULT_FRAME_STYLE
,
237 const wxString
& name
= wxPyFrameNameStr
)
238 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
241 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
242 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
244 DEC_PYCALLBACK_VOID_(Initialize
);
245 DEC_PYCALLBACK_VOID_(CreateCanvas
);
246 DEC_PYCALLBACK_VOID_(CreateControlBar
);
251 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
253 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
254 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
255 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
257 class wxPyPreviewControlBar
: public wxPreviewControlBar
259 DECLARE_CLASS(wxPyPreviewControlBar
);
261 wxPyPreviewControlBar(wxPrintPreview
*preview
,
264 const wxPoint
& pos
= wxDefaultPosition
,
265 const wxSize
& size
= wxDefaultSize
,
267 const wxString
& name
= wxPyPanelNameStr
)
268 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
271 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
273 DEC_PYCALLBACK_VOID_(CreateButtons
);
274 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
279 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
280 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
281 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
285 static void *SwigwxPrintDataTowxObject(void *ptr
) {
288 src
= (wxPrintData
*) ptr
;
289 dest
= (wxObject
*) src
;
290 return (void *) dest
;
293 #define new_wxPrintData() (new wxPrintData())
294 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
296 wxPrintData
* _result
;
297 char *_kwnames
[] = { NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
305 _result
= (wxPrintData
*)new_wxPrintData();
307 wxPyEndAllowThreads(__tstate
);
308 if (PyErr_Occurred()) return NULL
;
310 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
311 _resultobj
= Py_BuildValue("s",_ptemp
);
314 _resultobj
= Py_None
;
319 #define delete_wxPrintData(_swigobj) (delete _swigobj)
320 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
323 PyObject
* _argo0
= 0;
324 char *_kwnames
[] = { "self", NULL
};
327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
338 delete_wxPrintData(_arg0
);
340 wxPyEndAllowThreads(__tstate
);
341 if (PyErr_Occurred()) return NULL
;
342 } Py_INCREF(Py_None
);
343 _resultobj
= Py_None
;
347 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
348 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
349 PyObject
* _resultobj
;
352 PyObject
* _argo0
= 0;
353 char *_kwnames
[] = { "self", NULL
};
356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
367 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
369 wxPyEndAllowThreads(__tstate
);
370 if (PyErr_Occurred()) return NULL
;
371 } _resultobj
= Py_BuildValue("i",_result
);
375 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
376 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
377 PyObject
* _resultobj
;
380 PyObject
* _argo0
= 0;
381 char *_kwnames
[] = { "self", NULL
};
384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
395 _result
= (bool )wxPrintData_GetCollate(_arg0
);
397 wxPyEndAllowThreads(__tstate
);
398 if (PyErr_Occurred()) return NULL
;
399 } _resultobj
= Py_BuildValue("i",_result
);
403 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
404 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
405 PyObject
* _resultobj
;
408 PyObject
* _argo0
= 0;
409 char *_kwnames
[] = { "self", NULL
};
412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
423 _result
= (int )wxPrintData_GetOrientation(_arg0
);
425 wxPyEndAllowThreads(__tstate
);
426 if (PyErr_Occurred()) return NULL
;
427 } _resultobj
= Py_BuildValue("i",_result
);
431 #define wxPrintData_Ok(_swigobj) (_swigobj->Ok())
432 static PyObject
*_wrap_wxPrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
433 PyObject
* _resultobj
;
436 PyObject
* _argo0
= 0;
437 char *_kwnames
[] = { "self", NULL
};
440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_Ok",_kwnames
,&_argo0
))
443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_Ok. Expected _wxPrintData_p.");
450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
451 _result
= (bool )wxPrintData_Ok(_arg0
);
453 wxPyEndAllowThreads(__tstate
);
454 if (PyErr_Occurred()) return NULL
;
455 } _resultobj
= Py_BuildValue("i",_result
);
459 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
460 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
461 PyObject
* _resultobj
;
464 PyObject
* _argo0
= 0;
465 char *_kwnames
[] = { "self", NULL
};
468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
479 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
480 _result
= (wxString
*) &_result_ref
;
482 wxPyEndAllowThreads(__tstate
);
483 if (PyErr_Occurred()) return NULL
;
486 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
488 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
494 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
495 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
496 PyObject
* _resultobj
;
499 PyObject
* _argo0
= 0;
500 char *_kwnames
[] = { "self", NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
514 _result
= (bool )wxPrintData_GetColour(_arg0
);
516 wxPyEndAllowThreads(__tstate
);
517 if (PyErr_Occurred()) return NULL
;
518 } _resultobj
= Py_BuildValue("i",_result
);
522 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
523 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
524 PyObject
* _resultobj
;
525 wxDuplexMode _result
;
527 PyObject
* _argo0
= 0;
528 char *_kwnames
[] = { "self", NULL
};
531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
542 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
544 wxPyEndAllowThreads(__tstate
);
545 if (PyErr_Occurred()) return NULL
;
546 } _resultobj
= Py_BuildValue("i",_result
);
550 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
551 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
552 PyObject
* _resultobj
;
555 PyObject
* _argo0
= 0;
556 char *_kwnames
[] = { "self", NULL
};
559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
570 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
572 wxPyEndAllowThreads(__tstate
);
573 if (PyErr_Occurred()) return NULL
;
574 } _resultobj
= Py_BuildValue("i",_result
);
578 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
579 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
580 PyObject
* _resultobj
;
583 PyObject
* _argo0
= 0;
584 char *_kwnames
[] = { "self", NULL
};
588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
599 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
600 _result
= (wxSize
*) &_result_ref
;
602 wxPyEndAllowThreads(__tstate
);
603 if (PyErr_Occurred()) return NULL
;
605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
606 _resultobj
= Py_BuildValue("s",_ptemp
);
609 _resultobj
= Py_None
;
614 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
615 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 PyObject
* _resultobj
;
617 wxPrintQuality _result
;
619 PyObject
* _argo0
= 0;
620 char *_kwnames
[] = { "self", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
634 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
636 wxPyEndAllowThreads(__tstate
);
637 if (PyErr_Occurred()) return NULL
;
638 } _resultobj
= Py_BuildValue("i",_result
);
642 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
643 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
644 PyObject
* _resultobj
;
647 PyObject
* _argo0
= 0;
648 char *_kwnames
[] = { "self","v", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
662 wxPrintData_SetNoCopies(_arg0
,_arg1
);
664 wxPyEndAllowThreads(__tstate
);
665 if (PyErr_Occurred()) return NULL
;
666 } Py_INCREF(Py_None
);
667 _resultobj
= Py_None
;
671 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
672 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
673 PyObject
* _resultobj
;
676 PyObject
* _argo0
= 0;
678 char *_kwnames
[] = { "self","flag", NULL
};
681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
690 _arg1
= (bool ) tempbool1
;
692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
693 wxPrintData_SetCollate(_arg0
,_arg1
);
695 wxPyEndAllowThreads(__tstate
);
696 if (PyErr_Occurred()) return NULL
;
697 } Py_INCREF(Py_None
);
698 _resultobj
= Py_None
;
702 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
703 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
704 PyObject
* _resultobj
;
707 PyObject
* _argo0
= 0;
708 char *_kwnames
[] = { "self","orient", NULL
};
711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
722 wxPrintData_SetOrientation(_arg0
,_arg1
);
724 wxPyEndAllowThreads(__tstate
);
725 if (PyErr_Occurred()) return NULL
;
726 } Py_INCREF(Py_None
);
727 _resultobj
= Py_None
;
731 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
732 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
733 PyObject
* _resultobj
;
736 PyObject
* _argo0
= 0;
737 PyObject
* _obj1
= 0;
738 char *_kwnames
[] = { "self","name", NULL
};
741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
751 _arg1
= wxString_in_helper(_obj1
);
756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
757 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
759 wxPyEndAllowThreads(__tstate
);
760 if (PyErr_Occurred()) return NULL
;
761 } Py_INCREF(Py_None
);
762 _resultobj
= Py_None
;
770 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
771 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
772 PyObject
* _resultobj
;
775 PyObject
* _argo0
= 0;
777 char *_kwnames
[] = { "self","colour", NULL
};
780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
789 _arg1
= (bool ) tempbool1
;
791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
792 wxPrintData_SetColour(_arg0
,_arg1
);
794 wxPyEndAllowThreads(__tstate
);
795 if (PyErr_Occurred()) return NULL
;
796 } Py_INCREF(Py_None
);
797 _resultobj
= Py_None
;
801 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
802 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 PyObject
* _resultobj
;
806 PyObject
* _argo0
= 0;
807 char *_kwnames
[] = { "self","duplex", NULL
};
810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
821 wxPrintData_SetDuplex(_arg0
,_arg1
);
823 wxPyEndAllowThreads(__tstate
);
824 if (PyErr_Occurred()) return NULL
;
825 } Py_INCREF(Py_None
);
826 _resultobj
= Py_None
;
830 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
831 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 PyObject
* _resultobj
;
835 PyObject
* _argo0
= 0;
836 char *_kwnames
[] = { "self","sizeId", NULL
};
839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
850 wxPrintData_SetPaperId(_arg0
,_arg1
);
852 wxPyEndAllowThreads(__tstate
);
853 if (PyErr_Occurred()) return NULL
;
854 } Py_INCREF(Py_None
);
855 _resultobj
= Py_None
;
859 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
860 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
861 PyObject
* _resultobj
;
864 PyObject
* _argo0
= 0;
866 PyObject
* _obj1
= 0;
867 char *_kwnames
[] = { "self","sz", NULL
};
870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
881 if (! wxSize_helper(_obj1
, &_arg1
))
885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
886 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
888 wxPyEndAllowThreads(__tstate
);
889 if (PyErr_Occurred()) return NULL
;
890 } Py_INCREF(Py_None
);
891 _resultobj
= Py_None
;
895 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
896 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
897 PyObject
* _resultobj
;
899 wxPrintQuality _arg1
;
900 PyObject
* _argo0
= 0;
901 char *_kwnames
[] = { "self","quality", NULL
};
904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
915 wxPrintData_SetQuality(_arg0
,_arg1
);
917 wxPyEndAllowThreads(__tstate
);
918 if (PyErr_Occurred()) return NULL
;
919 } Py_INCREF(Py_None
);
920 _resultobj
= Py_None
;
924 #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
925 static PyObject
*_wrap_wxPrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 PyObject
* _resultobj
;
929 PyObject
* _argo0
= 0;
930 char *_kwnames
[] = { "self", NULL
};
933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterCommand",_kwnames
,&_argo0
))
936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
944 const wxString
& _result_ref
= wxPrintData_GetPrinterCommand(_arg0
);
945 _result
= (wxString
*) &_result_ref
;
947 wxPyEndAllowThreads(__tstate
);
948 if (PyErr_Occurred()) return NULL
;
951 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
953 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
959 #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
960 static PyObject
*_wrap_wxPrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
964 PyObject
* _argo0
= 0;
965 char *_kwnames
[] = { "self", NULL
};
968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterOptions",_kwnames
,&_argo0
))
971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
979 const wxString
& _result_ref
= wxPrintData_GetPrinterOptions(_arg0
);
980 _result
= (wxString
*) &_result_ref
;
982 wxPyEndAllowThreads(__tstate
);
983 if (PyErr_Occurred()) return NULL
;
986 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
988 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
994 #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
995 static PyObject
*_wrap_wxPrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 PyObject
* _resultobj
;
999 PyObject
* _argo0
= 0;
1000 char *_kwnames
[] = { "self", NULL
};
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPreviewCommand",_kwnames
,&_argo0
))
1006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
1013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1014 const wxString
& _result_ref
= wxPrintData_GetPreviewCommand(_arg0
);
1015 _result
= (wxString
*) &_result_ref
;
1017 wxPyEndAllowThreads(__tstate
);
1018 if (PyErr_Occurred()) return NULL
;
1021 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1023 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1029 #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
1030 static PyObject
*_wrap_wxPrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1033 wxPrintData
* _arg0
;
1034 PyObject
* _argo0
= 0;
1035 char *_kwnames
[] = { "self", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFilename",_kwnames
,&_argo0
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p.");
1048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1049 const wxString
& _result_ref
= wxPrintData_GetFilename(_arg0
);
1050 _result
= (wxString
*) &_result_ref
;
1052 wxPyEndAllowThreads(__tstate
);
1053 if (PyErr_Occurred()) return NULL
;
1056 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1058 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1064 #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
1065 static PyObject
*_wrap_wxPrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
* _resultobj
;
1068 wxPrintData
* _arg0
;
1069 PyObject
* _argo0
= 0;
1070 char *_kwnames
[] = { "self", NULL
};
1073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFontMetricPath",_kwnames
,&_argo0
))
1076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
1083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1084 const wxString
& _result_ref
= wxPrintData_GetFontMetricPath(_arg0
);
1085 _result
= (wxString
*) &_result_ref
;
1087 wxPyEndAllowThreads(__tstate
);
1088 if (PyErr_Occurred()) return NULL
;
1091 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1093 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1099 #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
1100 static PyObject
*_wrap_wxPrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1103 wxPrintData
* _arg0
;
1104 PyObject
* _argo0
= 0;
1105 char *_kwnames
[] = { "self", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleX",_kwnames
,&_argo0
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
1118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1119 _result
= (double )wxPrintData_GetPrinterScaleX(_arg0
);
1121 wxPyEndAllowThreads(__tstate
);
1122 if (PyErr_Occurred()) return NULL
;
1123 } _resultobj
= Py_BuildValue("d",_result
);
1127 #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
1128 static PyObject
*_wrap_wxPrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
* _resultobj
;
1131 wxPrintData
* _arg0
;
1132 PyObject
* _argo0
= 0;
1133 char *_kwnames
[] = { "self", NULL
};
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleY",_kwnames
,&_argo0
))
1139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
1146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1147 _result
= (double )wxPrintData_GetPrinterScaleY(_arg0
);
1149 wxPyEndAllowThreads(__tstate
);
1150 if (PyErr_Occurred()) return NULL
;
1151 } _resultobj
= Py_BuildValue("d",_result
);
1155 #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
1156 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1159 wxPrintData
* _arg0
;
1160 PyObject
* _argo0
= 0;
1161 char *_kwnames
[] = { "self", NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateX",_kwnames
,&_argo0
))
1167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
1174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1175 _result
= (long )wxPrintData_GetPrinterTranslateX(_arg0
);
1177 wxPyEndAllowThreads(__tstate
);
1178 if (PyErr_Occurred()) return NULL
;
1179 } _resultobj
= Py_BuildValue("l",_result
);
1183 #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
1184 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1187 wxPrintData
* _arg0
;
1188 PyObject
* _argo0
= 0;
1189 char *_kwnames
[] = { "self", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateY",_kwnames
,&_argo0
))
1195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1203 _result
= (long )wxPrintData_GetPrinterTranslateY(_arg0
);
1205 wxPyEndAllowThreads(__tstate
);
1206 if (PyErr_Occurred()) return NULL
;
1207 } _resultobj
= Py_BuildValue("l",_result
);
1211 #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1212 static PyObject
*_wrap_wxPrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
* _resultobj
;
1214 wxPrintMode _result
;
1215 wxPrintData
* _arg0
;
1216 PyObject
* _argo0
= 0;
1217 char *_kwnames
[] = { "self", NULL
};
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrintMode",_kwnames
,&_argo0
))
1223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 _result
= (wxPrintMode
)wxPrintData_GetPrintMode(_arg0
);
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) return NULL
;
1235 } _resultobj
= Py_BuildValue("i",_result
);
1239 #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1240 static PyObject
*_wrap_wxPrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1241 PyObject
* _resultobj
;
1242 wxPrintData
* _arg0
;
1244 PyObject
* _argo0
= 0;
1245 PyObject
* _obj1
= 0;
1246 char *_kwnames
[] = { "self","command", NULL
};
1249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterCommand",_kwnames
,&_argo0
,&_obj1
))
1252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1259 _arg1
= wxString_in_helper(_obj1
);
1264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1265 wxPrintData_SetPrinterCommand(_arg0
,*_arg1
);
1267 wxPyEndAllowThreads(__tstate
);
1268 if (PyErr_Occurred()) return NULL
;
1269 } Py_INCREF(Py_None
);
1270 _resultobj
= Py_None
;
1278 #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1279 static PyObject
*_wrap_wxPrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
* _resultobj
;
1281 wxPrintData
* _arg0
;
1283 PyObject
* _argo0
= 0;
1284 PyObject
* _obj1
= 0;
1285 char *_kwnames
[] = { "self","options", NULL
};
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterOptions",_kwnames
,&_argo0
,&_obj1
))
1291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1298 _arg1
= wxString_in_helper(_obj1
);
1303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1304 wxPrintData_SetPrinterOptions(_arg0
,*_arg1
);
1306 wxPyEndAllowThreads(__tstate
);
1307 if (PyErr_Occurred()) return NULL
;
1308 } Py_INCREF(Py_None
);
1309 _resultobj
= Py_None
;
1317 #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1318 static PyObject
*_wrap_wxPrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
* _resultobj
;
1320 wxPrintData
* _arg0
;
1322 PyObject
* _argo0
= 0;
1323 PyObject
* _obj1
= 0;
1324 char *_kwnames
[] = { "self","command", NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPreviewCommand",_kwnames
,&_argo0
,&_obj1
))
1330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1337 _arg1
= wxString_in_helper(_obj1
);
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 wxPrintData_SetPreviewCommand(_arg0
,*_arg1
);
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) return NULL
;
1347 } Py_INCREF(Py_None
);
1348 _resultobj
= Py_None
;
1356 #define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1357 static PyObject
*_wrap_wxPrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1358 PyObject
* _resultobj
;
1359 wxPrintData
* _arg0
;
1361 PyObject
* _argo0
= 0;
1362 PyObject
* _obj1
= 0;
1363 char *_kwnames
[] = { "self","filename", NULL
};
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p.");
1376 _arg1
= wxString_in_helper(_obj1
);
1381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1382 wxPrintData_SetFilename(_arg0
,*_arg1
);
1384 wxPyEndAllowThreads(__tstate
);
1385 if (PyErr_Occurred()) return NULL
;
1386 } Py_INCREF(Py_None
);
1387 _resultobj
= Py_None
;
1395 #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1396 static PyObject
*_wrap_wxPrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
* _resultobj
;
1398 wxPrintData
* _arg0
;
1400 PyObject
* _argo0
= 0;
1401 PyObject
* _obj1
= 0;
1402 char *_kwnames
[] = { "self","path", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFontMetricPath",_kwnames
,&_argo0
,&_obj1
))
1408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1415 _arg1
= wxString_in_helper(_obj1
);
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 wxPrintData_SetFontMetricPath(_arg0
,*_arg1
);
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) return NULL
;
1425 } Py_INCREF(Py_None
);
1426 _resultobj
= Py_None
;
1434 #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1435 static PyObject
*_wrap_wxPrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1437 wxPrintData
* _arg0
;
1439 PyObject
* _argo0
= 0;
1440 char *_kwnames
[] = { "self","x", NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleX",_kwnames
,&_argo0
,&_arg1
))
1446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p.");
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 wxPrintData_SetPrinterScaleX(_arg0
,_arg1
);
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) return NULL
;
1458 } Py_INCREF(Py_None
);
1459 _resultobj
= Py_None
;
1463 #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1464 static PyObject
*_wrap_wxPrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1466 wxPrintData
* _arg0
;
1468 PyObject
* _argo0
= 0;
1469 char *_kwnames
[] = { "self","y", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleY",_kwnames
,&_argo0
,&_arg1
))
1475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p.");
1482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 wxPrintData_SetPrinterScaleY(_arg0
,_arg1
);
1485 wxPyEndAllowThreads(__tstate
);
1486 if (PyErr_Occurred()) return NULL
;
1487 } Py_INCREF(Py_None
);
1488 _resultobj
= Py_None
;
1492 #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1493 static PyObject
*_wrap_wxPrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
* _resultobj
;
1495 wxPrintData
* _arg0
;
1498 PyObject
* _argo0
= 0;
1499 char *_kwnames
[] = { "self","x","y", NULL
};
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPrintData_SetPrinterScaling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaling. Expected _wxPrintData_p.");
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 wxPrintData_SetPrinterScaling(_arg0
,_arg1
,_arg2
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) return NULL
;
1517 } Py_INCREF(Py_None
);
1518 _resultobj
= Py_None
;
1522 #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1523 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
* _resultobj
;
1525 wxPrintData
* _arg0
;
1527 PyObject
* _argo0
= 0;
1528 char *_kwnames
[] = { "self","x", NULL
};
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames
,&_argo0
,&_arg1
))
1534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p.");
1541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 wxPrintData_SetPrinterTranslateX(_arg0
,_arg1
);
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) return NULL
;
1546 } Py_INCREF(Py_None
);
1547 _resultobj
= Py_None
;
1551 #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1552 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
* _resultobj
;
1554 wxPrintData
* _arg0
;
1556 PyObject
* _argo0
= 0;
1557 char *_kwnames
[] = { "self","y", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames
,&_argo0
,&_arg1
))
1563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 wxPrintData_SetPrinterTranslateY(_arg0
,_arg1
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) return NULL
;
1575 } Py_INCREF(Py_None
);
1576 _resultobj
= Py_None
;
1580 #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1581 static PyObject
*_wrap_wxPrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1583 wxPrintData
* _arg0
;
1586 PyObject
* _argo0
= 0;
1587 char *_kwnames
[] = { "self","x","y", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPrintData_SetPrinterTranslation",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslation. Expected _wxPrintData_p.");
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 wxPrintData_SetPrinterTranslation(_arg0
,_arg1
,_arg2
);
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) return NULL
;
1605 } Py_INCREF(Py_None
);
1606 _resultobj
= Py_None
;
1610 #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1611 static PyObject
*_wrap_wxPrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
* _resultobj
;
1613 wxPrintData
* _arg0
;
1615 PyObject
* _argo0
= 0;
1616 char *_kwnames
[] = { "self","printMode", NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPrintMode",_kwnames
,&_argo0
,&_arg1
))
1622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 wxPrintData_SetPrintMode(_arg0
,_arg1
);
1632 wxPyEndAllowThreads(__tstate
);
1633 if (PyErr_Occurred()) return NULL
;
1634 } Py_INCREF(Py_None
);
1635 _resultobj
= Py_None
;
1639 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
1642 src
= (wxPrinterDC
*) ptr
;
1643 dest
= (wxDC
*) src
;
1644 return (void *) dest
;
1647 static void *SwigwxPrinterDCTowxObject(void *ptr
) {
1650 src
= (wxPrinterDC
*) ptr
;
1651 dest
= (wxObject
*) src
;
1652 return (void *) dest
;
1655 #define new_wxPrinterDC(_swigarg0) (new wxPrinterDC(_swigarg0))
1656 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1658 wxPrinterDC
* _result
;
1659 wxPrintData
* _arg0
;
1660 PyObject
* _argo0
= 0;
1661 char *_kwnames
[] = { "printData", NULL
};
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPrinterDC",_kwnames
,&_argo0
))
1668 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinterDC. Expected _wxPrintData_p.");
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
);
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) return NULL
;
1680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1681 _resultobj
= Py_BuildValue("s",_ptemp
);
1684 _resultobj
= Py_None
;
1689 #define new_wxPrinterDC2(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1690 static PyObject
*_wrap_new_wxPrinterDC2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
* _resultobj
;
1692 wxPrinterDC
* _result
;
1696 bool _arg3
= (bool ) TRUE
;
1697 int _arg4
= (int ) wxPORTRAIT
;
1698 PyObject
* _obj0
= 0;
1699 PyObject
* _obj1
= 0;
1700 PyObject
* _obj2
= 0;
1701 int tempbool3
= (int) TRUE
;
1702 char *_kwnames
[] = { "driver","device","output","interactive","orientation", NULL
};
1706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:new_wxPrinterDC2",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
1709 _arg0
= wxString_in_helper(_obj0
);
1714 _arg1
= wxString_in_helper(_obj1
);
1719 _arg2
= wxString_in_helper(_obj2
);
1723 _arg3
= (bool ) tempbool3
;
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 _result
= (wxPrinterDC
*)new_wxPrinterDC2(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) return NULL
;
1731 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1732 _resultobj
= Py_BuildValue("s",_ptemp
);
1735 _resultobj
= Py_None
;
1752 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
1753 wxPostScriptDC
*src
;
1755 src
= (wxPostScriptDC
*) ptr
;
1756 dest
= (wxDC
*) src
;
1757 return (void *) dest
;
1760 static void *SwigwxPostScriptDCTowxObject(void *ptr
) {
1761 wxPostScriptDC
*src
;
1763 src
= (wxPostScriptDC
*) ptr
;
1764 dest
= (wxObject
*) src
;
1765 return (void *) dest
;
1768 #define new_wxPostScriptDC(_swigarg0) (new wxPostScriptDC(_swigarg0))
1769 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
* _resultobj
;
1771 wxPostScriptDC
* _result
;
1772 wxPrintData
* _arg0
;
1773 PyObject
* _argo0
= 0;
1774 char *_kwnames
[] = { "printData", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPostScriptDC",_kwnames
,&_argo0
))
1781 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPostScriptDC. Expected _wxPrintData_p.");
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
);
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) return NULL
;
1793 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1794 _resultobj
= Py_BuildValue("s",_ptemp
);
1797 _resultobj
= Py_None
;
1802 #define wxPostScriptDC_GetPrintData(_swigobj) (_swigobj->GetPrintData())
1803 static PyObject
*_wrap_wxPostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1805 wxPrintData
* _result
;
1806 wxPostScriptDC
* _arg0
;
1807 PyObject
* _argo0
= 0;
1808 char *_kwnames
[] = { "self", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPostScriptDC_GetPrintData",_kwnames
,&_argo0
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_GetPrintData. Expected _wxPostScriptDC_p.");
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 wxPrintData
& _result_ref
= wxPostScriptDC_GetPrintData(_arg0
);
1824 _result
= (wxPrintData
*) &_result_ref
;
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) return NULL
;
1829 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1830 _resultobj
= Py_BuildValue("s",_ptemp
);
1833 _resultobj
= Py_None
;
1838 #define wxPostScriptDC_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1839 static PyObject
*_wrap_wxPostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1841 wxPostScriptDC
* _arg0
;
1842 wxPrintData
* _arg1
;
1843 PyObject
* _argo0
= 0;
1844 PyObject
* _argo1
= 0;
1845 char *_kwnames
[] = { "self","data", NULL
};
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostScriptDC_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_SetPrintData. Expected _wxPostScriptDC_p.");
1858 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostScriptDC_SetPrintData. Expected _wxPrintData_p.");
1864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1865 wxPostScriptDC_SetPrintData(_arg0
,*_arg1
);
1867 wxPyEndAllowThreads(__tstate
);
1868 if (PyErr_Occurred()) return NULL
;
1869 } Py_INCREF(Py_None
);
1870 _resultobj
= Py_None
;
1874 static PyObject
*_wrap_wxPostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1877 char *_kwnames
[] = { "ppi", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxPostScriptDC_SetResolution",_kwnames
,&_arg0
))
1883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1884 wxPostScriptDC::SetResolution(_arg0
);
1886 wxPyEndAllowThreads(__tstate
);
1887 if (PyErr_Occurred()) return NULL
;
1888 } Py_INCREF(Py_None
);
1889 _resultobj
= Py_None
;
1893 static PyObject
*_wrap_wxPostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
* _resultobj
;
1896 char *_kwnames
[] = { NULL
};
1899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxPostScriptDC_GetResolution",_kwnames
))
1902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1903 _result
= (int )wxPostScriptDC::GetResolution();
1905 wxPyEndAllowThreads(__tstate
);
1906 if (PyErr_Occurred()) return NULL
;
1907 } _resultobj
= Py_BuildValue("i",_result
);
1911 static void *SwigwxPageSetupDialogDataTowxObject(void *ptr
) {
1912 wxPageSetupDialogData
*src
;
1914 src
= (wxPageSetupDialogData
*) ptr
;
1915 dest
= (wxObject
*) src
;
1916 return (void *) dest
;
1919 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1920 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
* _resultobj
;
1922 wxPageSetupDialogData
* _result
;
1923 char *_kwnames
[] = { NULL
};
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1931 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1933 wxPyEndAllowThreads(__tstate
);
1934 if (PyErr_Occurred()) return NULL
;
1936 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1937 _resultobj
= Py_BuildValue("s",_ptemp
);
1940 _resultobj
= Py_None
;
1945 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1946 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1948 wxPageSetupDialogData
* _arg0
;
1949 PyObject
* _argo0
= 0;
1950 char *_kwnames
[] = { "self", NULL
};
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
1956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 delete_wxPageSetupDialogData(_arg0
);
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) return NULL
;
1968 } Py_INCREF(Py_None
);
1969 _resultobj
= Py_None
;
1973 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1974 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1976 wxPageSetupDialogData
* _arg0
;
1978 PyObject
* _argo0
= 0;
1980 char *_kwnames
[] = { "self","flag", NULL
};
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1992 _arg1
= (bool ) tempbool1
;
1994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1995 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
1997 wxPyEndAllowThreads(__tstate
);
1998 if (PyErr_Occurred()) return NULL
;
1999 } Py_INCREF(Py_None
);
2000 _resultobj
= Py_None
;
2004 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
2005 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
* _resultobj
;
2007 wxPageSetupDialogData
* _arg0
;
2009 PyObject
* _argo0
= 0;
2011 char *_kwnames
[] = { "self","flag", NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
2017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
2023 _arg1
= (bool ) tempbool1
;
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2026 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) return NULL
;
2030 } Py_INCREF(Py_None
);
2031 _resultobj
= Py_None
;
2035 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
2036 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
* _resultobj
;
2038 wxPageSetupDialogData
* _arg0
;
2040 PyObject
* _argo0
= 0;
2042 char *_kwnames
[] = { "self","flag", NULL
};
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
2048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
2054 _arg1
= (bool ) tempbool1
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) return NULL
;
2061 } Py_INCREF(Py_None
);
2062 _resultobj
= Py_None
;
2066 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
2067 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
* _resultobj
;
2069 wxPageSetupDialogData
* _arg0
;
2071 PyObject
* _argo0
= 0;
2073 char *_kwnames
[] = { "self","flag", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
2079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
2085 _arg1
= (bool ) tempbool1
;
2087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2088 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
2090 wxPyEndAllowThreads(__tstate
);
2091 if (PyErr_Occurred()) return NULL
;
2092 } Py_INCREF(Py_None
);
2093 _resultobj
= Py_None
;
2097 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
2098 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
* _resultobj
;
2100 wxPageSetupDialogData
* _arg0
;
2102 PyObject
* _argo0
= 0;
2104 char *_kwnames
[] = { "self","flag", NULL
};
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
2110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
2116 _arg1
= (bool ) tempbool1
;
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) return NULL
;
2123 } Py_INCREF(Py_None
);
2124 _resultobj
= Py_None
;
2128 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
2129 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
* _resultobj
;
2132 wxPageSetupDialogData
* _arg0
;
2133 PyObject
* _argo0
= 0;
2134 char *_kwnames
[] = { "self", NULL
};
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
2140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
2150 wxPyEndAllowThreads(__tstate
);
2151 if (PyErr_Occurred()) return NULL
;
2152 } _resultobj
= Py_BuildValue("i",_result
);
2156 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
2157 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
* _resultobj
;
2160 wxPageSetupDialogData
* _arg0
;
2161 PyObject
* _argo0
= 0;
2162 char *_kwnames
[] = { "self", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
2168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
2175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2176 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
2178 wxPyEndAllowThreads(__tstate
);
2179 if (PyErr_Occurred()) return NULL
;
2180 } _resultobj
= Py_BuildValue("i",_result
);
2184 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
2185 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
* _resultobj
;
2188 wxPageSetupDialogData
* _arg0
;
2189 PyObject
* _argo0
= 0;
2190 char *_kwnames
[] = { "self", NULL
};
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
2196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) return NULL
;
2208 } _resultobj
= Py_BuildValue("i",_result
);
2212 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
2213 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
* _resultobj
;
2216 wxPageSetupDialogData
* _arg0
;
2217 PyObject
* _argo0
= 0;
2218 char *_kwnames
[] = { "self", NULL
};
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
2224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) return NULL
;
2236 } _resultobj
= Py_BuildValue("i",_result
);
2240 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
2241 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2244 wxPageSetupDialogData
* _arg0
;
2245 PyObject
* _argo0
= 0;
2246 char *_kwnames
[] = { "self", NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
2252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
2259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2260 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
2262 wxPyEndAllowThreads(__tstate
);
2263 if (PyErr_Occurred()) return NULL
;
2264 } _resultobj
= Py_BuildValue("i",_result
);
2268 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
2269 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
* _resultobj
;
2272 wxPageSetupDialogData
* _arg0
;
2273 PyObject
* _argo0
= 0;
2274 char *_kwnames
[] = { "self", NULL
};
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
2280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2288 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
2290 wxPyEndAllowThreads(__tstate
);
2291 if (PyErr_Occurred()) return NULL
;
2292 } _resultobj
= Py_BuildValue("i",_result
);
2296 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2297 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
* _resultobj
;
2300 wxPageSetupDialogData
* _arg0
;
2301 PyObject
* _argo0
= 0;
2302 char *_kwnames
[] = { "self", NULL
};
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
2308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2316 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) return NULL
;
2320 } _resultobj
= Py_BuildValue("i",_result
);
2324 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2325 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
* _resultobj
;
2328 wxPageSetupDialogData
* _arg0
;
2329 PyObject
* _argo0
= 0;
2330 char *_kwnames
[] = { "self", NULL
};
2334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
2337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2345 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) return NULL
;
2349 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2350 _resultobj
= Py_BuildValue("s",_ptemp
);
2354 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2355 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2356 PyObject
* _resultobj
;
2358 wxPageSetupDialogData
* _arg0
;
2359 PyObject
* _argo0
= 0;
2360 char *_kwnames
[] = { "self", NULL
};
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
2367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2375 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
2377 wxPyEndAllowThreads(__tstate
);
2378 if (PyErr_Occurred()) return NULL
;
2379 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2380 _resultobj
= Py_BuildValue("s",_ptemp
);
2384 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2385 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
* _resultobj
;
2388 wxPageSetupDialogData
* _arg0
;
2389 PyObject
* _argo0
= 0;
2390 char *_kwnames
[] = { "self", NULL
};
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
2397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) return NULL
;
2409 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2410 _resultobj
= Py_BuildValue("s",_ptemp
);
2414 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2415 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
* _resultobj
;
2418 wxPageSetupDialogData
* _arg0
;
2419 PyObject
* _argo0
= 0;
2420 char *_kwnames
[] = { "self", NULL
};
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2435 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2437 wxPyEndAllowThreads(__tstate
);
2438 if (PyErr_Occurred()) return NULL
;
2439 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2440 _resultobj
= Py_BuildValue("s",_ptemp
);
2444 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2445 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2447 wxPaperSize _result
;
2448 wxPageSetupDialogData
* _arg0
;
2449 PyObject
* _argo0
= 0;
2450 char *_kwnames
[] = { "self", NULL
};
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2464 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2466 wxPyEndAllowThreads(__tstate
);
2467 if (PyErr_Occurred()) return NULL
;
2468 } _resultobj
= Py_BuildValue("i",_result
);
2472 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2473 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2474 PyObject
* _resultobj
;
2476 wxPageSetupDialogData
* _arg0
;
2477 PyObject
* _argo0
= 0;
2478 char *_kwnames
[] = { "self", NULL
};
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
2485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) return NULL
;
2497 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2498 _resultobj
= Py_BuildValue("s",_ptemp
);
2502 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2503 return new wxPrintData(self
->GetPrintData()); // force a copy
2505 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
* _resultobj
;
2507 wxPrintData
* _result
;
2508 wxPageSetupDialogData
* _arg0
;
2509 PyObject
* _argo0
= 0;
2510 char *_kwnames
[] = { "self", NULL
};
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) return NULL
;
2530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2531 _resultobj
= Py_BuildValue("s",_ptemp
);
2534 _resultobj
= Py_None
;
2539 #define wxPageSetupDialogData_Ok(_swigobj) (_swigobj->Ok())
2540 static PyObject
*_wrap_wxPageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
* _resultobj
;
2543 wxPageSetupDialogData
* _arg0
;
2544 PyObject
* _argo0
= 0;
2545 char *_kwnames
[] = { "self", NULL
};
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_Ok",_kwnames
,&_argo0
))
2551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_Ok. Expected _wxPageSetupDialogData_p.");
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 _result
= (bool )wxPageSetupDialogData_Ok(_arg0
);
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) return NULL
;
2563 } _resultobj
= Py_BuildValue("i",_result
);
2567 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2568 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
* _resultobj
;
2570 wxPageSetupDialogData
* _arg0
;
2572 PyObject
* _argo0
= 0;
2574 char *_kwnames
[] = { "self","flag", NULL
};
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2586 _arg1
= (bool ) tempbool1
;
2588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2589 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2591 wxPyEndAllowThreads(__tstate
);
2592 if (PyErr_Occurred()) return NULL
;
2593 } Py_INCREF(Py_None
);
2594 _resultobj
= Py_None
;
2598 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2599 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
* _resultobj
;
2601 wxPageSetupDialogData
* _arg0
;
2603 PyObject
* _argo0
= 0;
2605 char *_kwnames
[] = { "self","flag", NULL
};
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2617 _arg1
= (bool ) tempbool1
;
2619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2620 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2622 wxPyEndAllowThreads(__tstate
);
2623 if (PyErr_Occurred()) return NULL
;
2624 } Py_INCREF(Py_None
);
2625 _resultobj
= Py_None
;
2629 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2630 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
* _resultobj
;
2632 wxPageSetupDialogData
* _arg0
;
2634 PyObject
* _argo0
= 0;
2636 PyObject
* _obj1
= 0;
2637 char *_kwnames
[] = { "self","pt", NULL
};
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2651 if (! wxPoint_helper(_obj1
, &_arg1
))
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) return NULL
;
2660 } Py_INCREF(Py_None
);
2661 _resultobj
= Py_None
;
2665 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2666 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
* _resultobj
;
2668 wxPageSetupDialogData
* _arg0
;
2670 PyObject
* _argo0
= 0;
2672 PyObject
* _obj1
= 0;
2673 char *_kwnames
[] = { "self","pt", NULL
};
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2687 if (! wxPoint_helper(_obj1
, &_arg1
))
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) return NULL
;
2696 } Py_INCREF(Py_None
);
2697 _resultobj
= Py_None
;
2701 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2702 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
* _resultobj
;
2704 wxPageSetupDialogData
* _arg0
;
2706 PyObject
* _argo0
= 0;
2708 PyObject
* _obj1
= 0;
2709 char *_kwnames
[] = { "self","pt", NULL
};
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2723 if (! wxPoint_helper(_obj1
, &_arg1
))
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) return NULL
;
2732 } Py_INCREF(Py_None
);
2733 _resultobj
= Py_None
;
2737 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2738 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2740 wxPageSetupDialogData
* _arg0
;
2742 PyObject
* _argo0
= 0;
2744 PyObject
* _obj1
= 0;
2745 char *_kwnames
[] = { "self","pt", NULL
};
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2759 if (! wxPoint_helper(_obj1
, &_arg1
))
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) return NULL
;
2768 } Py_INCREF(Py_None
);
2769 _resultobj
= Py_None
;
2773 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2774 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
* _resultobj
;
2776 wxPageSetupDialogData
* _arg0
;
2778 PyObject
* _argo0
= 0;
2779 char *_kwnames
[] = { "self","id", NULL
};
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) return NULL
;
2797 } Py_INCREF(Py_None
);
2798 _resultobj
= Py_None
;
2802 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2803 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
* _resultobj
;
2805 wxPageSetupDialogData
* _arg0
;
2807 PyObject
* _argo0
= 0;
2809 PyObject
* _obj1
= 0;
2810 char *_kwnames
[] = { "self","size", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2824 if (! wxSize_helper(_obj1
, &_arg1
))
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) return NULL
;
2833 } Py_INCREF(Py_None
);
2834 _resultobj
= Py_None
;
2838 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2839 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
* _resultobj
;
2841 wxPageSetupDialogData
* _arg0
;
2842 wxPrintData
* _arg1
;
2843 PyObject
* _argo0
= 0;
2844 PyObject
* _argo1
= 0;
2845 char *_kwnames
[] = { "self","printData", NULL
};
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2858 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2867 wxPyEndAllowThreads(__tstate
);
2868 if (PyErr_Occurred()) return NULL
;
2869 } Py_INCREF(Py_None
);
2870 _resultobj
= Py_None
;
2874 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2875 wxPageSetupDialog
*src
;
2877 src
= (wxPageSetupDialog
*) ptr
;
2878 dest
= (wxDialog
*) src
;
2879 return (void *) dest
;
2882 static void *SwigwxPageSetupDialogTowxTopLevelWindow(void *ptr
) {
2883 wxPageSetupDialog
*src
;
2884 wxTopLevelWindow
*dest
;
2885 src
= (wxPageSetupDialog
*) ptr
;
2886 dest
= (wxTopLevelWindow
*) src
;
2887 return (void *) dest
;
2890 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2891 wxPageSetupDialog
*src
;
2893 src
= (wxPageSetupDialog
*) ptr
;
2894 dest
= (wxWindow
*) src
;
2895 return (void *) dest
;
2898 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2899 wxPageSetupDialog
*src
;
2901 src
= (wxPageSetupDialog
*) ptr
;
2902 dest
= (wxEvtHandler
*) src
;
2903 return (void *) dest
;
2906 static void *SwigwxPageSetupDialogTowxObject(void *ptr
) {
2907 wxPageSetupDialog
*src
;
2909 src
= (wxPageSetupDialog
*) ptr
;
2910 dest
= (wxObject
*) src
;
2911 return (void *) dest
;
2914 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2915 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
* _resultobj
;
2917 wxPageSetupDialog
* _result
;
2919 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2920 PyObject
* _argo0
= 0;
2921 PyObject
* _argo1
= 0;
2922 char *_kwnames
[] = { "parent","data", NULL
};
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2936 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2937 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2944 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2946 wxPyEndAllowThreads(__tstate
);
2947 if (PyErr_Occurred()) return NULL
;
2949 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2950 _resultobj
= Py_BuildValue("s",_ptemp
);
2953 _resultobj
= Py_None
;
2958 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2959 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
* _resultobj
;
2961 wxPageSetupDialogData
* _result
;
2962 wxPageSetupDialog
* _arg0
;
2963 PyObject
* _argo0
= 0;
2964 char *_kwnames
[] = { "self", NULL
};
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2980 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2982 wxPyEndAllowThreads(__tstate
);
2983 if (PyErr_Occurred()) return NULL
;
2985 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2986 _resultobj
= Py_BuildValue("s",_ptemp
);
2989 _resultobj
= Py_None
;
2994 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2995 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
* _resultobj
;
2998 wxPageSetupDialog
* _arg0
;
2999 PyObject
* _argo0
= 0;
3000 char *_kwnames
[] = { "self", NULL
};
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
3006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
3008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) return NULL
;
3018 } _resultobj
= Py_BuildValue("i",_result
);
3022 static void *SwigwxPrintDialogDataTowxObject(void *ptr
) {
3023 wxPrintDialogData
*src
;
3025 src
= (wxPrintDialogData
*) ptr
;
3026 dest
= (wxObject
*) src
;
3027 return (void *) dest
;
3030 #define new_wxPrintDialogData() (new wxPrintDialogData())
3031 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
* _resultobj
;
3033 wxPrintDialogData
* _result
;
3034 char *_kwnames
[] = { NULL
};
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) return NULL
;
3047 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3048 _resultobj
= Py_BuildValue("s",_ptemp
);
3051 _resultobj
= Py_None
;
3056 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
3057 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
* _resultobj
;
3059 wxPrintDialogData
* _arg0
;
3060 PyObject
* _argo0
= 0;
3061 char *_kwnames
[] = { "self", NULL
};
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
3067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
3074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3075 delete_wxPrintDialogData(_arg0
);
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) return NULL
;
3079 } Py_INCREF(Py_None
);
3080 _resultobj
= Py_None
;
3084 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
3085 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
* _resultobj
;
3088 wxPrintDialogData
* _arg0
;
3089 PyObject
* _argo0
= 0;
3090 char *_kwnames
[] = { "self", NULL
};
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
3096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) return NULL
;
3108 } _resultobj
= Py_BuildValue("i",_result
);
3112 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3113 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
* _resultobj
;
3116 wxPrintDialogData
* _arg0
;
3117 PyObject
* _argo0
= 0;
3118 char *_kwnames
[] = { "self", NULL
};
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
3124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) return NULL
;
3136 } _resultobj
= Py_BuildValue("i",_result
);
3140 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3141 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
* _resultobj
;
3144 wxPrintDialogData
* _arg0
;
3145 PyObject
* _argo0
= 0;
3146 char *_kwnames
[] = { "self", NULL
};
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
3152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) return NULL
;
3164 } _resultobj
= Py_BuildValue("i",_result
);
3168 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3169 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
* _resultobj
;
3172 wxPrintDialogData
* _arg0
;
3173 PyObject
* _argo0
= 0;
3174 char *_kwnames
[] = { "self", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
3180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) return NULL
;
3192 } _resultobj
= Py_BuildValue("i",_result
);
3196 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3197 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
* _resultobj
;
3200 wxPrintDialogData
* _arg0
;
3201 PyObject
* _argo0
= 0;
3202 char *_kwnames
[] = { "self", NULL
};
3205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
3208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
3215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3216 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
3218 wxPyEndAllowThreads(__tstate
);
3219 if (PyErr_Occurred()) return NULL
;
3220 } _resultobj
= Py_BuildValue("i",_result
);
3224 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
3225 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3226 PyObject
* _resultobj
;
3228 wxPrintDialogData
* _arg0
;
3229 PyObject
* _argo0
= 0;
3230 char *_kwnames
[] = { "self", NULL
};
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
3236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) return NULL
;
3248 } _resultobj
= Py_BuildValue("i",_result
);
3252 #define wxPrintDialogData_GetSelection(_swigobj) (_swigobj->GetSelection())
3253 static PyObject
*_wrap_wxPrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
* _resultobj
;
3256 wxPrintDialogData
* _arg0
;
3257 PyObject
* _argo0
= 0;
3258 char *_kwnames
[] = { "self", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetSelection",_kwnames
,&_argo0
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetSelection. Expected _wxPrintDialogData_p.");
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 _result
= (bool )wxPrintDialogData_GetSelection(_arg0
);
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) return NULL
;
3276 } _resultobj
= Py_BuildValue("i",_result
);
3280 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
3281 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
* _resultobj
;
3284 wxPrintDialogData
* _arg0
;
3285 PyObject
* _argo0
= 0;
3286 char *_kwnames
[] = { "self", NULL
};
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
3292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) return NULL
;
3304 } _resultobj
= Py_BuildValue("i",_result
);
3308 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3309 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
* _resultobj
;
3312 wxPrintDialogData
* _arg0
;
3313 PyObject
* _argo0
= 0;
3314 char *_kwnames
[] = { "self", NULL
};
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
3320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) return NULL
;
3332 } _resultobj
= Py_BuildValue("i",_result
);
3336 #define wxPrintDialogData_GetSetupDialog(_swigobj) (_swigobj->GetSetupDialog())
3337 static PyObject
*_wrap_wxPrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
* _resultobj
;
3340 wxPrintDialogData
* _arg0
;
3341 PyObject
* _argo0
= 0;
3342 char *_kwnames
[] = { "self", NULL
};
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetSetupDialog",_kwnames
,&_argo0
))
3348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetSetupDialog. Expected _wxPrintDialogData_p.");
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 _result
= (bool )wxPrintDialogData_GetSetupDialog(_arg0
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) return NULL
;
3360 } _resultobj
= Py_BuildValue("i",_result
);
3364 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3365 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
* _resultobj
;
3367 wxPrintDialogData
* _arg0
;
3369 PyObject
* _argo0
= 0;
3370 char *_kwnames
[] = { "self","v", NULL
};
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
3376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) return NULL
;
3388 } Py_INCREF(Py_None
);
3389 _resultobj
= Py_None
;
3393 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3394 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
* _resultobj
;
3396 wxPrintDialogData
* _arg0
;
3398 PyObject
* _argo0
= 0;
3399 char *_kwnames
[] = { "self","v", NULL
};
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) return NULL
;
3417 } Py_INCREF(Py_None
);
3418 _resultobj
= Py_None
;
3422 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3423 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
* _resultobj
;
3425 wxPrintDialogData
* _arg0
;
3427 PyObject
* _argo0
= 0;
3428 char *_kwnames
[] = { "self","v", NULL
};
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) return NULL
;
3446 } Py_INCREF(Py_None
);
3447 _resultobj
= Py_None
;
3451 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3452 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3454 wxPrintDialogData
* _arg0
;
3456 PyObject
* _argo0
= 0;
3457 char *_kwnames
[] = { "self","v", NULL
};
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
3463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) return NULL
;
3475 } Py_INCREF(Py_None
);
3476 _resultobj
= Py_None
;
3480 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3481 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3483 wxPrintDialogData
* _arg0
;
3485 PyObject
* _argo0
= 0;
3486 char *_kwnames
[] = { "self","v", NULL
};
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
3492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) return NULL
;
3504 } Py_INCREF(Py_None
);
3505 _resultobj
= Py_None
;
3509 #define wxPrintDialogData_SetAllPages(_swigobj,_swigarg0) (_swigobj->SetAllPages(_swigarg0))
3510 static PyObject
*_wrap_wxPrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3512 wxPrintDialogData
* _arg0
;
3514 PyObject
* _argo0
= 0;
3516 char *_kwnames
[] = { "self","flag", NULL
};
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetAllPages",_kwnames
,&_argo0
,&tempbool1
))
3522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetAllPages. Expected _wxPrintDialogData_p.");
3528 _arg1
= (bool ) tempbool1
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 wxPrintDialogData_SetAllPages(_arg0
,_arg1
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) return NULL
;
3535 } Py_INCREF(Py_None
);
3536 _resultobj
= Py_None
;
3540 #define wxPrintDialogData_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3541 static PyObject
*_wrap_wxPrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
* _resultobj
;
3543 wxPrintDialogData
* _arg0
;
3545 PyObject
* _argo0
= 0;
3547 char *_kwnames
[] = { "self","flag", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSelection",_kwnames
,&_argo0
,&tempbool1
))
3553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSelection. Expected _wxPrintDialogData_p.");
3559 _arg1
= (bool ) tempbool1
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 wxPrintDialogData_SetSelection(_arg0
,_arg1
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) return NULL
;
3566 } Py_INCREF(Py_None
);
3567 _resultobj
= Py_None
;
3571 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3572 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
* _resultobj
;
3574 wxPrintDialogData
* _arg0
;
3576 PyObject
* _argo0
= 0;
3578 char *_kwnames
[] = { "self","flag", NULL
};
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
3584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3590 _arg1
= (bool ) tempbool1
;
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) return NULL
;
3597 } Py_INCREF(Py_None
);
3598 _resultobj
= Py_None
;
3602 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3603 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
* _resultobj
;
3605 wxPrintDialogData
* _arg0
;
3607 PyObject
* _argo0
= 0;
3609 char *_kwnames
[] = { "self","flag", NULL
};
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3621 _arg1
= (bool ) tempbool1
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) return NULL
;
3628 } Py_INCREF(Py_None
);
3629 _resultobj
= Py_None
;
3633 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3634 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3635 PyObject
* _resultobj
;
3636 wxPrintDialogData
* _arg0
;
3638 PyObject
* _argo0
= 0;
3640 char *_kwnames
[] = { "self","flag", NULL
};
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3652 _arg1
= (bool ) tempbool1
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) return NULL
;
3659 } Py_INCREF(Py_None
);
3660 _resultobj
= Py_None
;
3664 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
3665 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3667 wxPrintDialogData
* _arg0
;
3669 PyObject
* _argo0
= 0;
3671 char *_kwnames
[] = { "self","flag", NULL
};
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
3683 _arg1
= (bool ) tempbool1
;
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) return NULL
;
3690 } Py_INCREF(Py_None
);
3691 _resultobj
= Py_None
;
3695 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
3696 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
* _resultobj
;
3698 wxPrintDialogData
* _arg0
;
3700 PyObject
* _argo0
= 0;
3702 char *_kwnames
[] = { "self","flag", NULL
};
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
3708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
3714 _arg1
= (bool ) tempbool1
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) return NULL
;
3721 } Py_INCREF(Py_None
);
3722 _resultobj
= Py_None
;
3726 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
3727 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
* _resultobj
;
3729 wxPrintDialogData
* _arg0
;
3731 PyObject
* _argo0
= 0;
3733 char *_kwnames
[] = { "self","flag", NULL
};
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
3739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
3745 _arg1
= (bool ) tempbool1
;
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) return NULL
;
3752 } Py_INCREF(Py_None
);
3753 _resultobj
= Py_None
;
3757 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
3758 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3760 wxPrintDialogData
* _arg0
;
3762 PyObject
* _argo0
= 0;
3764 char *_kwnames
[] = { "self","flag", NULL
};
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
3770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
3776 _arg1
= (bool ) tempbool1
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) return NULL
;
3783 } Py_INCREF(Py_None
);
3784 _resultobj
= Py_None
;
3788 #define wxPrintDialogData_GetEnablePrintToFile(_swigobj) (_swigobj->GetEnablePrintToFile())
3789 static PyObject
*_wrap_wxPrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
* _resultobj
;
3792 wxPrintDialogData
* _arg0
;
3793 PyObject
* _argo0
= 0;
3794 char *_kwnames
[] = { "self", NULL
};
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetEnablePrintToFile",_kwnames
,&_argo0
))
3800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetEnablePrintToFile. Expected _wxPrintDialogData_p.");
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 _result
= (bool )wxPrintDialogData_GetEnablePrintToFile(_arg0
);
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) return NULL
;
3812 } _resultobj
= Py_BuildValue("i",_result
);
3816 #define wxPrintDialogData_GetEnableSelection(_swigobj) (_swigobj->GetEnableSelection())
3817 static PyObject
*_wrap_wxPrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
* _resultobj
;
3820 wxPrintDialogData
* _arg0
;
3821 PyObject
* _argo0
= 0;
3822 char *_kwnames
[] = { "self", NULL
};
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetEnableSelection",_kwnames
,&_argo0
))
3828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetEnableSelection. Expected _wxPrintDialogData_p.");
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 _result
= (bool )wxPrintDialogData_GetEnableSelection(_arg0
);
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) return NULL
;
3840 } _resultobj
= Py_BuildValue("i",_result
);
3844 #define wxPrintDialogData_GetEnablePageNumbers(_swigobj) (_swigobj->GetEnablePageNumbers())
3845 static PyObject
*_wrap_wxPrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
* _resultobj
;
3848 wxPrintDialogData
* _arg0
;
3849 PyObject
* _argo0
= 0;
3850 char *_kwnames
[] = { "self", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetEnablePageNumbers",_kwnames
,&_argo0
))
3856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetEnablePageNumbers. Expected _wxPrintDialogData_p.");
3863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3864 _result
= (bool )wxPrintDialogData_GetEnablePageNumbers(_arg0
);
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) return NULL
;
3868 } _resultobj
= Py_BuildValue("i",_result
);
3872 #define wxPrintDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
3873 static PyObject
*_wrap_wxPrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
* _resultobj
;
3876 wxPrintDialogData
* _arg0
;
3877 PyObject
* _argo0
= 0;
3878 char *_kwnames
[] = { "self", NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetEnableHelp",_kwnames
,&_argo0
))
3884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetEnableHelp. Expected _wxPrintDialogData_p.");
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3892 _result
= (bool )wxPrintDialogData_GetEnableHelp(_arg0
);
3894 wxPyEndAllowThreads(__tstate
);
3895 if (PyErr_Occurred()) return NULL
;
3896 } _resultobj
= Py_BuildValue("i",_result
);
3900 #define wxPrintDialogData_Ok(_swigobj) (_swigobj->Ok())
3901 static PyObject
*_wrap_wxPrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
* _resultobj
;
3904 wxPrintDialogData
* _arg0
;
3905 PyObject
* _argo0
= 0;
3906 char *_kwnames
[] = { "self", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_Ok",_kwnames
,&_argo0
))
3912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_Ok. Expected _wxPrintDialogData_p.");
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 _result
= (bool )wxPrintDialogData_Ok(_arg0
);
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) return NULL
;
3924 } _resultobj
= Py_BuildValue("i",_result
);
3928 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
3929 return new wxPrintData(self
->GetPrintData()); // force a copy
3931 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
* _resultobj
;
3933 wxPrintData
* _result
;
3934 wxPrintDialogData
* _arg0
;
3935 PyObject
* _argo0
= 0;
3936 char *_kwnames
[] = { "self", NULL
};
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
3943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) return NULL
;
3956 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
3957 _resultobj
= Py_BuildValue("s",_ptemp
);
3960 _resultobj
= Py_None
;
3965 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3966 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3968 wxPrintDialogData
* _arg0
;
3969 wxPrintData
* _arg1
;
3970 PyObject
* _argo0
= 0;
3971 PyObject
* _argo1
= 0;
3972 char *_kwnames
[] = { "self","printData", NULL
};
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
3978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3985 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) return NULL
;
3996 } Py_INCREF(Py_None
);
3997 _resultobj
= Py_None
;
4001 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
4004 src
= (wxPrintDialog
*) ptr
;
4005 dest
= (wxDialog
*) src
;
4006 return (void *) dest
;
4009 static void *SwigwxPrintDialogTowxTopLevelWindow(void *ptr
) {
4011 wxTopLevelWindow
*dest
;
4012 src
= (wxPrintDialog
*) ptr
;
4013 dest
= (wxTopLevelWindow
*) src
;
4014 return (void *) dest
;
4017 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
4020 src
= (wxPrintDialog
*) ptr
;
4021 dest
= (wxWindow
*) src
;
4022 return (void *) dest
;
4025 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
4028 src
= (wxPrintDialog
*) ptr
;
4029 dest
= (wxEvtHandler
*) src
;
4030 return (void *) dest
;
4033 static void *SwigwxPrintDialogTowxObject(void *ptr
) {
4036 src
= (wxPrintDialog
*) ptr
;
4037 dest
= (wxObject
*) src
;
4038 return (void *) dest
;
4041 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
4042 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
* _resultobj
;
4044 wxPrintDialog
* _result
;
4046 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
4047 PyObject
* _argo0
= 0;
4048 PyObject
* _argo1
= 0;
4049 char *_kwnames
[] = { "parent","data", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
4056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
4063 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4064 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) return NULL
;
4076 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
4077 _resultobj
= Py_BuildValue("s",_ptemp
);
4080 _resultobj
= Py_None
;
4085 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4086 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
* _resultobj
;
4088 wxPrintDialogData
* _result
;
4089 wxPrintDialog
* _arg0
;
4090 PyObject
* _argo0
= 0;
4091 char *_kwnames
[] = { "self", NULL
};
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
4098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
4100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
4107 _result
= (wxPrintDialogData
*) &_result_ref
;
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) return NULL
;
4112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4113 _resultobj
= Py_BuildValue("s",_ptemp
);
4116 _resultobj
= Py_None
;
4121 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
4122 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
* _resultobj
;
4125 wxPrintDialog
* _arg0
;
4126 PyObject
* _argo0
= 0;
4127 char *_kwnames
[] = { "self", NULL
};
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
4133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
4135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) return NULL
;
4145 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4149 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4150 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
* _resultobj
;
4153 wxPrintDialog
* _arg0
;
4154 PyObject
* _argo0
= 0;
4155 char *_kwnames
[] = { "self", NULL
};
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
4161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
4163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) return NULL
;
4173 } _resultobj
= Py_BuildValue("i",_result
);
4177 static void *SwigwxPyPrintoutTowxObject(void *ptr
) {
4180 src
= (wxPyPrintout
*) ptr
;
4181 dest
= (wxObject
*) src
;
4182 return (void *) dest
;
4185 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
4186 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
* _resultobj
;
4188 wxPyPrintout
* _result
;
4189 wxString
* _arg0
= (wxString
*) &wxPyPrintoutTitleStr
;
4190 PyObject
* _obj0
= 0;
4191 char *_kwnames
[] = { "title", NULL
};
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrintout",_kwnames
,&_obj0
))
4199 _arg0
= wxString_in_helper(_obj0
);
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 _result
= (wxPyPrintout
*)new_wxPrintout(*_arg0
);
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) return NULL
;
4210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
4211 _resultobj
= Py_BuildValue("s",_ptemp
);
4214 _resultobj
= Py_None
;
4223 #define wxPrintout__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4224 static PyObject
*_wrap_wxPrintout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
* _resultobj
;
4226 wxPyPrintout
* _arg0
;
4229 PyObject
* _argo0
= 0;
4230 PyObject
* _obj1
= 0;
4231 PyObject
* _obj2
= 0;
4232 char *_kwnames
[] = { "self","self","_class", NULL
};
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setCallbackInfo. Expected _wxPyPrintout_p.");
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 wxPrintout__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) return NULL
;
4256 } Py_INCREF(Py_None
);
4257 _resultobj
= Py_None
;
4261 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
4262 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
* _resultobj
;
4264 wxPyPrintout
* _arg0
;
4265 PyObject
* _argo0
= 0;
4266 char *_kwnames
[] = { "self", NULL
};
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
4272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 wxPyPrintout_Destroy(_arg0
);
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) return NULL
;
4284 } Py_INCREF(Py_None
);
4285 _resultobj
= Py_None
;
4289 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
4290 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
* _resultobj
;
4293 wxPyPrintout
* _arg0
;
4294 PyObject
* _argo0
= 0;
4295 char *_kwnames
[] = { "self", NULL
};
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
4301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
4308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4309 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
4311 wxPyEndAllowThreads(__tstate
);
4312 if (PyErr_Occurred()) return NULL
;
4313 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4317 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
4318 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
* _resultobj
;
4320 wxPyPrintout
* _arg0
;
4325 PyObject
* _argo0
= 0;
4326 char *_kwnames
[] = { "self", NULL
};
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
4338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) return NULL
;
4350 } Py_INCREF(Py_None
);
4351 _resultobj
= Py_None
;
4354 o
= PyInt_FromLong((long) (*_arg1
));
4355 _resultobj
= t_output_helper(_resultobj
, o
);
4359 o
= PyInt_FromLong((long) (*_arg2
));
4360 _resultobj
= t_output_helper(_resultobj
, o
);
4365 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
4366 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
* _resultobj
;
4368 wxPyPrintout
* _arg0
;
4373 PyObject
* _argo0
= 0;
4374 char *_kwnames
[] = { "self", NULL
};
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
4386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) return NULL
;
4398 } Py_INCREF(Py_None
);
4399 _resultobj
= Py_None
;
4402 o
= PyInt_FromLong((long) (*_arg1
));
4403 _resultobj
= t_output_helper(_resultobj
, o
);
4407 o
= PyInt_FromLong((long) (*_arg2
));
4408 _resultobj
= t_output_helper(_resultobj
, o
);
4413 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
4414 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
* _resultobj
;
4416 wxPyPrintout
* _arg0
;
4421 PyObject
* _argo0
= 0;
4422 char *_kwnames
[] = { "self", NULL
};
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
4434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) return NULL
;
4446 } Py_INCREF(Py_None
);
4447 _resultobj
= Py_None
;
4450 o
= PyInt_FromLong((long) (*_arg1
));
4451 _resultobj
= t_output_helper(_resultobj
, o
);
4455 o
= PyInt_FromLong((long) (*_arg2
));
4456 _resultobj
= t_output_helper(_resultobj
, o
);
4461 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
4462 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
* _resultobj
;
4464 wxPyPrintout
* _arg0
;
4469 PyObject
* _argo0
= 0;
4470 char *_kwnames
[] = { "self", NULL
};
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
4482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) return NULL
;
4494 } Py_INCREF(Py_None
);
4495 _resultobj
= Py_None
;
4498 o
= PyInt_FromLong((long) (*_arg1
));
4499 _resultobj
= t_output_helper(_resultobj
, o
);
4503 o
= PyInt_FromLong((long) (*_arg2
));
4504 _resultobj
= t_output_helper(_resultobj
, o
);
4509 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
4510 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
* _resultobj
;
4513 wxPyPrintout
* _arg0
;
4514 PyObject
* _argo0
= 0;
4515 char *_kwnames
[] = { "self", NULL
};
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
4521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 _result
= (bool )wxPrintout_IsPreview(_arg0
);
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) return NULL
;
4533 } _resultobj
= Py_BuildValue("i",_result
);
4537 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
4538 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
* _resultobj
;
4541 wxPyPrintout
* _arg0
;
4544 PyObject
* _argo0
= 0;
4545 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) return NULL
;
4563 } _resultobj
= Py_BuildValue("i",_result
);
4567 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
4568 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
* _resultobj
;
4570 wxPyPrintout
* _arg0
;
4571 PyObject
* _argo0
= 0;
4572 char *_kwnames
[] = { "self", NULL
};
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
4578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 wxPrintout_base_OnEndDocument(_arg0
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) return NULL
;
4590 } Py_INCREF(Py_None
);
4591 _resultobj
= Py_None
;
4595 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
4596 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
* _resultobj
;
4598 wxPyPrintout
* _arg0
;
4599 PyObject
* _argo0
= 0;
4600 char *_kwnames
[] = { "self", NULL
};
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
4606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 wxPrintout_base_OnBeginPrinting(_arg0
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) return NULL
;
4618 } Py_INCREF(Py_None
);
4619 _resultobj
= Py_None
;
4623 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
4624 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
* _resultobj
;
4626 wxPyPrintout
* _arg0
;
4627 PyObject
* _argo0
= 0;
4628 char *_kwnames
[] = { "self", NULL
};
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
4634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 wxPrintout_base_OnEndPrinting(_arg0
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) return NULL
;
4646 } Py_INCREF(Py_None
);
4647 _resultobj
= Py_None
;
4651 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4652 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
* _resultobj
;
4654 wxPyPrintout
* _arg0
;
4655 PyObject
* _argo0
= 0;
4656 char *_kwnames
[] = { "self", NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
4662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 wxPrintout_base_OnPreparePrinting(_arg0
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) return NULL
;
4674 } Py_INCREF(Py_None
);
4675 _resultobj
= Py_None
;
4679 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4680 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
* _resultobj
;
4682 wxPyPrintout
* _arg0
;
4691 PyObject
* _argo0
= 0;
4692 char *_kwnames
[] = { "self", NULL
};
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
4710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) return NULL
;
4722 } Py_INCREF(Py_None
);
4723 _resultobj
= Py_None
;
4726 o
= PyInt_FromLong((long) (*_arg1
));
4727 _resultobj
= t_output_helper(_resultobj
, o
);
4731 o
= PyInt_FromLong((long) (*_arg2
));
4732 _resultobj
= t_output_helper(_resultobj
, o
);
4736 o
= PyInt_FromLong((long) (*_arg3
));
4737 _resultobj
= t_output_helper(_resultobj
, o
);
4741 o
= PyInt_FromLong((long) (*_arg4
));
4742 _resultobj
= t_output_helper(_resultobj
, o
);
4747 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4748 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
* _resultobj
;
4751 wxPyPrintout
* _arg0
;
4753 PyObject
* _argo0
= 0;
4754 char *_kwnames
[] = { "self","page", NULL
};
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
4760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) return NULL
;
4772 } _resultobj
= Py_BuildValue("i",_result
);
4776 static void *SwigwxPrinterTowxObject(void *ptr
) {
4779 src
= (wxPrinter
*) ptr
;
4780 dest
= (wxObject
*) src
;
4781 return (void *) dest
;
4784 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4785 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
* _resultobj
;
4787 wxPrinter
* _result
;
4788 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
4789 PyObject
* _argo0
= 0;
4790 char *_kwnames
[] = { "data", NULL
};
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
4797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
4799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) return NULL
;
4810 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4811 _resultobj
= Py_BuildValue("s",_ptemp
);
4814 _resultobj
= Py_None
;
4819 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4820 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
* _resultobj
;
4823 PyObject
* _argo0
= 0;
4824 char *_kwnames
[] = { "self", NULL
};
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
4830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 delete_wxPrinter(_arg0
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) return NULL
;
4842 } Py_INCREF(Py_None
);
4843 _resultobj
= Py_None
;
4847 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4848 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
* _resultobj
;
4852 wxPyPrintout
* _arg2
;
4853 PyObject
* _argo0
= 0;
4854 PyObject
* _argo1
= 0;
4855 PyObject
* _argo2
= 0;
4856 char *_kwnames
[] = { "self","parent","printout", NULL
};
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4876 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4877 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) return NULL
;
4888 } Py_INCREF(Py_None
);
4889 _resultobj
= Py_None
;
4893 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4894 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4896 wxPrintDialogData
* _result
;
4898 PyObject
* _argo0
= 0;
4899 char *_kwnames
[] = { "self", NULL
};
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4914 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4915 _result
= (wxPrintDialogData
*) &_result_ref
;
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) return NULL
;
4920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4921 _resultobj
= Py_BuildValue("s",_ptemp
);
4924 _resultobj
= Py_None
;
4929 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4930 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
* _resultobj
;
4935 wxPyPrintout
* _arg2
;
4936 int _arg3
= (int ) TRUE
;
4937 PyObject
* _argo0
= 0;
4938 PyObject
* _argo1
= 0;
4939 PyObject
* _argo2
= 0;
4940 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4953 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4954 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4960 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4961 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) return NULL
;
4972 } _resultobj
= Py_BuildValue("i",_result
);
4976 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4977 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
* _resultobj
;
4982 PyObject
* _argo0
= 0;
4983 PyObject
* _argo1
= 0;
4984 char *_kwnames
[] = { "self","parent", NULL
};
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4997 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4998 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) return NULL
;
5009 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5013 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
5014 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
* _resultobj
;
5018 wxPyPrintout
* _arg2
;
5020 PyObject
* _argo0
= 0;
5021 PyObject
* _argo1
= 0;
5022 PyObject
* _argo2
= 0;
5023 PyObject
* _obj3
= 0;
5024 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
))
5030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
5032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
5037 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5038 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
5044 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5045 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
5046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
5051 _arg3
= wxString_in_helper(_obj3
);
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,*_arg3
);
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) return NULL
;
5061 } Py_INCREF(Py_None
);
5062 _resultobj
= Py_None
;
5070 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
5071 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
* _resultobj
;
5076 PyObject
* _argo0
= 0;
5077 PyObject
* _argo1
= 0;
5078 char *_kwnames
[] = { "self","parent", NULL
};
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
5084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
5086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
5091 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5092 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) return NULL
;
5103 } _resultobj
= Py_BuildValue("i",_result
);
5107 #define wxPrinter_GetAbort(_swigobj) (_swigobj->GetAbort())
5108 static PyObject
*_wrap_wxPrinter_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
* _resultobj
;
5112 PyObject
* _argo0
= 0;
5113 char *_kwnames
[] = { "self", NULL
};
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetAbort",_kwnames
,&_argo0
))
5119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
5121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetAbort. Expected _wxPrinter_p.");
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 _result
= (bool )wxPrinter_GetAbort(_arg0
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) return NULL
;
5131 } _resultobj
= Py_BuildValue("i",_result
);
5135 static PyObject
*_wrap_wxPrinter_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
* _resultobj
;
5137 wxPrinterError _result
;
5138 char *_kwnames
[] = { NULL
};
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxPrinter_GetLastError",_kwnames
))
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 _result
= (wxPrinterError
)wxPrinter::GetLastError();
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) return NULL
;
5149 } _resultobj
= Py_BuildValue("i",_result
);
5153 static void *SwigwxPrintAbortDialogTowxDialog(void *ptr
) {
5154 wxPrintAbortDialog
*src
;
5156 src
= (wxPrintAbortDialog
*) ptr
;
5157 dest
= (wxDialog
*) src
;
5158 return (void *) dest
;
5161 static void *SwigwxPrintAbortDialogTowxTopLevelWindow(void *ptr
) {
5162 wxPrintAbortDialog
*src
;
5163 wxTopLevelWindow
*dest
;
5164 src
= (wxPrintAbortDialog
*) ptr
;
5165 dest
= (wxTopLevelWindow
*) src
;
5166 return (void *) dest
;
5169 static void *SwigwxPrintAbortDialogTowxWindow(void *ptr
) {
5170 wxPrintAbortDialog
*src
;
5172 src
= (wxPrintAbortDialog
*) ptr
;
5173 dest
= (wxWindow
*) src
;
5174 return (void *) dest
;
5177 static void *SwigwxPrintAbortDialogTowxEvtHandler(void *ptr
) {
5178 wxPrintAbortDialog
*src
;
5180 src
= (wxPrintAbortDialog
*) ptr
;
5181 dest
= (wxEvtHandler
*) src
;
5182 return (void *) dest
;
5185 static void *SwigwxPrintAbortDialogTowxObject(void *ptr
) {
5186 wxPrintAbortDialog
*src
;
5188 src
= (wxPrintAbortDialog
*) ptr
;
5189 dest
= (wxObject
*) src
;
5190 return (void *) dest
;
5193 #define new_wxPrintAbortDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPrintAbortDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5194 static PyObject
*_wrap_new_wxPrintAbortDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
* _resultobj
;
5196 wxPrintAbortDialog
* _result
;
5199 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5200 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5201 long _arg4
= (long ) 0;
5202 wxString
* _arg5
= (wxString
*) &wxPyDialogNameStr
;
5203 PyObject
* _argo0
= 0;
5204 PyObject
* _obj1
= 0;
5206 PyObject
* _obj2
= 0;
5208 PyObject
* _obj3
= 0;
5209 PyObject
* _obj5
= 0;
5210 char *_kwnames
[] = { "parent","title","pos","size","style","name", NULL
};
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOlO:new_wxPrintAbortDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
5217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintAbortDialog. Expected _wxWindow_p.");
5224 _arg1
= wxString_in_helper(_obj1
);
5231 if (! wxPoint_helper(_obj2
, &_arg2
))
5237 if (! wxSize_helper(_obj3
, &_arg3
))
5242 _arg5
= wxString_in_helper(_obj5
);
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 _result
= (wxPrintAbortDialog
*)new_wxPrintAbortDialog(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) return NULL
;
5253 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintAbortDialog_p");
5254 _resultobj
= Py_BuildValue("s",_ptemp
);
5257 _resultobj
= Py_None
;
5270 static void *SwigwxPrintPreviewTowxObject(void *ptr
) {
5271 wxPrintPreview
*src
;
5273 src
= (wxPrintPreview
*) ptr
;
5274 dest
= (wxObject
*) src
;
5275 return (void *) dest
;
5278 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
5279 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
* _resultobj
;
5281 wxPrintPreview
* _result
;
5282 wxPyPrintout
* _arg0
;
5283 wxPyPrintout
* _arg1
;
5284 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
5285 PyObject
* _argo0
= 0;
5286 PyObject
* _argo1
= 0;
5287 PyObject
* _argo2
= 0;
5288 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
5297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
5302 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5303 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
5304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
5309 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5310 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
5311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) return NULL
;
5322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
5323 _resultobj
= Py_BuildValue("s",_ptemp
);
5326 _resultobj
= Py_None
;
5331 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
5332 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
* _resultobj
;
5335 wxPrintPreview
* _arg0
;
5337 PyObject
* _argo0
= 0;
5338 char *_kwnames
[] = { "self","pageNum", NULL
};
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
5344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 _result
= (bool )wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) return NULL
;
5356 } _resultobj
= Py_BuildValue("i",_result
);
5360 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
5361 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
* _resultobj
;
5364 wxPrintPreview
* _arg0
;
5365 PyObject
* _argo0
= 0;
5366 char *_kwnames
[] = { "self", NULL
};
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
5372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) return NULL
;
5384 } _resultobj
= Py_BuildValue("i",_result
);
5388 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
5389 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
* _resultobj
;
5391 wxPrintPreview
* _arg0
;
5392 wxPyPrintout
* _arg1
;
5393 PyObject
* _argo0
= 0;
5394 PyObject
* _argo1
= 0;
5395 char *_kwnames
[] = { "self","printout", NULL
};
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
5401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
5408 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5409 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) return NULL
;
5420 } Py_INCREF(Py_None
);
5421 _resultobj
= Py_None
;
5425 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
5426 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
* _resultobj
;
5428 wxPyPrintout
* _result
;
5429 wxPrintPreview
* _arg0
;
5430 PyObject
* _argo0
= 0;
5431 char *_kwnames
[] = { "self", NULL
};
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
5437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) return NULL
;
5449 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5453 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
5454 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
* _resultobj
;
5456 wxPyPrintout
* _result
;
5457 wxPrintPreview
* _arg0
;
5458 PyObject
* _argo0
= 0;
5459 char *_kwnames
[] = { "self", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) return NULL
;
5477 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5481 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
5482 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
* _resultobj
;
5484 wxPrintPreview
* _arg0
;
5486 PyObject
* _argo0
= 0;
5487 PyObject
* _argo1
= 0;
5488 char *_kwnames
[] = { "self","frame", NULL
};
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
5494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
5501 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5502 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 wxPrintPreview_SetFrame(_arg0
,_arg1
);
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) return NULL
;
5513 } Py_INCREF(Py_None
);
5514 _resultobj
= Py_None
;
5518 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
5519 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
* _resultobj
;
5521 wxPrintPreview
* _arg0
;
5522 wxPreviewCanvas
* _arg1
;
5523 PyObject
* _argo0
= 0;
5524 PyObject
* _argo1
= 0;
5525 char *_kwnames
[] = { "self","canvas", NULL
};
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
5531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
5538 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5539 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewCanvas_p")) {
5540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxPreviewCanvas_p.");
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) return NULL
;
5550 } Py_INCREF(Py_None
);
5551 _resultobj
= Py_None
;
5555 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
5556 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
* _resultobj
;
5559 wxPrintPreview
* _arg0
;
5560 PyObject
* _argo0
= 0;
5561 char *_kwnames
[] = { "self", NULL
};
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
5567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) return NULL
;
5579 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5583 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
5584 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
* _resultobj
;
5586 wxPreviewCanvas
* _result
;
5587 wxPrintPreview
* _arg0
;
5588 PyObject
* _argo0
= 0;
5589 char *_kwnames
[] = { "self", NULL
};
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
5596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 _result
= (wxPreviewCanvas
*)wxPrintPreview_GetCanvas(_arg0
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) return NULL
;
5609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewCanvas_p");
5610 _resultobj
= Py_BuildValue("s",_ptemp
);
5613 _resultobj
= Py_None
;
5618 #define wxPrintPreview_PaintPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintPage(_swigarg0,_swigarg1))
5619 static PyObject
*_wrap_wxPrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
* _resultobj
;
5622 wxPrintPreview
* _arg0
;
5623 wxPreviewCanvas
* _arg1
;
5625 PyObject
* _argo0
= 0;
5626 PyObject
* _argo1
= 0;
5627 PyObject
* _argo2
= 0;
5628 char *_kwnames
[] = { "self","canvas","dc", NULL
};
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintPreview_PaintPage",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_PaintPage. Expected _wxPrintPreview_p.");
5641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewCanvas_p")) {
5643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_PaintPage. Expected _wxPreviewCanvas_p.");
5648 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
5649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrintPreview_PaintPage. Expected _wxDC_p.");
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 _result
= (bool )wxPrintPreview_PaintPage(_arg0
,_arg1
,*_arg2
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) return NULL
;
5659 } _resultobj
= Py_BuildValue("i",_result
);
5663 #define wxPrintPreview_DrawBlankPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawBlankPage(_swigarg0,_swigarg1))
5664 static PyObject
*_wrap_wxPrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
* _resultobj
;
5667 wxPrintPreview
* _arg0
;
5668 wxPreviewCanvas
* _arg1
;
5670 PyObject
* _argo0
= 0;
5671 PyObject
* _argo1
= 0;
5672 PyObject
* _argo2
= 0;
5673 char *_kwnames
[] = { "self","canvas","dc", NULL
};
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintPreview_DrawBlankPage",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_DrawBlankPage. Expected _wxPrintPreview_p.");
5686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewCanvas_p")) {
5688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_DrawBlankPage. Expected _wxPreviewCanvas_p.");
5693 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
5694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrintPreview_DrawBlankPage. Expected _wxDC_p.");
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 _result
= (bool )wxPrintPreview_DrawBlankPage(_arg0
,_arg1
,*_arg2
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) return NULL
;
5704 } _resultobj
= Py_BuildValue("i",_result
);
5708 #define wxPrintPreview_RenderPage(_swigobj,_swigarg0) (_swigobj->RenderPage(_swigarg0))
5709 static PyObject
*_wrap_wxPrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
* _resultobj
;
5712 wxPrintPreview
* _arg0
;
5714 PyObject
* _argo0
= 0;
5715 char *_kwnames
[] = { "self","pageNum", NULL
};
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_RenderPage",_kwnames
,&_argo0
,&_arg1
))
5721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_RenderPage. Expected _wxPrintPreview_p.");
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 _result
= (bool )wxPrintPreview_RenderPage(_arg0
,_arg1
);
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) return NULL
;
5733 } _resultobj
= Py_BuildValue("i",_result
);
5737 #define wxPrintPreview_AdjustScrollbars(_swigobj,_swigarg0) (_swigobj->AdjustScrollbars(_swigarg0))
5738 static PyObject
*_wrap_wxPrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
* _resultobj
;
5740 wxPrintPreview
* _arg0
;
5741 wxPreviewCanvas
* _arg1
;
5742 PyObject
* _argo0
= 0;
5743 PyObject
* _argo1
= 0;
5744 char *_kwnames
[] = { "self","canvas", NULL
};
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_AdjustScrollbars",_kwnames
,&_argo0
,&_argo1
))
5750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_AdjustScrollbars. Expected _wxPrintPreview_p.");
5757 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5758 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewCanvas_p")) {
5759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_AdjustScrollbars. Expected _wxPreviewCanvas_p.");
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 wxPrintPreview_AdjustScrollbars(_arg0
,_arg1
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) return NULL
;
5769 } Py_INCREF(Py_None
);
5770 _resultobj
= Py_None
;
5774 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
5775 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
* _resultobj
;
5777 wxPrintDialogData
* _result
;
5778 wxPrintPreview
* _arg0
;
5779 PyObject
* _argo0
= 0;
5780 char *_kwnames
[] = { "self", NULL
};
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
5787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
5796 _result
= (wxPrintDialogData
*) &_result_ref
;
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) return NULL
;
5801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
5802 _resultobj
= Py_BuildValue("s",_ptemp
);
5805 _resultobj
= Py_None
;
5810 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
5811 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
* _resultobj
;
5813 wxPrintPreview
* _arg0
;
5815 PyObject
* _argo0
= 0;
5816 char *_kwnames
[] = { "self","percent", NULL
};
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
5822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 wxPrintPreview_SetZoom(_arg0
,_arg1
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) return NULL
;
5834 } Py_INCREF(Py_None
);
5835 _resultobj
= Py_None
;
5839 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
5840 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
* _resultobj
;
5843 wxPrintPreview
* _arg0
;
5844 PyObject
* _argo0
= 0;
5845 char *_kwnames
[] = { "self", NULL
};
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
5851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) return NULL
;
5863 } _resultobj
= Py_BuildValue("i",_result
);
5867 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
5868 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
* _resultobj
;
5871 wxPrintPreview
* _arg0
;
5872 PyObject
* _argo0
= 0;
5873 char *_kwnames
[] = { "self", NULL
};
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
5879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) return NULL
;
5891 } _resultobj
= Py_BuildValue("i",_result
);
5895 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
5896 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
* _resultobj
;
5899 wxPrintPreview
* _arg0
;
5900 PyObject
* _argo0
= 0;
5901 char *_kwnames
[] = { "self", NULL
};
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
5907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) return NULL
;
5919 } _resultobj
= Py_BuildValue("i",_result
);
5923 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
5924 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
* _resultobj
;
5927 wxPrintPreview
* _arg0
;
5928 PyObject
* _argo0
= 0;
5929 char *_kwnames
[] = { "self", NULL
};
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
5935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 _result
= (bool )wxPrintPreview_Ok(_arg0
);
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) return NULL
;
5947 } _resultobj
= Py_BuildValue("i",_result
);
5951 #define wxPrintPreview_SetOk(_swigobj,_swigarg0) (_swigobj->SetOk(_swigarg0))
5952 static PyObject
*_wrap_wxPrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
* _resultobj
;
5954 wxPrintPreview
* _arg0
;
5956 PyObject
* _argo0
= 0;
5958 char *_kwnames
[] = { "self","ok", NULL
};
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetOk",_kwnames
,&_argo0
,&tempbool1
))
5964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetOk. Expected _wxPrintPreview_p.");
5970 _arg1
= (bool ) tempbool1
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 wxPrintPreview_SetOk(_arg0
,_arg1
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) return NULL
;
5977 } Py_INCREF(Py_None
);
5978 _resultobj
= Py_None
;
5982 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
5983 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
* _resultobj
;
5986 wxPrintPreview
* _arg0
;
5988 PyObject
* _argo0
= 0;
5990 char *_kwnames
[] = { "self","interactive", NULL
};
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
5996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
6002 _arg1
= (bool ) tempbool1
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) return NULL
;
6009 } _resultobj
= Py_BuildValue("i",_result
);
6013 #define wxPrintPreview_DetermineScaling(_swigobj) (_swigobj->DetermineScaling())
6014 static PyObject
*_wrap_wxPrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
* _resultobj
;
6016 wxPrintPreview
* _arg0
;
6017 PyObject
* _argo0
= 0;
6018 char *_kwnames
[] = { "self", NULL
};
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_DetermineScaling",_kwnames
,&_argo0
))
6024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
6026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_DetermineScaling. Expected _wxPrintPreview_p.");
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 wxPrintPreview_DetermineScaling(_arg0
);
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) return NULL
;
6036 } Py_INCREF(Py_None
);
6037 _resultobj
= Py_None
;
6041 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
6042 wxPreviewFrame
*src
;
6044 src
= (wxPreviewFrame
*) ptr
;
6045 dest
= (wxFrame
*) src
;
6046 return (void *) dest
;
6049 static void *SwigwxPreviewFrameTowxTopLevelWindow(void *ptr
) {
6050 wxPreviewFrame
*src
;
6051 wxTopLevelWindow
*dest
;
6052 src
= (wxPreviewFrame
*) ptr
;
6053 dest
= (wxTopLevelWindow
*) src
;
6054 return (void *) dest
;
6057 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
6058 wxPreviewFrame
*src
;
6060 src
= (wxPreviewFrame
*) ptr
;
6061 dest
= (wxWindow
*) src
;
6062 return (void *) dest
;
6065 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
6066 wxPreviewFrame
*src
;
6068 src
= (wxPreviewFrame
*) ptr
;
6069 dest
= (wxEvtHandler
*) src
;
6070 return (void *) dest
;
6073 static void *SwigwxPreviewFrameTowxObject(void *ptr
) {
6074 wxPreviewFrame
*src
;
6076 src
= (wxPreviewFrame
*) ptr
;
6077 dest
= (wxObject
*) src
;
6078 return (void *) dest
;
6081 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6082 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
* _resultobj
;
6084 wxPreviewFrame
* _result
;
6085 wxPrintPreview
* _arg0
;
6088 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6089 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6090 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
6091 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
6092 PyObject
* _argo0
= 0;
6093 PyObject
* _argo1
= 0;
6094 PyObject
* _obj2
= 0;
6096 PyObject
* _obj3
= 0;
6098 PyObject
* _obj4
= 0;
6099 PyObject
* _obj6
= 0;
6100 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOlO:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
6109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
6114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
6116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
6121 _arg2
= wxString_in_helper(_obj2
);
6128 if (! wxPoint_helper(_obj3
, &_arg3
))
6134 if (! wxSize_helper(_obj4
, &_arg4
))
6139 _arg6
= wxString_in_helper(_obj6
);
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) return NULL
;
6150 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
6151 _resultobj
= Py_BuildValue("s",_ptemp
);
6154 _resultobj
= Py_None
;
6167 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
6168 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
* _resultobj
;
6170 wxPreviewFrame
* _arg0
;
6171 PyObject
* _argo0
= 0;
6172 char *_kwnames
[] = { "self", NULL
};
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
6178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
6180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 wxPreviewFrame_Initialize(_arg0
);
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) return NULL
;
6190 } Py_INCREF(Py_None
);
6191 _resultobj
= Py_None
;
6195 #define wxPreviewFrame_CreateControlBar(_swigobj) (_swigobj->CreateControlBar())
6196 static PyObject
*_wrap_wxPreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
* _resultobj
;
6198 wxPreviewFrame
* _arg0
;
6199 PyObject
* _argo0
= 0;
6200 char *_kwnames
[] = { "self", NULL
};
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_CreateControlBar",_kwnames
,&_argo0
))
6206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
6208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_CreateControlBar. Expected _wxPreviewFrame_p.");
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 wxPreviewFrame_CreateControlBar(_arg0
);
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) return NULL
;
6218 } Py_INCREF(Py_None
);
6219 _resultobj
= Py_None
;
6223 #define wxPreviewFrame_CreateCanvas(_swigobj) (_swigobj->CreateCanvas())
6224 static PyObject
*_wrap_wxPreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
* _resultobj
;
6226 wxPreviewFrame
* _arg0
;
6227 PyObject
* _argo0
= 0;
6228 char *_kwnames
[] = { "self", NULL
};
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_CreateCanvas",_kwnames
,&_argo0
))
6234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
6236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_CreateCanvas. Expected _wxPreviewFrame_p.");
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 wxPreviewFrame_CreateCanvas(_arg0
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) return NULL
;
6246 } Py_INCREF(Py_None
);
6247 _resultobj
= Py_None
;
6251 #define wxPreviewFrame_GetControlBar(_swigobj) (_swigobj->GetControlBar())
6252 static PyObject
*_wrap_wxPreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
* _resultobj
;
6254 wxPreviewControlBar
* _result
;
6255 wxPreviewFrame
* _arg0
;
6256 PyObject
* _argo0
= 0;
6257 char *_kwnames
[] = { "self", NULL
};
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_GetControlBar",_kwnames
,&_argo0
))
6264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
6266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_GetControlBar. Expected _wxPreviewFrame_p.");
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 _result
= (wxPreviewControlBar
*)wxPreviewFrame_GetControlBar(_arg0
);
6274 wxPyEndAllowThreads(__tstate
);
6275 if (PyErr_Occurred()) return NULL
;
6277 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewControlBar_p");
6278 _resultobj
= Py_BuildValue("s",_ptemp
);
6281 _resultobj
= Py_None
;
6286 static void *SwigwxPreviewCanvasTowxScrolledWindow(void *ptr
) {
6287 wxPreviewCanvas
*src
;
6288 wxScrolledWindow
*dest
;
6289 src
= (wxPreviewCanvas
*) ptr
;
6290 dest
= (wxScrolledWindow
*) src
;
6291 return (void *) dest
;
6294 static void *SwigwxPreviewCanvasTowxPanel(void *ptr
) {
6295 wxPreviewCanvas
*src
;
6297 src
= (wxPreviewCanvas
*) ptr
;
6298 dest
= (wxPanel
*) src
;
6299 return (void *) dest
;
6302 static void *SwigwxPreviewCanvasTowxWindow(void *ptr
) {
6303 wxPreviewCanvas
*src
;
6305 src
= (wxPreviewCanvas
*) ptr
;
6306 dest
= (wxWindow
*) src
;
6307 return (void *) dest
;
6310 static void *SwigwxPreviewCanvasTowxEvtHandler(void *ptr
) {
6311 wxPreviewCanvas
*src
;
6313 src
= (wxPreviewCanvas
*) ptr
;
6314 dest
= (wxEvtHandler
*) src
;
6315 return (void *) dest
;
6318 static void *SwigwxPreviewCanvasTowxObject(void *ptr
) {
6319 wxPreviewCanvas
*src
;
6321 src
= (wxPreviewCanvas
*) ptr
;
6322 dest
= (wxObject
*) src
;
6323 return (void *) dest
;
6326 #define new_wxPreviewCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPreviewCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6327 static PyObject
*_wrap_new_wxPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
* _resultobj
;
6329 wxPreviewCanvas
* _result
;
6330 wxPrintPreview
* _arg0
;
6332 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6333 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6334 long _arg4
= (long ) 0;
6335 wxString
* _arg5
= (wxString
*) &wxPyPreviewCanvasNameStr
;
6336 PyObject
* _argo0
= 0;
6337 PyObject
* _argo1
= 0;
6339 PyObject
* _obj2
= 0;
6341 PyObject
* _obj3
= 0;
6342 PyObject
* _obj5
= 0;
6343 char *_kwnames
[] = { "preview","parent","pos","size","style","name", NULL
};
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOlO:new_wxPreviewCanvas",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
6352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewCanvas. Expected _wxPrintPreview_p.");
6357 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6358 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewCanvas. Expected _wxWindow_p.");
6366 if (! wxPoint_helper(_obj2
, &_arg2
))
6372 if (! wxSize_helper(_obj3
, &_arg3
))
6377 _arg5
= wxString_in_helper(_obj5
);
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 _result
= (wxPreviewCanvas
*)new_wxPreviewCanvas(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) return NULL
;
6388 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewCanvas_p");
6389 _resultobj
= Py_BuildValue("s",_ptemp
);
6392 _resultobj
= Py_None
;
6401 static void *SwigwxPreviewControlBarTowxPanel(void *ptr
) {
6402 wxPreviewControlBar
*src
;
6404 src
= (wxPreviewControlBar
*) ptr
;
6405 dest
= (wxPanel
*) src
;
6406 return (void *) dest
;
6409 static void *SwigwxPreviewControlBarTowxWindow(void *ptr
) {
6410 wxPreviewControlBar
*src
;
6412 src
= (wxPreviewControlBar
*) ptr
;
6413 dest
= (wxWindow
*) src
;
6414 return (void *) dest
;
6417 static void *SwigwxPreviewControlBarTowxEvtHandler(void *ptr
) {
6418 wxPreviewControlBar
*src
;
6420 src
= (wxPreviewControlBar
*) ptr
;
6421 dest
= (wxEvtHandler
*) src
;
6422 return (void *) dest
;
6425 static void *SwigwxPreviewControlBarTowxObject(void *ptr
) {
6426 wxPreviewControlBar
*src
;
6428 src
= (wxPreviewControlBar
*) ptr
;
6429 dest
= (wxObject
*) src
;
6430 return (void *) dest
;
6433 #define new_wxPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6434 static PyObject
*_wrap_new_wxPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
* _resultobj
;
6436 wxPreviewControlBar
* _result
;
6437 wxPrintPreview
* _arg0
;
6440 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6441 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6442 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6443 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6444 PyObject
* _argo0
= 0;
6445 PyObject
* _argo2
= 0;
6447 PyObject
* _obj3
= 0;
6449 PyObject
* _obj4
= 0;
6450 PyObject
* _obj6
= 0;
6451 char *_kwnames
[] = { "preview","buttons","parent","pos","size","style","name", NULL
};
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|OOlO:new_wxPreviewControlBar",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
6460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewControlBar. Expected _wxPrintPreview_p.");
6465 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6466 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
6467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPreviewControlBar. Expected _wxWindow_p.");
6474 if (! wxPoint_helper(_obj3
, &_arg3
))
6480 if (! wxSize_helper(_obj4
, &_arg4
))
6485 _arg6
= wxString_in_helper(_obj6
);
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 _result
= (wxPreviewControlBar
*)new_wxPreviewControlBar(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) return NULL
;
6496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewControlBar_p");
6497 _resultobj
= Py_BuildValue("s",_ptemp
);
6500 _resultobj
= Py_None
;
6509 #define wxPreviewControlBar_GetZoomControl(_swigobj) (_swigobj->GetZoomControl())
6510 static PyObject
*_wrap_wxPreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6511 PyObject
* _resultobj
;
6513 wxPreviewControlBar
* _arg0
;
6514 PyObject
* _argo0
= 0;
6515 char *_kwnames
[] = { "self", NULL
};
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_GetZoomControl",_kwnames
,&_argo0
))
6521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_GetZoomControl. Expected _wxPreviewControlBar_p.");
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 _result
= (int )wxPreviewControlBar_GetZoomControl(_arg0
);
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) return NULL
;
6533 } _resultobj
= Py_BuildValue("i",_result
);
6537 #define wxPreviewControlBar_SetZoomControl(_swigobj,_swigarg0) (_swigobj->SetZoomControl(_swigarg0))
6538 static PyObject
*_wrap_wxPreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
* _resultobj
;
6540 wxPreviewControlBar
* _arg0
;
6542 PyObject
* _argo0
= 0;
6543 char *_kwnames
[] = { "self","zoom", NULL
};
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPreviewControlBar_SetZoomControl",_kwnames
,&_argo0
,&_arg1
))
6549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_SetZoomControl. Expected _wxPreviewControlBar_p.");
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 wxPreviewControlBar_SetZoomControl(_arg0
,_arg1
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) return NULL
;
6561 } Py_INCREF(Py_None
);
6562 _resultobj
= Py_None
;
6566 #define wxPreviewControlBar_GetPrintPreview(_swigobj) (_swigobj->GetPrintPreview())
6567 static PyObject
*_wrap_wxPreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
* _resultobj
;
6569 wxPrintPreview
* _result
;
6570 wxPreviewControlBar
* _arg0
;
6571 PyObject
* _argo0
= 0;
6572 char *_kwnames
[] = { "self", NULL
};
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_GetPrintPreview",_kwnames
,&_argo0
))
6579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_GetPrintPreview. Expected _wxPreviewControlBar_p.");
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 _result
= (wxPrintPreview
*)wxPreviewControlBar_GetPrintPreview(_arg0
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) return NULL
;
6592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
6593 _resultobj
= Py_BuildValue("s",_ptemp
);
6596 _resultobj
= Py_None
;
6601 #define wxPreviewControlBar_OnNext(_swigobj) (_swigobj->OnNext())
6602 static PyObject
*_wrap_wxPreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
* _resultobj
;
6604 wxPreviewControlBar
* _arg0
;
6605 PyObject
* _argo0
= 0;
6606 char *_kwnames
[] = { "self", NULL
};
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_OnNext",_kwnames
,&_argo0
))
6612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_OnNext. Expected _wxPreviewControlBar_p.");
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 wxPreviewControlBar_OnNext(_arg0
);
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) return NULL
;
6624 } Py_INCREF(Py_None
);
6625 _resultobj
= Py_None
;
6629 #define wxPreviewControlBar_OnPrevious(_swigobj) (_swigobj->OnPrevious())
6630 static PyObject
*_wrap_wxPreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6632 wxPreviewControlBar
* _arg0
;
6633 PyObject
* _argo0
= 0;
6634 char *_kwnames
[] = { "self", NULL
};
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_OnPrevious",_kwnames
,&_argo0
))
6640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_OnPrevious. Expected _wxPreviewControlBar_p.");
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 wxPreviewControlBar_OnPrevious(_arg0
);
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) return NULL
;
6652 } Py_INCREF(Py_None
);
6653 _resultobj
= Py_None
;
6657 #define wxPreviewControlBar_OnFirst(_swigobj) (_swigobj->OnFirst())
6658 static PyObject
*_wrap_wxPreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
* _resultobj
;
6660 wxPreviewControlBar
* _arg0
;
6661 PyObject
* _argo0
= 0;
6662 char *_kwnames
[] = { "self", NULL
};
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_OnFirst",_kwnames
,&_argo0
))
6668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_OnFirst. Expected _wxPreviewControlBar_p.");
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 wxPreviewControlBar_OnFirst(_arg0
);
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) return NULL
;
6680 } Py_INCREF(Py_None
);
6681 _resultobj
= Py_None
;
6685 #define wxPreviewControlBar_OnLast(_swigobj) (_swigobj->OnLast())
6686 static PyObject
*_wrap_wxPreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
* _resultobj
;
6688 wxPreviewControlBar
* _arg0
;
6689 PyObject
* _argo0
= 0;
6690 char *_kwnames
[] = { "self", NULL
};
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_OnLast",_kwnames
,&_argo0
))
6696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_OnLast. Expected _wxPreviewControlBar_p.");
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 wxPreviewControlBar_OnLast(_arg0
);
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) return NULL
;
6708 } Py_INCREF(Py_None
);
6709 _resultobj
= Py_None
;
6713 #define wxPreviewControlBar_OnGoto(_swigobj) (_swigobj->OnGoto())
6714 static PyObject
*_wrap_wxPreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
* _resultobj
;
6716 wxPreviewControlBar
* _arg0
;
6717 PyObject
* _argo0
= 0;
6718 char *_kwnames
[] = { "self", NULL
};
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_OnGoto",_kwnames
,&_argo0
))
6724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_OnGoto. Expected _wxPreviewControlBar_p.");
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 wxPreviewControlBar_OnGoto(_arg0
);
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) return NULL
;
6736 } Py_INCREF(Py_None
);
6737 _resultobj
= Py_None
;
6741 static void *SwigwxPyPrintPreviewTowxPrintPreview(void *ptr
) {
6742 wxPyPrintPreview
*src
;
6743 wxPrintPreview
*dest
;
6744 src
= (wxPyPrintPreview
*) ptr
;
6745 dest
= (wxPrintPreview
*) src
;
6746 return (void *) dest
;
6749 static void *SwigwxPyPrintPreviewTowxObject(void *ptr
) {
6750 wxPyPrintPreview
*src
;
6752 src
= (wxPyPrintPreview
*) ptr
;
6753 dest
= (wxObject
*) src
;
6754 return (void *) dest
;
6757 #define new_wxPyPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPyPrintPreview(_swigarg0,_swigarg1,_swigarg2))
6758 static PyObject
*_wrap_new_wxPyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
* _resultobj
;
6760 wxPyPrintPreview
* _result
;
6761 wxPyPrintout
* _arg0
;
6762 wxPyPrintout
* _arg1
;
6763 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
6764 PyObject
* _argo0
= 0;
6765 PyObject
* _argo1
= 0;
6766 PyObject
* _argo2
= 0;
6767 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPyPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
6776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPrintPreview. Expected _wxPyPrintout_p.");
6781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
6783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPyPrintPreview. Expected _wxPyPrintout_p.");
6788 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6789 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
6790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPyPrintPreview. Expected _wxPrintData_p.");
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 _result
= (wxPyPrintPreview
*)new_wxPyPrintPreview(_arg0
,_arg1
,_arg2
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) return NULL
;
6801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintPreview_p");
6802 _resultobj
= Py_BuildValue("s",_ptemp
);
6805 _resultobj
= Py_None
;
6810 #define wxPyPrintPreview__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6811 static PyObject
*_wrap_wxPyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
* _resultobj
;
6813 wxPyPrintPreview
* _arg0
;
6816 PyObject
* _argo0
= 0;
6817 PyObject
* _obj1
= 0;
6818 PyObject
* _obj2
= 0;
6819 char *_kwnames
[] = { "self","self","_class", NULL
};
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPrintPreview__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview__setCallbackInfo. Expected _wxPyPrintPreview_p.");
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 wxPyPrintPreview__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) return NULL
;
6843 } Py_INCREF(Py_None
);
6844 _resultobj
= Py_None
;
6848 #define wxPyPrintPreview_base_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->base_SetCurrentPage(_swigarg0))
6849 static PyObject
*_wrap_wxPyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
* _resultobj
;
6852 wxPyPrintPreview
* _arg0
;
6854 PyObject
* _argo0
= 0;
6855 char *_kwnames
[] = { "self","pageNum", NULL
};
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyPrintPreview_base_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
6861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_SetCurrentPage. Expected _wxPyPrintPreview_p.");
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 _result
= (bool )wxPyPrintPreview_base_SetCurrentPage(_arg0
,_arg1
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) return NULL
;
6873 } _resultobj
= Py_BuildValue("i",_result
);
6877 #define wxPyPrintPreview_base_PaintPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintPage(_swigarg0,_swigarg1))
6878 static PyObject
*_wrap_wxPyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
* _resultobj
;
6881 wxPyPrintPreview
* _arg0
;
6882 wxPreviewCanvas
* _arg1
;
6884 PyObject
* _argo0
= 0;
6885 PyObject
* _argo1
= 0;
6886 PyObject
* _argo2
= 0;
6887 char *_kwnames
[] = { "self","canvas","dc", NULL
};
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPrintPreview_base_PaintPage",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_PaintPage. Expected _wxPyPrintPreview_p.");
6900 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6901 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewCanvas_p")) {
6902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPrintPreview_base_PaintPage. Expected _wxPreviewCanvas_p.");
6907 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
6908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyPrintPreview_base_PaintPage. Expected _wxDC_p.");
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 _result
= (bool )wxPyPrintPreview_base_PaintPage(_arg0
,_arg1
,*_arg2
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) return NULL
;
6918 } _resultobj
= Py_BuildValue("i",_result
);
6922 #define wxPyPrintPreview_base_DrawBlankPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DrawBlankPage(_swigarg0,_swigarg1))
6923 static PyObject
*_wrap_wxPyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
* _resultobj
;
6926 wxPyPrintPreview
* _arg0
;
6927 wxPreviewCanvas
* _arg1
;
6929 PyObject
* _argo0
= 0;
6930 PyObject
* _argo1
= 0;
6931 PyObject
* _argo2
= 0;
6932 char *_kwnames
[] = { "self","canvas","dc", NULL
};
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPrintPreview_base_DrawBlankPage",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_DrawBlankPage. Expected _wxPyPrintPreview_p.");
6945 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6946 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewCanvas_p")) {
6947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPrintPreview_base_DrawBlankPage. Expected _wxPreviewCanvas_p.");
6952 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
6953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyPrintPreview_base_DrawBlankPage. Expected _wxDC_p.");
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 _result
= (bool )wxPyPrintPreview_base_DrawBlankPage(_arg0
,_arg1
,*_arg2
);
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) return NULL
;
6963 } _resultobj
= Py_BuildValue("i",_result
);
6967 #define wxPyPrintPreview_base_RenderPage(_swigobj,_swigarg0) (_swigobj->base_RenderPage(_swigarg0))
6968 static PyObject
*_wrap_wxPyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
* _resultobj
;
6971 wxPyPrintPreview
* _arg0
;
6973 PyObject
* _argo0
= 0;
6974 char *_kwnames
[] = { "self","pageNum", NULL
};
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyPrintPreview_base_RenderPage",_kwnames
,&_argo0
,&_arg1
))
6980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_RenderPage. Expected _wxPyPrintPreview_p.");
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 _result
= (bool )wxPyPrintPreview_base_RenderPage(_arg0
,_arg1
);
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) return NULL
;
6992 } _resultobj
= Py_BuildValue("i",_result
);
6996 #define wxPyPrintPreview_base_SetZoom(_swigobj,_swigarg0) (_swigobj->base_SetZoom(_swigarg0))
6997 static PyObject
*_wrap_wxPyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
* _resultobj
;
6999 wxPyPrintPreview
* _arg0
;
7001 PyObject
* _argo0
= 0;
7002 char *_kwnames
[] = { "self","percent", NULL
};
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyPrintPreview_base_SetZoom",_kwnames
,&_argo0
,&_arg1
))
7008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
7010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_SetZoom. Expected _wxPyPrintPreview_p.");
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 wxPyPrintPreview_base_SetZoom(_arg0
,_arg1
);
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) return NULL
;
7020 } Py_INCREF(Py_None
);
7021 _resultobj
= Py_None
;
7025 #define wxPyPrintPreview_base_Print(_swigobj,_swigarg0) (_swigobj->base_Print(_swigarg0))
7026 static PyObject
*_wrap_wxPyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
* _resultobj
;
7029 wxPyPrintPreview
* _arg0
;
7031 PyObject
* _argo0
= 0;
7033 char *_kwnames
[] = { "self","interactive", NULL
};
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyPrintPreview_base_Print",_kwnames
,&_argo0
,&tempbool1
))
7039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
7041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_Print. Expected _wxPyPrintPreview_p.");
7045 _arg1
= (bool ) tempbool1
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 _result
= (bool )wxPyPrintPreview_base_Print(_arg0
,_arg1
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) return NULL
;
7052 } _resultobj
= Py_BuildValue("i",_result
);
7056 #define wxPyPrintPreview_base_DetermineScaling(_swigobj) (_swigobj->base_DetermineScaling())
7057 static PyObject
*_wrap_wxPyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
* _resultobj
;
7059 wxPyPrintPreview
* _arg0
;
7060 PyObject
* _argo0
= 0;
7061 char *_kwnames
[] = { "self", NULL
};
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPrintPreview_base_DetermineScaling",_kwnames
,&_argo0
))
7067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
7069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_DetermineScaling. Expected _wxPyPrintPreview_p.");
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 wxPyPrintPreview_base_DetermineScaling(_arg0
);
7077 wxPyEndAllowThreads(__tstate
);
7078 if (PyErr_Occurred()) return NULL
;
7079 } Py_INCREF(Py_None
);
7080 _resultobj
= Py_None
;
7084 static void *SwigwxPyPreviewFrameTowxPreviewFrame(void *ptr
) {
7085 wxPyPreviewFrame
*src
;
7086 wxPreviewFrame
*dest
;
7087 src
= (wxPyPreviewFrame
*) ptr
;
7088 dest
= (wxPreviewFrame
*) src
;
7089 return (void *) dest
;
7092 static void *SwigwxPyPreviewFrameTowxFrame(void *ptr
) {
7093 wxPyPreviewFrame
*src
;
7095 src
= (wxPyPreviewFrame
*) ptr
;
7096 dest
= (wxFrame
*) src
;
7097 return (void *) dest
;
7100 static void *SwigwxPyPreviewFrameTowxTopLevelWindow(void *ptr
) {
7101 wxPyPreviewFrame
*src
;
7102 wxTopLevelWindow
*dest
;
7103 src
= (wxPyPreviewFrame
*) ptr
;
7104 dest
= (wxTopLevelWindow
*) src
;
7105 return (void *) dest
;
7108 static void *SwigwxPyPreviewFrameTowxWindow(void *ptr
) {
7109 wxPyPreviewFrame
*src
;
7111 src
= (wxPyPreviewFrame
*) ptr
;
7112 dest
= (wxWindow
*) src
;
7113 return (void *) dest
;
7116 static void *SwigwxPyPreviewFrameTowxEvtHandler(void *ptr
) {
7117 wxPyPreviewFrame
*src
;
7119 src
= (wxPyPreviewFrame
*) ptr
;
7120 dest
= (wxEvtHandler
*) src
;
7121 return (void *) dest
;
7124 static void *SwigwxPyPreviewFrameTowxObject(void *ptr
) {
7125 wxPyPreviewFrame
*src
;
7127 src
= (wxPyPreviewFrame
*) ptr
;
7128 dest
= (wxObject
*) src
;
7129 return (void *) dest
;
7132 #define new_wxPyPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7133 static PyObject
*_wrap_new_wxPyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
* _resultobj
;
7135 wxPyPreviewFrame
* _result
;
7136 wxPrintPreview
* _arg0
;
7139 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7140 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7141 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
7142 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
7143 PyObject
* _argo0
= 0;
7144 PyObject
* _argo1
= 0;
7145 PyObject
* _obj2
= 0;
7147 PyObject
* _obj3
= 0;
7149 PyObject
* _obj4
= 0;
7150 PyObject
* _obj6
= 0;
7151 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOlO:new_wxPyPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
7158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
7160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPreviewFrame. Expected _wxPrintPreview_p.");
7165 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPyPreviewFrame. Expected _wxFrame_p.");
7172 _arg2
= wxString_in_helper(_obj2
);
7179 if (! wxPoint_helper(_obj3
, &_arg3
))
7185 if (! wxSize_helper(_obj4
, &_arg4
))
7190 _arg6
= wxString_in_helper(_obj6
);
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 _result
= (wxPyPreviewFrame
*)new_wxPyPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) return NULL
;
7201 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPreviewFrame_p");
7202 _resultobj
= Py_BuildValue("s",_ptemp
);
7205 _resultobj
= Py_None
;
7218 #define wxPyPreviewFrame__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
7219 static PyObject
*_wrap_wxPyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
* _resultobj
;
7221 wxPyPreviewFrame
* _arg0
;
7224 PyObject
* _argo0
= 0;
7225 PyObject
* _obj1
= 0;
7226 PyObject
* _obj2
= 0;
7227 char *_kwnames
[] = { "self","self","_class", NULL
};
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPreviewFrame__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame__setCallbackInfo. Expected _wxPyPreviewFrame_p.");
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 wxPyPreviewFrame__setCallbackInfo(_arg0
,_arg1
,_arg2
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) return NULL
;
7251 } Py_INCREF(Py_None
);
7252 _resultobj
= Py_None
;
7256 #define wxPyPreviewFrame_SetPreviewCanvas(_swigobj,_swigarg0) (_swigobj->SetPreviewCanvas(_swigarg0))
7257 static PyObject
*_wrap_wxPyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
* _resultobj
;
7259 wxPyPreviewFrame
* _arg0
;
7260 wxPreviewCanvas
* _arg1
;
7261 PyObject
* _argo0
= 0;
7262 PyObject
* _argo1
= 0;
7263 char *_kwnames
[] = { "self","canvas", NULL
};
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPreviewFrame_SetPreviewCanvas",_kwnames
,&_argo0
,&_argo1
))
7269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame_SetPreviewCanvas. Expected _wxPyPreviewFrame_p.");
7276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewCanvas_p")) {
7278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPreviewFrame_SetPreviewCanvas. Expected _wxPreviewCanvas_p.");
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 wxPyPreviewFrame_SetPreviewCanvas(_arg0
,_arg1
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) return NULL
;
7288 } Py_INCREF(Py_None
);
7289 _resultobj
= Py_None
;
7293 #define wxPyPreviewFrame_SetControlBar(_swigobj,_swigarg0) (_swigobj->SetControlBar(_swigarg0))
7294 static PyObject
*_wrap_wxPyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
* _resultobj
;
7296 wxPyPreviewFrame
* _arg0
;
7297 wxPreviewControlBar
* _arg1
;
7298 PyObject
* _argo0
= 0;
7299 PyObject
* _argo1
= 0;
7300 char *_kwnames
[] = { "self","bar", NULL
};
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPreviewFrame_SetControlBar",_kwnames
,&_argo0
,&_argo1
))
7306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame_SetControlBar. Expected _wxPyPreviewFrame_p.");
7313 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7314 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewControlBar_p")) {
7315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPreviewFrame_SetControlBar. Expected _wxPreviewControlBar_p.");
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 wxPyPreviewFrame_SetControlBar(_arg0
,_arg1
);
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) return NULL
;
7325 } Py_INCREF(Py_None
);
7326 _resultobj
= Py_None
;
7330 #define wxPyPreviewFrame_base_Initialize(_swigobj) (_swigobj->base_Initialize())
7331 static PyObject
*_wrap_wxPyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
* _resultobj
;
7333 wxPyPreviewFrame
* _arg0
;
7334 PyObject
* _argo0
= 0;
7335 char *_kwnames
[] = { "self", NULL
};
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPreviewFrame_base_Initialize",_kwnames
,&_argo0
))
7341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame_base_Initialize. Expected _wxPyPreviewFrame_p.");
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 wxPyPreviewFrame_base_Initialize(_arg0
);
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) return NULL
;
7353 } Py_INCREF(Py_None
);
7354 _resultobj
= Py_None
;
7358 #define wxPyPreviewFrame_base_CreateCanvas(_swigobj) (_swigobj->base_CreateCanvas())
7359 static PyObject
*_wrap_wxPyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
* _resultobj
;
7361 wxPyPreviewFrame
* _arg0
;
7362 PyObject
* _argo0
= 0;
7363 char *_kwnames
[] = { "self", NULL
};
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPreviewFrame_base_CreateCanvas",_kwnames
,&_argo0
))
7369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame_base_CreateCanvas. Expected _wxPyPreviewFrame_p.");
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 wxPyPreviewFrame_base_CreateCanvas(_arg0
);
7379 wxPyEndAllowThreads(__tstate
);
7380 if (PyErr_Occurred()) return NULL
;
7381 } Py_INCREF(Py_None
);
7382 _resultobj
= Py_None
;
7386 #define wxPyPreviewFrame_base_CreateControlBar(_swigobj) (_swigobj->base_CreateControlBar())
7387 static PyObject
*_wrap_wxPyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
* _resultobj
;
7389 wxPyPreviewFrame
* _arg0
;
7390 PyObject
* _argo0
= 0;
7391 char *_kwnames
[] = { "self", NULL
};
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPreviewFrame_base_CreateControlBar",_kwnames
,&_argo0
))
7397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame_base_CreateControlBar. Expected _wxPyPreviewFrame_p.");
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 wxPyPreviewFrame_base_CreateControlBar(_arg0
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) return NULL
;
7409 } Py_INCREF(Py_None
);
7410 _resultobj
= Py_None
;
7414 static void *SwigwxPyPreviewControlBarTowxPreviewControlBar(void *ptr
) {
7415 wxPyPreviewControlBar
*src
;
7416 wxPreviewControlBar
*dest
;
7417 src
= (wxPyPreviewControlBar
*) ptr
;
7418 dest
= (wxPreviewControlBar
*) src
;
7419 return (void *) dest
;
7422 static void *SwigwxPyPreviewControlBarTowxPanel(void *ptr
) {
7423 wxPyPreviewControlBar
*src
;
7425 src
= (wxPyPreviewControlBar
*) ptr
;
7426 dest
= (wxPanel
*) src
;
7427 return (void *) dest
;
7430 static void *SwigwxPyPreviewControlBarTowxWindow(void *ptr
) {
7431 wxPyPreviewControlBar
*src
;
7433 src
= (wxPyPreviewControlBar
*) ptr
;
7434 dest
= (wxWindow
*) src
;
7435 return (void *) dest
;
7438 static void *SwigwxPyPreviewControlBarTowxEvtHandler(void *ptr
) {
7439 wxPyPreviewControlBar
*src
;
7441 src
= (wxPyPreviewControlBar
*) ptr
;
7442 dest
= (wxEvtHandler
*) src
;
7443 return (void *) dest
;
7446 static void *SwigwxPyPreviewControlBarTowxObject(void *ptr
) {
7447 wxPyPreviewControlBar
*src
;
7449 src
= (wxPyPreviewControlBar
*) ptr
;
7450 dest
= (wxObject
*) src
;
7451 return (void *) dest
;
7454 #define new_wxPyPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7455 static PyObject
*_wrap_new_wxPyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
* _resultobj
;
7457 wxPyPreviewControlBar
* _result
;
7458 wxPrintPreview
* _arg0
;
7461 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7462 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7463 long _arg5
= (long ) 0;
7464 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
7465 PyObject
* _argo0
= 0;
7466 PyObject
* _argo2
= 0;
7468 PyObject
* _obj3
= 0;
7470 PyObject
* _obj4
= 0;
7471 PyObject
* _obj6
= 0;
7472 char *_kwnames
[] = { "preview","buttons","parent","pos","size","style","name", NULL
};
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|OOlO:new_wxPyPreviewControlBar",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
7479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
7481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPreviewControlBar. Expected _wxPrintPreview_p.");
7486 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7487 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
7488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPyPreviewControlBar. Expected _wxWindow_p.");
7495 if (! wxPoint_helper(_obj3
, &_arg3
))
7501 if (! wxSize_helper(_obj4
, &_arg4
))
7506 _arg6
= wxString_in_helper(_obj6
);
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 _result
= (wxPyPreviewControlBar
*)new_wxPyPreviewControlBar(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) return NULL
;
7517 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPreviewControlBar_p");
7518 _resultobj
= Py_BuildValue("s",_ptemp
);
7521 _resultobj
= Py_None
;
7530 #define wxPyPreviewControlBar__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
7531 static PyObject
*_wrap_wxPyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
* _resultobj
;
7533 wxPyPreviewControlBar
* _arg0
;
7536 PyObject
* _argo0
= 0;
7537 PyObject
* _obj1
= 0;
7538 PyObject
* _obj2
= 0;
7539 char *_kwnames
[] = { "self","self","_class", NULL
};
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPreviewControlBar__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewControlBar_p")) {
7547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewControlBar__setCallbackInfo. Expected _wxPyPreviewControlBar_p.");
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 wxPyPreviewControlBar__setCallbackInfo(_arg0
,_arg1
,_arg2
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) return NULL
;
7563 } Py_INCREF(Py_None
);
7564 _resultobj
= Py_None
;
7568 #define wxPyPreviewControlBar_SetPrintPreview(_swigobj,_swigarg0) (_swigobj->SetPrintPreview(_swigarg0))
7569 static PyObject
*_wrap_wxPyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
* _resultobj
;
7571 wxPyPreviewControlBar
* _arg0
;
7572 wxPrintPreview
* _arg1
;
7573 PyObject
* _argo0
= 0;
7574 PyObject
* _argo1
= 0;
7575 char *_kwnames
[] = { "self","preview", NULL
};
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPreviewControlBar_SetPrintPreview",_kwnames
,&_argo0
,&_argo1
))
7581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewControlBar_p")) {
7583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewControlBar_SetPrintPreview. Expected _wxPyPreviewControlBar_p.");
7588 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7589 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintPreview_p")) {
7590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPreviewControlBar_SetPrintPreview. Expected _wxPrintPreview_p.");
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 wxPyPreviewControlBar_SetPrintPreview(_arg0
,_arg1
);
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) return NULL
;
7600 } Py_INCREF(Py_None
);
7601 _resultobj
= Py_None
;
7605 #define wxPyPreviewControlBar_base_CreateButtons(_swigobj) (_swigobj->base_CreateButtons())
7606 static PyObject
*_wrap_wxPyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
* _resultobj
;
7608 wxPyPreviewControlBar
* _arg0
;
7609 PyObject
* _argo0
= 0;
7610 char *_kwnames
[] = { "self", NULL
};
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPreviewControlBar_base_CreateButtons",_kwnames
,&_argo0
))
7616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewControlBar_p")) {
7618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewControlBar_base_CreateButtons. Expected _wxPyPreviewControlBar_p.");
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 wxPyPreviewControlBar_base_CreateButtons(_arg0
);
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) return NULL
;
7628 } Py_INCREF(Py_None
);
7629 _resultobj
= Py_None
;
7633 #define wxPyPreviewControlBar_base_SetZoomControl(_swigobj,_swigarg0) (_swigobj->base_SetZoomControl(_swigarg0))
7634 static PyObject
*_wrap_wxPyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
* _resultobj
;
7636 wxPyPreviewControlBar
* _arg0
;
7638 PyObject
* _argo0
= 0;
7639 char *_kwnames
[] = { "self","zoom", NULL
};
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyPreviewControlBar_base_SetZoomControl",_kwnames
,&_argo0
,&_arg1
))
7645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewControlBar_p")) {
7647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewControlBar_base_SetZoomControl. Expected _wxPyPreviewControlBar_p.");
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 wxPyPreviewControlBar_base_SetZoomControl(_arg0
,_arg1
);
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) return NULL
;
7657 } Py_INCREF(Py_None
);
7658 _resultobj
= Py_None
;
7662 static PyMethodDef printfwcMethods
[] = {
7663 { "wxPyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_wxPyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
7664 { "wxPyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_wxPyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
7665 { "wxPyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_wxPyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
7666 { "wxPyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_wxPyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7667 { "new_wxPyPreviewControlBar", (PyCFunction
) _wrap_new_wxPyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7668 { "wxPyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_wxPyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7669 { "wxPyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_wxPyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7670 { "wxPyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_wxPyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
7671 { "wxPyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_wxPyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7672 { "wxPyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_wxPyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7673 { "wxPyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_wxPyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7674 { "new_wxPyPreviewFrame", (PyCFunction
) _wrap_new_wxPyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
7675 { "wxPyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_wxPyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
7676 { "wxPyPrintPreview_base_Print", (PyCFunction
) _wrap_wxPyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
7677 { "wxPyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_wxPyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "wxPyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_wxPyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxPyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_wxPyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxPyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_wxPyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxPyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_wxPyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxPyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_wxPyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "new_wxPyPrintPreview", (PyCFunction
) _wrap_new_wxPyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxPreviewControlBar_OnGoto", (PyCFunction
) _wrap_wxPreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "wxPreviewControlBar_OnLast", (PyCFunction
) _wrap_wxPreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxPreviewControlBar_OnFirst", (PyCFunction
) _wrap_wxPreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "wxPreviewControlBar_OnPrevious", (PyCFunction
) _wrap_wxPreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "wxPreviewControlBar_OnNext", (PyCFunction
) _wrap_wxPreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "wxPreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_wxPreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "wxPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_wxPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "wxPreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_wxPreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
7692 { "new_wxPreviewControlBar", (PyCFunction
) _wrap_new_wxPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7693 { "new_wxPreviewCanvas", (PyCFunction
) _wrap_new_wxPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7694 { "wxPreviewFrame_GetControlBar", (PyCFunction
) _wrap_wxPreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7695 { "wxPreviewFrame_CreateCanvas", (PyCFunction
) _wrap_wxPreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7696 { "wxPreviewFrame_CreateControlBar", (PyCFunction
) _wrap_wxPreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7697 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
7698 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
7699 { "wxPrintPreview_DetermineScaling", (PyCFunction
) _wrap_wxPrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
7700 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
7701 { "wxPrintPreview_SetOk", (PyCFunction
) _wrap_wxPrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
7702 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7703 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
7704 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
7705 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
7706 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
7707 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7708 { "wxPrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_wxPrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
7709 { "wxPrintPreview_RenderPage", (PyCFunction
) _wrap_wxPrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
7710 { "wxPrintPreview_DrawBlankPage", (PyCFunction
) _wrap_wxPrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
7711 { "wxPrintPreview_PaintPage", (PyCFunction
) _wrap_wxPrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
7712 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7713 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7714 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7715 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7716 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
7717 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
7718 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
7719 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
7720 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
7721 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
7722 { "new_wxPrintAbortDialog", (PyCFunction
) _wrap_new_wxPrintAbortDialog
, METH_VARARGS
| METH_KEYWORDS
},
7723 { "wxPrinter_GetLastError", (PyCFunction
) _wrap_wxPrinter_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
7724 { "wxPrinter_GetAbort", (PyCFunction
) _wrap_wxPrinter_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
7725 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
7726 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
7727 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
7728 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
7729 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7730 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
7731 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
7732 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
7733 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
7734 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
7735 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
7736 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
7737 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
7738 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
7739 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
7740 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
7741 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
7742 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
7743 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
7744 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7745 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
7746 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7747 { "wxPrintout__setCallbackInfo", (PyCFunction
) _wrap_wxPrintout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7748 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
7749 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
7750 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
7751 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7752 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
7753 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7754 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7755 { "wxPrintDialogData_Ok", (PyCFunction
) _wrap_wxPrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7756 { "wxPrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
7757 { "wxPrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
7758 { "wxPrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
7759 { "wxPrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
7760 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
7761 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
7762 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
7763 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
7764 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
7765 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
7766 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
7767 { "wxPrintDialogData_SetSelection", (PyCFunction
) _wrap_wxPrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7768 { "wxPrintDialogData_SetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
7769 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
7770 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
7771 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
7772 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
7773 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
7774 { "wxPrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
7775 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
7776 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
7777 { "wxPrintDialogData_GetSelection", (PyCFunction
) _wrap_wxPrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7778 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
7779 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
7780 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
7781 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
7782 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
7783 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
7784 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7785 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7786 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
7787 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
7788 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
7789 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7790 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
7791 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
7792 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
7793 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
7794 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
7795 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
7796 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
7797 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
7798 { "wxPageSetupDialogData_Ok", (PyCFunction
) _wrap_wxPageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7799 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7800 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
7801 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
7802 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
7803 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
7804 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
7805 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
7806 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
7807 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
7808 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
7809 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
7810 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7811 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
7812 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
7813 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
7814 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
7815 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7816 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
7817 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
7818 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7819 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7820 { "wxPostScriptDC_GetResolution", (PyCFunction
) _wrap_wxPostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
7821 { "wxPostScriptDC_SetResolution", (PyCFunction
) _wrap_wxPostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
7822 { "wxPostScriptDC_SetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7823 { "wxPostScriptDC_GetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7824 { "new_wxPostScriptDC", (PyCFunction
) _wrap_new_wxPostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
7825 { "new_wxPrinterDC2", (PyCFunction
) _wrap_new_wxPrinterDC2
, METH_VARARGS
| METH_KEYWORDS
},
7826 { "new_wxPrinterDC", (PyCFunction
) _wrap_new_wxPrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
7827 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
7828 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
7829 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
7830 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
7831 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
7832 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
7833 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
7834 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
7835 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
7836 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
7837 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
7838 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
7839 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
7840 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
7841 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
7842 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
7843 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
7844 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
7845 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
7846 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
7847 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
7848 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
7849 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
7850 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
7851 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
7852 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
7853 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
7854 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
7855 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7856 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
7857 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
7858 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
7859 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
7860 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
7861 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
7862 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
7863 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
7864 { "wxPrintData_Ok", (PyCFunction
) _wrap_wxPrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7865 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7866 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
7867 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
7868 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7869 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7876 * This table is used by the pointer type-checker
7878 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7879 { "_signed_long","_long",0},
7880 { "_wxPrintQuality","_wxCoord",0},
7881 { "_wxPrintQuality","_int",0},
7882 { "_wxPrintQuality","_signed_int",0},
7883 { "_wxPrintQuality","_unsigned_int",0},
7884 { "_wxPrintQuality","_wxWindowID",0},
7885 { "_wxPrintQuality","_uint",0},
7886 { "_wxPrintQuality","_EBool",0},
7887 { "_wxPrintQuality","_size_t",0},
7888 { "_wxPrintQuality","_time_t",0},
7889 { "_byte","_unsigned_char",0},
7890 { "_long","_unsigned_long",0},
7891 { "_long","_signed_long",0},
7892 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
7893 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7894 { "_wxPrintPreview","_wxPyPrintPreview",SwigwxPyPrintPreviewTowxPrintPreview
},
7895 { "_size_t","_wxCoord",0},
7896 { "_size_t","_wxPrintQuality",0},
7897 { "_size_t","_time_t",0},
7898 { "_size_t","_unsigned_int",0},
7899 { "_size_t","_int",0},
7900 { "_size_t","_wxWindowID",0},
7901 { "_size_t","_uint",0},
7902 { "_wxPanel","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxPanel
},
7903 { "_wxPanel","_wxPreviewControlBar",SwigwxPreviewControlBarTowxPanel
},
7904 { "_wxPanel","_wxPreviewCanvas",SwigwxPreviewCanvasTowxPanel
},
7905 { "_wxTopLevelWindow","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxTopLevelWindow
},
7906 { "_wxTopLevelWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxTopLevelWindow
},
7907 { "_wxTopLevelWindow","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxTopLevelWindow
},
7908 { "_wxTopLevelWindow","_wxPrintDialog",SwigwxPrintDialogTowxTopLevelWindow
},
7909 { "_wxTopLevelWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxTopLevelWindow
},
7910 { "_uint","_wxCoord",0},
7911 { "_uint","_wxPrintQuality",0},
7912 { "_uint","_time_t",0},
7913 { "_uint","_size_t",0},
7914 { "_uint","_unsigned_int",0},
7915 { "_uint","_int",0},
7916 { "_uint","_wxWindowID",0},
7917 { "_wxChar","_char",0},
7918 { "_char","_wxChar",0},
7919 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
7920 { "_EBool","_wxCoord",0},
7921 { "_EBool","_wxPrintQuality",0},
7922 { "_EBool","_signed_int",0},
7923 { "_EBool","_int",0},
7924 { "_EBool","_wxWindowID",0},
7925 { "_wxPreviewControlBar","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxPreviewControlBar
},
7926 { "_unsigned_long","_long",0},
7927 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
7928 { "_signed_int","_wxCoord",0},
7929 { "_signed_int","_wxPrintQuality",0},
7930 { "_signed_int","_EBool",0},
7931 { "_signed_int","_wxWindowID",0},
7932 { "_signed_int","_int",0},
7933 { "_WXTYPE","_short",0},
7934 { "_WXTYPE","_signed_short",0},
7935 { "_WXTYPE","_unsigned_short",0},
7936 { "_unsigned_short","_WXTYPE",0},
7937 { "_unsigned_short","_short",0},
7938 { "_wxObject","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxObject
},
7939 { "_wxObject","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxObject
},
7940 { "_wxObject","_wxPyPrintPreview",SwigwxPyPrintPreviewTowxObject
},
7941 { "_wxObject","_wxPreviewControlBar",SwigwxPreviewControlBarTowxObject
},
7942 { "_wxObject","_wxPreviewCanvas",SwigwxPreviewCanvasTowxObject
},
7943 { "_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
7944 { "_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
7945 { "_wxObject","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxObject
},
7946 { "_wxObject","_wxPrinter",SwigwxPrinterTowxObject
},
7947 { "_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
7948 { "_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject
},
7949 { "_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
7950 { "_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
7951 { "_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
7952 { "_wxObject","_wxPostScriptDC",SwigwxPostScriptDCTowxObject
},
7953 { "_wxObject","_wxPrinterDC",SwigwxPrinterDCTowxObject
},
7954 { "_wxObject","_wxPrintData",SwigwxPrintDataTowxObject
},
7955 { "_signed_short","_WXTYPE",0},
7956 { "_signed_short","_short",0},
7957 { "_wxScrolledWindow","_wxPreviewCanvas",SwigwxPreviewCanvasTowxScrolledWindow
},
7958 { "_unsigned_char","_byte",0},
7959 { "_unsigned_int","_wxCoord",0},
7960 { "_unsigned_int","_wxPrintQuality",0},
7961 { "_unsigned_int","_time_t",0},
7962 { "_unsigned_int","_size_t",0},
7963 { "_unsigned_int","_uint",0},
7964 { "_unsigned_int","_wxWindowID",0},
7965 { "_unsigned_int","_int",0},
7966 { "_wxDialog","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxDialog
},
7967 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
7968 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
7969 { "_short","_WXTYPE",0},
7970 { "_short","_unsigned_short",0},
7971 { "_short","_signed_short",0},
7972 { "_wxFrame","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxFrame
},
7973 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
7974 { "_wxWindowID","_wxCoord",0},
7975 { "_wxWindowID","_wxPrintQuality",0},
7976 { "_wxWindowID","_time_t",0},
7977 { "_wxWindowID","_size_t",0},
7978 { "_wxWindowID","_EBool",0},
7979 { "_wxWindowID","_uint",0},
7980 { "_wxWindowID","_int",0},
7981 { "_wxWindowID","_signed_int",0},
7982 { "_wxWindowID","_unsigned_int",0},
7983 { "_int","_wxCoord",0},
7984 { "_int","_wxPrintQuality",0},
7985 { "_int","_time_t",0},
7986 { "_int","_size_t",0},
7987 { "_int","_EBool",0},
7988 { "_int","_uint",0},
7989 { "_int","_wxWindowID",0},
7990 { "_int","_unsigned_int",0},
7991 { "_int","_signed_int",0},
7992 { "_time_t","_wxCoord",0},
7993 { "_time_t","_wxPrintQuality",0},
7994 { "_time_t","_unsigned_int",0},
7995 { "_time_t","_int",0},
7996 { "_time_t","_wxWindowID",0},
7997 { "_time_t","_uint",0},
7998 { "_time_t","_size_t",0},
7999 { "_wxCoord","_int",0},
8000 { "_wxCoord","_signed_int",0},
8001 { "_wxCoord","_unsigned_int",0},
8002 { "_wxCoord","_wxWindowID",0},
8003 { "_wxCoord","_uint",0},
8004 { "_wxCoord","_EBool",0},
8005 { "_wxCoord","_size_t",0},
8006 { "_wxCoord","_time_t",0},
8007 { "_wxCoord","_wxPrintQuality",0},
8008 { "_wxPreviewFrame","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxPreviewFrame
},
8009 { "_wxEvtHandler","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxEvtHandler
},
8010 { "_wxEvtHandler","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxEvtHandler
},
8011 { "_wxEvtHandler","_wxPreviewControlBar",SwigwxPreviewControlBarTowxEvtHandler
},
8012 { "_wxEvtHandler","_wxPreviewCanvas",SwigwxPreviewCanvasTowxEvtHandler
},
8013 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
8014 { "_wxEvtHandler","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxEvtHandler
},
8015 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
8016 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
8017 { "_wxWindow","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxWindow
},
8018 { "_wxWindow","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxWindow
},
8019 { "_wxWindow","_wxPreviewControlBar",SwigwxPreviewControlBarTowxWindow
},
8020 { "_wxWindow","_wxPreviewCanvas",SwigwxPreviewCanvasTowxWindow
},
8021 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
8022 { "_wxWindow","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxWindow
},
8023 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
8024 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
8027 static PyObject
*SWIG_globals
;
8031 SWIGEXPORT(void) initprintfwc() {
8033 SWIG_globals
= SWIG_newvarlink();
8034 m
= Py_InitModule("printfwc", printfwcMethods
);
8035 d
= PyModule_GetDict(m
);
8036 PyDict_SetItemString(d
,"wxPRINT_MODE_NONE", PyInt_FromLong((long) wxPRINT_MODE_NONE
));
8037 PyDict_SetItemString(d
,"wxPRINT_MODE_PREVIEW", PyInt_FromLong((long) wxPRINT_MODE_PREVIEW
));
8038 PyDict_SetItemString(d
,"wxPRINT_MODE_FILE", PyInt_FromLong((long) wxPRINT_MODE_FILE
));
8039 PyDict_SetItemString(d
,"wxPRINT_MODE_PRINTER", PyInt_FromLong((long) wxPRINT_MODE_PRINTER
));
8040 PyDict_SetItemString(d
,"wxPRINTER_NO_ERROR", PyInt_FromLong((long) wxPRINTER_NO_ERROR
));
8041 PyDict_SetItemString(d
,"wxPRINTER_CANCELLED", PyInt_FromLong((long) wxPRINTER_CANCELLED
));
8042 PyDict_SetItemString(d
,"wxPRINTER_ERROR", PyInt_FromLong((long) wxPRINTER_ERROR
));
8043 PyDict_SetItemString(d
,"wxPREVIEW_PRINT", PyInt_FromLong((long) wxPREVIEW_PRINT
));
8044 PyDict_SetItemString(d
,"wxPREVIEW_PREVIOUS", PyInt_FromLong((long) wxPREVIEW_PREVIOUS
));
8045 PyDict_SetItemString(d
,"wxPREVIEW_NEXT", PyInt_FromLong((long) wxPREVIEW_NEXT
));
8046 PyDict_SetItemString(d
,"wxPREVIEW_ZOOM", PyInt_FromLong((long) wxPREVIEW_ZOOM
));
8047 PyDict_SetItemString(d
,"wxPREVIEW_FIRST", PyInt_FromLong((long) wxPREVIEW_FIRST
));
8048 PyDict_SetItemString(d
,"wxPREVIEW_LAST", PyInt_FromLong((long) wxPREVIEW_LAST
));
8049 PyDict_SetItemString(d
,"wxPREVIEW_GOTO", PyInt_FromLong((long) wxPREVIEW_GOTO
));
8050 PyDict_SetItemString(d
,"wxPREVIEW_DEFAULT", PyInt_FromLong((long) wxPREVIEW_DEFAULT
));
8051 PyDict_SetItemString(d
,"wxID_PREVIEW_CLOSE", PyInt_FromLong((long) wxID_PREVIEW_CLOSE
));
8052 PyDict_SetItemString(d
,"wxID_PREVIEW_NEXT", PyInt_FromLong((long) wxID_PREVIEW_NEXT
));
8053 PyDict_SetItemString(d
,"wxID_PREVIEW_PREVIOUS", PyInt_FromLong((long) wxID_PREVIEW_PREVIOUS
));
8054 PyDict_SetItemString(d
,"wxID_PREVIEW_PRINT", PyInt_FromLong((long) wxID_PREVIEW_PRINT
));
8055 PyDict_SetItemString(d
,"wxID_PREVIEW_ZOOM", PyInt_FromLong((long) wxID_PREVIEW_ZOOM
));
8056 PyDict_SetItemString(d
,"wxID_PREVIEW_FIRST", PyInt_FromLong((long) wxID_PREVIEW_FIRST
));
8057 PyDict_SetItemString(d
,"wxID_PREVIEW_LAST", PyInt_FromLong((long) wxID_PREVIEW_LAST
));
8058 PyDict_SetItemString(d
,"wxID_PREVIEW_GOTO", PyInt_FromLong((long) wxID_PREVIEW_GOTO
));
8060 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
8063 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8064 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);