2 * FILE : src/gtk/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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
);
160 class wxPyPrintPreview
: public wxPrintPreview
162 DECLARE_CLASS(wxPyPrintPreview
)
164 wxPyPrintPreview(wxPyPrintout
* printout
,
165 wxPyPrintout
* printoutForPrinting
,
166 wxPrintData
* data
=NULL
)
167 : wxPrintPreview(printout
, printoutForPrinting
, data
)
170 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
171 DEC_PYCALLBACK_BOOL_WXWINDC(PaintPage
);
172 DEC_PYCALLBACK_BOOL_WXWINDC(DrawBlankPage
);
173 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
174 DEC_PYCALLBACK_VOID_INT(SetZoom
);
175 DEC_PYCALLBACK_BOOL_BOOL(Print
);
176 DEC_PYCALLBACK_VOID_(DetermineScaling
);
181 // Stupid renamed classes... Fix this in 2.5...
182 #if defined(__WXMSW__)
183 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
184 #elif defined(__WXMAC__)
185 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
187 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
190 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
191 IMP_PYCALLBACK_BOOL_WXWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
192 IMP_PYCALLBACK_BOOL_WXWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
193 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
194 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
195 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
196 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
198 class wxPyPreviewFrame
: public wxPreviewFrame
200 DECLARE_CLASS(wxPyPreviewFrame
);
202 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
203 const wxString
& title
,
204 const wxPoint
& pos
= wxDefaultPosition
,
205 const wxSize
& size
= wxDefaultSize
,
206 long style
= wxDEFAULT_FRAME_STYLE
,
207 const wxString
& name
= wxPyFrameNameStr
)
208 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
211 void SetPreviewCanvas(wxWindow
* canvas
) { m_previewCanvas
= canvas
; }
212 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
214 DEC_PYCALLBACK_VOID_(Initialize
);
215 DEC_PYCALLBACK_VOID_(CreateCanvas
);
216 DEC_PYCALLBACK_VOID_(CreateControlBar
);
221 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
223 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
224 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
225 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
227 class wxPyPreviewControlBar
: public wxPreviewControlBar
229 DECLARE_CLASS(wxPyPreviewControlBar
);
231 wxPyPreviewControlBar(wxPrintPreview
*preview
,
234 const wxPoint
& pos
= wxDefaultPosition
,
235 const wxSize
& size
= wxDefaultSize
,
237 const wxString
& name
= wxPyPanelNameStr
)
238 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
241 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
243 DEC_PYCALLBACK_VOID_(CreateButtons
);
244 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
249 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
250 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
251 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
255 static void *SwigwxPrintDataTowxObject(void *ptr
) {
258 src
= (wxPrintData
*) ptr
;
259 dest
= (wxObject
*) src
;
260 return (void *) dest
;
263 #define new_wxPrintData() (new wxPrintData())
264 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
265 PyObject
* _resultobj
;
266 wxPrintData
* _result
;
267 char *_kwnames
[] = { NULL
};
271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
275 _result
= (wxPrintData
*)new_wxPrintData();
277 wxPyEndAllowThreads(__tstate
);
278 if (PyErr_Occurred()) return NULL
;
280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
281 _resultobj
= Py_BuildValue("s",_ptemp
);
284 _resultobj
= Py_None
;
289 #define delete_wxPrintData(_swigobj) (delete _swigobj)
290 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
291 PyObject
* _resultobj
;
293 PyObject
* _argo0
= 0;
294 char *_kwnames
[] = { "self", NULL
};
297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
308 delete_wxPrintData(_arg0
);
310 wxPyEndAllowThreads(__tstate
);
311 if (PyErr_Occurred()) return NULL
;
312 } Py_INCREF(Py_None
);
313 _resultobj
= Py_None
;
317 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
318 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
319 PyObject
* _resultobj
;
322 PyObject
* _argo0
= 0;
323 char *_kwnames
[] = { "self", NULL
};
326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
337 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
339 wxPyEndAllowThreads(__tstate
);
340 if (PyErr_Occurred()) return NULL
;
341 } _resultobj
= Py_BuildValue("i",_result
);
345 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
346 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
347 PyObject
* _resultobj
;
350 PyObject
* _argo0
= 0;
351 char *_kwnames
[] = { "self", NULL
};
354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
365 _result
= (bool )wxPrintData_GetCollate(_arg0
);
367 wxPyEndAllowThreads(__tstate
);
368 if (PyErr_Occurred()) return NULL
;
369 } _resultobj
= Py_BuildValue("i",_result
);
373 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
374 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
375 PyObject
* _resultobj
;
378 PyObject
* _argo0
= 0;
379 char *_kwnames
[] = { "self", NULL
};
382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
393 _result
= (int )wxPrintData_GetOrientation(_arg0
);
395 wxPyEndAllowThreads(__tstate
);
396 if (PyErr_Occurred()) return NULL
;
397 } _resultobj
= Py_BuildValue("i",_result
);
401 #define wxPrintData_Ok(_swigobj) (_swigobj->Ok())
402 static PyObject
*_wrap_wxPrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
403 PyObject
* _resultobj
;
406 PyObject
* _argo0
= 0;
407 char *_kwnames
[] = { "self", NULL
};
410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_Ok",_kwnames
,&_argo0
))
413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_Ok. Expected _wxPrintData_p.");
420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
421 _result
= (bool )wxPrintData_Ok(_arg0
);
423 wxPyEndAllowThreads(__tstate
);
424 if (PyErr_Occurred()) return NULL
;
425 } _resultobj
= Py_BuildValue("i",_result
);
429 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
430 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
431 PyObject
* _resultobj
;
434 PyObject
* _argo0
= 0;
435 char *_kwnames
[] = { "self", NULL
};
438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
449 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
450 _result
= (wxString
*) &_result_ref
;
452 wxPyEndAllowThreads(__tstate
);
453 if (PyErr_Occurred()) return NULL
;
456 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
458 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
464 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
465 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
469 PyObject
* _argo0
= 0;
470 char *_kwnames
[] = { "self", NULL
};
473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
484 _result
= (bool )wxPrintData_GetColour(_arg0
);
486 wxPyEndAllowThreads(__tstate
);
487 if (PyErr_Occurred()) return NULL
;
488 } _resultobj
= Py_BuildValue("i",_result
);
492 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
493 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
494 PyObject
* _resultobj
;
495 wxDuplexMode _result
;
497 PyObject
* _argo0
= 0;
498 char *_kwnames
[] = { "self", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
512 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
514 wxPyEndAllowThreads(__tstate
);
515 if (PyErr_Occurred()) return NULL
;
516 } _resultobj
= Py_BuildValue("i",_result
);
520 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
521 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
522 PyObject
* _resultobj
;
525 PyObject
* _argo0
= 0;
526 char *_kwnames
[] = { "self", NULL
};
529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
540 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
542 wxPyEndAllowThreads(__tstate
);
543 if (PyErr_Occurred()) return NULL
;
544 } _resultobj
= Py_BuildValue("i",_result
);
548 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
549 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 PyObject
* _resultobj
;
553 PyObject
* _argo0
= 0;
554 char *_kwnames
[] = { "self", NULL
};
558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
569 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
570 _result
= (wxSize
*) &_result_ref
;
572 wxPyEndAllowThreads(__tstate
);
573 if (PyErr_Occurred()) return NULL
;
575 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
576 _resultobj
= Py_BuildValue("s",_ptemp
);
579 _resultobj
= Py_None
;
584 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
585 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
587 wxPrintQuality _result
;
589 PyObject
* _argo0
= 0;
590 char *_kwnames
[] = { "self", NULL
};
593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
604 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
606 wxPyEndAllowThreads(__tstate
);
607 if (PyErr_Occurred()) return NULL
;
608 } _resultobj
= Py_BuildValue("i",_result
);
612 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
613 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
614 PyObject
* _resultobj
;
617 PyObject
* _argo0
= 0;
618 char *_kwnames
[] = { "self","v", NULL
};
621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
632 wxPrintData_SetNoCopies(_arg0
,_arg1
);
634 wxPyEndAllowThreads(__tstate
);
635 if (PyErr_Occurred()) return NULL
;
636 } Py_INCREF(Py_None
);
637 _resultobj
= Py_None
;
641 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
642 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
643 PyObject
* _resultobj
;
646 PyObject
* _argo0
= 0;
648 char *_kwnames
[] = { "self","flag", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
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_SetCollate. Expected _wxPrintData_p.");
660 _arg1
= (bool ) tempbool1
;
662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
663 wxPrintData_SetCollate(_arg0
,_arg1
);
665 wxPyEndAllowThreads(__tstate
);
666 if (PyErr_Occurred()) return NULL
;
667 } Py_INCREF(Py_None
);
668 _resultobj
= Py_None
;
672 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
673 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
674 PyObject
* _resultobj
;
677 PyObject
* _argo0
= 0;
678 char *_kwnames
[] = { "self","orient", NULL
};
681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
692 wxPrintData_SetOrientation(_arg0
,_arg1
);
694 wxPyEndAllowThreads(__tstate
);
695 if (PyErr_Occurred()) return NULL
;
696 } Py_INCREF(Py_None
);
697 _resultobj
= Py_None
;
701 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
702 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 PyObject
* _resultobj
;
706 PyObject
* _argo0
= 0;
707 PyObject
* _obj1
= 0;
708 char *_kwnames
[] = { "self","name", NULL
};
711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
721 _arg1
= wxString_in_helper(_obj1
);
726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
727 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
729 wxPyEndAllowThreads(__tstate
);
730 if (PyErr_Occurred()) return NULL
;
731 } Py_INCREF(Py_None
);
732 _resultobj
= Py_None
;
740 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
741 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 PyObject
* _resultobj
;
745 PyObject
* _argo0
= 0;
747 char *_kwnames
[] = { "self","colour", NULL
};
750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
759 _arg1
= (bool ) tempbool1
;
761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
762 wxPrintData_SetColour(_arg0
,_arg1
);
764 wxPyEndAllowThreads(__tstate
);
765 if (PyErr_Occurred()) return NULL
;
766 } Py_INCREF(Py_None
);
767 _resultobj
= Py_None
;
771 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
772 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
773 PyObject
* _resultobj
;
776 PyObject
* _argo0
= 0;
777 char *_kwnames
[] = { "self","duplex", NULL
};
780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
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_SetDuplex. Expected _wxPrintData_p.");
790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
791 wxPrintData_SetDuplex(_arg0
,_arg1
);
793 wxPyEndAllowThreads(__tstate
);
794 if (PyErr_Occurred()) return NULL
;
795 } Py_INCREF(Py_None
);
796 _resultobj
= Py_None
;
800 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
801 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
802 PyObject
* _resultobj
;
805 PyObject
* _argo0
= 0;
806 char *_kwnames
[] = { "self","sizeId", NULL
};
809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
820 wxPrintData_SetPaperId(_arg0
,_arg1
);
822 wxPyEndAllowThreads(__tstate
);
823 if (PyErr_Occurred()) return NULL
;
824 } Py_INCREF(Py_None
);
825 _resultobj
= Py_None
;
829 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
830 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 PyObject
* _resultobj
;
834 PyObject
* _argo0
= 0;
836 PyObject
* _obj1
= 0;
837 char *_kwnames
[] = { "self","sz", NULL
};
840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
851 if (! wxSize_helper(_obj1
, &_arg1
))
855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
856 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
858 wxPyEndAllowThreads(__tstate
);
859 if (PyErr_Occurred()) return NULL
;
860 } Py_INCREF(Py_None
);
861 _resultobj
= Py_None
;
865 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
866 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
867 PyObject
* _resultobj
;
869 wxPrintQuality _arg1
;
870 PyObject
* _argo0
= 0;
871 char *_kwnames
[] = { "self","quality", NULL
};
874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
885 wxPrintData_SetQuality(_arg0
,_arg1
);
887 wxPyEndAllowThreads(__tstate
);
888 if (PyErr_Occurred()) return NULL
;
889 } Py_INCREF(Py_None
);
890 _resultobj
= Py_None
;
894 #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
895 static PyObject
*_wrap_wxPrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
896 PyObject
* _resultobj
;
899 PyObject
* _argo0
= 0;
900 char *_kwnames
[] = { "self", NULL
};
903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterCommand",_kwnames
,&_argo0
))
906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
914 const wxString
& _result_ref
= wxPrintData_GetPrinterCommand(_arg0
);
915 _result
= (wxString
*) &_result_ref
;
917 wxPyEndAllowThreads(__tstate
);
918 if (PyErr_Occurred()) return NULL
;
921 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
923 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
929 #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
930 static PyObject
*_wrap_wxPrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
934 PyObject
* _argo0
= 0;
935 char *_kwnames
[] = { "self", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterOptions",_kwnames
,&_argo0
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 const wxString
& _result_ref
= wxPrintData_GetPrinterOptions(_arg0
);
950 _result
= (wxString
*) &_result_ref
;
952 wxPyEndAllowThreads(__tstate
);
953 if (PyErr_Occurred()) return NULL
;
956 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
958 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
964 #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
965 static PyObject
*_wrap_wxPrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
966 PyObject
* _resultobj
;
969 PyObject
* _argo0
= 0;
970 char *_kwnames
[] = { "self", NULL
};
973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPreviewCommand",_kwnames
,&_argo0
))
976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
984 const wxString
& _result_ref
= wxPrintData_GetPreviewCommand(_arg0
);
985 _result
= (wxString
*) &_result_ref
;
987 wxPyEndAllowThreads(__tstate
);
988 if (PyErr_Occurred()) return NULL
;
991 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
993 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
999 #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
1000 static PyObject
*_wrap_wxPrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1003 wxPrintData
* _arg0
;
1004 PyObject
* _argo0
= 0;
1005 char *_kwnames
[] = { "self", NULL
};
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFilename",_kwnames
,&_argo0
))
1011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p.");
1018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1019 const wxString
& _result_ref
= wxPrintData_GetFilename(_arg0
);
1020 _result
= (wxString
*) &_result_ref
;
1022 wxPyEndAllowThreads(__tstate
);
1023 if (PyErr_Occurred()) return NULL
;
1026 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1028 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1034 #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
1035 static PyObject
*_wrap_wxPrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1036 PyObject
* _resultobj
;
1038 wxPrintData
* _arg0
;
1039 PyObject
* _argo0
= 0;
1040 char *_kwnames
[] = { "self", NULL
};
1043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFontMetricPath",_kwnames
,&_argo0
))
1046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
1053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1054 const wxString
& _result_ref
= wxPrintData_GetFontMetricPath(_arg0
);
1055 _result
= (wxString
*) &_result_ref
;
1057 wxPyEndAllowThreads(__tstate
);
1058 if (PyErr_Occurred()) return NULL
;
1061 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1063 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1069 #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
1070 static PyObject
*_wrap_wxPrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
* _resultobj
;
1073 wxPrintData
* _arg0
;
1074 PyObject
* _argo0
= 0;
1075 char *_kwnames
[] = { "self", NULL
};
1078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleX",_kwnames
,&_argo0
))
1081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
1088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1089 _result
= (double )wxPrintData_GetPrinterScaleX(_arg0
);
1091 wxPyEndAllowThreads(__tstate
);
1092 if (PyErr_Occurred()) return NULL
;
1093 } _resultobj
= Py_BuildValue("d",_result
);
1097 #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
1098 static PyObject
*_wrap_wxPrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1101 wxPrintData
* _arg0
;
1102 PyObject
* _argo0
= 0;
1103 char *_kwnames
[] = { "self", NULL
};
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleY",_kwnames
,&_argo0
))
1109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
1116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1117 _result
= (double )wxPrintData_GetPrinterScaleY(_arg0
);
1119 wxPyEndAllowThreads(__tstate
);
1120 if (PyErr_Occurred()) return NULL
;
1121 } _resultobj
= Py_BuildValue("d",_result
);
1125 #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
1126 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1127 PyObject
* _resultobj
;
1129 wxPrintData
* _arg0
;
1130 PyObject
* _argo0
= 0;
1131 char *_kwnames
[] = { "self", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateX",_kwnames
,&_argo0
))
1137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
1144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1145 _result
= (long )wxPrintData_GetPrinterTranslateX(_arg0
);
1147 wxPyEndAllowThreads(__tstate
);
1148 if (PyErr_Occurred()) return NULL
;
1149 } _resultobj
= Py_BuildValue("l",_result
);
1153 #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
1154 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1157 wxPrintData
* _arg0
;
1158 PyObject
* _argo0
= 0;
1159 char *_kwnames
[] = { "self", NULL
};
1162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateY",_kwnames
,&_argo0
))
1165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1173 _result
= (long )wxPrintData_GetPrinterTranslateY(_arg0
);
1175 wxPyEndAllowThreads(__tstate
);
1176 if (PyErr_Occurred()) return NULL
;
1177 } _resultobj
= Py_BuildValue("l",_result
);
1181 #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1182 static PyObject
*_wrap_wxPrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
* _resultobj
;
1184 wxPrintMode _result
;
1185 wxPrintData
* _arg0
;
1186 PyObject
* _argo0
= 0;
1187 char *_kwnames
[] = { "self", NULL
};
1190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrintMode",_kwnames
,&_argo0
))
1193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1201 _result
= (wxPrintMode
)wxPrintData_GetPrintMode(_arg0
);
1203 wxPyEndAllowThreads(__tstate
);
1204 if (PyErr_Occurred()) return NULL
;
1205 } _resultobj
= Py_BuildValue("i",_result
);
1209 #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1210 static PyObject
*_wrap_wxPrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1211 PyObject
* _resultobj
;
1212 wxPrintData
* _arg0
;
1214 PyObject
* _argo0
= 0;
1215 PyObject
* _obj1
= 0;
1216 char *_kwnames
[] = { "self","command", NULL
};
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterCommand",_kwnames
,&_argo0
,&_obj1
))
1222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1229 _arg1
= wxString_in_helper(_obj1
);
1234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1235 wxPrintData_SetPrinterCommand(_arg0
,*_arg1
);
1237 wxPyEndAllowThreads(__tstate
);
1238 if (PyErr_Occurred()) return NULL
;
1239 } Py_INCREF(Py_None
);
1240 _resultobj
= Py_None
;
1248 #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1249 static PyObject
*_wrap_wxPrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
* _resultobj
;
1251 wxPrintData
* _arg0
;
1253 PyObject
* _argo0
= 0;
1254 PyObject
* _obj1
= 0;
1255 char *_kwnames
[] = { "self","options", NULL
};
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterOptions",_kwnames
,&_argo0
,&_obj1
))
1261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1268 _arg1
= wxString_in_helper(_obj1
);
1273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1274 wxPrintData_SetPrinterOptions(_arg0
,*_arg1
);
1276 wxPyEndAllowThreads(__tstate
);
1277 if (PyErr_Occurred()) return NULL
;
1278 } Py_INCREF(Py_None
);
1279 _resultobj
= Py_None
;
1287 #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1288 static PyObject
*_wrap_wxPrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1290 wxPrintData
* _arg0
;
1292 PyObject
* _argo0
= 0;
1293 PyObject
* _obj1
= 0;
1294 char *_kwnames
[] = { "self","command", NULL
};
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPreviewCommand",_kwnames
,&_argo0
,&_obj1
))
1300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1307 _arg1
= wxString_in_helper(_obj1
);
1312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1313 wxPrintData_SetPreviewCommand(_arg0
,*_arg1
);
1315 wxPyEndAllowThreads(__tstate
);
1316 if (PyErr_Occurred()) return NULL
;
1317 } Py_INCREF(Py_None
);
1318 _resultobj
= Py_None
;
1326 #define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1327 static PyObject
*_wrap_wxPrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1328 PyObject
* _resultobj
;
1329 wxPrintData
* _arg0
;
1331 PyObject
* _argo0
= 0;
1332 PyObject
* _obj1
= 0;
1333 char *_kwnames
[] = { "self","filename", NULL
};
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p.");
1346 _arg1
= wxString_in_helper(_obj1
);
1351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1352 wxPrintData_SetFilename(_arg0
,*_arg1
);
1354 wxPyEndAllowThreads(__tstate
);
1355 if (PyErr_Occurred()) return NULL
;
1356 } Py_INCREF(Py_None
);
1357 _resultobj
= Py_None
;
1365 #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1366 static PyObject
*_wrap_wxPrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1368 wxPrintData
* _arg0
;
1370 PyObject
* _argo0
= 0;
1371 PyObject
* _obj1
= 0;
1372 char *_kwnames
[] = { "self","path", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFontMetricPath",_kwnames
,&_argo0
,&_obj1
))
1378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1385 _arg1
= wxString_in_helper(_obj1
);
1390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1391 wxPrintData_SetFontMetricPath(_arg0
,*_arg1
);
1393 wxPyEndAllowThreads(__tstate
);
1394 if (PyErr_Occurred()) return NULL
;
1395 } Py_INCREF(Py_None
);
1396 _resultobj
= Py_None
;
1404 #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1405 static PyObject
*_wrap_wxPrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1406 PyObject
* _resultobj
;
1407 wxPrintData
* _arg0
;
1409 PyObject
* _argo0
= 0;
1410 char *_kwnames
[] = { "self","x", NULL
};
1413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleX",_kwnames
,&_argo0
,&_arg1
))
1416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p.");
1423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1424 wxPrintData_SetPrinterScaleX(_arg0
,_arg1
);
1426 wxPyEndAllowThreads(__tstate
);
1427 if (PyErr_Occurred()) return NULL
;
1428 } Py_INCREF(Py_None
);
1429 _resultobj
= Py_None
;
1433 #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1434 static PyObject
*_wrap_wxPrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
* _resultobj
;
1436 wxPrintData
* _arg0
;
1438 PyObject
* _argo0
= 0;
1439 char *_kwnames
[] = { "self","y", NULL
};
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleY",_kwnames
,&_argo0
,&_arg1
))
1445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p.");
1452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1453 wxPrintData_SetPrinterScaleY(_arg0
,_arg1
);
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) return NULL
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1462 #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1463 static PyObject
*_wrap_wxPrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1465 wxPrintData
* _arg0
;
1468 PyObject
* _argo0
= 0;
1469 char *_kwnames
[] = { "self","x","y", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPrintData_SetPrinterScaling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetPrinterScaling. Expected _wxPrintData_p.");
1482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 wxPrintData_SetPrinterScaling(_arg0
,_arg1
,_arg2
);
1485 wxPyEndAllowThreads(__tstate
);
1486 if (PyErr_Occurred()) return NULL
;
1487 } Py_INCREF(Py_None
);
1488 _resultobj
= Py_None
;
1492 #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1493 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
* _resultobj
;
1495 wxPrintData
* _arg0
;
1497 PyObject
* _argo0
= 0;
1498 char *_kwnames
[] = { "self","x", NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames
,&_argo0
,&_arg1
))
1504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p.");
1511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1512 wxPrintData_SetPrinterTranslateX(_arg0
,_arg1
);
1514 wxPyEndAllowThreads(__tstate
);
1515 if (PyErr_Occurred()) return NULL
;
1516 } Py_INCREF(Py_None
);
1517 _resultobj
= Py_None
;
1521 #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1522 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
* _resultobj
;
1524 wxPrintData
* _arg0
;
1526 PyObject
* _argo0
= 0;
1527 char *_kwnames
[] = { "self","y", NULL
};
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames
,&_argo0
,&_arg1
))
1533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1541 wxPrintData_SetPrinterTranslateY(_arg0
,_arg1
);
1543 wxPyEndAllowThreads(__tstate
);
1544 if (PyErr_Occurred()) return NULL
;
1545 } Py_INCREF(Py_None
);
1546 _resultobj
= Py_None
;
1550 #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1551 static PyObject
*_wrap_wxPrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
* _resultobj
;
1553 wxPrintData
* _arg0
;
1556 PyObject
* _argo0
= 0;
1557 char *_kwnames
[] = { "self","x","y", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPrintData_SetPrinterTranslation",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetPrinterTranslation. Expected _wxPrintData_p.");
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 wxPrintData_SetPrinterTranslation(_arg0
,_arg1
,_arg2
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) return NULL
;
1575 } Py_INCREF(Py_None
);
1576 _resultobj
= Py_None
;
1580 #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1581 static PyObject
*_wrap_wxPrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1583 wxPrintData
* _arg0
;
1585 PyObject
* _argo0
= 0;
1586 char *_kwnames
[] = { "self","printMode", NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPrintMode",_kwnames
,&_argo0
,&_arg1
))
1592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 wxPrintData_SetPrintMode(_arg0
,_arg1
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) return NULL
;
1604 } Py_INCREF(Py_None
);
1605 _resultobj
= Py_None
;
1609 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
1610 wxPostScriptDC
*src
;
1612 src
= (wxPostScriptDC
*) ptr
;
1613 dest
= (wxDC
*) src
;
1614 return (void *) dest
;
1617 static void *SwigwxPostScriptDCTowxObject(void *ptr
) {
1618 wxPostScriptDC
*src
;
1620 src
= (wxPostScriptDC
*) ptr
;
1621 dest
= (wxObject
*) src
;
1622 return (void *) dest
;
1625 #define new_wxPostScriptDC(_swigarg0) (new wxPostScriptDC(_swigarg0))
1626 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
* _resultobj
;
1628 wxPostScriptDC
* _result
;
1629 wxPrintData
* _arg0
;
1630 PyObject
* _argo0
= 0;
1631 char *_kwnames
[] = { "printData", NULL
};
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPostScriptDC",_kwnames
,&_argo0
))
1638 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPostScriptDC. Expected _wxPrintData_p.");
1644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1645 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
);
1647 wxPyEndAllowThreads(__tstate
);
1648 if (PyErr_Occurred()) return NULL
;
1650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1651 _resultobj
= Py_BuildValue("s",_ptemp
);
1654 _resultobj
= Py_None
;
1659 #define wxPostScriptDC_GetPrintData(_swigobj) (_swigobj->GetPrintData())
1660 static PyObject
*_wrap_wxPostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1661 PyObject
* _resultobj
;
1662 wxPrintData
* _result
;
1663 wxPostScriptDC
* _arg0
;
1664 PyObject
* _argo0
= 0;
1665 char *_kwnames
[] = { "self", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPostScriptDC_GetPrintData",_kwnames
,&_argo0
))
1672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_GetPrintData. Expected _wxPostScriptDC_p.");
1679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1680 wxPrintData
& _result_ref
= wxPostScriptDC_GetPrintData(_arg0
);
1681 _result
= (wxPrintData
*) &_result_ref
;
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) return NULL
;
1686 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1687 _resultobj
= Py_BuildValue("s",_ptemp
);
1690 _resultobj
= Py_None
;
1695 #define wxPostScriptDC_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1696 static PyObject
*_wrap_wxPostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
* _resultobj
;
1698 wxPostScriptDC
* _arg0
;
1699 wxPrintData
* _arg1
;
1700 PyObject
* _argo0
= 0;
1701 PyObject
* _argo1
= 0;
1702 char *_kwnames
[] = { "self","data", NULL
};
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostScriptDC_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_SetPrintData. Expected _wxPostScriptDC_p.");
1715 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostScriptDC_SetPrintData. Expected _wxPrintData_p.");
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 wxPostScriptDC_SetPrintData(_arg0
,*_arg1
);
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) return NULL
;
1726 } Py_INCREF(Py_None
);
1727 _resultobj
= Py_None
;
1731 static PyObject
*_wrap_wxPostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1732 PyObject
* _resultobj
;
1734 char *_kwnames
[] = { "ppi", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxPostScriptDC_SetResolution",_kwnames
,&_arg0
))
1740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1741 wxPostScriptDC::SetResolution(_arg0
);
1743 wxPyEndAllowThreads(__tstate
);
1744 if (PyErr_Occurred()) return NULL
;
1745 } Py_INCREF(Py_None
);
1746 _resultobj
= Py_None
;
1750 static PyObject
*_wrap_wxPostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1753 char *_kwnames
[] = { NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxPostScriptDC_GetResolution",_kwnames
))
1759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1760 _result
= (int )wxPostScriptDC::GetResolution();
1762 wxPyEndAllowThreads(__tstate
);
1763 if (PyErr_Occurred()) return NULL
;
1764 } _resultobj
= Py_BuildValue("i",_result
);
1768 static void *SwigwxPageSetupDialogDataTowxObject(void *ptr
) {
1769 wxPageSetupDialogData
*src
;
1771 src
= (wxPageSetupDialogData
*) ptr
;
1772 dest
= (wxObject
*) src
;
1773 return (void *) dest
;
1776 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1777 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
* _resultobj
;
1779 wxPageSetupDialogData
* _result
;
1780 char *_kwnames
[] = { NULL
};
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) return NULL
;
1793 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1794 _resultobj
= Py_BuildValue("s",_ptemp
);
1797 _resultobj
= Py_None
;
1802 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1803 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1805 wxPageSetupDialogData
* _arg0
;
1806 PyObject
* _argo0
= 0;
1807 char *_kwnames
[] = { "self", NULL
};
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
1813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1821 delete_wxPageSetupDialogData(_arg0
);
1823 wxPyEndAllowThreads(__tstate
);
1824 if (PyErr_Occurred()) return NULL
;
1825 } Py_INCREF(Py_None
);
1826 _resultobj
= Py_None
;
1830 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1831 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1833 wxPageSetupDialogData
* _arg0
;
1835 PyObject
* _argo0
= 0;
1837 char *_kwnames
[] = { "self","flag", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1849 _arg1
= (bool ) tempbool1
;
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) return NULL
;
1856 } Py_INCREF(Py_None
);
1857 _resultobj
= Py_None
;
1861 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1862 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
* _resultobj
;
1864 wxPageSetupDialogData
* _arg0
;
1866 PyObject
* _argo0
= 0;
1868 char *_kwnames
[] = { "self","flag", NULL
};
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
1874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1880 _arg1
= (bool ) tempbool1
;
1882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1883 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
1885 wxPyEndAllowThreads(__tstate
);
1886 if (PyErr_Occurred()) return NULL
;
1887 } Py_INCREF(Py_None
);
1888 _resultobj
= Py_None
;
1892 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1893 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
* _resultobj
;
1895 wxPageSetupDialogData
* _arg0
;
1897 PyObject
* _argo0
= 0;
1899 char *_kwnames
[] = { "self","flag", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1911 _arg1
= (bool ) tempbool1
;
1913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1914 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
1916 wxPyEndAllowThreads(__tstate
);
1917 if (PyErr_Occurred()) return NULL
;
1918 } Py_INCREF(Py_None
);
1919 _resultobj
= Py_None
;
1923 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1924 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
* _resultobj
;
1926 wxPageSetupDialogData
* _arg0
;
1928 PyObject
* _argo0
= 0;
1930 char *_kwnames
[] = { "self","flag", NULL
};
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
1936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1942 _arg1
= (bool ) tempbool1
;
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) return NULL
;
1949 } Py_INCREF(Py_None
);
1950 _resultobj
= Py_None
;
1954 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1955 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
* _resultobj
;
1957 wxPageSetupDialogData
* _arg0
;
1959 PyObject
* _argo0
= 0;
1961 char *_kwnames
[] = { "self","flag", NULL
};
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
1967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
1973 _arg1
= (bool ) tempbool1
;
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) return NULL
;
1980 } Py_INCREF(Py_None
);
1981 _resultobj
= Py_None
;
1985 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
1986 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
* _resultobj
;
1989 wxPageSetupDialogData
* _arg0
;
1990 PyObject
* _argo0
= 0;
1991 char *_kwnames
[] = { "self", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
1997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2005 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) return NULL
;
2009 } _resultobj
= Py_BuildValue("i",_result
);
2013 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
2014 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
* _resultobj
;
2017 wxPageSetupDialogData
* _arg0
;
2018 PyObject
* _argo0
= 0;
2019 char *_kwnames
[] = { "self", NULL
};
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
2025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) return NULL
;
2037 } _resultobj
= Py_BuildValue("i",_result
);
2041 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
2042 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
* _resultobj
;
2045 wxPageSetupDialogData
* _arg0
;
2046 PyObject
* _argo0
= 0;
2047 char *_kwnames
[] = { "self", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
2053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
2060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2061 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
2063 wxPyEndAllowThreads(__tstate
);
2064 if (PyErr_Occurred()) return NULL
;
2065 } _resultobj
= Py_BuildValue("i",_result
);
2069 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
2070 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
* _resultobj
;
2073 wxPageSetupDialogData
* _arg0
;
2074 PyObject
* _argo0
= 0;
2075 char *_kwnames
[] = { "self", NULL
};
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
2081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) return NULL
;
2093 } _resultobj
= Py_BuildValue("i",_result
);
2097 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
2098 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
* _resultobj
;
2101 wxPageSetupDialogData
* _arg0
;
2102 PyObject
* _argo0
= 0;
2103 char *_kwnames
[] = { "self", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
2109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2117 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) return NULL
;
2121 } _resultobj
= Py_BuildValue("i",_result
);
2125 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
2126 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2129 wxPageSetupDialogData
* _arg0
;
2130 PyObject
* _argo0
= 0;
2131 char *_kwnames
[] = { "self", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
2137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
2147 wxPyEndAllowThreads(__tstate
);
2148 if (PyErr_Occurred()) return NULL
;
2149 } _resultobj
= Py_BuildValue("i",_result
);
2153 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2154 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2157 wxPageSetupDialogData
* _arg0
;
2158 PyObject
* _argo0
= 0;
2159 char *_kwnames
[] = { "self", NULL
};
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
2165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) return NULL
;
2177 } _resultobj
= Py_BuildValue("i",_result
);
2181 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2182 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
* _resultobj
;
2185 wxPageSetupDialogData
* _arg0
;
2186 PyObject
* _argo0
= 0;
2187 char *_kwnames
[] = { "self", NULL
};
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
2194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2202 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) return NULL
;
2206 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2207 _resultobj
= Py_BuildValue("s",_ptemp
);
2211 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2212 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
* _resultobj
;
2215 wxPageSetupDialogData
* _arg0
;
2216 PyObject
* _argo0
= 0;
2217 char *_kwnames
[] = { "self", NULL
};
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_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_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) return NULL
;
2236 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2237 _resultobj
= Py_BuildValue("s",_ptemp
);
2241 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2242 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
* _resultobj
;
2245 wxPageSetupDialogData
* _arg0
;
2246 PyObject
* _argo0
= 0;
2247 char *_kwnames
[] = { "self", NULL
};
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
2254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2262 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
2264 wxPyEndAllowThreads(__tstate
);
2265 if (PyErr_Occurred()) return NULL
;
2266 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2267 _resultobj
= Py_BuildValue("s",_ptemp
);
2271 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2272 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
* _resultobj
;
2275 wxPageSetupDialogData
* _arg0
;
2276 PyObject
* _argo0
= 0;
2277 char *_kwnames
[] = { "self", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) return NULL
;
2296 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2297 _resultobj
= Py_BuildValue("s",_ptemp
);
2301 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2302 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2304 wxPaperSize _result
;
2305 wxPageSetupDialogData
* _arg0
;
2306 PyObject
* _argo0
= 0;
2307 char *_kwnames
[] = { "self", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) return NULL
;
2325 } _resultobj
= Py_BuildValue("i",_result
);
2329 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2330 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
* _resultobj
;
2333 wxPageSetupDialogData
* _arg0
;
2334 PyObject
* _argo0
= 0;
2335 char *_kwnames
[] = { "self", NULL
};
2339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
2342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2350 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2352 wxPyEndAllowThreads(__tstate
);
2353 if (PyErr_Occurred()) return NULL
;
2354 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2355 _resultobj
= Py_BuildValue("s",_ptemp
);
2359 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2360 return new wxPrintData(self
->GetPrintData()); // force a copy
2362 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2364 wxPrintData
* _result
;
2365 wxPageSetupDialogData
* _arg0
;
2366 PyObject
* _argo0
= 0;
2367 char *_kwnames
[] = { "self", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) return NULL
;
2387 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2388 _resultobj
= Py_BuildValue("s",_ptemp
);
2391 _resultobj
= Py_None
;
2396 #define wxPageSetupDialogData_Ok(_swigobj) (_swigobj->Ok())
2397 static PyObject
*_wrap_wxPageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2400 wxPageSetupDialogData
* _arg0
;
2401 PyObject
* _argo0
= 0;
2402 char *_kwnames
[] = { "self", NULL
};
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_Ok",_kwnames
,&_argo0
))
2408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_Ok. Expected _wxPageSetupDialogData_p.");
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 _result
= (bool )wxPageSetupDialogData_Ok(_arg0
);
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) return NULL
;
2420 } _resultobj
= Py_BuildValue("i",_result
);
2424 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2425 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
* _resultobj
;
2427 wxPageSetupDialogData
* _arg0
;
2429 PyObject
* _argo0
= 0;
2431 char *_kwnames
[] = { "self","flag", NULL
};
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2443 _arg1
= (bool ) tempbool1
;
2445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2446 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2448 wxPyEndAllowThreads(__tstate
);
2449 if (PyErr_Occurred()) return NULL
;
2450 } Py_INCREF(Py_None
);
2451 _resultobj
= Py_None
;
2455 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2456 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
* _resultobj
;
2458 wxPageSetupDialogData
* _arg0
;
2460 PyObject
* _argo0
= 0;
2462 char *_kwnames
[] = { "self","flag", NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2474 _arg1
= (bool ) tempbool1
;
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) return NULL
;
2481 } Py_INCREF(Py_None
);
2482 _resultobj
= Py_None
;
2486 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2487 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
* _resultobj
;
2489 wxPageSetupDialogData
* _arg0
;
2491 PyObject
* _argo0
= 0;
2493 PyObject
* _obj1
= 0;
2494 char *_kwnames
[] = { "self","pt", NULL
};
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2508 if (! wxPoint_helper(_obj1
, &_arg1
))
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) return NULL
;
2517 } Py_INCREF(Py_None
);
2518 _resultobj
= Py_None
;
2522 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2523 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
* _resultobj
;
2525 wxPageSetupDialogData
* _arg0
;
2527 PyObject
* _argo0
= 0;
2529 PyObject
* _obj1
= 0;
2530 char *_kwnames
[] = { "self","pt", NULL
};
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2544 if (! wxPoint_helper(_obj1
, &_arg1
))
2548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2549 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2551 wxPyEndAllowThreads(__tstate
);
2552 if (PyErr_Occurred()) return NULL
;
2553 } Py_INCREF(Py_None
);
2554 _resultobj
= Py_None
;
2558 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2559 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
* _resultobj
;
2561 wxPageSetupDialogData
* _arg0
;
2563 PyObject
* _argo0
= 0;
2565 PyObject
* _obj1
= 0;
2566 char *_kwnames
[] = { "self","pt", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2580 if (! wxPoint_helper(_obj1
, &_arg1
))
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) return NULL
;
2589 } Py_INCREF(Py_None
);
2590 _resultobj
= Py_None
;
2594 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2595 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
* _resultobj
;
2597 wxPageSetupDialogData
* _arg0
;
2599 PyObject
* _argo0
= 0;
2601 PyObject
* _obj1
= 0;
2602 char *_kwnames
[] = { "self","pt", NULL
};
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2616 if (! wxPoint_helper(_obj1
, &_arg1
))
2620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2621 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2623 wxPyEndAllowThreads(__tstate
);
2624 if (PyErr_Occurred()) return NULL
;
2625 } Py_INCREF(Py_None
);
2626 _resultobj
= Py_None
;
2630 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2631 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
* _resultobj
;
2633 wxPageSetupDialogData
* _arg0
;
2635 PyObject
* _argo0
= 0;
2636 char *_kwnames
[] = { "self","id", NULL
};
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) return NULL
;
2654 } Py_INCREF(Py_None
);
2655 _resultobj
= Py_None
;
2659 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2660 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2662 wxPageSetupDialogData
* _arg0
;
2664 PyObject
* _argo0
= 0;
2666 PyObject
* _obj1
= 0;
2667 char *_kwnames
[] = { "self","size", NULL
};
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2681 if (! wxSize_helper(_obj1
, &_arg1
))
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) return NULL
;
2690 } Py_INCREF(Py_None
);
2691 _resultobj
= Py_None
;
2695 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2696 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
* _resultobj
;
2698 wxPageSetupDialogData
* _arg0
;
2699 wxPrintData
* _arg1
;
2700 PyObject
* _argo0
= 0;
2701 PyObject
* _argo1
= 0;
2702 char *_kwnames
[] = { "self","printData", NULL
};
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2715 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) return NULL
;
2726 } Py_INCREF(Py_None
);
2727 _resultobj
= Py_None
;
2731 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2732 wxPageSetupDialog
*src
;
2734 src
= (wxPageSetupDialog
*) ptr
;
2735 dest
= (wxDialog
*) src
;
2736 return (void *) dest
;
2739 static void *SwigwxPageSetupDialogTowxTopLevelWindow(void *ptr
) {
2740 wxPageSetupDialog
*src
;
2741 wxTopLevelWindow
*dest
;
2742 src
= (wxPageSetupDialog
*) ptr
;
2743 dest
= (wxTopLevelWindow
*) src
;
2744 return (void *) dest
;
2747 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2748 wxPageSetupDialog
*src
;
2750 src
= (wxPageSetupDialog
*) ptr
;
2751 dest
= (wxWindow
*) src
;
2752 return (void *) dest
;
2755 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2756 wxPageSetupDialog
*src
;
2758 src
= (wxPageSetupDialog
*) ptr
;
2759 dest
= (wxEvtHandler
*) src
;
2760 return (void *) dest
;
2763 static void *SwigwxPageSetupDialogTowxObject(void *ptr
) {
2764 wxPageSetupDialog
*src
;
2766 src
= (wxPageSetupDialog
*) ptr
;
2767 dest
= (wxObject
*) src
;
2768 return (void *) dest
;
2771 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2772 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2773 PyObject
* _resultobj
;
2774 wxPageSetupDialog
* _result
;
2776 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2777 PyObject
* _argo0
= 0;
2778 PyObject
* _argo1
= 0;
2779 char *_kwnames
[] = { "parent","data", NULL
};
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2793 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2794 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) return NULL
;
2806 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2807 _resultobj
= Py_BuildValue("s",_ptemp
);
2810 _resultobj
= Py_None
;
2815 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2816 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
* _resultobj
;
2818 wxPageSetupDialogData
* _result
;
2819 wxPageSetupDialog
* _arg0
;
2820 PyObject
* _argo0
= 0;
2821 char *_kwnames
[] = { "self", NULL
};
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2837 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) return NULL
;
2842 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2843 _resultobj
= Py_BuildValue("s",_ptemp
);
2846 _resultobj
= Py_None
;
2851 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2852 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
* _resultobj
;
2855 wxPageSetupDialog
* _arg0
;
2856 PyObject
* _argo0
= 0;
2857 char *_kwnames
[] = { "self", NULL
};
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
2863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2871 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
2873 wxPyEndAllowThreads(__tstate
);
2874 if (PyErr_Occurred()) return NULL
;
2875 } _resultobj
= Py_BuildValue("i",_result
);
2879 static void *SwigwxPrintDialogDataTowxObject(void *ptr
) {
2880 wxPrintDialogData
*src
;
2882 src
= (wxPrintDialogData
*) ptr
;
2883 dest
= (wxObject
*) src
;
2884 return (void *) dest
;
2887 #define new_wxPrintDialogData() (new wxPrintDialogData())
2888 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2890 wxPrintDialogData
* _result
;
2891 char *_kwnames
[] = { NULL
};
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) return NULL
;
2904 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2905 _resultobj
= Py_BuildValue("s",_ptemp
);
2908 _resultobj
= Py_None
;
2913 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2914 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
* _resultobj
;
2916 wxPrintDialogData
* _arg0
;
2917 PyObject
* _argo0
= 0;
2918 char *_kwnames
[] = { "self", NULL
};
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
2924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 delete_wxPrintDialogData(_arg0
);
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) return NULL
;
2936 } Py_INCREF(Py_None
);
2937 _resultobj
= Py_None
;
2941 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
2942 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
* _resultobj
;
2945 wxPrintDialogData
* _arg0
;
2946 PyObject
* _argo0
= 0;
2947 char *_kwnames
[] = { "self", NULL
};
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
2953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2961 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
2963 wxPyEndAllowThreads(__tstate
);
2964 if (PyErr_Occurred()) return NULL
;
2965 } _resultobj
= Py_BuildValue("i",_result
);
2969 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
2970 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
* _resultobj
;
2973 wxPrintDialogData
* _arg0
;
2974 PyObject
* _argo0
= 0;
2975 char *_kwnames
[] = { "self", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
2981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) return NULL
;
2993 } _resultobj
= Py_BuildValue("i",_result
);
2997 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
2998 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
* _resultobj
;
3001 wxPrintDialogData
* _arg0
;
3002 PyObject
* _argo0
= 0;
3003 char *_kwnames
[] = { "self", NULL
};
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
3009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) return NULL
;
3021 } _resultobj
= Py_BuildValue("i",_result
);
3025 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3026 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
* _resultobj
;
3029 wxPrintDialogData
* _arg0
;
3030 PyObject
* _argo0
= 0;
3031 char *_kwnames
[] = { "self", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) return NULL
;
3049 } _resultobj
= Py_BuildValue("i",_result
);
3053 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3054 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
* _resultobj
;
3057 wxPrintDialogData
* _arg0
;
3058 PyObject
* _argo0
= 0;
3059 char *_kwnames
[] = { "self", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) return NULL
;
3077 } _resultobj
= Py_BuildValue("i",_result
);
3081 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
3082 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
* _resultobj
;
3085 wxPrintDialogData
* _arg0
;
3086 PyObject
* _argo0
= 0;
3087 char *_kwnames
[] = { "self", NULL
};
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
3093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
3100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3101 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
3103 wxPyEndAllowThreads(__tstate
);
3104 if (PyErr_Occurred()) return NULL
;
3105 } _resultobj
= Py_BuildValue("i",_result
);
3109 #define wxPrintDialogData_GetSelection(_swigobj) (_swigobj->GetSelection())
3110 static PyObject
*_wrap_wxPrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
* _resultobj
;
3113 wxPrintDialogData
* _arg0
;
3114 PyObject
* _argo0
= 0;
3115 char *_kwnames
[] = { "self", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetSelection",_kwnames
,&_argo0
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetSelection. Expected _wxPrintDialogData_p.");
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 _result
= (bool )wxPrintDialogData_GetSelection(_arg0
);
3131 wxPyEndAllowThreads(__tstate
);
3132 if (PyErr_Occurred()) return NULL
;
3133 } _resultobj
= Py_BuildValue("i",_result
);
3137 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
3138 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
* _resultobj
;
3141 wxPrintDialogData
* _arg0
;
3142 PyObject
* _argo0
= 0;
3143 char *_kwnames
[] = { "self", NULL
};
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
3149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
3156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) return NULL
;
3161 } _resultobj
= Py_BuildValue("i",_result
);
3165 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3166 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
* _resultobj
;
3169 wxPrintDialogData
* _arg0
;
3170 PyObject
* _argo0
= 0;
3171 char *_kwnames
[] = { "self", NULL
};
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
3177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) return NULL
;
3189 } _resultobj
= Py_BuildValue("i",_result
);
3193 #define wxPrintDialogData_GetSetupDialog(_swigobj) (_swigobj->GetSetupDialog())
3194 static PyObject
*_wrap_wxPrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
* _resultobj
;
3197 wxPrintDialogData
* _arg0
;
3198 PyObject
* _argo0
= 0;
3199 char *_kwnames
[] = { "self", NULL
};
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetSetupDialog",_kwnames
,&_argo0
))
3205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetSetupDialog. Expected _wxPrintDialogData_p.");
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 _result
= (bool )wxPrintDialogData_GetSetupDialog(_arg0
);
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) return NULL
;
3217 } _resultobj
= Py_BuildValue("i",_result
);
3221 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3222 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
* _resultobj
;
3224 wxPrintDialogData
* _arg0
;
3226 PyObject
* _argo0
= 0;
3227 char *_kwnames
[] = { "self","v", NULL
};
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
3233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) return NULL
;
3245 } Py_INCREF(Py_None
);
3246 _resultobj
= Py_None
;
3250 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3251 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3253 wxPrintDialogData
* _arg0
;
3255 PyObject
* _argo0
= 0;
3256 char *_kwnames
[] = { "self","v", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) return NULL
;
3274 } Py_INCREF(Py_None
);
3275 _resultobj
= Py_None
;
3279 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3280 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3282 wxPrintDialogData
* _arg0
;
3284 PyObject
* _argo0
= 0;
3285 char *_kwnames
[] = { "self","v", NULL
};
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) return NULL
;
3303 } Py_INCREF(Py_None
);
3304 _resultobj
= Py_None
;
3308 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3309 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
* _resultobj
;
3311 wxPrintDialogData
* _arg0
;
3313 PyObject
* _argo0
= 0;
3314 char *_kwnames
[] = { "self","v", NULL
};
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
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_SetMaxPage. Expected _wxPrintDialogData_p.");
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) return NULL
;
3332 } Py_INCREF(Py_None
);
3333 _resultobj
= Py_None
;
3337 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3338 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
* _resultobj
;
3340 wxPrintDialogData
* _arg0
;
3342 PyObject
* _argo0
= 0;
3343 char *_kwnames
[] = { "self","v", NULL
};
3346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
3349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) return NULL
;
3361 } Py_INCREF(Py_None
);
3362 _resultobj
= Py_None
;
3366 #define wxPrintDialogData_SetAllPages(_swigobj,_swigarg0) (_swigobj->SetAllPages(_swigarg0))
3367 static PyObject
*_wrap_wxPrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
* _resultobj
;
3369 wxPrintDialogData
* _arg0
;
3371 PyObject
* _argo0
= 0;
3373 char *_kwnames
[] = { "self","flag", NULL
};
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetAllPages",_kwnames
,&_argo0
,&tempbool1
))
3379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetAllPages. Expected _wxPrintDialogData_p.");
3385 _arg1
= (bool ) tempbool1
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 wxPrintDialogData_SetAllPages(_arg0
,_arg1
);
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) return NULL
;
3392 } Py_INCREF(Py_None
);
3393 _resultobj
= Py_None
;
3397 #define wxPrintDialogData_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3398 static PyObject
*_wrap_wxPrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
* _resultobj
;
3400 wxPrintDialogData
* _arg0
;
3402 PyObject
* _argo0
= 0;
3404 char *_kwnames
[] = { "self","flag", NULL
};
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSelection",_kwnames
,&_argo0
,&tempbool1
))
3410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSelection. Expected _wxPrintDialogData_p.");
3416 _arg1
= (bool ) tempbool1
;
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 wxPrintDialogData_SetSelection(_arg0
,_arg1
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) return NULL
;
3423 } Py_INCREF(Py_None
);
3424 _resultobj
= Py_None
;
3428 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3429 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
* _resultobj
;
3431 wxPrintDialogData
* _arg0
;
3433 PyObject
* _argo0
= 0;
3435 char *_kwnames
[] = { "self","flag", NULL
};
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
3441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3447 _arg1
= (bool ) tempbool1
;
3449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3450 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
3452 wxPyEndAllowThreads(__tstate
);
3453 if (PyErr_Occurred()) return NULL
;
3454 } Py_INCREF(Py_None
);
3455 _resultobj
= Py_None
;
3459 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3460 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
* _resultobj
;
3462 wxPrintDialogData
* _arg0
;
3464 PyObject
* _argo0
= 0;
3466 char *_kwnames
[] = { "self","flag", NULL
};
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3478 _arg1
= (bool ) tempbool1
;
3480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3481 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3483 wxPyEndAllowThreads(__tstate
);
3484 if (PyErr_Occurred()) return NULL
;
3485 } Py_INCREF(Py_None
);
3486 _resultobj
= Py_None
;
3490 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3491 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
* _resultobj
;
3493 wxPrintDialogData
* _arg0
;
3495 PyObject
* _argo0
= 0;
3497 char *_kwnames
[] = { "self","flag", NULL
};
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3509 _arg1
= (bool ) tempbool1
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) return NULL
;
3516 } Py_INCREF(Py_None
);
3517 _resultobj
= Py_None
;
3521 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
3522 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
* _resultobj
;
3524 wxPrintDialogData
* _arg0
;
3526 PyObject
* _argo0
= 0;
3528 char *_kwnames
[] = { "self","flag", NULL
};
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
3540 _arg1
= (bool ) tempbool1
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) return NULL
;
3547 } Py_INCREF(Py_None
);
3548 _resultobj
= Py_None
;
3552 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
3553 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3555 wxPrintDialogData
* _arg0
;
3557 PyObject
* _argo0
= 0;
3559 char *_kwnames
[] = { "self","flag", NULL
};
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
3565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
3571 _arg1
= (bool ) tempbool1
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) return NULL
;
3578 } Py_INCREF(Py_None
);
3579 _resultobj
= Py_None
;
3583 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
3584 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
* _resultobj
;
3586 wxPrintDialogData
* _arg0
;
3588 PyObject
* _argo0
= 0;
3590 char *_kwnames
[] = { "self","flag", NULL
};
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
3596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
3602 _arg1
= (bool ) tempbool1
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) return NULL
;
3609 } Py_INCREF(Py_None
);
3610 _resultobj
= Py_None
;
3614 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
3615 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
* _resultobj
;
3617 wxPrintDialogData
* _arg0
;
3619 PyObject
* _argo0
= 0;
3621 char *_kwnames
[] = { "self","flag", NULL
};
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
3627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
3633 _arg1
= (bool ) tempbool1
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) return NULL
;
3640 } Py_INCREF(Py_None
);
3641 _resultobj
= Py_None
;
3645 #define wxPrintDialogData_GetEnablePrintToFile(_swigobj) (_swigobj->GetEnablePrintToFile())
3646 static PyObject
*_wrap_wxPrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
* _resultobj
;
3649 wxPrintDialogData
* _arg0
;
3650 PyObject
* _argo0
= 0;
3651 char *_kwnames
[] = { "self", NULL
};
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetEnablePrintToFile",_kwnames
,&_argo0
))
3657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetEnablePrintToFile. Expected _wxPrintDialogData_p.");
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 _result
= (bool )wxPrintDialogData_GetEnablePrintToFile(_arg0
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) return NULL
;
3669 } _resultobj
= Py_BuildValue("i",_result
);
3673 #define wxPrintDialogData_GetEnableSelection(_swigobj) (_swigobj->GetEnableSelection())
3674 static PyObject
*_wrap_wxPrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
* _resultobj
;
3677 wxPrintDialogData
* _arg0
;
3678 PyObject
* _argo0
= 0;
3679 char *_kwnames
[] = { "self", NULL
};
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetEnableSelection",_kwnames
,&_argo0
))
3685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetEnableSelection. Expected _wxPrintDialogData_p.");
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 _result
= (bool )wxPrintDialogData_GetEnableSelection(_arg0
);
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) return NULL
;
3697 } _resultobj
= Py_BuildValue("i",_result
);
3701 #define wxPrintDialogData_GetEnablePageNumbers(_swigobj) (_swigobj->GetEnablePageNumbers())
3702 static PyObject
*_wrap_wxPrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
* _resultobj
;
3705 wxPrintDialogData
* _arg0
;
3706 PyObject
* _argo0
= 0;
3707 char *_kwnames
[] = { "self", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetEnablePageNumbers",_kwnames
,&_argo0
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetEnablePageNumbers. Expected _wxPrintDialogData_p.");
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 _result
= (bool )wxPrintDialogData_GetEnablePageNumbers(_arg0
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) return NULL
;
3725 } _resultobj
= Py_BuildValue("i",_result
);
3729 #define wxPrintDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
3730 static PyObject
*_wrap_wxPrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
* _resultobj
;
3733 wxPrintDialogData
* _arg0
;
3734 PyObject
* _argo0
= 0;
3735 char *_kwnames
[] = { "self", NULL
};
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetEnableHelp",_kwnames
,&_argo0
))
3741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetEnableHelp. Expected _wxPrintDialogData_p.");
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 _result
= (bool )wxPrintDialogData_GetEnableHelp(_arg0
);
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) return NULL
;
3753 } _resultobj
= Py_BuildValue("i",_result
);
3757 #define wxPrintDialogData_Ok(_swigobj) (_swigobj->Ok())
3758 static PyObject
*_wrap_wxPrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3761 wxPrintDialogData
* _arg0
;
3762 PyObject
* _argo0
= 0;
3763 char *_kwnames
[] = { "self", NULL
};
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_Ok",_kwnames
,&_argo0
))
3769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_Ok. Expected _wxPrintDialogData_p.");
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3777 _result
= (bool )wxPrintDialogData_Ok(_arg0
);
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) return NULL
;
3781 } _resultobj
= Py_BuildValue("i",_result
);
3785 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
3786 return new wxPrintData(self
->GetPrintData()); // force a copy
3788 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
* _resultobj
;
3790 wxPrintData
* _result
;
3791 wxPrintDialogData
* _arg0
;
3792 PyObject
* _argo0
= 0;
3793 char *_kwnames
[] = { "self", NULL
};
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_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_GetPrintData. Expected _wxPrintDialogData_p.");
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) return NULL
;
3813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
3814 _resultobj
= Py_BuildValue("s",_ptemp
);
3817 _resultobj
= Py_None
;
3822 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3823 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
* _resultobj
;
3825 wxPrintDialogData
* _arg0
;
3826 wxPrintData
* _arg1
;
3827 PyObject
* _argo0
= 0;
3828 PyObject
* _argo1
= 0;
3829 char *_kwnames
[] = { "self","printData", NULL
};
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
3835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3842 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) return NULL
;
3853 } Py_INCREF(Py_None
);
3854 _resultobj
= Py_None
;
3858 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3861 src
= (wxPrintDialog
*) ptr
;
3862 dest
= (wxDialog
*) src
;
3863 return (void *) dest
;
3866 static void *SwigwxPrintDialogTowxTopLevelWindow(void *ptr
) {
3868 wxTopLevelWindow
*dest
;
3869 src
= (wxPrintDialog
*) ptr
;
3870 dest
= (wxTopLevelWindow
*) src
;
3871 return (void *) dest
;
3874 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3877 src
= (wxPrintDialog
*) ptr
;
3878 dest
= (wxWindow
*) src
;
3879 return (void *) dest
;
3882 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3885 src
= (wxPrintDialog
*) ptr
;
3886 dest
= (wxEvtHandler
*) src
;
3887 return (void *) dest
;
3890 static void *SwigwxPrintDialogTowxObject(void *ptr
) {
3893 src
= (wxPrintDialog
*) ptr
;
3894 dest
= (wxObject
*) src
;
3895 return (void *) dest
;
3898 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3899 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3901 wxPrintDialog
* _result
;
3903 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
3904 PyObject
* _argo0
= 0;
3905 PyObject
* _argo1
= 0;
3906 char *_kwnames
[] = { "parent","data", NULL
};
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
3913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3920 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3921 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
3922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) return NULL
;
3933 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3934 _resultobj
= Py_BuildValue("s",_ptemp
);
3937 _resultobj
= Py_None
;
3942 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3943 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
* _resultobj
;
3945 wxPrintDialogData
* _result
;
3946 wxPrintDialog
* _arg0
;
3947 PyObject
* _argo0
= 0;
3948 char *_kwnames
[] = { "self", NULL
};
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
3955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
3964 _result
= (wxPrintDialogData
*) &_result_ref
;
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) return NULL
;
3969 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3970 _resultobj
= Py_BuildValue("s",_ptemp
);
3973 _resultobj
= Py_None
;
3978 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3979 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
* _resultobj
;
3982 wxPrintDialog
* _arg0
;
3983 PyObject
* _argo0
= 0;
3984 char *_kwnames
[] = { "self", NULL
};
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
3990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) return NULL
;
4002 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4006 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4007 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
* _resultobj
;
4010 wxPrintDialog
* _arg0
;
4011 PyObject
* _argo0
= 0;
4012 char *_kwnames
[] = { "self", NULL
};
4015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
4018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
4020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) return NULL
;
4030 } _resultobj
= Py_BuildValue("i",_result
);
4034 static void *SwigwxPyPrintoutTowxObject(void *ptr
) {
4037 src
= (wxPyPrintout
*) ptr
;
4038 dest
= (wxObject
*) src
;
4039 return (void *) dest
;
4042 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
4043 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
* _resultobj
;
4045 wxPyPrintout
* _result
;
4046 wxString
* _arg0
= (wxString
*) &wxPyPrintoutTitleStr
;
4047 PyObject
* _obj0
= 0;
4048 char *_kwnames
[] = { "title", NULL
};
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrintout",_kwnames
,&_obj0
))
4056 _arg0
= wxString_in_helper(_obj0
);
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 _result
= (wxPyPrintout
*)new_wxPrintout(*_arg0
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) return NULL
;
4067 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
4068 _resultobj
= Py_BuildValue("s",_ptemp
);
4071 _resultobj
= Py_None
;
4080 #define wxPrintout__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4081 static PyObject
*_wrap_wxPrintout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
* _resultobj
;
4083 wxPyPrintout
* _arg0
;
4086 PyObject
* _argo0
= 0;
4087 PyObject
* _obj1
= 0;
4088 PyObject
* _obj2
= 0;
4089 char *_kwnames
[] = { "self","self","_class", NULL
};
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setCallbackInfo. Expected _wxPyPrintout_p.");
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 wxPrintout__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) return NULL
;
4113 } Py_INCREF(Py_None
);
4114 _resultobj
= Py_None
;
4118 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
4119 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
* _resultobj
;
4121 wxPyPrintout
* _arg0
;
4122 PyObject
* _argo0
= 0;
4123 char *_kwnames
[] = { "self", NULL
};
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
4129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 wxPyPrintout_Destroy(_arg0
);
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) return NULL
;
4141 } Py_INCREF(Py_None
);
4142 _resultobj
= Py_None
;
4146 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
4147 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
* _resultobj
;
4150 wxPyPrintout
* _arg0
;
4151 PyObject
* _argo0
= 0;
4152 char *_kwnames
[] = { "self", NULL
};
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
4158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) return NULL
;
4170 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4174 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
4175 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
* _resultobj
;
4177 wxPyPrintout
* _arg0
;
4182 PyObject
* _argo0
= 0;
4183 char *_kwnames
[] = { "self", NULL
};
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
4195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
4202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4203 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
4205 wxPyEndAllowThreads(__tstate
);
4206 if (PyErr_Occurred()) return NULL
;
4207 } Py_INCREF(Py_None
);
4208 _resultobj
= Py_None
;
4211 o
= PyInt_FromLong((long) (*_arg1
));
4212 _resultobj
= t_output_helper(_resultobj
, o
);
4216 o
= PyInt_FromLong((long) (*_arg2
));
4217 _resultobj
= t_output_helper(_resultobj
, o
);
4222 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
4223 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
* _resultobj
;
4225 wxPyPrintout
* _arg0
;
4230 PyObject
* _argo0
= 0;
4231 char *_kwnames
[] = { "self", NULL
};
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
4243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) return NULL
;
4255 } Py_INCREF(Py_None
);
4256 _resultobj
= Py_None
;
4259 o
= PyInt_FromLong((long) (*_arg1
));
4260 _resultobj
= t_output_helper(_resultobj
, o
);
4264 o
= PyInt_FromLong((long) (*_arg2
));
4265 _resultobj
= t_output_helper(_resultobj
, o
);
4270 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
4271 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
* _resultobj
;
4273 wxPyPrintout
* _arg0
;
4278 PyObject
* _argo0
= 0;
4279 char *_kwnames
[] = { "self", NULL
};
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
4291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) return NULL
;
4303 } Py_INCREF(Py_None
);
4304 _resultobj
= Py_None
;
4307 o
= PyInt_FromLong((long) (*_arg1
));
4308 _resultobj
= t_output_helper(_resultobj
, o
);
4312 o
= PyInt_FromLong((long) (*_arg2
));
4313 _resultobj
= t_output_helper(_resultobj
, o
);
4318 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
4319 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
* _resultobj
;
4321 wxPyPrintout
* _arg0
;
4326 PyObject
* _argo0
= 0;
4327 char *_kwnames
[] = { "self", NULL
};
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
4339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) return NULL
;
4351 } Py_INCREF(Py_None
);
4352 _resultobj
= Py_None
;
4355 o
= PyInt_FromLong((long) (*_arg1
));
4356 _resultobj
= t_output_helper(_resultobj
, o
);
4360 o
= PyInt_FromLong((long) (*_arg2
));
4361 _resultobj
= t_output_helper(_resultobj
, o
);
4366 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
4367 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
* _resultobj
;
4370 wxPyPrintout
* _arg0
;
4371 PyObject
* _argo0
= 0;
4372 char *_kwnames
[] = { "self", NULL
};
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
4378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 _result
= (bool )wxPrintout_IsPreview(_arg0
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) return NULL
;
4390 } _resultobj
= Py_BuildValue("i",_result
);
4394 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
4395 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
* _resultobj
;
4398 wxPyPrintout
* _arg0
;
4401 PyObject
* _argo0
= 0;
4402 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) return NULL
;
4420 } _resultobj
= Py_BuildValue("i",_result
);
4424 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
4425 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
* _resultobj
;
4427 wxPyPrintout
* _arg0
;
4428 PyObject
* _argo0
= 0;
4429 char *_kwnames
[] = { "self", NULL
};
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
4435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 wxPrintout_base_OnEndDocument(_arg0
);
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) return NULL
;
4447 } Py_INCREF(Py_None
);
4448 _resultobj
= Py_None
;
4452 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
4453 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
* _resultobj
;
4455 wxPyPrintout
* _arg0
;
4456 PyObject
* _argo0
= 0;
4457 char *_kwnames
[] = { "self", NULL
};
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
4463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 wxPrintout_base_OnBeginPrinting(_arg0
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) return NULL
;
4475 } Py_INCREF(Py_None
);
4476 _resultobj
= Py_None
;
4480 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
4481 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
* _resultobj
;
4483 wxPyPrintout
* _arg0
;
4484 PyObject
* _argo0
= 0;
4485 char *_kwnames
[] = { "self", NULL
};
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
4491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 wxPrintout_base_OnEndPrinting(_arg0
);
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) return NULL
;
4503 } Py_INCREF(Py_None
);
4504 _resultobj
= Py_None
;
4508 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4509 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
* _resultobj
;
4511 wxPyPrintout
* _arg0
;
4512 PyObject
* _argo0
= 0;
4513 char *_kwnames
[] = { "self", NULL
};
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
4519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 wxPrintout_base_OnPreparePrinting(_arg0
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) return NULL
;
4531 } Py_INCREF(Py_None
);
4532 _resultobj
= Py_None
;
4536 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4537 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
* _resultobj
;
4539 wxPyPrintout
* _arg0
;
4548 PyObject
* _argo0
= 0;
4549 char *_kwnames
[] = { "self", NULL
};
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
4567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4577 wxPyEndAllowThreads(__tstate
);
4578 if (PyErr_Occurred()) return NULL
;
4579 } Py_INCREF(Py_None
);
4580 _resultobj
= Py_None
;
4583 o
= PyInt_FromLong((long) (*_arg1
));
4584 _resultobj
= t_output_helper(_resultobj
, o
);
4588 o
= PyInt_FromLong((long) (*_arg2
));
4589 _resultobj
= t_output_helper(_resultobj
, o
);
4593 o
= PyInt_FromLong((long) (*_arg3
));
4594 _resultobj
= t_output_helper(_resultobj
, o
);
4598 o
= PyInt_FromLong((long) (*_arg4
));
4599 _resultobj
= t_output_helper(_resultobj
, o
);
4604 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4605 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
* _resultobj
;
4608 wxPyPrintout
* _arg0
;
4610 PyObject
* _argo0
= 0;
4611 char *_kwnames
[] = { "self","page", NULL
};
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
4617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) return NULL
;
4629 } _resultobj
= Py_BuildValue("i",_result
);
4633 static void *SwigwxPrinterTowxObject(void *ptr
) {
4636 src
= (wxPrinter
*) ptr
;
4637 dest
= (wxObject
*) src
;
4638 return (void *) dest
;
4641 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4642 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
* _resultobj
;
4644 wxPrinter
* _result
;
4645 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
4646 PyObject
* _argo0
= 0;
4647 char *_kwnames
[] = { "data", NULL
};
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
4654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
4656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4662 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) return NULL
;
4667 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4668 _resultobj
= Py_BuildValue("s",_ptemp
);
4671 _resultobj
= Py_None
;
4676 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4677 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
* _resultobj
;
4680 PyObject
* _argo0
= 0;
4681 char *_kwnames
[] = { "self", NULL
};
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
4687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 delete_wxPrinter(_arg0
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) return NULL
;
4699 } Py_INCREF(Py_None
);
4700 _resultobj
= Py_None
;
4704 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4705 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
* _resultobj
;
4709 wxPyPrintout
* _arg2
;
4710 PyObject
* _argo0
= 0;
4711 PyObject
* _argo1
= 0;
4712 PyObject
* _argo2
= 0;
4713 char *_kwnames
[] = { "self","parent","printout", NULL
};
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4733 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4734 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) return NULL
;
4745 } Py_INCREF(Py_None
);
4746 _resultobj
= Py_None
;
4750 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4751 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
* _resultobj
;
4753 wxPrintDialogData
* _result
;
4755 PyObject
* _argo0
= 0;
4756 char *_kwnames
[] = { "self", NULL
};
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4772 _result
= (wxPrintDialogData
*) &_result_ref
;
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) return NULL
;
4777 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4778 _resultobj
= Py_BuildValue("s",_ptemp
);
4781 _resultobj
= Py_None
;
4786 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4787 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
* _resultobj
;
4792 wxPyPrintout
* _arg2
;
4793 int _arg3
= (int ) TRUE
;
4794 PyObject
* _argo0
= 0;
4795 PyObject
* _argo1
= 0;
4796 PyObject
* _argo2
= 0;
4797 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4810 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4811 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4817 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4818 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) return NULL
;
4829 } _resultobj
= Py_BuildValue("i",_result
);
4833 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4834 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
* _resultobj
;
4839 PyObject
* _argo0
= 0;
4840 PyObject
* _argo1
= 0;
4841 char *_kwnames
[] = { "self","parent", NULL
};
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4854 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4855 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) return NULL
;
4866 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4870 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4871 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
* _resultobj
;
4875 wxPyPrintout
* _arg2
;
4877 PyObject
* _argo0
= 0;
4878 PyObject
* _argo1
= 0;
4879 PyObject
* _argo2
= 0;
4880 PyObject
* _obj3
= 0;
4881 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
))
4887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4894 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4895 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4901 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4902 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4908 _arg3
= wxString_in_helper(_obj3
);
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4914 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,*_arg3
);
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) return NULL
;
4918 } Py_INCREF(Py_None
);
4919 _resultobj
= Py_None
;
4927 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4928 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
* _resultobj
;
4933 PyObject
* _argo0
= 0;
4934 PyObject
* _argo1
= 0;
4935 char *_kwnames
[] = { "self","parent", NULL
};
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
4941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4948 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4949 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) return NULL
;
4960 } _resultobj
= Py_BuildValue("i",_result
);
4964 #define wxPrinter_GetAbort(_swigobj) (_swigobj->GetAbort())
4965 static PyObject
*_wrap_wxPrinter_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
* _resultobj
;
4969 PyObject
* _argo0
= 0;
4970 char *_kwnames
[] = { "self", NULL
};
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetAbort",_kwnames
,&_argo0
))
4976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetAbort. Expected _wxPrinter_p.");
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 _result
= (bool )wxPrinter_GetAbort(_arg0
);
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) return NULL
;
4988 } _resultobj
= Py_BuildValue("i",_result
);
4992 static PyObject
*_wrap_wxPrinter_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
* _resultobj
;
4994 wxPrinterError _result
;
4995 char *_kwnames
[] = { NULL
};
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxPrinter_GetLastError",_kwnames
))
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 _result
= (wxPrinterError
)wxPrinter::GetLastError();
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) return NULL
;
5006 } _resultobj
= Py_BuildValue("i",_result
);
5010 static void *SwigwxPrintAbortDialogTowxDialog(void *ptr
) {
5011 wxPrintAbortDialog
*src
;
5013 src
= (wxPrintAbortDialog
*) ptr
;
5014 dest
= (wxDialog
*) src
;
5015 return (void *) dest
;
5018 static void *SwigwxPrintAbortDialogTowxTopLevelWindow(void *ptr
) {
5019 wxPrintAbortDialog
*src
;
5020 wxTopLevelWindow
*dest
;
5021 src
= (wxPrintAbortDialog
*) ptr
;
5022 dest
= (wxTopLevelWindow
*) src
;
5023 return (void *) dest
;
5026 static void *SwigwxPrintAbortDialogTowxWindow(void *ptr
) {
5027 wxPrintAbortDialog
*src
;
5029 src
= (wxPrintAbortDialog
*) ptr
;
5030 dest
= (wxWindow
*) src
;
5031 return (void *) dest
;
5034 static void *SwigwxPrintAbortDialogTowxEvtHandler(void *ptr
) {
5035 wxPrintAbortDialog
*src
;
5037 src
= (wxPrintAbortDialog
*) ptr
;
5038 dest
= (wxEvtHandler
*) src
;
5039 return (void *) dest
;
5042 static void *SwigwxPrintAbortDialogTowxObject(void *ptr
) {
5043 wxPrintAbortDialog
*src
;
5045 src
= (wxPrintAbortDialog
*) ptr
;
5046 dest
= (wxObject
*) src
;
5047 return (void *) dest
;
5050 #define new_wxPrintAbortDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPrintAbortDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5051 static PyObject
*_wrap_new_wxPrintAbortDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
* _resultobj
;
5053 wxPrintAbortDialog
* _result
;
5056 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5057 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5058 long _arg4
= (long ) 0;
5059 wxString
* _arg5
= (wxString
*) &wxPyDialogNameStr
;
5060 PyObject
* _argo0
= 0;
5061 PyObject
* _obj1
= 0;
5063 PyObject
* _obj2
= 0;
5065 PyObject
* _obj3
= 0;
5066 PyObject
* _obj5
= 0;
5067 char *_kwnames
[] = { "parent","title","pos","size","style","name", NULL
};
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOlO:new_wxPrintAbortDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
5074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintAbortDialog. Expected _wxWindow_p.");
5081 _arg1
= wxString_in_helper(_obj1
);
5088 if (! wxPoint_helper(_obj2
, &_arg2
))
5094 if (! wxSize_helper(_obj3
, &_arg3
))
5099 _arg5
= wxString_in_helper(_obj5
);
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 _result
= (wxPrintAbortDialog
*)new_wxPrintAbortDialog(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) return NULL
;
5110 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintAbortDialog_p");
5111 _resultobj
= Py_BuildValue("s",_ptemp
);
5114 _resultobj
= Py_None
;
5127 static void *SwigwxPrintPreviewTowxObject(void *ptr
) {
5128 wxPrintPreview
*src
;
5130 src
= (wxPrintPreview
*) ptr
;
5131 dest
= (wxObject
*) src
;
5132 return (void *) dest
;
5135 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
5136 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
* _resultobj
;
5138 wxPrintPreview
* _result
;
5139 wxPyPrintout
* _arg0
;
5140 wxPyPrintout
* _arg1
;
5141 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
5142 PyObject
* _argo0
= 0;
5143 PyObject
* _argo1
= 0;
5144 PyObject
* _argo2
= 0;
5145 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
5154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
5159 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5160 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
5161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
5166 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5167 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
5168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) return NULL
;
5179 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
5180 _resultobj
= Py_BuildValue("s",_ptemp
);
5183 _resultobj
= Py_None
;
5188 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
5189 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
* _resultobj
;
5192 wxPrintPreview
* _arg0
;
5194 PyObject
* _argo0
= 0;
5195 char *_kwnames
[] = { "self","pageNum", NULL
};
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
5201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 _result
= (bool )wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) return NULL
;
5213 } _resultobj
= Py_BuildValue("i",_result
);
5217 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
5218 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
* _resultobj
;
5221 wxPrintPreview
* _arg0
;
5222 PyObject
* _argo0
= 0;
5223 char *_kwnames
[] = { "self", NULL
};
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
5229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) return NULL
;
5241 } _resultobj
= Py_BuildValue("i",_result
);
5245 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
5246 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
* _resultobj
;
5248 wxPrintPreview
* _arg0
;
5249 wxPyPrintout
* _arg1
;
5250 PyObject
* _argo0
= 0;
5251 PyObject
* _argo1
= 0;
5252 char *_kwnames
[] = { "self","printout", NULL
};
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
5258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
5265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
5267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) return NULL
;
5277 } Py_INCREF(Py_None
);
5278 _resultobj
= Py_None
;
5282 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
5283 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
* _resultobj
;
5285 wxPyPrintout
* _result
;
5286 wxPrintPreview
* _arg0
;
5287 PyObject
* _argo0
= 0;
5288 char *_kwnames
[] = { "self", NULL
};
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
5294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) return NULL
;
5306 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5310 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
5311 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
* _resultobj
;
5313 wxPyPrintout
* _result
;
5314 wxPrintPreview
* _arg0
;
5315 PyObject
* _argo0
= 0;
5316 char *_kwnames
[] = { "self", NULL
};
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
5322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) return NULL
;
5334 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5338 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
5339 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
* _resultobj
;
5341 wxPrintPreview
* _arg0
;
5343 PyObject
* _argo0
= 0;
5344 PyObject
* _argo1
= 0;
5345 char *_kwnames
[] = { "self","frame", NULL
};
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
5351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
5358 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5359 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 wxPrintPreview_SetFrame(_arg0
,_arg1
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) return NULL
;
5370 } Py_INCREF(Py_None
);
5371 _resultobj
= Py_None
;
5375 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
5376 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
* _resultobj
;
5378 wxPrintPreview
* _arg0
;
5380 PyObject
* _argo0
= 0;
5381 PyObject
* _argo1
= 0;
5382 char *_kwnames
[] = { "self","canvas", NULL
};
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
5388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
5395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) return NULL
;
5407 } Py_INCREF(Py_None
);
5408 _resultobj
= Py_None
;
5412 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
5413 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
* _resultobj
;
5416 wxPrintPreview
* _arg0
;
5417 PyObject
* _argo0
= 0;
5418 char *_kwnames
[] = { "self", NULL
};
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
5424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) return NULL
;
5436 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5440 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
5441 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
* _resultobj
;
5444 wxPrintPreview
* _arg0
;
5445 PyObject
* _argo0
= 0;
5446 char *_kwnames
[] = { "self", NULL
};
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
5452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) return NULL
;
5464 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5468 #define wxPrintPreview_PaintPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintPage(_swigarg0,_swigarg1))
5469 static PyObject
*_wrap_wxPrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
* _resultobj
;
5472 wxPrintPreview
* _arg0
;
5475 PyObject
* _argo0
= 0;
5476 PyObject
* _argo1
= 0;
5477 PyObject
* _argo2
= 0;
5478 char *_kwnames
[] = { "self","canvas","dc", NULL
};
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintPreview_PaintPage",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_PaintPage. Expected _wxPrintPreview_p.");
5491 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_PaintPage. Expected _wxWindow_p.");
5498 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
5499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrintPreview_PaintPage. Expected _wxDC_p.");
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 _result
= (bool )wxPrintPreview_PaintPage(_arg0
,_arg1
,*_arg2
);
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) return NULL
;
5509 } _resultobj
= Py_BuildValue("i",_result
);
5513 #define wxPrintPreview_DrawBlankPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawBlankPage(_swigarg0,_swigarg1))
5514 static PyObject
*_wrap_wxPrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
* _resultobj
;
5517 wxPrintPreview
* _arg0
;
5520 PyObject
* _argo0
= 0;
5521 PyObject
* _argo1
= 0;
5522 PyObject
* _argo2
= 0;
5523 char *_kwnames
[] = { "self","canvas","dc", NULL
};
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintPreview_DrawBlankPage",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_DrawBlankPage. Expected _wxPrintPreview_p.");
5536 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5537 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_DrawBlankPage. Expected _wxWindow_p.");
5543 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
5544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrintPreview_DrawBlankPage. Expected _wxDC_p.");
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 _result
= (bool )wxPrintPreview_DrawBlankPage(_arg0
,_arg1
,*_arg2
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) return NULL
;
5554 } _resultobj
= Py_BuildValue("i",_result
);
5558 #define wxPrintPreview_RenderPage(_swigobj,_swigarg0) (_swigobj->RenderPage(_swigarg0))
5559 static PyObject
*_wrap_wxPrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
* _resultobj
;
5562 wxPrintPreview
* _arg0
;
5564 PyObject
* _argo0
= 0;
5565 char *_kwnames
[] = { "self","pageNum", NULL
};
5568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_RenderPage",_kwnames
,&_argo0
,&_arg1
))
5571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_RenderPage. Expected _wxPrintPreview_p.");
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 _result
= (bool )wxPrintPreview_RenderPage(_arg0
,_arg1
);
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) return NULL
;
5583 } _resultobj
= Py_BuildValue("i",_result
);
5587 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
5588 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
* _resultobj
;
5590 wxPrintDialogData
* _result
;
5591 wxPrintPreview
* _arg0
;
5592 PyObject
* _argo0
= 0;
5593 char *_kwnames
[] = { "self", NULL
};
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
5600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
5609 _result
= (wxPrintDialogData
*) &_result_ref
;
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) return NULL
;
5614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
5615 _resultobj
= Py_BuildValue("s",_ptemp
);
5618 _resultobj
= Py_None
;
5623 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
5624 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
* _resultobj
;
5626 wxPrintPreview
* _arg0
;
5628 PyObject
* _argo0
= 0;
5629 char *_kwnames
[] = { "self","percent", NULL
};
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
5635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 wxPrintPreview_SetZoom(_arg0
,_arg1
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) return NULL
;
5647 } Py_INCREF(Py_None
);
5648 _resultobj
= Py_None
;
5652 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
5653 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
* _resultobj
;
5656 wxPrintPreview
* _arg0
;
5657 PyObject
* _argo0
= 0;
5658 char *_kwnames
[] = { "self", NULL
};
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
5664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) return NULL
;
5676 } _resultobj
= Py_BuildValue("i",_result
);
5680 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
5681 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
* _resultobj
;
5684 wxPrintPreview
* _arg0
;
5685 PyObject
* _argo0
= 0;
5686 char *_kwnames
[] = { "self", NULL
};
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
5692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) return NULL
;
5704 } _resultobj
= Py_BuildValue("i",_result
);
5708 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
5709 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
* _resultobj
;
5712 wxPrintPreview
* _arg0
;
5713 PyObject
* _argo0
= 0;
5714 char *_kwnames
[] = { "self", NULL
};
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
5720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) return NULL
;
5732 } _resultobj
= Py_BuildValue("i",_result
);
5736 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
5737 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
* _resultobj
;
5740 wxPrintPreview
* _arg0
;
5741 PyObject
* _argo0
= 0;
5742 char *_kwnames
[] = { "self", NULL
};
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
5748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 _result
= (bool )wxPrintPreview_Ok(_arg0
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) return NULL
;
5760 } _resultobj
= Py_BuildValue("i",_result
);
5764 #define wxPrintPreview_SetOk(_swigobj,_swigarg0) (_swigobj->SetOk(_swigarg0))
5765 static PyObject
*_wrap_wxPrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
* _resultobj
;
5767 wxPrintPreview
* _arg0
;
5769 PyObject
* _argo0
= 0;
5771 char *_kwnames
[] = { "self","ok", NULL
};
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetOk",_kwnames
,&_argo0
,&tempbool1
))
5777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetOk. Expected _wxPrintPreview_p.");
5783 _arg1
= (bool ) tempbool1
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 wxPrintPreview_SetOk(_arg0
,_arg1
);
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) return NULL
;
5790 } Py_INCREF(Py_None
);
5791 _resultobj
= Py_None
;
5795 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
5796 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
* _resultobj
;
5799 wxPrintPreview
* _arg0
;
5801 PyObject
* _argo0
= 0;
5803 char *_kwnames
[] = { "self","interactive", NULL
};
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
5809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
5815 _arg1
= (bool ) tempbool1
;
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) return NULL
;
5822 } _resultobj
= Py_BuildValue("i",_result
);
5826 #define wxPrintPreview_DetermineScaling(_swigobj) (_swigobj->DetermineScaling())
5827 static PyObject
*_wrap_wxPrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
* _resultobj
;
5829 wxPrintPreview
* _arg0
;
5830 PyObject
* _argo0
= 0;
5831 char *_kwnames
[] = { "self", NULL
};
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_DetermineScaling",_kwnames
,&_argo0
))
5837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_DetermineScaling. Expected _wxPrintPreview_p.");
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 wxPrintPreview_DetermineScaling(_arg0
);
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) return NULL
;
5849 } Py_INCREF(Py_None
);
5850 _resultobj
= Py_None
;
5854 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
5855 wxPreviewFrame
*src
;
5857 src
= (wxPreviewFrame
*) ptr
;
5858 dest
= (wxFrame
*) src
;
5859 return (void *) dest
;
5862 static void *SwigwxPreviewFrameTowxTopLevelWindow(void *ptr
) {
5863 wxPreviewFrame
*src
;
5864 wxTopLevelWindow
*dest
;
5865 src
= (wxPreviewFrame
*) ptr
;
5866 dest
= (wxTopLevelWindow
*) src
;
5867 return (void *) dest
;
5870 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
5871 wxPreviewFrame
*src
;
5873 src
= (wxPreviewFrame
*) ptr
;
5874 dest
= (wxWindow
*) src
;
5875 return (void *) dest
;
5878 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
5879 wxPreviewFrame
*src
;
5881 src
= (wxPreviewFrame
*) ptr
;
5882 dest
= (wxEvtHandler
*) src
;
5883 return (void *) dest
;
5886 static void *SwigwxPreviewFrameTowxObject(void *ptr
) {
5887 wxPreviewFrame
*src
;
5889 src
= (wxPreviewFrame
*) ptr
;
5890 dest
= (wxObject
*) src
;
5891 return (void *) dest
;
5894 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5895 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
* _resultobj
;
5897 wxPreviewFrame
* _result
;
5898 wxPrintPreview
* _arg0
;
5901 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5902 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5903 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
5904 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
5905 PyObject
* _argo0
= 0;
5906 PyObject
* _argo1
= 0;
5907 PyObject
* _obj2
= 0;
5909 PyObject
* _obj3
= 0;
5911 PyObject
* _obj4
= 0;
5912 PyObject
* _obj6
= 0;
5913 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOlO:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
5920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
5927 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5928 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
5934 _arg2
= wxString_in_helper(_obj2
);
5941 if (! wxPoint_helper(_obj3
, &_arg3
))
5947 if (! wxSize_helper(_obj4
, &_arg4
))
5952 _arg6
= wxString_in_helper(_obj6
);
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) return NULL
;
5963 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
5964 _resultobj
= Py_BuildValue("s",_ptemp
);
5967 _resultobj
= Py_None
;
5980 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
5981 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
* _resultobj
;
5983 wxPreviewFrame
* _arg0
;
5984 PyObject
* _argo0
= 0;
5985 char *_kwnames
[] = { "self", NULL
};
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
5991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
5993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 wxPreviewFrame_Initialize(_arg0
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) return NULL
;
6003 } Py_INCREF(Py_None
);
6004 _resultobj
= Py_None
;
6008 #define wxPreviewFrame_CreateControlBar(_swigobj) (_swigobj->CreateControlBar())
6009 static PyObject
*_wrap_wxPreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
* _resultobj
;
6011 wxPreviewFrame
* _arg0
;
6012 PyObject
* _argo0
= 0;
6013 char *_kwnames
[] = { "self", NULL
};
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_CreateControlBar",_kwnames
,&_argo0
))
6019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
6021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_CreateControlBar. Expected _wxPreviewFrame_p.");
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 wxPreviewFrame_CreateControlBar(_arg0
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) return NULL
;
6031 } Py_INCREF(Py_None
);
6032 _resultobj
= Py_None
;
6036 #define wxPreviewFrame_CreateCanvas(_swigobj) (_swigobj->CreateCanvas())
6037 static PyObject
*_wrap_wxPreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
* _resultobj
;
6039 wxPreviewFrame
* _arg0
;
6040 PyObject
* _argo0
= 0;
6041 char *_kwnames
[] = { "self", NULL
};
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_CreateCanvas",_kwnames
,&_argo0
))
6047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
6049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_CreateCanvas. Expected _wxPreviewFrame_p.");
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 wxPreviewFrame_CreateCanvas(_arg0
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) return NULL
;
6059 } Py_INCREF(Py_None
);
6060 _resultobj
= Py_None
;
6064 static void *SwigwxPreviewCanvasTowxScrolledWindow(void *ptr
) {
6065 wxPreviewCanvas
*src
;
6066 wxScrolledWindow
*dest
;
6067 src
= (wxPreviewCanvas
*) ptr
;
6068 dest
= (wxScrolledWindow
*) src
;
6069 return (void *) dest
;
6072 static void *SwigwxPreviewCanvasTowxPanel(void *ptr
) {
6073 wxPreviewCanvas
*src
;
6075 src
= (wxPreviewCanvas
*) ptr
;
6076 dest
= (wxPanel
*) src
;
6077 return (void *) dest
;
6080 static void *SwigwxPreviewCanvasTowxWindow(void *ptr
) {
6081 wxPreviewCanvas
*src
;
6083 src
= (wxPreviewCanvas
*) ptr
;
6084 dest
= (wxWindow
*) src
;
6085 return (void *) dest
;
6088 static void *SwigwxPreviewCanvasTowxEvtHandler(void *ptr
) {
6089 wxPreviewCanvas
*src
;
6091 src
= (wxPreviewCanvas
*) ptr
;
6092 dest
= (wxEvtHandler
*) src
;
6093 return (void *) dest
;
6096 static void *SwigwxPreviewCanvasTowxObject(void *ptr
) {
6097 wxPreviewCanvas
*src
;
6099 src
= (wxPreviewCanvas
*) ptr
;
6100 dest
= (wxObject
*) src
;
6101 return (void *) dest
;
6104 #define new_wxPreviewCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPreviewCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6105 static PyObject
*_wrap_new_wxPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
* _resultobj
;
6107 wxPreviewCanvas
* _result
;
6108 wxPrintPreview
* _arg0
;
6110 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6111 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6112 long _arg4
= (long ) 0;
6113 wxString
* _arg5
= (wxString
*) &wxPyPreviewCanvasNameStr
;
6114 PyObject
* _argo0
= 0;
6115 PyObject
* _argo1
= 0;
6117 PyObject
* _obj2
= 0;
6119 PyObject
* _obj3
= 0;
6120 PyObject
* _obj5
= 0;
6121 char *_kwnames
[] = { "preview","parent","pos","size","style","name", NULL
};
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOlO:new_wxPreviewCanvas",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
6130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewCanvas. Expected _wxPrintPreview_p.");
6135 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6136 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewCanvas. Expected _wxWindow_p.");
6144 if (! wxPoint_helper(_obj2
, &_arg2
))
6150 if (! wxSize_helper(_obj3
, &_arg3
))
6155 _arg5
= wxString_in_helper(_obj5
);
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 _result
= (wxPreviewCanvas
*)new_wxPreviewCanvas(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) return NULL
;
6166 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewCanvas_p");
6167 _resultobj
= Py_BuildValue("s",_ptemp
);
6170 _resultobj
= Py_None
;
6179 static void *SwigwxPreviewControlBarTowxPanel(void *ptr
) {
6180 wxPreviewControlBar
*src
;
6182 src
= (wxPreviewControlBar
*) ptr
;
6183 dest
= (wxPanel
*) src
;
6184 return (void *) dest
;
6187 static void *SwigwxPreviewControlBarTowxWindow(void *ptr
) {
6188 wxPreviewControlBar
*src
;
6190 src
= (wxPreviewControlBar
*) ptr
;
6191 dest
= (wxWindow
*) src
;
6192 return (void *) dest
;
6195 static void *SwigwxPreviewControlBarTowxEvtHandler(void *ptr
) {
6196 wxPreviewControlBar
*src
;
6198 src
= (wxPreviewControlBar
*) ptr
;
6199 dest
= (wxEvtHandler
*) src
;
6200 return (void *) dest
;
6203 static void *SwigwxPreviewControlBarTowxObject(void *ptr
) {
6204 wxPreviewControlBar
*src
;
6206 src
= (wxPreviewControlBar
*) ptr
;
6207 dest
= (wxObject
*) src
;
6208 return (void *) dest
;
6211 #define new_wxPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6212 static PyObject
*_wrap_new_wxPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
* _resultobj
;
6214 wxPreviewControlBar
* _result
;
6215 wxPrintPreview
* _arg0
;
6218 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6219 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6220 long _arg5
= (long ) 0;
6221 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6222 PyObject
* _argo0
= 0;
6223 PyObject
* _argo2
= 0;
6225 PyObject
* _obj3
= 0;
6227 PyObject
* _obj4
= 0;
6228 PyObject
* _obj6
= 0;
6229 char *_kwnames
[] = { "preview","buttons","parent","pos","size","style","name", NULL
};
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|OOlO:new_wxPreviewControlBar",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
6238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewControlBar. Expected _wxPrintPreview_p.");
6243 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6244 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
6245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPreviewControlBar. Expected _wxWindow_p.");
6252 if (! wxPoint_helper(_obj3
, &_arg3
))
6258 if (! wxSize_helper(_obj4
, &_arg4
))
6263 _arg6
= wxString_in_helper(_obj6
);
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 _result
= (wxPreviewControlBar
*)new_wxPreviewControlBar(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) return NULL
;
6274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewControlBar_p");
6275 _resultobj
= Py_BuildValue("s",_ptemp
);
6278 _resultobj
= Py_None
;
6287 #define wxPreviewControlBar_GetZoomControl(_swigobj) (_swigobj->GetZoomControl())
6288 static PyObject
*_wrap_wxPreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
* _resultobj
;
6291 wxPreviewControlBar
* _arg0
;
6292 PyObject
* _argo0
= 0;
6293 char *_kwnames
[] = { "self", NULL
};
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_GetZoomControl",_kwnames
,&_argo0
))
6299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_GetZoomControl. Expected _wxPreviewControlBar_p.");
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 _result
= (int )wxPreviewControlBar_GetZoomControl(_arg0
);
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) return NULL
;
6311 } _resultobj
= Py_BuildValue("i",_result
);
6315 #define wxPreviewControlBar_SetZoomControl(_swigobj,_swigarg0) (_swigobj->SetZoomControl(_swigarg0))
6316 static PyObject
*_wrap_wxPreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
* _resultobj
;
6318 wxPreviewControlBar
* _arg0
;
6320 PyObject
* _argo0
= 0;
6321 char *_kwnames
[] = { "self","zoom", NULL
};
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPreviewControlBar_SetZoomControl",_kwnames
,&_argo0
,&_arg1
))
6327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_SetZoomControl. Expected _wxPreviewControlBar_p.");
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 wxPreviewControlBar_SetZoomControl(_arg0
,_arg1
);
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) return NULL
;
6339 } Py_INCREF(Py_None
);
6340 _resultobj
= Py_None
;
6344 #define wxPreviewControlBar_GetPrintPreview(_swigobj) (_swigobj->GetPrintPreview())
6345 static PyObject
*_wrap_wxPreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
* _resultobj
;
6347 wxPrintPreview
* _result
;
6348 wxPreviewControlBar
* _arg0
;
6349 PyObject
* _argo0
= 0;
6350 char *_kwnames
[] = { "self", NULL
};
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_GetPrintPreview",_kwnames
,&_argo0
))
6357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_GetPrintPreview. Expected _wxPreviewControlBar_p.");
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 _result
= (wxPrintPreview
*)wxPreviewControlBar_GetPrintPreview(_arg0
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) return NULL
;
6370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
6371 _resultobj
= Py_BuildValue("s",_ptemp
);
6374 _resultobj
= Py_None
;
6379 #define wxPreviewControlBar_OnNext(_swigobj) (_swigobj->OnNext())
6380 static PyObject
*_wrap_wxPreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
* _resultobj
;
6382 wxPreviewControlBar
* _arg0
;
6383 PyObject
* _argo0
= 0;
6384 char *_kwnames
[] = { "self", NULL
};
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_OnNext",_kwnames
,&_argo0
))
6390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_OnNext. Expected _wxPreviewControlBar_p.");
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 wxPreviewControlBar_OnNext(_arg0
);
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) return NULL
;
6402 } Py_INCREF(Py_None
);
6403 _resultobj
= Py_None
;
6407 #define wxPreviewControlBar_OnPrevious(_swigobj) (_swigobj->OnPrevious())
6408 static PyObject
*_wrap_wxPreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
* _resultobj
;
6410 wxPreviewControlBar
* _arg0
;
6411 PyObject
* _argo0
= 0;
6412 char *_kwnames
[] = { "self", NULL
};
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_OnPrevious",_kwnames
,&_argo0
))
6418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_OnPrevious. Expected _wxPreviewControlBar_p.");
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 wxPreviewControlBar_OnPrevious(_arg0
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) return NULL
;
6430 } Py_INCREF(Py_None
);
6431 _resultobj
= Py_None
;
6435 #define wxPreviewControlBar_OnFirst(_swigobj) (_swigobj->OnFirst())
6436 static PyObject
*_wrap_wxPreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
* _resultobj
;
6438 wxPreviewControlBar
* _arg0
;
6439 PyObject
* _argo0
= 0;
6440 char *_kwnames
[] = { "self", NULL
};
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_OnFirst",_kwnames
,&_argo0
))
6446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_OnFirst. Expected _wxPreviewControlBar_p.");
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 wxPreviewControlBar_OnFirst(_arg0
);
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) return NULL
;
6458 } Py_INCREF(Py_None
);
6459 _resultobj
= Py_None
;
6463 #define wxPreviewControlBar_OnLast(_swigobj) (_swigobj->OnLast())
6464 static PyObject
*_wrap_wxPreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
* _resultobj
;
6466 wxPreviewControlBar
* _arg0
;
6467 PyObject
* _argo0
= 0;
6468 char *_kwnames
[] = { "self", NULL
};
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_OnLast",_kwnames
,&_argo0
))
6474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_OnLast. Expected _wxPreviewControlBar_p.");
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 wxPreviewControlBar_OnLast(_arg0
);
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) return NULL
;
6486 } Py_INCREF(Py_None
);
6487 _resultobj
= Py_None
;
6491 #define wxPreviewControlBar_OnGoto(_swigobj) (_swigobj->OnGoto())
6492 static PyObject
*_wrap_wxPreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
* _resultobj
;
6494 wxPreviewControlBar
* _arg0
;
6495 PyObject
* _argo0
= 0;
6496 char *_kwnames
[] = { "self", NULL
};
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_OnGoto",_kwnames
,&_argo0
))
6502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_OnGoto. Expected _wxPreviewControlBar_p.");
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 wxPreviewControlBar_OnGoto(_arg0
);
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) return NULL
;
6514 } Py_INCREF(Py_None
);
6515 _resultobj
= Py_None
;
6519 static void *SwigwxPyPrintPreviewTowxPrintPreview(void *ptr
) {
6520 wxPyPrintPreview
*src
;
6521 wxPrintPreview
*dest
;
6522 src
= (wxPyPrintPreview
*) ptr
;
6523 dest
= (wxPrintPreview
*) src
;
6524 return (void *) dest
;
6527 static void *SwigwxPyPrintPreviewTowxObject(void *ptr
) {
6528 wxPyPrintPreview
*src
;
6530 src
= (wxPyPrintPreview
*) ptr
;
6531 dest
= (wxObject
*) src
;
6532 return (void *) dest
;
6535 #define new_wxPyPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPyPrintPreview(_swigarg0,_swigarg1,_swigarg2))
6536 static PyObject
*_wrap_new_wxPyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
* _resultobj
;
6538 wxPyPrintPreview
* _result
;
6539 wxPyPrintout
* _arg0
;
6540 wxPyPrintout
* _arg1
;
6541 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
6542 PyObject
* _argo0
= 0;
6543 PyObject
* _argo1
= 0;
6544 PyObject
* _argo2
= 0;
6545 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPyPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
6554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPrintPreview. Expected _wxPyPrintout_p.");
6559 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6560 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
6561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPyPrintPreview. Expected _wxPyPrintout_p.");
6566 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6567 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
6568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPyPrintPreview. Expected _wxPrintData_p.");
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 _result
= (wxPyPrintPreview
*)new_wxPyPrintPreview(_arg0
,_arg1
,_arg2
);
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) return NULL
;
6579 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintPreview_p");
6580 _resultobj
= Py_BuildValue("s",_ptemp
);
6583 _resultobj
= Py_None
;
6588 #define wxPyPrintPreview__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6589 static PyObject
*_wrap_wxPyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
* _resultobj
;
6591 wxPyPrintPreview
* _arg0
;
6594 PyObject
* _argo0
= 0;
6595 PyObject
* _obj1
= 0;
6596 PyObject
* _obj2
= 0;
6597 char *_kwnames
[] = { "self","self","_class", NULL
};
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPrintPreview__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview__setCallbackInfo. Expected _wxPyPrintPreview_p.");
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 wxPyPrintPreview__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) return NULL
;
6621 } Py_INCREF(Py_None
);
6622 _resultobj
= Py_None
;
6626 #define wxPyPrintPreview_base_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->base_SetCurrentPage(_swigarg0))
6627 static PyObject
*_wrap_wxPyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
* _resultobj
;
6630 wxPyPrintPreview
* _arg0
;
6632 PyObject
* _argo0
= 0;
6633 char *_kwnames
[] = { "self","pageNum", NULL
};
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyPrintPreview_base_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
6639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_SetCurrentPage. Expected _wxPyPrintPreview_p.");
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 _result
= (bool )wxPyPrintPreview_base_SetCurrentPage(_arg0
,_arg1
);
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) return NULL
;
6651 } _resultobj
= Py_BuildValue("i",_result
);
6655 #define wxPyPrintPreview_base_PaintPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintPage(_swigarg0,_swigarg1))
6656 static PyObject
*_wrap_wxPyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
* _resultobj
;
6659 wxPyPrintPreview
* _arg0
;
6662 PyObject
* _argo0
= 0;
6663 PyObject
* _argo1
= 0;
6664 PyObject
* _argo2
= 0;
6665 char *_kwnames
[] = { "self","canvas","dc", NULL
};
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPrintPreview_base_PaintPage",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_PaintPage. Expected _wxPyPrintPreview_p.");
6678 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6679 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPrintPreview_base_PaintPage. Expected _wxWindow_p.");
6685 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
6686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyPrintPreview_base_PaintPage. Expected _wxDC_p.");
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 _result
= (bool )wxPyPrintPreview_base_PaintPage(_arg0
,_arg1
,*_arg2
);
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) return NULL
;
6696 } _resultobj
= Py_BuildValue("i",_result
);
6700 #define wxPyPrintPreview_base_DrawBlankPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DrawBlankPage(_swigarg0,_swigarg1))
6701 static PyObject
*_wrap_wxPyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
* _resultobj
;
6704 wxPyPrintPreview
* _arg0
;
6707 PyObject
* _argo0
= 0;
6708 PyObject
* _argo1
= 0;
6709 PyObject
* _argo2
= 0;
6710 char *_kwnames
[] = { "self","canvas","dc", NULL
};
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPrintPreview_base_DrawBlankPage",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_DrawBlankPage. Expected _wxPyPrintPreview_p.");
6723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPrintPreview_base_DrawBlankPage. Expected _wxWindow_p.");
6730 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
6731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyPrintPreview_base_DrawBlankPage. Expected _wxDC_p.");
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 _result
= (bool )wxPyPrintPreview_base_DrawBlankPage(_arg0
,_arg1
,*_arg2
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) return NULL
;
6741 } _resultobj
= Py_BuildValue("i",_result
);
6745 #define wxPyPrintPreview_base_RenderPage(_swigobj,_swigarg0) (_swigobj->base_RenderPage(_swigarg0))
6746 static PyObject
*_wrap_wxPyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
* _resultobj
;
6749 wxPyPrintPreview
* _arg0
;
6751 PyObject
* _argo0
= 0;
6752 char *_kwnames
[] = { "self","pageNum", NULL
};
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyPrintPreview_base_RenderPage",_kwnames
,&_argo0
,&_arg1
))
6758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_RenderPage. Expected _wxPyPrintPreview_p.");
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 _result
= (bool )wxPyPrintPreview_base_RenderPage(_arg0
,_arg1
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) return NULL
;
6770 } _resultobj
= Py_BuildValue("i",_result
);
6774 #define wxPyPrintPreview_base_SetZoom(_swigobj,_swigarg0) (_swigobj->base_SetZoom(_swigarg0))
6775 static PyObject
*_wrap_wxPyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
* _resultobj
;
6777 wxPyPrintPreview
* _arg0
;
6779 PyObject
* _argo0
= 0;
6780 char *_kwnames
[] = { "self","percent", NULL
};
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyPrintPreview_base_SetZoom",_kwnames
,&_argo0
,&_arg1
))
6786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_SetZoom. Expected _wxPyPrintPreview_p.");
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 wxPyPrintPreview_base_SetZoom(_arg0
,_arg1
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) return NULL
;
6798 } Py_INCREF(Py_None
);
6799 _resultobj
= Py_None
;
6803 #define wxPyPrintPreview_base_Print(_swigobj,_swigarg0) (_swigobj->base_Print(_swigarg0))
6804 static PyObject
*_wrap_wxPyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
* _resultobj
;
6807 wxPyPrintPreview
* _arg0
;
6809 PyObject
* _argo0
= 0;
6811 char *_kwnames
[] = { "self","interactive", NULL
};
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyPrintPreview_base_Print",_kwnames
,&_argo0
,&tempbool1
))
6817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_Print. Expected _wxPyPrintPreview_p.");
6823 _arg1
= (bool ) tempbool1
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 _result
= (bool )wxPyPrintPreview_base_Print(_arg0
,_arg1
);
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) return NULL
;
6830 } _resultobj
= Py_BuildValue("i",_result
);
6834 #define wxPyPrintPreview_base_DetermineScaling(_swigobj) (_swigobj->base_DetermineScaling())
6835 static PyObject
*_wrap_wxPyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
* _resultobj
;
6837 wxPyPrintPreview
* _arg0
;
6838 PyObject
* _argo0
= 0;
6839 char *_kwnames
[] = { "self", NULL
};
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPrintPreview_base_DetermineScaling",_kwnames
,&_argo0
))
6845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_DetermineScaling. Expected _wxPyPrintPreview_p.");
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 wxPyPrintPreview_base_DetermineScaling(_arg0
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) return NULL
;
6857 } Py_INCREF(Py_None
);
6858 _resultobj
= Py_None
;
6862 static void *SwigwxPyPreviewFrameTowxPreviewFrame(void *ptr
) {
6863 wxPyPreviewFrame
*src
;
6864 wxPreviewFrame
*dest
;
6865 src
= (wxPyPreviewFrame
*) ptr
;
6866 dest
= (wxPreviewFrame
*) src
;
6867 return (void *) dest
;
6870 static void *SwigwxPyPreviewFrameTowxFrame(void *ptr
) {
6871 wxPyPreviewFrame
*src
;
6873 src
= (wxPyPreviewFrame
*) ptr
;
6874 dest
= (wxFrame
*) src
;
6875 return (void *) dest
;
6878 static void *SwigwxPyPreviewFrameTowxTopLevelWindow(void *ptr
) {
6879 wxPyPreviewFrame
*src
;
6880 wxTopLevelWindow
*dest
;
6881 src
= (wxPyPreviewFrame
*) ptr
;
6882 dest
= (wxTopLevelWindow
*) src
;
6883 return (void *) dest
;
6886 static void *SwigwxPyPreviewFrameTowxWindow(void *ptr
) {
6887 wxPyPreviewFrame
*src
;
6889 src
= (wxPyPreviewFrame
*) ptr
;
6890 dest
= (wxWindow
*) src
;
6891 return (void *) dest
;
6894 static void *SwigwxPyPreviewFrameTowxEvtHandler(void *ptr
) {
6895 wxPyPreviewFrame
*src
;
6897 src
= (wxPyPreviewFrame
*) ptr
;
6898 dest
= (wxEvtHandler
*) src
;
6899 return (void *) dest
;
6902 static void *SwigwxPyPreviewFrameTowxObject(void *ptr
) {
6903 wxPyPreviewFrame
*src
;
6905 src
= (wxPyPreviewFrame
*) ptr
;
6906 dest
= (wxObject
*) src
;
6907 return (void *) dest
;
6910 #define new_wxPyPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6911 static PyObject
*_wrap_new_wxPyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
* _resultobj
;
6913 wxPyPreviewFrame
* _result
;
6914 wxPrintPreview
* _arg0
;
6917 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6918 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6919 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
6920 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
6921 PyObject
* _argo0
= 0;
6922 PyObject
* _argo1
= 0;
6923 PyObject
* _obj2
= 0;
6925 PyObject
* _obj3
= 0;
6927 PyObject
* _obj4
= 0;
6928 PyObject
* _obj6
= 0;
6929 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOlO:new_wxPyPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
6938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPreviewFrame. Expected _wxPrintPreview_p.");
6943 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6944 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
6945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPyPreviewFrame. Expected _wxFrame_p.");
6950 _arg2
= wxString_in_helper(_obj2
);
6957 if (! wxPoint_helper(_obj3
, &_arg3
))
6963 if (! wxSize_helper(_obj4
, &_arg4
))
6968 _arg6
= wxString_in_helper(_obj6
);
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 _result
= (wxPyPreviewFrame
*)new_wxPyPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) return NULL
;
6979 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPreviewFrame_p");
6980 _resultobj
= Py_BuildValue("s",_ptemp
);
6983 _resultobj
= Py_None
;
6996 #define wxPyPreviewFrame__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6997 static PyObject
*_wrap_wxPyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
* _resultobj
;
6999 wxPyPreviewFrame
* _arg0
;
7002 PyObject
* _argo0
= 0;
7003 PyObject
* _obj1
= 0;
7004 PyObject
* _obj2
= 0;
7005 char *_kwnames
[] = { "self","self","_class", NULL
};
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPreviewFrame__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame__setCallbackInfo. Expected _wxPyPreviewFrame_p.");
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 wxPyPreviewFrame__setCallbackInfo(_arg0
,_arg1
,_arg2
);
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) return NULL
;
7029 } Py_INCREF(Py_None
);
7030 _resultobj
= Py_None
;
7034 #define wxPyPreviewFrame_SetPreviewCanvas(_swigobj,_swigarg0) (_swigobj->SetPreviewCanvas(_swigarg0))
7035 static PyObject
*_wrap_wxPyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
* _resultobj
;
7037 wxPyPreviewFrame
* _arg0
;
7039 PyObject
* _argo0
= 0;
7040 PyObject
* _argo1
= 0;
7041 char *_kwnames
[] = { "self","canvas", NULL
};
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPreviewFrame_SetPreviewCanvas",_kwnames
,&_argo0
,&_argo1
))
7047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame_SetPreviewCanvas. Expected _wxPyPreviewFrame_p.");
7054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPreviewFrame_SetPreviewCanvas. Expected _wxWindow_p.");
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 wxPyPreviewFrame_SetPreviewCanvas(_arg0
,_arg1
);
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) return NULL
;
7066 } Py_INCREF(Py_None
);
7067 _resultobj
= Py_None
;
7071 #define wxPyPreviewFrame_SetControlBar(_swigobj,_swigarg0) (_swigobj->SetControlBar(_swigarg0))
7072 static PyObject
*_wrap_wxPyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
* _resultobj
;
7074 wxPyPreviewFrame
* _arg0
;
7075 wxPreviewControlBar
* _arg1
;
7076 PyObject
* _argo0
= 0;
7077 PyObject
* _argo1
= 0;
7078 char *_kwnames
[] = { "self","bar", NULL
};
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPreviewFrame_SetControlBar",_kwnames
,&_argo0
,&_argo1
))
7084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame_SetControlBar. Expected _wxPyPreviewFrame_p.");
7091 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7092 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewControlBar_p")) {
7093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPreviewFrame_SetControlBar. Expected _wxPreviewControlBar_p.");
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 wxPyPreviewFrame_SetControlBar(_arg0
,_arg1
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) return NULL
;
7103 } Py_INCREF(Py_None
);
7104 _resultobj
= Py_None
;
7108 #define wxPyPreviewFrame_base_Initialize(_swigobj) (_swigobj->base_Initialize())
7109 static PyObject
*_wrap_wxPyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
* _resultobj
;
7111 wxPyPreviewFrame
* _arg0
;
7112 PyObject
* _argo0
= 0;
7113 char *_kwnames
[] = { "self", NULL
};
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPreviewFrame_base_Initialize",_kwnames
,&_argo0
))
7119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame_base_Initialize. Expected _wxPyPreviewFrame_p.");
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 wxPyPreviewFrame_base_Initialize(_arg0
);
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) return NULL
;
7131 } Py_INCREF(Py_None
);
7132 _resultobj
= Py_None
;
7136 #define wxPyPreviewFrame_base_CreateCanvas(_swigobj) (_swigobj->base_CreateCanvas())
7137 static PyObject
*_wrap_wxPyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
* _resultobj
;
7139 wxPyPreviewFrame
* _arg0
;
7140 PyObject
* _argo0
= 0;
7141 char *_kwnames
[] = { "self", NULL
};
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPreviewFrame_base_CreateCanvas",_kwnames
,&_argo0
))
7147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame_base_CreateCanvas. Expected _wxPyPreviewFrame_p.");
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 wxPyPreviewFrame_base_CreateCanvas(_arg0
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) return NULL
;
7159 } Py_INCREF(Py_None
);
7160 _resultobj
= Py_None
;
7164 #define wxPyPreviewFrame_base_CreateControlBar(_swigobj) (_swigobj->base_CreateControlBar())
7165 static PyObject
*_wrap_wxPyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
* _resultobj
;
7167 wxPyPreviewFrame
* _arg0
;
7168 PyObject
* _argo0
= 0;
7169 char *_kwnames
[] = { "self", NULL
};
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPreviewFrame_base_CreateControlBar",_kwnames
,&_argo0
))
7175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame_base_CreateControlBar. Expected _wxPyPreviewFrame_p.");
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 wxPyPreviewFrame_base_CreateControlBar(_arg0
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) return NULL
;
7187 } Py_INCREF(Py_None
);
7188 _resultobj
= Py_None
;
7192 static void *SwigwxPyPreviewControlBarTowxPreviewControlBar(void *ptr
) {
7193 wxPyPreviewControlBar
*src
;
7194 wxPreviewControlBar
*dest
;
7195 src
= (wxPyPreviewControlBar
*) ptr
;
7196 dest
= (wxPreviewControlBar
*) src
;
7197 return (void *) dest
;
7200 static void *SwigwxPyPreviewControlBarTowxPanel(void *ptr
) {
7201 wxPyPreviewControlBar
*src
;
7203 src
= (wxPyPreviewControlBar
*) ptr
;
7204 dest
= (wxPanel
*) src
;
7205 return (void *) dest
;
7208 static void *SwigwxPyPreviewControlBarTowxWindow(void *ptr
) {
7209 wxPyPreviewControlBar
*src
;
7211 src
= (wxPyPreviewControlBar
*) ptr
;
7212 dest
= (wxWindow
*) src
;
7213 return (void *) dest
;
7216 static void *SwigwxPyPreviewControlBarTowxEvtHandler(void *ptr
) {
7217 wxPyPreviewControlBar
*src
;
7219 src
= (wxPyPreviewControlBar
*) ptr
;
7220 dest
= (wxEvtHandler
*) src
;
7221 return (void *) dest
;
7224 static void *SwigwxPyPreviewControlBarTowxObject(void *ptr
) {
7225 wxPyPreviewControlBar
*src
;
7227 src
= (wxPyPreviewControlBar
*) ptr
;
7228 dest
= (wxObject
*) src
;
7229 return (void *) dest
;
7232 #define new_wxPyPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7233 static PyObject
*_wrap_new_wxPyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
* _resultobj
;
7235 wxPyPreviewControlBar
* _result
;
7236 wxPrintPreview
* _arg0
;
7239 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7240 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7241 long _arg5
= (long ) 0;
7242 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
7243 PyObject
* _argo0
= 0;
7244 PyObject
* _argo2
= 0;
7246 PyObject
* _obj3
= 0;
7248 PyObject
* _obj4
= 0;
7249 PyObject
* _obj6
= 0;
7250 char *_kwnames
[] = { "preview","buttons","parent","pos","size","style","name", NULL
};
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|OOlO:new_wxPyPreviewControlBar",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
7257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
7259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPreviewControlBar. Expected _wxPrintPreview_p.");
7264 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7265 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
7266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPyPreviewControlBar. Expected _wxWindow_p.");
7273 if (! wxPoint_helper(_obj3
, &_arg3
))
7279 if (! wxSize_helper(_obj4
, &_arg4
))
7284 _arg6
= wxString_in_helper(_obj6
);
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 _result
= (wxPyPreviewControlBar
*)new_wxPyPreviewControlBar(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) return NULL
;
7295 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPreviewControlBar_p");
7296 _resultobj
= Py_BuildValue("s",_ptemp
);
7299 _resultobj
= Py_None
;
7308 #define wxPyPreviewControlBar__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
7309 static PyObject
*_wrap_wxPyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
* _resultobj
;
7311 wxPyPreviewControlBar
* _arg0
;
7314 PyObject
* _argo0
= 0;
7315 PyObject
* _obj1
= 0;
7316 PyObject
* _obj2
= 0;
7317 char *_kwnames
[] = { "self","self","_class", NULL
};
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPreviewControlBar__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewControlBar_p")) {
7325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewControlBar__setCallbackInfo. Expected _wxPyPreviewControlBar_p.");
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 wxPyPreviewControlBar__setCallbackInfo(_arg0
,_arg1
,_arg2
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) return NULL
;
7341 } Py_INCREF(Py_None
);
7342 _resultobj
= Py_None
;
7346 #define wxPyPreviewControlBar_SetPrintPreview(_swigobj,_swigarg0) (_swigobj->SetPrintPreview(_swigarg0))
7347 static PyObject
*_wrap_wxPyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
* _resultobj
;
7349 wxPyPreviewControlBar
* _arg0
;
7350 wxPrintPreview
* _arg1
;
7351 PyObject
* _argo0
= 0;
7352 PyObject
* _argo1
= 0;
7353 char *_kwnames
[] = { "self","preview", NULL
};
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPreviewControlBar_SetPrintPreview",_kwnames
,&_argo0
,&_argo1
))
7359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewControlBar_p")) {
7361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewControlBar_SetPrintPreview. Expected _wxPyPreviewControlBar_p.");
7366 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7367 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintPreview_p")) {
7368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPreviewControlBar_SetPrintPreview. Expected _wxPrintPreview_p.");
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 wxPyPreviewControlBar_SetPrintPreview(_arg0
,_arg1
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) return NULL
;
7378 } Py_INCREF(Py_None
);
7379 _resultobj
= Py_None
;
7383 #define wxPyPreviewControlBar_base_CreateButtons(_swigobj) (_swigobj->base_CreateButtons())
7384 static PyObject
*_wrap_wxPyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
* _resultobj
;
7386 wxPyPreviewControlBar
* _arg0
;
7387 PyObject
* _argo0
= 0;
7388 char *_kwnames
[] = { "self", NULL
};
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPreviewControlBar_base_CreateButtons",_kwnames
,&_argo0
))
7394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewControlBar_p")) {
7396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewControlBar_base_CreateButtons. Expected _wxPyPreviewControlBar_p.");
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 wxPyPreviewControlBar_base_CreateButtons(_arg0
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) return NULL
;
7406 } Py_INCREF(Py_None
);
7407 _resultobj
= Py_None
;
7411 #define wxPyPreviewControlBar_base_SetZoomControl(_swigobj,_swigarg0) (_swigobj->base_SetZoomControl(_swigarg0))
7412 static PyObject
*_wrap_wxPyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
* _resultobj
;
7414 wxPyPreviewControlBar
* _arg0
;
7416 PyObject
* _argo0
= 0;
7417 char *_kwnames
[] = { "self","zoom", NULL
};
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyPreviewControlBar_base_SetZoomControl",_kwnames
,&_argo0
,&_arg1
))
7423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewControlBar_p")) {
7425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewControlBar_base_SetZoomControl. Expected _wxPyPreviewControlBar_p.");
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 wxPyPreviewControlBar_base_SetZoomControl(_arg0
,_arg1
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) return NULL
;
7435 } Py_INCREF(Py_None
);
7436 _resultobj
= Py_None
;
7440 static PyMethodDef printfwcMethods
[] = {
7441 { "wxPyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_wxPyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
7442 { "wxPyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_wxPyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
7443 { "wxPyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_wxPyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
7444 { "wxPyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_wxPyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7445 { "new_wxPyPreviewControlBar", (PyCFunction
) _wrap_new_wxPyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7446 { "wxPyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_wxPyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7447 { "wxPyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_wxPyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7448 { "wxPyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_wxPyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
7449 { "wxPyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_wxPyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7450 { "wxPyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_wxPyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7451 { "wxPyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_wxPyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7452 { "new_wxPyPreviewFrame", (PyCFunction
) _wrap_new_wxPyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
7453 { "wxPyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_wxPyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
7454 { "wxPyPrintPreview_base_Print", (PyCFunction
) _wrap_wxPyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
7455 { "wxPyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_wxPyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
7456 { "wxPyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_wxPyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
7457 { "wxPyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_wxPyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
7458 { "wxPyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_wxPyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
7459 { "wxPyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_wxPyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
7460 { "wxPyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_wxPyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7461 { "new_wxPyPrintPreview", (PyCFunction
) _wrap_new_wxPyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
7462 { "wxPreviewControlBar_OnGoto", (PyCFunction
) _wrap_wxPreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
7463 { "wxPreviewControlBar_OnLast", (PyCFunction
) _wrap_wxPreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
7464 { "wxPreviewControlBar_OnFirst", (PyCFunction
) _wrap_wxPreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
7465 { "wxPreviewControlBar_OnPrevious", (PyCFunction
) _wrap_wxPreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
7466 { "wxPreviewControlBar_OnNext", (PyCFunction
) _wrap_wxPreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
7467 { "wxPreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_wxPreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
7468 { "wxPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_wxPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
7469 { "wxPreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_wxPreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
7470 { "new_wxPreviewControlBar", (PyCFunction
) _wrap_new_wxPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7471 { "new_wxPreviewCanvas", (PyCFunction
) _wrap_new_wxPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7472 { "wxPreviewFrame_CreateCanvas", (PyCFunction
) _wrap_wxPreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7473 { "wxPreviewFrame_CreateControlBar", (PyCFunction
) _wrap_wxPreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7474 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
7475 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
7476 { "wxPrintPreview_DetermineScaling", (PyCFunction
) _wrap_wxPrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
7477 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
7478 { "wxPrintPreview_SetOk", (PyCFunction
) _wrap_wxPrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
7479 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7480 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
7481 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
7482 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
7483 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
7484 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7485 { "wxPrintPreview_RenderPage", (PyCFunction
) _wrap_wxPrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
7486 { "wxPrintPreview_DrawBlankPage", (PyCFunction
) _wrap_wxPrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
7487 { "wxPrintPreview_PaintPage", (PyCFunction
) _wrap_wxPrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
7488 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7489 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7490 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7491 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7492 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
7493 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
7494 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
7495 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
7496 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
7497 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
7498 { "new_wxPrintAbortDialog", (PyCFunction
) _wrap_new_wxPrintAbortDialog
, METH_VARARGS
| METH_KEYWORDS
},
7499 { "wxPrinter_GetLastError", (PyCFunction
) _wrap_wxPrinter_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
7500 { "wxPrinter_GetAbort", (PyCFunction
) _wrap_wxPrinter_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
7501 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
7502 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
7503 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
7504 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
7505 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7506 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
7507 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
7508 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
7509 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
7510 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
7511 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
7512 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
7513 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
7514 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
7515 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
7516 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
7517 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
7518 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
7519 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
7520 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7521 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
7522 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7523 { "wxPrintout__setCallbackInfo", (PyCFunction
) _wrap_wxPrintout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7524 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
7525 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
7526 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
7527 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7528 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
7529 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7530 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7531 { "wxPrintDialogData_Ok", (PyCFunction
) _wrap_wxPrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7532 { "wxPrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
7533 { "wxPrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
7534 { "wxPrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
7535 { "wxPrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
7536 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
7537 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
7538 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
7539 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
7540 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
7541 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
7542 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
7543 { "wxPrintDialogData_SetSelection", (PyCFunction
) _wrap_wxPrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7544 { "wxPrintDialogData_SetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "wxPrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxPrintDialogData_GetSelection", (PyCFunction
) _wrap_wxPrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxPageSetupDialogData_Ok", (PyCFunction
) _wrap_wxPageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "wxPostScriptDC_GetResolution", (PyCFunction
) _wrap_wxPostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "wxPostScriptDC_SetResolution", (PyCFunction
) _wrap_wxPostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "wxPostScriptDC_SetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxPostScriptDC_GetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "new_wxPostScriptDC", (PyCFunction
) _wrap_new_wxPostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
7604 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
7605 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
7606 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
7607 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
7608 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
7609 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
7610 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
7611 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
7612 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
7613 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
7614 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
7615 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
7616 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
7617 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
7618 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
7619 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
7620 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
7621 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
7622 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
7623 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
7624 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
7625 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
7626 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
7627 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
7628 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
7629 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7630 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
7631 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
7632 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
7633 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
7634 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
7635 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
7636 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
7637 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
7638 { "wxPrintData_Ok", (PyCFunction
) _wrap_wxPrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7639 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7640 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
7641 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
7642 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7643 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7650 * This table is used by the pointer type-checker
7652 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7653 { "_signed_long","_long",0},
7654 { "_wxPrintQuality","_wxCoord",0},
7655 { "_wxPrintQuality","_int",0},
7656 { "_wxPrintQuality","_signed_int",0},
7657 { "_wxPrintQuality","_unsigned_int",0},
7658 { "_wxPrintQuality","_wxWindowID",0},
7659 { "_wxPrintQuality","_uint",0},
7660 { "_wxPrintQuality","_EBool",0},
7661 { "_wxPrintQuality","_size_t",0},
7662 { "_wxPrintQuality","_time_t",0},
7663 { "_byte","_unsigned_char",0},
7664 { "_long","_unsigned_long",0},
7665 { "_long","_signed_long",0},
7666 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
7667 { "_wxPrintPreview","_wxPyPrintPreview",SwigwxPyPrintPreviewTowxPrintPreview
},
7668 { "_size_t","_wxCoord",0},
7669 { "_size_t","_wxPrintQuality",0},
7670 { "_size_t","_time_t",0},
7671 { "_size_t","_unsigned_int",0},
7672 { "_size_t","_int",0},
7673 { "_size_t","_wxWindowID",0},
7674 { "_size_t","_uint",0},
7675 { "_wxPanel","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxPanel
},
7676 { "_wxPanel","_wxPreviewControlBar",SwigwxPreviewControlBarTowxPanel
},
7677 { "_wxPanel","_wxPreviewCanvas",SwigwxPreviewCanvasTowxPanel
},
7678 { "_wxTopLevelWindow","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxTopLevelWindow
},
7679 { "_wxTopLevelWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxTopLevelWindow
},
7680 { "_wxTopLevelWindow","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxTopLevelWindow
},
7681 { "_wxTopLevelWindow","_wxPrintDialog",SwigwxPrintDialogTowxTopLevelWindow
},
7682 { "_wxTopLevelWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxTopLevelWindow
},
7683 { "_uint","_wxCoord",0},
7684 { "_uint","_wxPrintQuality",0},
7685 { "_uint","_time_t",0},
7686 { "_uint","_size_t",0},
7687 { "_uint","_unsigned_int",0},
7688 { "_uint","_int",0},
7689 { "_uint","_wxWindowID",0},
7690 { "_wxChar","_char",0},
7691 { "_char","_wxChar",0},
7692 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
7693 { "_EBool","_wxCoord",0},
7694 { "_EBool","_wxPrintQuality",0},
7695 { "_EBool","_signed_int",0},
7696 { "_EBool","_int",0},
7697 { "_EBool","_wxWindowID",0},
7698 { "_wxPreviewControlBar","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxPreviewControlBar
},
7699 { "_unsigned_long","_long",0},
7700 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
7701 { "_signed_int","_wxCoord",0},
7702 { "_signed_int","_wxPrintQuality",0},
7703 { "_signed_int","_EBool",0},
7704 { "_signed_int","_wxWindowID",0},
7705 { "_signed_int","_int",0},
7706 { "_WXTYPE","_short",0},
7707 { "_WXTYPE","_signed_short",0},
7708 { "_WXTYPE","_unsigned_short",0},
7709 { "_unsigned_short","_WXTYPE",0},
7710 { "_unsigned_short","_short",0},
7711 { "_wxObject","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxObject
},
7712 { "_wxObject","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxObject
},
7713 { "_wxObject","_wxPyPrintPreview",SwigwxPyPrintPreviewTowxObject
},
7714 { "_wxObject","_wxPreviewControlBar",SwigwxPreviewControlBarTowxObject
},
7715 { "_wxObject","_wxPreviewCanvas",SwigwxPreviewCanvasTowxObject
},
7716 { "_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
7717 { "_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
7718 { "_wxObject","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxObject
},
7719 { "_wxObject","_wxPrinter",SwigwxPrinterTowxObject
},
7720 { "_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
7721 { "_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject
},
7722 { "_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
7723 { "_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
7724 { "_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
7725 { "_wxObject","_wxPostScriptDC",SwigwxPostScriptDCTowxObject
},
7726 { "_wxObject","_wxPrintData",SwigwxPrintDataTowxObject
},
7727 { "_signed_short","_WXTYPE",0},
7728 { "_signed_short","_short",0},
7729 { "_wxScrolledWindow","_wxPreviewCanvas",SwigwxPreviewCanvasTowxScrolledWindow
},
7730 { "_unsigned_char","_byte",0},
7731 { "_unsigned_int","_wxCoord",0},
7732 { "_unsigned_int","_wxPrintQuality",0},
7733 { "_unsigned_int","_time_t",0},
7734 { "_unsigned_int","_size_t",0},
7735 { "_unsigned_int","_uint",0},
7736 { "_unsigned_int","_wxWindowID",0},
7737 { "_unsigned_int","_int",0},
7738 { "_wxDialog","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxDialog
},
7739 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
7740 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
7741 { "_short","_WXTYPE",0},
7742 { "_short","_unsigned_short",0},
7743 { "_short","_signed_short",0},
7744 { "_wxFrame","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxFrame
},
7745 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
7746 { "_wxWindowID","_wxCoord",0},
7747 { "_wxWindowID","_wxPrintQuality",0},
7748 { "_wxWindowID","_time_t",0},
7749 { "_wxWindowID","_size_t",0},
7750 { "_wxWindowID","_EBool",0},
7751 { "_wxWindowID","_uint",0},
7752 { "_wxWindowID","_int",0},
7753 { "_wxWindowID","_signed_int",0},
7754 { "_wxWindowID","_unsigned_int",0},
7755 { "_int","_wxCoord",0},
7756 { "_int","_wxPrintQuality",0},
7757 { "_int","_time_t",0},
7758 { "_int","_size_t",0},
7759 { "_int","_EBool",0},
7760 { "_int","_uint",0},
7761 { "_int","_wxWindowID",0},
7762 { "_int","_unsigned_int",0},
7763 { "_int","_signed_int",0},
7764 { "_time_t","_wxCoord",0},
7765 { "_time_t","_wxPrintQuality",0},
7766 { "_time_t","_unsigned_int",0},
7767 { "_time_t","_int",0},
7768 { "_time_t","_wxWindowID",0},
7769 { "_time_t","_uint",0},
7770 { "_time_t","_size_t",0},
7771 { "_wxCoord","_int",0},
7772 { "_wxCoord","_signed_int",0},
7773 { "_wxCoord","_unsigned_int",0},
7774 { "_wxCoord","_wxWindowID",0},
7775 { "_wxCoord","_uint",0},
7776 { "_wxCoord","_EBool",0},
7777 { "_wxCoord","_size_t",0},
7778 { "_wxCoord","_time_t",0},
7779 { "_wxCoord","_wxPrintQuality",0},
7780 { "_wxPreviewFrame","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxPreviewFrame
},
7781 { "_wxEvtHandler","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxEvtHandler
},
7782 { "_wxEvtHandler","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxEvtHandler
},
7783 { "_wxEvtHandler","_wxPreviewControlBar",SwigwxPreviewControlBarTowxEvtHandler
},
7784 { "_wxEvtHandler","_wxPreviewCanvas",SwigwxPreviewCanvasTowxEvtHandler
},
7785 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
7786 { "_wxEvtHandler","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxEvtHandler
},
7787 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
7788 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
7789 { "_wxWindow","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxWindow
},
7790 { "_wxWindow","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxWindow
},
7791 { "_wxWindow","_wxPreviewControlBar",SwigwxPreviewControlBarTowxWindow
},
7792 { "_wxWindow","_wxPreviewCanvas",SwigwxPreviewCanvasTowxWindow
},
7793 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
7794 { "_wxWindow","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxWindow
},
7795 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
7796 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
7799 static PyObject
*SWIG_globals
;
7803 SWIGEXPORT(void) initprintfwc() {
7805 SWIG_globals
= SWIG_newvarlink();
7806 m
= Py_InitModule("printfwc", printfwcMethods
);
7807 d
= PyModule_GetDict(m
);
7808 PyDict_SetItemString(d
,"wxPRINT_MODE_NONE", PyInt_FromLong((long) wxPRINT_MODE_NONE
));
7809 PyDict_SetItemString(d
,"wxPRINT_MODE_PREVIEW", PyInt_FromLong((long) wxPRINT_MODE_PREVIEW
));
7810 PyDict_SetItemString(d
,"wxPRINT_MODE_FILE", PyInt_FromLong((long) wxPRINT_MODE_FILE
));
7811 PyDict_SetItemString(d
,"wxPRINT_MODE_PRINTER", PyInt_FromLong((long) wxPRINT_MODE_PRINTER
));
7812 PyDict_SetItemString(d
,"wxPRINTER_NO_ERROR", PyInt_FromLong((long) wxPRINTER_NO_ERROR
));
7813 PyDict_SetItemString(d
,"wxPRINTER_CANCELLED", PyInt_FromLong((long) wxPRINTER_CANCELLED
));
7814 PyDict_SetItemString(d
,"wxPRINTER_ERROR", PyInt_FromLong((long) wxPRINTER_ERROR
));
7815 PyDict_SetItemString(d
,"wxPREVIEW_PRINT", PyInt_FromLong((long) wxPREVIEW_PRINT
));
7816 PyDict_SetItemString(d
,"wxPREVIEW_PREVIOUS", PyInt_FromLong((long) wxPREVIEW_PREVIOUS
));
7817 PyDict_SetItemString(d
,"wxPREVIEW_NEXT", PyInt_FromLong((long) wxPREVIEW_NEXT
));
7818 PyDict_SetItemString(d
,"wxPREVIEW_ZOOM", PyInt_FromLong((long) wxPREVIEW_ZOOM
));
7819 PyDict_SetItemString(d
,"wxPREVIEW_FIRST", PyInt_FromLong((long) wxPREVIEW_FIRST
));
7820 PyDict_SetItemString(d
,"wxPREVIEW_LAST", PyInt_FromLong((long) wxPREVIEW_LAST
));
7821 PyDict_SetItemString(d
,"wxPREVIEW_GOTO", PyInt_FromLong((long) wxPREVIEW_GOTO
));
7822 PyDict_SetItemString(d
,"wxPREVIEW_DEFAULT", PyInt_FromLong((long) wxPREVIEW_DEFAULT
));
7823 PyDict_SetItemString(d
,"wxID_PREVIEW_CLOSE", PyInt_FromLong((long) wxID_PREVIEW_CLOSE
));
7824 PyDict_SetItemString(d
,"wxID_PREVIEW_NEXT", PyInt_FromLong((long) wxID_PREVIEW_NEXT
));
7825 PyDict_SetItemString(d
,"wxID_PREVIEW_PREVIOUS", PyInt_FromLong((long) wxID_PREVIEW_PREVIOUS
));
7826 PyDict_SetItemString(d
,"wxID_PREVIEW_PRINT", PyInt_FromLong((long) wxID_PREVIEW_PRINT
));
7827 PyDict_SetItemString(d
,"wxID_PREVIEW_ZOOM", PyInt_FromLong((long) wxID_PREVIEW_ZOOM
));
7828 PyDict_SetItemString(d
,"wxID_PREVIEW_FIRST", PyInt_FromLong((long) wxID_PREVIEW_FIRST
));
7829 PyDict_SetItemString(d
,"wxID_PREVIEW_LAST", PyInt_FromLong((long) wxID_PREVIEW_LAST
));
7830 PyDict_SetItemString(d
,"wxID_PREVIEW_GOTO", PyInt_FromLong((long) wxID_PREVIEW_GOTO
));
7832 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
7835 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7836 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);