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
);
161 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
162 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
163 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
166 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
167 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
170 wxPyBeginBlockThreads(); \
171 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
172 PyObject* win = wxPyMake_wxObject(a); \
173 PyObject* dc = wxPyMake_wxObject(&b); \
174 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
178 wxPyEndBlockThreads(); \
180 rval = PCLASS::CBNAME(a, b); \
183 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
184 return PCLASS::CBNAME(a, b); \
190 class wxPyPrintPreview
: public wxPrintPreview
192 DECLARE_CLASS(wxPyPrintPreview
)
194 wxPyPrintPreview(wxPyPrintout
* printout
,
195 wxPyPrintout
* printoutForPrinting
,
196 wxPrintData
* data
=NULL
)
197 : wxPrintPreview(printout
, printoutForPrinting
, data
)
200 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
201 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
202 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
203 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
204 DEC_PYCALLBACK_VOID_INT(SetZoom
);
205 DEC_PYCALLBACK_BOOL_BOOL(Print
);
206 DEC_PYCALLBACK_VOID_(DetermineScaling
);
211 // Stupid renamed classes... Fix this in 2.5...
212 #if defined(__WXMSW__)
213 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
214 #elif defined(__WXMAC__)
215 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
217 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
220 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
221 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
222 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
223 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
224 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
225 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
226 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
228 class wxPyPreviewFrame
: public wxPreviewFrame
230 DECLARE_CLASS(wxPyPreviewFrame
);
232 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
233 const wxString
& title
,
234 const wxPoint
& pos
= wxDefaultPosition
,
235 const wxSize
& size
= wxDefaultSize
,
236 long style
= wxDEFAULT_FRAME_STYLE
,
237 const wxString
& name
= wxPyFrameNameStr
)
238 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
241 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
242 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
244 DEC_PYCALLBACK_VOID_(Initialize
);
245 DEC_PYCALLBACK_VOID_(CreateCanvas
);
246 DEC_PYCALLBACK_VOID_(CreateControlBar
);
251 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
253 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
254 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
255 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
257 class wxPyPreviewControlBar
: public wxPreviewControlBar
259 DECLARE_CLASS(wxPyPreviewControlBar
);
261 wxPyPreviewControlBar(wxPrintPreview
*preview
,
264 const wxPoint
& pos
= wxDefaultPosition
,
265 const wxSize
& size
= wxDefaultSize
,
267 const wxString
& name
= wxPyPanelNameStr
)
268 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
271 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
273 DEC_PYCALLBACK_VOID_(CreateButtons
);
274 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
279 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
280 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
281 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
285 static void *SwigwxPrintDataTowxObject(void *ptr
) {
288 src
= (wxPrintData
*) ptr
;
289 dest
= (wxObject
*) src
;
290 return (void *) dest
;
293 #define new_wxPrintData() (new wxPrintData())
294 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
296 wxPrintData
* _result
;
297 char *_kwnames
[] = { NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
305 _result
= (wxPrintData
*)new_wxPrintData();
307 wxPyEndAllowThreads(__tstate
);
308 if (PyErr_Occurred()) return NULL
;
310 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
311 _resultobj
= Py_BuildValue("s",_ptemp
);
314 _resultobj
= Py_None
;
319 #define delete_wxPrintData(_swigobj) (delete _swigobj)
320 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
323 PyObject
* _argo0
= 0;
324 char *_kwnames
[] = { "self", NULL
};
327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
338 delete_wxPrintData(_arg0
);
340 wxPyEndAllowThreads(__tstate
);
341 if (PyErr_Occurred()) return NULL
;
342 } Py_INCREF(Py_None
);
343 _resultobj
= Py_None
;
347 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
348 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
349 PyObject
* _resultobj
;
352 PyObject
* _argo0
= 0;
353 char *_kwnames
[] = { "self", NULL
};
356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
367 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
369 wxPyEndAllowThreads(__tstate
);
370 if (PyErr_Occurred()) return NULL
;
371 } _resultobj
= Py_BuildValue("i",_result
);
375 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
376 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
377 PyObject
* _resultobj
;
380 PyObject
* _argo0
= 0;
381 char *_kwnames
[] = { "self", NULL
};
384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
395 _result
= (bool )wxPrintData_GetCollate(_arg0
);
397 wxPyEndAllowThreads(__tstate
);
398 if (PyErr_Occurred()) return NULL
;
399 } _resultobj
= Py_BuildValue("i",_result
);
403 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
404 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
405 PyObject
* _resultobj
;
408 PyObject
* _argo0
= 0;
409 char *_kwnames
[] = { "self", NULL
};
412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
423 _result
= (int )wxPrintData_GetOrientation(_arg0
);
425 wxPyEndAllowThreads(__tstate
);
426 if (PyErr_Occurred()) return NULL
;
427 } _resultobj
= Py_BuildValue("i",_result
);
431 #define wxPrintData_Ok(_swigobj) (_swigobj->Ok())
432 static PyObject
*_wrap_wxPrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
433 PyObject
* _resultobj
;
436 PyObject
* _argo0
= 0;
437 char *_kwnames
[] = { "self", NULL
};
440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_Ok",_kwnames
,&_argo0
))
443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_Ok. Expected _wxPrintData_p.");
450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
451 _result
= (bool )wxPrintData_Ok(_arg0
);
453 wxPyEndAllowThreads(__tstate
);
454 if (PyErr_Occurred()) return NULL
;
455 } _resultobj
= Py_BuildValue("i",_result
);
459 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
460 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
461 PyObject
* _resultobj
;
464 PyObject
* _argo0
= 0;
465 char *_kwnames
[] = { "self", NULL
};
468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
479 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
480 _result
= (wxString
*) &_result_ref
;
482 wxPyEndAllowThreads(__tstate
);
483 if (PyErr_Occurred()) return NULL
;
486 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
488 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
494 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
495 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
496 PyObject
* _resultobj
;
499 PyObject
* _argo0
= 0;
500 char *_kwnames
[] = { "self", NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
514 _result
= (bool )wxPrintData_GetColour(_arg0
);
516 wxPyEndAllowThreads(__tstate
);
517 if (PyErr_Occurred()) return NULL
;
518 } _resultobj
= Py_BuildValue("i",_result
);
522 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
523 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
524 PyObject
* _resultobj
;
525 wxDuplexMode _result
;
527 PyObject
* _argo0
= 0;
528 char *_kwnames
[] = { "self", NULL
};
531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
542 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
544 wxPyEndAllowThreads(__tstate
);
545 if (PyErr_Occurred()) return NULL
;
546 } _resultobj
= Py_BuildValue("i",_result
);
550 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
551 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
552 PyObject
* _resultobj
;
555 PyObject
* _argo0
= 0;
556 char *_kwnames
[] = { "self", NULL
};
559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
570 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
572 wxPyEndAllowThreads(__tstate
);
573 if (PyErr_Occurred()) return NULL
;
574 } _resultobj
= Py_BuildValue("i",_result
);
578 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
579 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
580 PyObject
* _resultobj
;
583 PyObject
* _argo0
= 0;
584 char *_kwnames
[] = { "self", NULL
};
588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
599 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
600 _result
= (wxSize
*) &_result_ref
;
602 wxPyEndAllowThreads(__tstate
);
603 if (PyErr_Occurred()) return NULL
;
605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
606 _resultobj
= Py_BuildValue("s",_ptemp
);
609 _resultobj
= Py_None
;
614 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
615 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 PyObject
* _resultobj
;
617 wxPrintQuality _result
;
619 PyObject
* _argo0
= 0;
620 char *_kwnames
[] = { "self", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
634 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
636 wxPyEndAllowThreads(__tstate
);
637 if (PyErr_Occurred()) return NULL
;
638 } _resultobj
= Py_BuildValue("i",_result
);
642 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
643 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
644 PyObject
* _resultobj
;
647 PyObject
* _argo0
= 0;
648 char *_kwnames
[] = { "self","v", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
662 wxPrintData_SetNoCopies(_arg0
,_arg1
);
664 wxPyEndAllowThreads(__tstate
);
665 if (PyErr_Occurred()) return NULL
;
666 } Py_INCREF(Py_None
);
667 _resultobj
= Py_None
;
671 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
672 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
673 PyObject
* _resultobj
;
676 PyObject
* _argo0
= 0;
678 char *_kwnames
[] = { "self","flag", NULL
};
681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
690 _arg1
= (bool ) tempbool1
;
692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
693 wxPrintData_SetCollate(_arg0
,_arg1
);
695 wxPyEndAllowThreads(__tstate
);
696 if (PyErr_Occurred()) return NULL
;
697 } Py_INCREF(Py_None
);
698 _resultobj
= Py_None
;
702 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
703 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
704 PyObject
* _resultobj
;
707 PyObject
* _argo0
= 0;
708 char *_kwnames
[] = { "self","orient", NULL
};
711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
722 wxPrintData_SetOrientation(_arg0
,_arg1
);
724 wxPyEndAllowThreads(__tstate
);
725 if (PyErr_Occurred()) return NULL
;
726 } Py_INCREF(Py_None
);
727 _resultobj
= Py_None
;
731 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
732 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
733 PyObject
* _resultobj
;
736 PyObject
* _argo0
= 0;
737 PyObject
* _obj1
= 0;
738 char *_kwnames
[] = { "self","name", NULL
};
741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
751 _arg1
= wxString_in_helper(_obj1
);
756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
757 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
759 wxPyEndAllowThreads(__tstate
);
760 if (PyErr_Occurred()) return NULL
;
761 } Py_INCREF(Py_None
);
762 _resultobj
= Py_None
;
770 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
771 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
772 PyObject
* _resultobj
;
775 PyObject
* _argo0
= 0;
777 char *_kwnames
[] = { "self","colour", NULL
};
780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
789 _arg1
= (bool ) tempbool1
;
791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
792 wxPrintData_SetColour(_arg0
,_arg1
);
794 wxPyEndAllowThreads(__tstate
);
795 if (PyErr_Occurred()) return NULL
;
796 } Py_INCREF(Py_None
);
797 _resultobj
= Py_None
;
801 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
802 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 PyObject
* _resultobj
;
806 PyObject
* _argo0
= 0;
807 char *_kwnames
[] = { "self","duplex", NULL
};
810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
821 wxPrintData_SetDuplex(_arg0
,_arg1
);
823 wxPyEndAllowThreads(__tstate
);
824 if (PyErr_Occurred()) return NULL
;
825 } Py_INCREF(Py_None
);
826 _resultobj
= Py_None
;
830 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
831 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 PyObject
* _resultobj
;
835 PyObject
* _argo0
= 0;
836 char *_kwnames
[] = { "self","sizeId", NULL
};
839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
850 wxPrintData_SetPaperId(_arg0
,_arg1
);
852 wxPyEndAllowThreads(__tstate
);
853 if (PyErr_Occurred()) return NULL
;
854 } Py_INCREF(Py_None
);
855 _resultobj
= Py_None
;
859 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
860 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
861 PyObject
* _resultobj
;
864 PyObject
* _argo0
= 0;
866 PyObject
* _obj1
= 0;
867 char *_kwnames
[] = { "self","sz", NULL
};
870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
881 if (! wxSize_helper(_obj1
, &_arg1
))
885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
886 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
888 wxPyEndAllowThreads(__tstate
);
889 if (PyErr_Occurred()) return NULL
;
890 } Py_INCREF(Py_None
);
891 _resultobj
= Py_None
;
895 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
896 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
897 PyObject
* _resultobj
;
899 wxPrintQuality _arg1
;
900 PyObject
* _argo0
= 0;
901 char *_kwnames
[] = { "self","quality", NULL
};
904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
915 wxPrintData_SetQuality(_arg0
,_arg1
);
917 wxPyEndAllowThreads(__tstate
);
918 if (PyErr_Occurred()) return NULL
;
919 } Py_INCREF(Py_None
);
920 _resultobj
= Py_None
;
924 #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
925 static PyObject
*_wrap_wxPrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 PyObject
* _resultobj
;
929 PyObject
* _argo0
= 0;
930 char *_kwnames
[] = { "self", NULL
};
933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterCommand",_kwnames
,&_argo0
))
936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
944 const wxString
& _result_ref
= wxPrintData_GetPrinterCommand(_arg0
);
945 _result
= (wxString
*) &_result_ref
;
947 wxPyEndAllowThreads(__tstate
);
948 if (PyErr_Occurred()) return NULL
;
951 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
953 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
959 #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
960 static PyObject
*_wrap_wxPrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
964 PyObject
* _argo0
= 0;
965 char *_kwnames
[] = { "self", NULL
};
968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterOptions",_kwnames
,&_argo0
))
971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
979 const wxString
& _result_ref
= wxPrintData_GetPrinterOptions(_arg0
);
980 _result
= (wxString
*) &_result_ref
;
982 wxPyEndAllowThreads(__tstate
);
983 if (PyErr_Occurred()) return NULL
;
986 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
988 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
994 #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
995 static PyObject
*_wrap_wxPrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 PyObject
* _resultobj
;
999 PyObject
* _argo0
= 0;
1000 char *_kwnames
[] = { "self", NULL
};
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPreviewCommand",_kwnames
,&_argo0
))
1006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
1013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1014 const wxString
& _result_ref
= wxPrintData_GetPreviewCommand(_arg0
);
1015 _result
= (wxString
*) &_result_ref
;
1017 wxPyEndAllowThreads(__tstate
);
1018 if (PyErr_Occurred()) return NULL
;
1021 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1023 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1029 #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
1030 static PyObject
*_wrap_wxPrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1033 wxPrintData
* _arg0
;
1034 PyObject
* _argo0
= 0;
1035 char *_kwnames
[] = { "self", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFilename",_kwnames
,&_argo0
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p.");
1048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1049 const wxString
& _result_ref
= wxPrintData_GetFilename(_arg0
);
1050 _result
= (wxString
*) &_result_ref
;
1052 wxPyEndAllowThreads(__tstate
);
1053 if (PyErr_Occurred()) return NULL
;
1056 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1058 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1064 #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
1065 static PyObject
*_wrap_wxPrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
* _resultobj
;
1068 wxPrintData
* _arg0
;
1069 PyObject
* _argo0
= 0;
1070 char *_kwnames
[] = { "self", NULL
};
1073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFontMetricPath",_kwnames
,&_argo0
))
1076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
1083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1084 const wxString
& _result_ref
= wxPrintData_GetFontMetricPath(_arg0
);
1085 _result
= (wxString
*) &_result_ref
;
1087 wxPyEndAllowThreads(__tstate
);
1088 if (PyErr_Occurred()) return NULL
;
1091 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1093 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1099 #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
1100 static PyObject
*_wrap_wxPrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1103 wxPrintData
* _arg0
;
1104 PyObject
* _argo0
= 0;
1105 char *_kwnames
[] = { "self", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleX",_kwnames
,&_argo0
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
1118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1119 _result
= (double )wxPrintData_GetPrinterScaleX(_arg0
);
1121 wxPyEndAllowThreads(__tstate
);
1122 if (PyErr_Occurred()) return NULL
;
1123 } _resultobj
= Py_BuildValue("d",_result
);
1127 #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
1128 static PyObject
*_wrap_wxPrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
* _resultobj
;
1131 wxPrintData
* _arg0
;
1132 PyObject
* _argo0
= 0;
1133 char *_kwnames
[] = { "self", NULL
};
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleY",_kwnames
,&_argo0
))
1139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
1146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1147 _result
= (double )wxPrintData_GetPrinterScaleY(_arg0
);
1149 wxPyEndAllowThreads(__tstate
);
1150 if (PyErr_Occurred()) return NULL
;
1151 } _resultobj
= Py_BuildValue("d",_result
);
1155 #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
1156 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1159 wxPrintData
* _arg0
;
1160 PyObject
* _argo0
= 0;
1161 char *_kwnames
[] = { "self", NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateX",_kwnames
,&_argo0
))
1167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
1174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1175 _result
= (long )wxPrintData_GetPrinterTranslateX(_arg0
);
1177 wxPyEndAllowThreads(__tstate
);
1178 if (PyErr_Occurred()) return NULL
;
1179 } _resultobj
= Py_BuildValue("l",_result
);
1183 #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
1184 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1187 wxPrintData
* _arg0
;
1188 PyObject
* _argo0
= 0;
1189 char *_kwnames
[] = { "self", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateY",_kwnames
,&_argo0
))
1195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1203 _result
= (long )wxPrintData_GetPrinterTranslateY(_arg0
);
1205 wxPyEndAllowThreads(__tstate
);
1206 if (PyErr_Occurred()) return NULL
;
1207 } _resultobj
= Py_BuildValue("l",_result
);
1211 #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1212 static PyObject
*_wrap_wxPrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
* _resultobj
;
1214 wxPrintMode _result
;
1215 wxPrintData
* _arg0
;
1216 PyObject
* _argo0
= 0;
1217 char *_kwnames
[] = { "self", NULL
};
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrintMode",_kwnames
,&_argo0
))
1223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 _result
= (wxPrintMode
)wxPrintData_GetPrintMode(_arg0
);
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) return NULL
;
1235 } _resultobj
= Py_BuildValue("i",_result
);
1239 #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1240 static PyObject
*_wrap_wxPrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1241 PyObject
* _resultobj
;
1242 wxPrintData
* _arg0
;
1244 PyObject
* _argo0
= 0;
1245 PyObject
* _obj1
= 0;
1246 char *_kwnames
[] = { "self","command", NULL
};
1249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterCommand",_kwnames
,&_argo0
,&_obj1
))
1252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1259 _arg1
= wxString_in_helper(_obj1
);
1264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1265 wxPrintData_SetPrinterCommand(_arg0
,*_arg1
);
1267 wxPyEndAllowThreads(__tstate
);
1268 if (PyErr_Occurred()) return NULL
;
1269 } Py_INCREF(Py_None
);
1270 _resultobj
= Py_None
;
1278 #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1279 static PyObject
*_wrap_wxPrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
* _resultobj
;
1281 wxPrintData
* _arg0
;
1283 PyObject
* _argo0
= 0;
1284 PyObject
* _obj1
= 0;
1285 char *_kwnames
[] = { "self","options", NULL
};
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterOptions",_kwnames
,&_argo0
,&_obj1
))
1291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1298 _arg1
= wxString_in_helper(_obj1
);
1303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1304 wxPrintData_SetPrinterOptions(_arg0
,*_arg1
);
1306 wxPyEndAllowThreads(__tstate
);
1307 if (PyErr_Occurred()) return NULL
;
1308 } Py_INCREF(Py_None
);
1309 _resultobj
= Py_None
;
1317 #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1318 static PyObject
*_wrap_wxPrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
* _resultobj
;
1320 wxPrintData
* _arg0
;
1322 PyObject
* _argo0
= 0;
1323 PyObject
* _obj1
= 0;
1324 char *_kwnames
[] = { "self","command", NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPreviewCommand",_kwnames
,&_argo0
,&_obj1
))
1330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1337 _arg1
= wxString_in_helper(_obj1
);
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 wxPrintData_SetPreviewCommand(_arg0
,*_arg1
);
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) return NULL
;
1347 } Py_INCREF(Py_None
);
1348 _resultobj
= Py_None
;
1356 #define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1357 static PyObject
*_wrap_wxPrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1358 PyObject
* _resultobj
;
1359 wxPrintData
* _arg0
;
1361 PyObject
* _argo0
= 0;
1362 PyObject
* _obj1
= 0;
1363 char *_kwnames
[] = { "self","filename", NULL
};
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p.");
1376 _arg1
= wxString_in_helper(_obj1
);
1381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1382 wxPrintData_SetFilename(_arg0
,*_arg1
);
1384 wxPyEndAllowThreads(__tstate
);
1385 if (PyErr_Occurred()) return NULL
;
1386 } Py_INCREF(Py_None
);
1387 _resultobj
= Py_None
;
1395 #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1396 static PyObject
*_wrap_wxPrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
* _resultobj
;
1398 wxPrintData
* _arg0
;
1400 PyObject
* _argo0
= 0;
1401 PyObject
* _obj1
= 0;
1402 char *_kwnames
[] = { "self","path", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFontMetricPath",_kwnames
,&_argo0
,&_obj1
))
1408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1415 _arg1
= wxString_in_helper(_obj1
);
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 wxPrintData_SetFontMetricPath(_arg0
,*_arg1
);
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) return NULL
;
1425 } Py_INCREF(Py_None
);
1426 _resultobj
= Py_None
;
1434 #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1435 static PyObject
*_wrap_wxPrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1437 wxPrintData
* _arg0
;
1439 PyObject
* _argo0
= 0;
1440 char *_kwnames
[] = { "self","x", NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleX",_kwnames
,&_argo0
,&_arg1
))
1446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p.");
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 wxPrintData_SetPrinterScaleX(_arg0
,_arg1
);
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) return NULL
;
1458 } Py_INCREF(Py_None
);
1459 _resultobj
= Py_None
;
1463 #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1464 static PyObject
*_wrap_wxPrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1466 wxPrintData
* _arg0
;
1468 PyObject
* _argo0
= 0;
1469 char *_kwnames
[] = { "self","y", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleY",_kwnames
,&_argo0
,&_arg1
))
1475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p.");
1482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 wxPrintData_SetPrinterScaleY(_arg0
,_arg1
);
1485 wxPyEndAllowThreads(__tstate
);
1486 if (PyErr_Occurred()) return NULL
;
1487 } Py_INCREF(Py_None
);
1488 _resultobj
= Py_None
;
1492 #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1493 static PyObject
*_wrap_wxPrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
* _resultobj
;
1495 wxPrintData
* _arg0
;
1498 PyObject
* _argo0
= 0;
1499 char *_kwnames
[] = { "self","x","y", NULL
};
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPrintData_SetPrinterScaling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaling. Expected _wxPrintData_p.");
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 wxPrintData_SetPrinterScaling(_arg0
,_arg1
,_arg2
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) return NULL
;
1517 } Py_INCREF(Py_None
);
1518 _resultobj
= Py_None
;
1522 #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1523 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
* _resultobj
;
1525 wxPrintData
* _arg0
;
1527 PyObject
* _argo0
= 0;
1528 char *_kwnames
[] = { "self","x", NULL
};
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames
,&_argo0
,&_arg1
))
1534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p.");
1541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 wxPrintData_SetPrinterTranslateX(_arg0
,_arg1
);
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) return NULL
;
1546 } Py_INCREF(Py_None
);
1547 _resultobj
= Py_None
;
1551 #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1552 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
* _resultobj
;
1554 wxPrintData
* _arg0
;
1556 PyObject
* _argo0
= 0;
1557 char *_kwnames
[] = { "self","y", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames
,&_argo0
,&_arg1
))
1563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 wxPrintData_SetPrinterTranslateY(_arg0
,_arg1
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) return NULL
;
1575 } Py_INCREF(Py_None
);
1576 _resultobj
= Py_None
;
1580 #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1581 static PyObject
*_wrap_wxPrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1583 wxPrintData
* _arg0
;
1586 PyObject
* _argo0
= 0;
1587 char *_kwnames
[] = { "self","x","y", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPrintData_SetPrinterTranslation",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslation. Expected _wxPrintData_p.");
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 wxPrintData_SetPrinterTranslation(_arg0
,_arg1
,_arg2
);
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) return NULL
;
1605 } Py_INCREF(Py_None
);
1606 _resultobj
= Py_None
;
1610 #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1611 static PyObject
*_wrap_wxPrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
* _resultobj
;
1613 wxPrintData
* _arg0
;
1615 PyObject
* _argo0
= 0;
1616 char *_kwnames
[] = { "self","printMode", NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPrintMode",_kwnames
,&_argo0
,&_arg1
))
1622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 wxPrintData_SetPrintMode(_arg0
,_arg1
);
1632 wxPyEndAllowThreads(__tstate
);
1633 if (PyErr_Occurred()) return NULL
;
1634 } Py_INCREF(Py_None
);
1635 _resultobj
= Py_None
;
1639 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
1640 wxPostScriptDC
*src
;
1642 src
= (wxPostScriptDC
*) ptr
;
1643 dest
= (wxDC
*) src
;
1644 return (void *) dest
;
1647 static void *SwigwxPostScriptDCTowxObject(void *ptr
) {
1648 wxPostScriptDC
*src
;
1650 src
= (wxPostScriptDC
*) ptr
;
1651 dest
= (wxObject
*) src
;
1652 return (void *) dest
;
1655 #define new_wxPostScriptDC(_swigarg0) (new wxPostScriptDC(_swigarg0))
1656 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1658 wxPostScriptDC
* _result
;
1659 wxPrintData
* _arg0
;
1660 PyObject
* _argo0
= 0;
1661 char *_kwnames
[] = { "printData", NULL
};
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPostScriptDC",_kwnames
,&_argo0
))
1668 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPostScriptDC. Expected _wxPrintData_p.");
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
);
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) return NULL
;
1680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
1681 _resultobj
= Py_BuildValue("s",_ptemp
);
1684 _resultobj
= Py_None
;
1689 #define wxPostScriptDC_GetPrintData(_swigobj) (_swigobj->GetPrintData())
1690 static PyObject
*_wrap_wxPostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
* _resultobj
;
1692 wxPrintData
* _result
;
1693 wxPostScriptDC
* _arg0
;
1694 PyObject
* _argo0
= 0;
1695 char *_kwnames
[] = { "self", NULL
};
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPostScriptDC_GetPrintData",_kwnames
,&_argo0
))
1702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_GetPrintData. Expected _wxPostScriptDC_p.");
1709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1710 wxPrintData
& _result_ref
= wxPostScriptDC_GetPrintData(_arg0
);
1711 _result
= (wxPrintData
*) &_result_ref
;
1713 wxPyEndAllowThreads(__tstate
);
1714 if (PyErr_Occurred()) return NULL
;
1716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1717 _resultobj
= Py_BuildValue("s",_ptemp
);
1720 _resultobj
= Py_None
;
1725 #define wxPostScriptDC_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1726 static PyObject
*_wrap_wxPostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
* _resultobj
;
1728 wxPostScriptDC
* _arg0
;
1729 wxPrintData
* _arg1
;
1730 PyObject
* _argo0
= 0;
1731 PyObject
* _argo1
= 0;
1732 char *_kwnames
[] = { "self","data", NULL
};
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostScriptDC_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPostScriptDC_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostScriptDC_SetPrintData. Expected _wxPostScriptDC_p.");
1745 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostScriptDC_SetPrintData. Expected _wxPrintData_p.");
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 wxPostScriptDC_SetPrintData(_arg0
,*_arg1
);
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) return NULL
;
1756 } Py_INCREF(Py_None
);
1757 _resultobj
= Py_None
;
1761 static PyObject
*_wrap_wxPostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
* _resultobj
;
1764 char *_kwnames
[] = { "ppi", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxPostScriptDC_SetResolution",_kwnames
,&_arg0
))
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 wxPostScriptDC::SetResolution(_arg0
);
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) return NULL
;
1775 } Py_INCREF(Py_None
);
1776 _resultobj
= Py_None
;
1780 static PyObject
*_wrap_wxPostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
* _resultobj
;
1783 char *_kwnames
[] = { NULL
};
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxPostScriptDC_GetResolution",_kwnames
))
1789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1790 _result
= (int )wxPostScriptDC::GetResolution();
1792 wxPyEndAllowThreads(__tstate
);
1793 if (PyErr_Occurred()) return NULL
;
1794 } _resultobj
= Py_BuildValue("i",_result
);
1798 static void *SwigwxPageSetupDialogDataTowxObject(void *ptr
) {
1799 wxPageSetupDialogData
*src
;
1801 src
= (wxPageSetupDialogData
*) ptr
;
1802 dest
= (wxObject
*) src
;
1803 return (void *) dest
;
1806 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1807 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1809 wxPageSetupDialogData
* _result
;
1810 char *_kwnames
[] = { NULL
};
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) return NULL
;
1823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1824 _resultobj
= Py_BuildValue("s",_ptemp
);
1827 _resultobj
= Py_None
;
1832 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1833 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
* _resultobj
;
1835 wxPageSetupDialogData
* _arg0
;
1836 PyObject
* _argo0
= 0;
1837 char *_kwnames
[] = { "self", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
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 delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 delete_wxPageSetupDialogData(_arg0
);
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) return NULL
;
1855 } Py_INCREF(Py_None
);
1856 _resultobj
= Py_None
;
1860 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1861 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
* _resultobj
;
1863 wxPageSetupDialogData
* _arg0
;
1865 PyObject
* _argo0
= 0;
1867 char *_kwnames
[] = { "self","flag", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1879 _arg1
= (bool ) tempbool1
;
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) return NULL
;
1886 } Py_INCREF(Py_None
);
1887 _resultobj
= Py_None
;
1891 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1892 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
* _resultobj
;
1894 wxPageSetupDialogData
* _arg0
;
1896 PyObject
* _argo0
= 0;
1898 char *_kwnames
[] = { "self","flag", NULL
};
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
1904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1910 _arg1
= (bool ) tempbool1
;
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) return NULL
;
1917 } Py_INCREF(Py_None
);
1918 _resultobj
= Py_None
;
1922 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1923 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1925 wxPageSetupDialogData
* _arg0
;
1927 PyObject
* _argo0
= 0;
1929 char *_kwnames
[] = { "self","flag", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
1935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1941 _arg1
= (bool ) tempbool1
;
1943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1944 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
1946 wxPyEndAllowThreads(__tstate
);
1947 if (PyErr_Occurred()) return NULL
;
1948 } Py_INCREF(Py_None
);
1949 _resultobj
= Py_None
;
1953 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1954 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
* _resultobj
;
1956 wxPageSetupDialogData
* _arg0
;
1958 PyObject
* _argo0
= 0;
1960 char *_kwnames
[] = { "self","flag", NULL
};
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
1966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1972 _arg1
= (bool ) tempbool1
;
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) return NULL
;
1979 } Py_INCREF(Py_None
);
1980 _resultobj
= Py_None
;
1984 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1985 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1987 wxPageSetupDialogData
* _arg0
;
1989 PyObject
* _argo0
= 0;
1991 char *_kwnames
[] = { "self","flag", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
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_EnablePrinter. Expected _wxPageSetupDialogData_p.");
2003 _arg1
= (bool ) tempbool1
;
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) return NULL
;
2010 } Py_INCREF(Py_None
);
2011 _resultobj
= Py_None
;
2015 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
2016 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
* _resultobj
;
2019 wxPageSetupDialogData
* _arg0
;
2020 PyObject
* _argo0
= 0;
2021 char *_kwnames
[] = { "self", NULL
};
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
2027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) return NULL
;
2039 } _resultobj
= Py_BuildValue("i",_result
);
2043 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
2044 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2047 wxPageSetupDialogData
* _arg0
;
2048 PyObject
* _argo0
= 0;
2049 char *_kwnames
[] = { "self", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) return NULL
;
2067 } _resultobj
= Py_BuildValue("i",_result
);
2071 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
2072 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2075 wxPageSetupDialogData
* _arg0
;
2076 PyObject
* _argo0
= 0;
2077 char *_kwnames
[] = { "self", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) return NULL
;
2095 } _resultobj
= Py_BuildValue("i",_result
);
2099 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
2100 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
* _resultobj
;
2103 wxPageSetupDialogData
* _arg0
;
2104 PyObject
* _argo0
= 0;
2105 char *_kwnames
[] = { "self", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) return NULL
;
2123 } _resultobj
= Py_BuildValue("i",_result
);
2127 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
2128 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
* _resultobj
;
2131 wxPageSetupDialogData
* _arg0
;
2132 PyObject
* _argo0
= 0;
2133 char *_kwnames
[] = { "self", NULL
};
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
2139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
2146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2147 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
2149 wxPyEndAllowThreads(__tstate
);
2150 if (PyErr_Occurred()) return NULL
;
2151 } _resultobj
= Py_BuildValue("i",_result
);
2155 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
2156 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
* _resultobj
;
2159 wxPageSetupDialogData
* _arg0
;
2160 PyObject
* _argo0
= 0;
2161 char *_kwnames
[] = { "self", NULL
};
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
2167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) return NULL
;
2179 } _resultobj
= Py_BuildValue("i",_result
);
2183 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2184 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
* _resultobj
;
2187 wxPageSetupDialogData
* _arg0
;
2188 PyObject
* _argo0
= 0;
2189 char *_kwnames
[] = { "self", NULL
};
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
2195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2203 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) return NULL
;
2207 } _resultobj
= Py_BuildValue("i",_result
);
2211 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2212 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(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_GetMarginTopLeft",_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_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_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_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2242 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(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_GetMarginBottomRight",_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_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2262 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_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_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2272 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(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_GetMinMarginTopLeft",_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_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_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_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2302 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2305 wxPageSetupDialogData
* _arg0
;
2306 PyObject
* _argo0
= 0;
2307 char *_kwnames
[] = { "self", NULL
};
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) return NULL
;
2326 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2327 _resultobj
= Py_BuildValue("s",_ptemp
);
2331 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2332 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
* _resultobj
;
2334 wxPaperSize _result
;
2335 wxPageSetupDialogData
* _arg0
;
2336 PyObject
* _argo0
= 0;
2337 char *_kwnames
[] = { "self", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) return NULL
;
2355 } _resultobj
= Py_BuildValue("i",_result
);
2359 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2360 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
* _resultobj
;
2363 wxPageSetupDialogData
* _arg0
;
2364 PyObject
* _argo0
= 0;
2365 char *_kwnames
[] = { "self", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
2372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) return NULL
;
2384 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2385 _resultobj
= Py_BuildValue("s",_ptemp
);
2389 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2390 return new wxPrintData(self
->GetPrintData()); // force a copy
2392 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
* _resultobj
;
2394 wxPrintData
* _result
;
2395 wxPageSetupDialogData
* _arg0
;
2396 PyObject
* _argo0
= 0;
2397 char *_kwnames
[] = { "self", NULL
};
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2412 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) return NULL
;
2417 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2418 _resultobj
= Py_BuildValue("s",_ptemp
);
2421 _resultobj
= Py_None
;
2426 #define wxPageSetupDialogData_Ok(_swigobj) (_swigobj->Ok())
2427 static PyObject
*_wrap_wxPageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
* _resultobj
;
2430 wxPageSetupDialogData
* _arg0
;
2431 PyObject
* _argo0
= 0;
2432 char *_kwnames
[] = { "self", NULL
};
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_Ok",_kwnames
,&_argo0
))
2438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_Ok. Expected _wxPageSetupDialogData_p.");
2445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2446 _result
= (bool )wxPageSetupDialogData_Ok(_arg0
);
2448 wxPyEndAllowThreads(__tstate
);
2449 if (PyErr_Occurred()) return NULL
;
2450 } _resultobj
= Py_BuildValue("i",_result
);
2454 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2455 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
* _resultobj
;
2457 wxPageSetupDialogData
* _arg0
;
2459 PyObject
* _argo0
= 0;
2461 char *_kwnames
[] = { "self","flag", NULL
};
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2473 _arg1
= (bool ) tempbool1
;
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) return NULL
;
2480 } Py_INCREF(Py_None
);
2481 _resultobj
= Py_None
;
2485 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2486 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
* _resultobj
;
2488 wxPageSetupDialogData
* _arg0
;
2490 PyObject
* _argo0
= 0;
2492 char *_kwnames
[] = { "self","flag", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2504 _arg1
= (bool ) tempbool1
;
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) return NULL
;
2511 } Py_INCREF(Py_None
);
2512 _resultobj
= Py_None
;
2516 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2517 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
* _resultobj
;
2519 wxPageSetupDialogData
* _arg0
;
2521 PyObject
* _argo0
= 0;
2523 PyObject
* _obj1
= 0;
2524 char *_kwnames
[] = { "self","pt", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2538 if (! wxPoint_helper(_obj1
, &_arg1
))
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) return NULL
;
2547 } Py_INCREF(Py_None
);
2548 _resultobj
= Py_None
;
2552 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2553 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
* _resultobj
;
2555 wxPageSetupDialogData
* _arg0
;
2557 PyObject
* _argo0
= 0;
2559 PyObject
* _obj1
= 0;
2560 char *_kwnames
[] = { "self","pt", NULL
};
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2574 if (! wxPoint_helper(_obj1
, &_arg1
))
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) return NULL
;
2583 } Py_INCREF(Py_None
);
2584 _resultobj
= Py_None
;
2588 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2589 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2591 wxPageSetupDialogData
* _arg0
;
2593 PyObject
* _argo0
= 0;
2595 PyObject
* _obj1
= 0;
2596 char *_kwnames
[] = { "self","pt", NULL
};
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2610 if (! wxPoint_helper(_obj1
, &_arg1
))
2614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2615 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2617 wxPyEndAllowThreads(__tstate
);
2618 if (PyErr_Occurred()) return NULL
;
2619 } Py_INCREF(Py_None
);
2620 _resultobj
= Py_None
;
2624 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2625 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2627 wxPageSetupDialogData
* _arg0
;
2629 PyObject
* _argo0
= 0;
2631 PyObject
* _obj1
= 0;
2632 char *_kwnames
[] = { "self","pt", NULL
};
2635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2646 if (! wxPoint_helper(_obj1
, &_arg1
))
2650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2651 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2653 wxPyEndAllowThreads(__tstate
);
2654 if (PyErr_Occurred()) return NULL
;
2655 } Py_INCREF(Py_None
);
2656 _resultobj
= Py_None
;
2660 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2661 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2663 wxPageSetupDialogData
* _arg0
;
2665 PyObject
* _argo0
= 0;
2666 char *_kwnames
[] = { "self","id", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2680 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) return NULL
;
2684 } Py_INCREF(Py_None
);
2685 _resultobj
= Py_None
;
2689 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2690 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
* _resultobj
;
2692 wxPageSetupDialogData
* _arg0
;
2694 PyObject
* _argo0
= 0;
2696 PyObject
* _obj1
= 0;
2697 char *_kwnames
[] = { "self","size", NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2711 if (! wxSize_helper(_obj1
, &_arg1
))
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) return NULL
;
2720 } Py_INCREF(Py_None
);
2721 _resultobj
= Py_None
;
2725 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2726 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
* _resultobj
;
2728 wxPageSetupDialogData
* _arg0
;
2729 wxPrintData
* _arg1
;
2730 PyObject
* _argo0
= 0;
2731 PyObject
* _argo1
= 0;
2732 char *_kwnames
[] = { "self","printData", NULL
};
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2745 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) return NULL
;
2756 } Py_INCREF(Py_None
);
2757 _resultobj
= Py_None
;
2761 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2762 wxPageSetupDialog
*src
;
2764 src
= (wxPageSetupDialog
*) ptr
;
2765 dest
= (wxDialog
*) src
;
2766 return (void *) dest
;
2769 static void *SwigwxPageSetupDialogTowxTopLevelWindow(void *ptr
) {
2770 wxPageSetupDialog
*src
;
2771 wxTopLevelWindow
*dest
;
2772 src
= (wxPageSetupDialog
*) ptr
;
2773 dest
= (wxTopLevelWindow
*) src
;
2774 return (void *) dest
;
2777 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2778 wxPageSetupDialog
*src
;
2780 src
= (wxPageSetupDialog
*) ptr
;
2781 dest
= (wxWindow
*) src
;
2782 return (void *) dest
;
2785 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2786 wxPageSetupDialog
*src
;
2788 src
= (wxPageSetupDialog
*) ptr
;
2789 dest
= (wxEvtHandler
*) src
;
2790 return (void *) dest
;
2793 static void *SwigwxPageSetupDialogTowxObject(void *ptr
) {
2794 wxPageSetupDialog
*src
;
2796 src
= (wxPageSetupDialog
*) ptr
;
2797 dest
= (wxObject
*) src
;
2798 return (void *) dest
;
2801 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2802 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
* _resultobj
;
2804 wxPageSetupDialog
* _result
;
2806 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2807 PyObject
* _argo0
= 0;
2808 PyObject
* _argo1
= 0;
2809 char *_kwnames
[] = { "parent","data", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2823 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2824 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2831 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2833 wxPyEndAllowThreads(__tstate
);
2834 if (PyErr_Occurred()) return NULL
;
2836 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2837 _resultobj
= Py_BuildValue("s",_ptemp
);
2840 _resultobj
= Py_None
;
2845 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2846 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2848 wxPageSetupDialogData
* _result
;
2849 wxPageSetupDialog
* _arg0
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2867 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) return NULL
;
2872 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2873 _resultobj
= Py_BuildValue("s",_ptemp
);
2876 _resultobj
= Py_None
;
2881 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2882 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
* _resultobj
;
2885 wxPageSetupDialog
* _arg0
;
2886 PyObject
* _argo0
= 0;
2887 char *_kwnames
[] = { "self", NULL
};
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
2893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2901 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
2903 wxPyEndAllowThreads(__tstate
);
2904 if (PyErr_Occurred()) return NULL
;
2905 } _resultobj
= Py_BuildValue("i",_result
);
2909 static void *SwigwxPrintDialogDataTowxObject(void *ptr
) {
2910 wxPrintDialogData
*src
;
2912 src
= (wxPrintDialogData
*) ptr
;
2913 dest
= (wxObject
*) src
;
2914 return (void *) dest
;
2917 #define new_wxPrintDialogData() (new wxPrintDialogData())
2918 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2920 wxPrintDialogData
* _result
;
2921 char *_kwnames
[] = { NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) return NULL
;
2934 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2935 _resultobj
= Py_BuildValue("s",_ptemp
);
2938 _resultobj
= Py_None
;
2943 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2944 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2946 wxPrintDialogData
* _arg0
;
2947 PyObject
* _argo0
= 0;
2948 char *_kwnames
[] = { "self", NULL
};
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
2954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 delete_wxPrintDialogData(_arg0
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) return NULL
;
2966 } Py_INCREF(Py_None
);
2967 _resultobj
= Py_None
;
2971 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
2972 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2975 wxPrintDialogData
* _arg0
;
2976 PyObject
* _argo0
= 0;
2977 char *_kwnames
[] = { "self", NULL
};
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
2983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
2990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2991 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
2993 wxPyEndAllowThreads(__tstate
);
2994 if (PyErr_Occurred()) return NULL
;
2995 } _resultobj
= Py_BuildValue("i",_result
);
2999 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3000 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
* _resultobj
;
3003 wxPrintDialogData
* _arg0
;
3004 PyObject
* _argo0
= 0;
3005 char *_kwnames
[] = { "self", NULL
};
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
3011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) return NULL
;
3023 } _resultobj
= Py_BuildValue("i",_result
);
3027 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3028 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
* _resultobj
;
3031 wxPrintDialogData
* _arg0
;
3032 PyObject
* _argo0
= 0;
3033 char *_kwnames
[] = { "self", NULL
};
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
3039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) return NULL
;
3051 } _resultobj
= Py_BuildValue("i",_result
);
3055 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3056 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
* _resultobj
;
3059 wxPrintDialogData
* _arg0
;
3060 PyObject
* _argo0
= 0;
3061 char *_kwnames
[] = { "self", NULL
};
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
3067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
3074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3075 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) return NULL
;
3079 } _resultobj
= Py_BuildValue("i",_result
);
3083 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3084 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
* _resultobj
;
3087 wxPrintDialogData
* _arg0
;
3088 PyObject
* _argo0
= 0;
3089 char *_kwnames
[] = { "self", NULL
};
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
3095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) return NULL
;
3107 } _resultobj
= Py_BuildValue("i",_result
);
3111 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
3112 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
* _resultobj
;
3115 wxPrintDialogData
* _arg0
;
3116 PyObject
* _argo0
= 0;
3117 char *_kwnames
[] = { "self", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) return NULL
;
3135 } _resultobj
= Py_BuildValue("i",_result
);
3139 #define wxPrintDialogData_GetSelection(_swigobj) (_swigobj->GetSelection())
3140 static PyObject
*_wrap_wxPrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
* _resultobj
;
3143 wxPrintDialogData
* _arg0
;
3144 PyObject
* _argo0
= 0;
3145 char *_kwnames
[] = { "self", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetSelection",_kwnames
,&_argo0
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetSelection. Expected _wxPrintDialogData_p.");
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 _result
= (bool )wxPrintDialogData_GetSelection(_arg0
);
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) return NULL
;
3163 } _resultobj
= Py_BuildValue("i",_result
);
3167 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
3168 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3171 wxPrintDialogData
* _arg0
;
3172 PyObject
* _argo0
= 0;
3173 char *_kwnames
[] = { "self", NULL
};
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
3179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) return NULL
;
3191 } _resultobj
= Py_BuildValue("i",_result
);
3195 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3196 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
* _resultobj
;
3199 wxPrintDialogData
* _arg0
;
3200 PyObject
* _argo0
= 0;
3201 char *_kwnames
[] = { "self", NULL
};
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
3207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) return NULL
;
3219 } _resultobj
= Py_BuildValue("i",_result
);
3223 #define wxPrintDialogData_GetSetupDialog(_swigobj) (_swigobj->GetSetupDialog())
3224 static PyObject
*_wrap_wxPrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
* _resultobj
;
3227 wxPrintDialogData
* _arg0
;
3228 PyObject
* _argo0
= 0;
3229 char *_kwnames
[] = { "self", NULL
};
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetSetupDialog",_kwnames
,&_argo0
))
3235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetSetupDialog. Expected _wxPrintDialogData_p.");
3242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3243 _result
= (bool )wxPrintDialogData_GetSetupDialog(_arg0
);
3245 wxPyEndAllowThreads(__tstate
);
3246 if (PyErr_Occurred()) return NULL
;
3247 } _resultobj
= Py_BuildValue("i",_result
);
3251 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3252 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
* _resultobj
;
3254 wxPrintDialogData
* _arg0
;
3256 PyObject
* _argo0
= 0;
3257 char *_kwnames
[] = { "self","v", NULL
};
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
3263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) return NULL
;
3275 } Py_INCREF(Py_None
);
3276 _resultobj
= Py_None
;
3280 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3281 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
* _resultobj
;
3283 wxPrintDialogData
* _arg0
;
3285 PyObject
* _argo0
= 0;
3286 char *_kwnames
[] = { "self","v", NULL
};
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) return NULL
;
3304 } Py_INCREF(Py_None
);
3305 _resultobj
= Py_None
;
3309 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3310 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
* _resultobj
;
3312 wxPrintDialogData
* _arg0
;
3314 PyObject
* _argo0
= 0;
3315 char *_kwnames
[] = { "self","v", NULL
};
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) return NULL
;
3333 } Py_INCREF(Py_None
);
3334 _resultobj
= Py_None
;
3338 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3339 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
* _resultobj
;
3341 wxPrintDialogData
* _arg0
;
3343 PyObject
* _argo0
= 0;
3344 char *_kwnames
[] = { "self","v", NULL
};
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
3350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) return NULL
;
3362 } Py_INCREF(Py_None
);
3363 _resultobj
= Py_None
;
3367 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3368 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3370 wxPrintDialogData
* _arg0
;
3372 PyObject
* _argo0
= 0;
3373 char *_kwnames
[] = { "self","v", NULL
};
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
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_SetNoCopies. Expected _wxPrintDialogData_p.");
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) return NULL
;
3391 } Py_INCREF(Py_None
);
3392 _resultobj
= Py_None
;
3396 #define wxPrintDialogData_SetAllPages(_swigobj,_swigarg0) (_swigobj->SetAllPages(_swigarg0))
3397 static PyObject
*_wrap_wxPrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
* _resultobj
;
3399 wxPrintDialogData
* _arg0
;
3401 PyObject
* _argo0
= 0;
3403 char *_kwnames
[] = { "self","flag", NULL
};
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetAllPages",_kwnames
,&_argo0
,&tempbool1
))
3409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetAllPages. Expected _wxPrintDialogData_p.");
3415 _arg1
= (bool ) tempbool1
;
3417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3418 wxPrintDialogData_SetAllPages(_arg0
,_arg1
);
3420 wxPyEndAllowThreads(__tstate
);
3421 if (PyErr_Occurred()) return NULL
;
3422 } Py_INCREF(Py_None
);
3423 _resultobj
= Py_None
;
3427 #define wxPrintDialogData_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3428 static PyObject
*_wrap_wxPrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
* _resultobj
;
3430 wxPrintDialogData
* _arg0
;
3432 PyObject
* _argo0
= 0;
3434 char *_kwnames
[] = { "self","flag", NULL
};
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSelection",_kwnames
,&_argo0
,&tempbool1
))
3440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSelection. Expected _wxPrintDialogData_p.");
3446 _arg1
= (bool ) tempbool1
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 wxPrintDialogData_SetSelection(_arg0
,_arg1
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) return NULL
;
3453 } Py_INCREF(Py_None
);
3454 _resultobj
= Py_None
;
3458 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3459 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
* _resultobj
;
3461 wxPrintDialogData
* _arg0
;
3463 PyObject
* _argo0
= 0;
3465 char *_kwnames
[] = { "self","flag", NULL
};
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
3471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3477 _arg1
= (bool ) tempbool1
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) return NULL
;
3484 } Py_INCREF(Py_None
);
3485 _resultobj
= Py_None
;
3489 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3490 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
* _resultobj
;
3492 wxPrintDialogData
* _arg0
;
3494 PyObject
* _argo0
= 0;
3496 char *_kwnames
[] = { "self","flag", NULL
};
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3508 _arg1
= (bool ) tempbool1
;
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) return NULL
;
3515 } Py_INCREF(Py_None
);
3516 _resultobj
= Py_None
;
3520 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3521 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
* _resultobj
;
3523 wxPrintDialogData
* _arg0
;
3525 PyObject
* _argo0
= 0;
3527 char *_kwnames
[] = { "self","flag", NULL
};
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3539 _arg1
= (bool ) tempbool1
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) return NULL
;
3546 } Py_INCREF(Py_None
);
3547 _resultobj
= Py_None
;
3551 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
3552 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
* _resultobj
;
3554 wxPrintDialogData
* _arg0
;
3556 PyObject
* _argo0
= 0;
3558 char *_kwnames
[] = { "self","flag", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
3570 _arg1
= (bool ) tempbool1
;
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) return NULL
;
3577 } Py_INCREF(Py_None
);
3578 _resultobj
= Py_None
;
3582 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
3583 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3585 wxPrintDialogData
* _arg0
;
3587 PyObject
* _argo0
= 0;
3589 char *_kwnames
[] = { "self","flag", NULL
};
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
3595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
3601 _arg1
= (bool ) tempbool1
;
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) return NULL
;
3608 } Py_INCREF(Py_None
);
3609 _resultobj
= Py_None
;
3613 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
3614 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3616 wxPrintDialogData
* _arg0
;
3618 PyObject
* _argo0
= 0;
3620 char *_kwnames
[] = { "self","flag", NULL
};
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
3626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
3632 _arg1
= (bool ) tempbool1
;
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) return NULL
;
3639 } Py_INCREF(Py_None
);
3640 _resultobj
= Py_None
;
3644 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
3645 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
* _resultobj
;
3647 wxPrintDialogData
* _arg0
;
3649 PyObject
* _argo0
= 0;
3651 char *_kwnames
[] = { "self","flag", NULL
};
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
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_EnableHelp. Expected _wxPrintDialogData_p.");
3663 _arg1
= (bool ) tempbool1
;
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) return NULL
;
3670 } Py_INCREF(Py_None
);
3671 _resultobj
= Py_None
;
3675 #define wxPrintDialogData_GetEnablePrintToFile(_swigobj) (_swigobj->GetEnablePrintToFile())
3676 static PyObject
*_wrap_wxPrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3679 wxPrintDialogData
* _arg0
;
3680 PyObject
* _argo0
= 0;
3681 char *_kwnames
[] = { "self", NULL
};
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetEnablePrintToFile",_kwnames
,&_argo0
))
3687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetEnablePrintToFile. Expected _wxPrintDialogData_p.");
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 _result
= (bool )wxPrintDialogData_GetEnablePrintToFile(_arg0
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) return NULL
;
3699 } _resultobj
= Py_BuildValue("i",_result
);
3703 #define wxPrintDialogData_GetEnableSelection(_swigobj) (_swigobj->GetEnableSelection())
3704 static PyObject
*_wrap_wxPrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
* _resultobj
;
3707 wxPrintDialogData
* _arg0
;
3708 PyObject
* _argo0
= 0;
3709 char *_kwnames
[] = { "self", NULL
};
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetEnableSelection",_kwnames
,&_argo0
))
3715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetEnableSelection. Expected _wxPrintDialogData_p.");
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 _result
= (bool )wxPrintDialogData_GetEnableSelection(_arg0
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) return NULL
;
3727 } _resultobj
= Py_BuildValue("i",_result
);
3731 #define wxPrintDialogData_GetEnablePageNumbers(_swigobj) (_swigobj->GetEnablePageNumbers())
3732 static PyObject
*_wrap_wxPrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
* _resultobj
;
3735 wxPrintDialogData
* _arg0
;
3736 PyObject
* _argo0
= 0;
3737 char *_kwnames
[] = { "self", NULL
};
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetEnablePageNumbers",_kwnames
,&_argo0
))
3743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetEnablePageNumbers. Expected _wxPrintDialogData_p.");
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 _result
= (bool )wxPrintDialogData_GetEnablePageNumbers(_arg0
);
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) return NULL
;
3755 } _resultobj
= Py_BuildValue("i",_result
);
3759 #define wxPrintDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
3760 static PyObject
*_wrap_wxPrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
* _resultobj
;
3763 wxPrintDialogData
* _arg0
;
3764 PyObject
* _argo0
= 0;
3765 char *_kwnames
[] = { "self", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetEnableHelp",_kwnames
,&_argo0
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetEnableHelp. Expected _wxPrintDialogData_p.");
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 _result
= (bool )wxPrintDialogData_GetEnableHelp(_arg0
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) return NULL
;
3783 } _resultobj
= Py_BuildValue("i",_result
);
3787 #define wxPrintDialogData_Ok(_swigobj) (_swigobj->Ok())
3788 static PyObject
*_wrap_wxPrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
* _resultobj
;
3791 wxPrintDialogData
* _arg0
;
3792 PyObject
* _argo0
= 0;
3793 char *_kwnames
[] = { "self", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_Ok",_kwnames
,&_argo0
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_Ok. Expected _wxPrintDialogData_p.");
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 _result
= (bool )wxPrintDialogData_Ok(_arg0
);
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) return NULL
;
3811 } _resultobj
= Py_BuildValue("i",_result
);
3815 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
3816 return new wxPrintData(self
->GetPrintData()); // force a copy
3818 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
* _resultobj
;
3820 wxPrintData
* _result
;
3821 wxPrintDialogData
* _arg0
;
3822 PyObject
* _argo0
= 0;
3823 char *_kwnames
[] = { "self", NULL
};
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
3830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) return NULL
;
3843 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
3844 _resultobj
= Py_BuildValue("s",_ptemp
);
3847 _resultobj
= Py_None
;
3852 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3853 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
* _resultobj
;
3855 wxPrintDialogData
* _arg0
;
3856 wxPrintData
* _arg1
;
3857 PyObject
* _argo0
= 0;
3858 PyObject
* _argo1
= 0;
3859 char *_kwnames
[] = { "self","printData", NULL
};
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
3865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3872 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) return NULL
;
3883 } Py_INCREF(Py_None
);
3884 _resultobj
= Py_None
;
3888 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3891 src
= (wxPrintDialog
*) ptr
;
3892 dest
= (wxDialog
*) src
;
3893 return (void *) dest
;
3896 static void *SwigwxPrintDialogTowxTopLevelWindow(void *ptr
) {
3898 wxTopLevelWindow
*dest
;
3899 src
= (wxPrintDialog
*) ptr
;
3900 dest
= (wxTopLevelWindow
*) src
;
3901 return (void *) dest
;
3904 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3907 src
= (wxPrintDialog
*) ptr
;
3908 dest
= (wxWindow
*) src
;
3909 return (void *) dest
;
3912 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3915 src
= (wxPrintDialog
*) ptr
;
3916 dest
= (wxEvtHandler
*) src
;
3917 return (void *) dest
;
3920 static void *SwigwxPrintDialogTowxObject(void *ptr
) {
3923 src
= (wxPrintDialog
*) ptr
;
3924 dest
= (wxObject
*) src
;
3925 return (void *) dest
;
3928 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3929 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
* _resultobj
;
3931 wxPrintDialog
* _result
;
3933 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
3934 PyObject
* _argo0
= 0;
3935 PyObject
* _argo1
= 0;
3936 char *_kwnames
[] = { "parent","data", NULL
};
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
3943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3950 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3951 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
3952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) return NULL
;
3963 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3964 _resultobj
= Py_BuildValue("s",_ptemp
);
3967 _resultobj
= Py_None
;
3972 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3973 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
* _resultobj
;
3975 wxPrintDialogData
* _result
;
3976 wxPrintDialog
* _arg0
;
3977 PyObject
* _argo0
= 0;
3978 char *_kwnames
[] = { "self", NULL
};
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
3985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
3994 _result
= (wxPrintDialogData
*) &_result_ref
;
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) return NULL
;
3999 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4000 _resultobj
= Py_BuildValue("s",_ptemp
);
4003 _resultobj
= Py_None
;
4008 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
4009 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4012 wxPrintDialog
* _arg0
;
4013 PyObject
* _argo0
= 0;
4014 char *_kwnames
[] = { "self", NULL
};
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
4020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) return NULL
;
4032 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4036 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4037 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
* _resultobj
;
4040 wxPrintDialog
* _arg0
;
4041 PyObject
* _argo0
= 0;
4042 char *_kwnames
[] = { "self", NULL
};
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
4048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) return NULL
;
4060 } _resultobj
= Py_BuildValue("i",_result
);
4064 static void *SwigwxPyPrintoutTowxObject(void *ptr
) {
4067 src
= (wxPyPrintout
*) ptr
;
4068 dest
= (wxObject
*) src
;
4069 return (void *) dest
;
4072 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
4073 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
* _resultobj
;
4075 wxPyPrintout
* _result
;
4076 wxString
* _arg0
= (wxString
*) &wxPyPrintoutTitleStr
;
4077 PyObject
* _obj0
= 0;
4078 char *_kwnames
[] = { "title", NULL
};
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrintout",_kwnames
,&_obj0
))
4086 _arg0
= wxString_in_helper(_obj0
);
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 _result
= (wxPyPrintout
*)new_wxPrintout(*_arg0
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) return NULL
;
4097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
4098 _resultobj
= Py_BuildValue("s",_ptemp
);
4101 _resultobj
= Py_None
;
4110 #define wxPrintout__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4111 static PyObject
*_wrap_wxPrintout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
* _resultobj
;
4113 wxPyPrintout
* _arg0
;
4116 PyObject
* _argo0
= 0;
4117 PyObject
* _obj1
= 0;
4118 PyObject
* _obj2
= 0;
4119 char *_kwnames
[] = { "self","self","_class", NULL
};
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setCallbackInfo. Expected _wxPyPrintout_p.");
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 wxPrintout__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) return NULL
;
4143 } Py_INCREF(Py_None
);
4144 _resultobj
= Py_None
;
4148 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
4149 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
* _resultobj
;
4151 wxPyPrintout
* _arg0
;
4152 PyObject
* _argo0
= 0;
4153 char *_kwnames
[] = { "self", NULL
};
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
4159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 wxPyPrintout_Destroy(_arg0
);
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) return NULL
;
4171 } Py_INCREF(Py_None
);
4172 _resultobj
= Py_None
;
4176 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
4177 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
* _resultobj
;
4180 wxPyPrintout
* _arg0
;
4181 PyObject
* _argo0
= 0;
4182 char *_kwnames
[] = { "self", NULL
};
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
4188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) return NULL
;
4200 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4204 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
4205 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
* _resultobj
;
4207 wxPyPrintout
* _arg0
;
4212 PyObject
* _argo0
= 0;
4213 char *_kwnames
[] = { "self", NULL
};
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
4225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) return NULL
;
4237 } Py_INCREF(Py_None
);
4238 _resultobj
= Py_None
;
4241 o
= PyInt_FromLong((long) (*_arg1
));
4242 _resultobj
= t_output_helper(_resultobj
, o
);
4246 o
= PyInt_FromLong((long) (*_arg2
));
4247 _resultobj
= t_output_helper(_resultobj
, o
);
4252 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
4253 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
* _resultobj
;
4255 wxPyPrintout
* _arg0
;
4260 PyObject
* _argo0
= 0;
4261 char *_kwnames
[] = { "self", NULL
};
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
4273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) return NULL
;
4285 } Py_INCREF(Py_None
);
4286 _resultobj
= Py_None
;
4289 o
= PyInt_FromLong((long) (*_arg1
));
4290 _resultobj
= t_output_helper(_resultobj
, o
);
4294 o
= PyInt_FromLong((long) (*_arg2
));
4295 _resultobj
= t_output_helper(_resultobj
, o
);
4300 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
4301 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
* _resultobj
;
4303 wxPyPrintout
* _arg0
;
4308 PyObject
* _argo0
= 0;
4309 char *_kwnames
[] = { "self", NULL
};
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
4321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) return NULL
;
4333 } Py_INCREF(Py_None
);
4334 _resultobj
= Py_None
;
4337 o
= PyInt_FromLong((long) (*_arg1
));
4338 _resultobj
= t_output_helper(_resultobj
, o
);
4342 o
= PyInt_FromLong((long) (*_arg2
));
4343 _resultobj
= t_output_helper(_resultobj
, o
);
4348 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
4349 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
* _resultobj
;
4351 wxPyPrintout
* _arg0
;
4356 PyObject
* _argo0
= 0;
4357 char *_kwnames
[] = { "self", NULL
};
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
4369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) return NULL
;
4381 } Py_INCREF(Py_None
);
4382 _resultobj
= Py_None
;
4385 o
= PyInt_FromLong((long) (*_arg1
));
4386 _resultobj
= t_output_helper(_resultobj
, o
);
4390 o
= PyInt_FromLong((long) (*_arg2
));
4391 _resultobj
= t_output_helper(_resultobj
, o
);
4396 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
4397 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
* _resultobj
;
4400 wxPyPrintout
* _arg0
;
4401 PyObject
* _argo0
= 0;
4402 char *_kwnames
[] = { "self", NULL
};
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
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_IsPreview. Expected _wxPyPrintout_p.");
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 _result
= (bool )wxPrintout_IsPreview(_arg0
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) return NULL
;
4420 } _resultobj
= Py_BuildValue("i",_result
);
4424 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
4425 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
* _resultobj
;
4428 wxPyPrintout
* _arg0
;
4431 PyObject
* _argo0
= 0;
4432 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) return NULL
;
4450 } _resultobj
= Py_BuildValue("i",_result
);
4454 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
4455 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
* _resultobj
;
4457 wxPyPrintout
* _arg0
;
4458 PyObject
* _argo0
= 0;
4459 char *_kwnames
[] = { "self", NULL
};
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
4465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 wxPrintout_base_OnEndDocument(_arg0
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) return NULL
;
4477 } Py_INCREF(Py_None
);
4478 _resultobj
= Py_None
;
4482 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
4483 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
* _resultobj
;
4485 wxPyPrintout
* _arg0
;
4486 PyObject
* _argo0
= 0;
4487 char *_kwnames
[] = { "self", NULL
};
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
4493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 wxPrintout_base_OnBeginPrinting(_arg0
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) return NULL
;
4505 } Py_INCREF(Py_None
);
4506 _resultobj
= Py_None
;
4510 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
4511 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
* _resultobj
;
4513 wxPyPrintout
* _arg0
;
4514 PyObject
* _argo0
= 0;
4515 char *_kwnames
[] = { "self", NULL
};
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
4521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 wxPrintout_base_OnEndPrinting(_arg0
);
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) return NULL
;
4533 } Py_INCREF(Py_None
);
4534 _resultobj
= Py_None
;
4538 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4539 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
* _resultobj
;
4541 wxPyPrintout
* _arg0
;
4542 PyObject
* _argo0
= 0;
4543 char *_kwnames
[] = { "self", NULL
};
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
4549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 wxPrintout_base_OnPreparePrinting(_arg0
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) return NULL
;
4561 } Py_INCREF(Py_None
);
4562 _resultobj
= Py_None
;
4566 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4567 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
* _resultobj
;
4569 wxPyPrintout
* _arg0
;
4578 PyObject
* _argo0
= 0;
4579 char *_kwnames
[] = { "self", NULL
};
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
4597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4605 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) return NULL
;
4609 } Py_INCREF(Py_None
);
4610 _resultobj
= Py_None
;
4613 o
= PyInt_FromLong((long) (*_arg1
));
4614 _resultobj
= t_output_helper(_resultobj
, o
);
4618 o
= PyInt_FromLong((long) (*_arg2
));
4619 _resultobj
= t_output_helper(_resultobj
, o
);
4623 o
= PyInt_FromLong((long) (*_arg3
));
4624 _resultobj
= t_output_helper(_resultobj
, o
);
4628 o
= PyInt_FromLong((long) (*_arg4
));
4629 _resultobj
= t_output_helper(_resultobj
, o
);
4634 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4635 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
* _resultobj
;
4638 wxPyPrintout
* _arg0
;
4640 PyObject
* _argo0
= 0;
4641 char *_kwnames
[] = { "self","page", NULL
};
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
4647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) return NULL
;
4659 } _resultobj
= Py_BuildValue("i",_result
);
4663 static void *SwigwxPrinterTowxObject(void *ptr
) {
4666 src
= (wxPrinter
*) ptr
;
4667 dest
= (wxObject
*) src
;
4668 return (void *) dest
;
4671 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4672 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
* _resultobj
;
4674 wxPrinter
* _result
;
4675 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
4676 PyObject
* _argo0
= 0;
4677 char *_kwnames
[] = { "data", NULL
};
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
4684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) return NULL
;
4697 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4698 _resultobj
= Py_BuildValue("s",_ptemp
);
4701 _resultobj
= Py_None
;
4706 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4707 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
* _resultobj
;
4710 PyObject
* _argo0
= 0;
4711 char *_kwnames
[] = { "self", NULL
};
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
4717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 delete_wxPrinter(_arg0
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) return NULL
;
4729 } Py_INCREF(Py_None
);
4730 _resultobj
= Py_None
;
4734 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4735 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
* _resultobj
;
4739 wxPyPrintout
* _arg2
;
4740 PyObject
* _argo0
= 0;
4741 PyObject
* _argo1
= 0;
4742 PyObject
* _argo2
= 0;
4743 char *_kwnames
[] = { "self","parent","printout", NULL
};
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4756 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4757 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4763 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4764 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) return NULL
;
4775 } Py_INCREF(Py_None
);
4776 _resultobj
= Py_None
;
4780 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4781 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
* _resultobj
;
4783 wxPrintDialogData
* _result
;
4785 PyObject
* _argo0
= 0;
4786 char *_kwnames
[] = { "self", NULL
};
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4802 _result
= (wxPrintDialogData
*) &_result_ref
;
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) return NULL
;
4807 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4808 _resultobj
= Py_BuildValue("s",_ptemp
);
4811 _resultobj
= Py_None
;
4816 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4817 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
* _resultobj
;
4822 wxPyPrintout
* _arg2
;
4823 int _arg3
= (int ) TRUE
;
4824 PyObject
* _argo0
= 0;
4825 PyObject
* _argo1
= 0;
4826 PyObject
* _argo2
= 0;
4827 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4840 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4841 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4847 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4848 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) return NULL
;
4859 } _resultobj
= Py_BuildValue("i",_result
);
4863 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4864 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
* _resultobj
;
4869 PyObject
* _argo0
= 0;
4870 PyObject
* _argo1
= 0;
4871 char *_kwnames
[] = { "self","parent", NULL
};
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4884 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4885 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) return NULL
;
4896 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4900 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4901 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
* _resultobj
;
4905 wxPyPrintout
* _arg2
;
4907 PyObject
* _argo0
= 0;
4908 PyObject
* _argo1
= 0;
4909 PyObject
* _argo2
= 0;
4910 PyObject
* _obj3
= 0;
4911 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
))
4917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4924 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4925 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4931 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4932 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4938 _arg3
= wxString_in_helper(_obj3
);
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,*_arg3
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) return NULL
;
4948 } Py_INCREF(Py_None
);
4949 _resultobj
= Py_None
;
4957 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4958 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
* _resultobj
;
4963 PyObject
* _argo0
= 0;
4964 PyObject
* _argo1
= 0;
4965 char *_kwnames
[] = { "self","parent", NULL
};
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
4971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4978 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4979 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) return NULL
;
4990 } _resultobj
= Py_BuildValue("i",_result
);
4994 #define wxPrinter_GetAbort(_swigobj) (_swigobj->GetAbort())
4995 static PyObject
*_wrap_wxPrinter_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
* _resultobj
;
4999 PyObject
* _argo0
= 0;
5000 char *_kwnames
[] = { "self", NULL
};
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetAbort",_kwnames
,&_argo0
))
5006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
5008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetAbort. Expected _wxPrinter_p.");
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 _result
= (bool )wxPrinter_GetAbort(_arg0
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) return NULL
;
5018 } _resultobj
= Py_BuildValue("i",_result
);
5022 static PyObject
*_wrap_wxPrinter_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
* _resultobj
;
5024 wxPrinterError _result
;
5025 char *_kwnames
[] = { NULL
};
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxPrinter_GetLastError",_kwnames
))
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 _result
= (wxPrinterError
)wxPrinter::GetLastError();
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) return NULL
;
5036 } _resultobj
= Py_BuildValue("i",_result
);
5040 static void *SwigwxPrintAbortDialogTowxDialog(void *ptr
) {
5041 wxPrintAbortDialog
*src
;
5043 src
= (wxPrintAbortDialog
*) ptr
;
5044 dest
= (wxDialog
*) src
;
5045 return (void *) dest
;
5048 static void *SwigwxPrintAbortDialogTowxTopLevelWindow(void *ptr
) {
5049 wxPrintAbortDialog
*src
;
5050 wxTopLevelWindow
*dest
;
5051 src
= (wxPrintAbortDialog
*) ptr
;
5052 dest
= (wxTopLevelWindow
*) src
;
5053 return (void *) dest
;
5056 static void *SwigwxPrintAbortDialogTowxWindow(void *ptr
) {
5057 wxPrintAbortDialog
*src
;
5059 src
= (wxPrintAbortDialog
*) ptr
;
5060 dest
= (wxWindow
*) src
;
5061 return (void *) dest
;
5064 static void *SwigwxPrintAbortDialogTowxEvtHandler(void *ptr
) {
5065 wxPrintAbortDialog
*src
;
5067 src
= (wxPrintAbortDialog
*) ptr
;
5068 dest
= (wxEvtHandler
*) src
;
5069 return (void *) dest
;
5072 static void *SwigwxPrintAbortDialogTowxObject(void *ptr
) {
5073 wxPrintAbortDialog
*src
;
5075 src
= (wxPrintAbortDialog
*) ptr
;
5076 dest
= (wxObject
*) src
;
5077 return (void *) dest
;
5080 #define new_wxPrintAbortDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPrintAbortDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5081 static PyObject
*_wrap_new_wxPrintAbortDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
* _resultobj
;
5083 wxPrintAbortDialog
* _result
;
5086 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5087 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5088 long _arg4
= (long ) 0;
5089 wxString
* _arg5
= (wxString
*) &wxPyDialogNameStr
;
5090 PyObject
* _argo0
= 0;
5091 PyObject
* _obj1
= 0;
5093 PyObject
* _obj2
= 0;
5095 PyObject
* _obj3
= 0;
5096 PyObject
* _obj5
= 0;
5097 char *_kwnames
[] = { "parent","title","pos","size","style","name", NULL
};
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOlO:new_wxPrintAbortDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
5104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintAbortDialog. Expected _wxWindow_p.");
5111 _arg1
= wxString_in_helper(_obj1
);
5118 if (! wxPoint_helper(_obj2
, &_arg2
))
5124 if (! wxSize_helper(_obj3
, &_arg3
))
5129 _arg5
= wxString_in_helper(_obj5
);
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 _result
= (wxPrintAbortDialog
*)new_wxPrintAbortDialog(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) return NULL
;
5140 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintAbortDialog_p");
5141 _resultobj
= Py_BuildValue("s",_ptemp
);
5144 _resultobj
= Py_None
;
5157 static void *SwigwxPrintPreviewTowxObject(void *ptr
) {
5158 wxPrintPreview
*src
;
5160 src
= (wxPrintPreview
*) ptr
;
5161 dest
= (wxObject
*) src
;
5162 return (void *) dest
;
5165 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
5166 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
* _resultobj
;
5168 wxPrintPreview
* _result
;
5169 wxPyPrintout
* _arg0
;
5170 wxPyPrintout
* _arg1
;
5171 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
5172 PyObject
* _argo0
= 0;
5173 PyObject
* _argo1
= 0;
5174 PyObject
* _argo2
= 0;
5175 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
5184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
5189 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5190 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
5191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
5196 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5197 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
5198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) return NULL
;
5209 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
5210 _resultobj
= Py_BuildValue("s",_ptemp
);
5213 _resultobj
= Py_None
;
5218 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
5219 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
* _resultobj
;
5222 wxPrintPreview
* _arg0
;
5224 PyObject
* _argo0
= 0;
5225 char *_kwnames
[] = { "self","pageNum", NULL
};
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
5231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 _result
= (bool )wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) return NULL
;
5243 } _resultobj
= Py_BuildValue("i",_result
);
5247 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
5248 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
* _resultobj
;
5251 wxPrintPreview
* _arg0
;
5252 PyObject
* _argo0
= 0;
5253 char *_kwnames
[] = { "self", NULL
};
5256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
5259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) return NULL
;
5271 } _resultobj
= Py_BuildValue("i",_result
);
5275 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
5276 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
* _resultobj
;
5278 wxPrintPreview
* _arg0
;
5279 wxPyPrintout
* _arg1
;
5280 PyObject
* _argo0
= 0;
5281 PyObject
* _argo1
= 0;
5282 char *_kwnames
[] = { "self","printout", NULL
};
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
5288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
5295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
5297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) return NULL
;
5307 } Py_INCREF(Py_None
);
5308 _resultobj
= Py_None
;
5312 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
5313 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
* _resultobj
;
5315 wxPyPrintout
* _result
;
5316 wxPrintPreview
* _arg0
;
5317 PyObject
* _argo0
= 0;
5318 char *_kwnames
[] = { "self", NULL
};
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
5324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) return NULL
;
5336 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5340 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
5341 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
* _resultobj
;
5343 wxPyPrintout
* _result
;
5344 wxPrintPreview
* _arg0
;
5345 PyObject
* _argo0
= 0;
5346 char *_kwnames
[] = { "self", NULL
};
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
5352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) return NULL
;
5364 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5368 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
5369 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
* _resultobj
;
5371 wxPrintPreview
* _arg0
;
5373 PyObject
* _argo0
= 0;
5374 PyObject
* _argo1
= 0;
5375 char *_kwnames
[] = { "self","frame", NULL
};
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
5381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
5388 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5389 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 wxPrintPreview_SetFrame(_arg0
,_arg1
);
5398 wxPyEndAllowThreads(__tstate
);
5399 if (PyErr_Occurred()) return NULL
;
5400 } Py_INCREF(Py_None
);
5401 _resultobj
= Py_None
;
5405 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
5406 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
* _resultobj
;
5408 wxPrintPreview
* _arg0
;
5409 wxPreviewCanvas
* _arg1
;
5410 PyObject
* _argo0
= 0;
5411 PyObject
* _argo1
= 0;
5412 char *_kwnames
[] = { "self","canvas", NULL
};
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
5418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
5425 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5426 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewCanvas_p")) {
5427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxPreviewCanvas_p.");
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) return NULL
;
5437 } Py_INCREF(Py_None
);
5438 _resultobj
= Py_None
;
5442 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
5443 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
* _resultobj
;
5446 wxPrintPreview
* _arg0
;
5447 PyObject
* _argo0
= 0;
5448 char *_kwnames
[] = { "self", NULL
};
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
5454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) return NULL
;
5466 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5470 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
5471 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
* _resultobj
;
5473 wxPreviewCanvas
* _result
;
5474 wxPrintPreview
* _arg0
;
5475 PyObject
* _argo0
= 0;
5476 char *_kwnames
[] = { "self", NULL
};
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
5483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 _result
= (wxPreviewCanvas
*)wxPrintPreview_GetCanvas(_arg0
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) return NULL
;
5496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewCanvas_p");
5497 _resultobj
= Py_BuildValue("s",_ptemp
);
5500 _resultobj
= Py_None
;
5505 #define wxPrintPreview_PaintPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintPage(_swigarg0,_swigarg1))
5506 static PyObject
*_wrap_wxPrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
* _resultobj
;
5509 wxPrintPreview
* _arg0
;
5510 wxPreviewCanvas
* _arg1
;
5512 PyObject
* _argo0
= 0;
5513 PyObject
* _argo1
= 0;
5514 PyObject
* _argo2
= 0;
5515 char *_kwnames
[] = { "self","canvas","dc", NULL
};
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintPreview_PaintPage",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_PaintPage. Expected _wxPrintPreview_p.");
5528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewCanvas_p")) {
5530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_PaintPage. Expected _wxPreviewCanvas_p.");
5535 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
5536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrintPreview_PaintPage. Expected _wxDC_p.");
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 _result
= (bool )wxPrintPreview_PaintPage(_arg0
,_arg1
,*_arg2
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) return NULL
;
5546 } _resultobj
= Py_BuildValue("i",_result
);
5550 #define wxPrintPreview_DrawBlankPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawBlankPage(_swigarg0,_swigarg1))
5551 static PyObject
*_wrap_wxPrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
* _resultobj
;
5554 wxPrintPreview
* _arg0
;
5555 wxPreviewCanvas
* _arg1
;
5557 PyObject
* _argo0
= 0;
5558 PyObject
* _argo1
= 0;
5559 PyObject
* _argo2
= 0;
5560 char *_kwnames
[] = { "self","canvas","dc", NULL
};
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintPreview_DrawBlankPage",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_DrawBlankPage. Expected _wxPrintPreview_p.");
5573 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5574 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewCanvas_p")) {
5575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_DrawBlankPage. Expected _wxPreviewCanvas_p.");
5580 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
5581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrintPreview_DrawBlankPage. Expected _wxDC_p.");
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 _result
= (bool )wxPrintPreview_DrawBlankPage(_arg0
,_arg1
,*_arg2
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) return NULL
;
5591 } _resultobj
= Py_BuildValue("i",_result
);
5595 #define wxPrintPreview_RenderPage(_swigobj,_swigarg0) (_swigobj->RenderPage(_swigarg0))
5596 static PyObject
*_wrap_wxPrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
* _resultobj
;
5599 wxPrintPreview
* _arg0
;
5601 PyObject
* _argo0
= 0;
5602 char *_kwnames
[] = { "self","pageNum", NULL
};
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_RenderPage",_kwnames
,&_argo0
,&_arg1
))
5608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_RenderPage. Expected _wxPrintPreview_p.");
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 _result
= (bool )wxPrintPreview_RenderPage(_arg0
,_arg1
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) return NULL
;
5620 } _resultobj
= Py_BuildValue("i",_result
);
5624 #define wxPrintPreview_AdjustScrollbars(_swigobj,_swigarg0) (_swigobj->AdjustScrollbars(_swigarg0))
5625 static PyObject
*_wrap_wxPrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
* _resultobj
;
5627 wxPrintPreview
* _arg0
;
5628 wxPreviewCanvas
* _arg1
;
5629 PyObject
* _argo0
= 0;
5630 PyObject
* _argo1
= 0;
5631 char *_kwnames
[] = { "self","canvas", NULL
};
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_AdjustScrollbars",_kwnames
,&_argo0
,&_argo1
))
5637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_AdjustScrollbars. Expected _wxPrintPreview_p.");
5644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewCanvas_p")) {
5646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_AdjustScrollbars. Expected _wxPreviewCanvas_p.");
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 wxPrintPreview_AdjustScrollbars(_arg0
,_arg1
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) return NULL
;
5656 } Py_INCREF(Py_None
);
5657 _resultobj
= Py_None
;
5661 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
5662 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
* _resultobj
;
5664 wxPrintDialogData
* _result
;
5665 wxPrintPreview
* _arg0
;
5666 PyObject
* _argo0
= 0;
5667 char *_kwnames
[] = { "self", NULL
};
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
5674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
5683 _result
= (wxPrintDialogData
*) &_result_ref
;
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) return NULL
;
5688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
5689 _resultobj
= Py_BuildValue("s",_ptemp
);
5692 _resultobj
= Py_None
;
5697 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
5698 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
* _resultobj
;
5700 wxPrintPreview
* _arg0
;
5702 PyObject
* _argo0
= 0;
5703 char *_kwnames
[] = { "self","percent", NULL
};
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
5709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 wxPrintPreview_SetZoom(_arg0
,_arg1
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) return NULL
;
5721 } Py_INCREF(Py_None
);
5722 _resultobj
= Py_None
;
5726 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
5727 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
* _resultobj
;
5730 wxPrintPreview
* _arg0
;
5731 PyObject
* _argo0
= 0;
5732 char *_kwnames
[] = { "self", NULL
};
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
5738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) return NULL
;
5750 } _resultobj
= Py_BuildValue("i",_result
);
5754 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
5755 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
* _resultobj
;
5758 wxPrintPreview
* _arg0
;
5759 PyObject
* _argo0
= 0;
5760 char *_kwnames
[] = { "self", NULL
};
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
5766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) return NULL
;
5778 } _resultobj
= Py_BuildValue("i",_result
);
5782 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
5783 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
* _resultobj
;
5786 wxPrintPreview
* _arg0
;
5787 PyObject
* _argo0
= 0;
5788 char *_kwnames
[] = { "self", NULL
};
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
5794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) return NULL
;
5806 } _resultobj
= Py_BuildValue("i",_result
);
5810 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
5811 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
* _resultobj
;
5814 wxPrintPreview
* _arg0
;
5815 PyObject
* _argo0
= 0;
5816 char *_kwnames
[] = { "self", NULL
};
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
5822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 _result
= (bool )wxPrintPreview_Ok(_arg0
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) return NULL
;
5834 } _resultobj
= Py_BuildValue("i",_result
);
5838 #define wxPrintPreview_SetOk(_swigobj,_swigarg0) (_swigobj->SetOk(_swigarg0))
5839 static PyObject
*_wrap_wxPrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
* _resultobj
;
5841 wxPrintPreview
* _arg0
;
5843 PyObject
* _argo0
= 0;
5845 char *_kwnames
[] = { "self","ok", NULL
};
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetOk",_kwnames
,&_argo0
,&tempbool1
))
5851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetOk. Expected _wxPrintPreview_p.");
5857 _arg1
= (bool ) tempbool1
;
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 wxPrintPreview_SetOk(_arg0
,_arg1
);
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) return NULL
;
5864 } Py_INCREF(Py_None
);
5865 _resultobj
= Py_None
;
5869 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
5870 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
* _resultobj
;
5873 wxPrintPreview
* _arg0
;
5875 PyObject
* _argo0
= 0;
5877 char *_kwnames
[] = { "self","interactive", NULL
};
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
5883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
5889 _arg1
= (bool ) tempbool1
;
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) return NULL
;
5896 } _resultobj
= Py_BuildValue("i",_result
);
5900 #define wxPrintPreview_DetermineScaling(_swigobj) (_swigobj->DetermineScaling())
5901 static PyObject
*_wrap_wxPrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
* _resultobj
;
5903 wxPrintPreview
* _arg0
;
5904 PyObject
* _argo0
= 0;
5905 char *_kwnames
[] = { "self", NULL
};
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_DetermineScaling",_kwnames
,&_argo0
))
5911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_DetermineScaling. Expected _wxPrintPreview_p.");
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 wxPrintPreview_DetermineScaling(_arg0
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) return NULL
;
5923 } Py_INCREF(Py_None
);
5924 _resultobj
= Py_None
;
5928 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
5929 wxPreviewFrame
*src
;
5931 src
= (wxPreviewFrame
*) ptr
;
5932 dest
= (wxFrame
*) src
;
5933 return (void *) dest
;
5936 static void *SwigwxPreviewFrameTowxTopLevelWindow(void *ptr
) {
5937 wxPreviewFrame
*src
;
5938 wxTopLevelWindow
*dest
;
5939 src
= (wxPreviewFrame
*) ptr
;
5940 dest
= (wxTopLevelWindow
*) src
;
5941 return (void *) dest
;
5944 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
5945 wxPreviewFrame
*src
;
5947 src
= (wxPreviewFrame
*) ptr
;
5948 dest
= (wxWindow
*) src
;
5949 return (void *) dest
;
5952 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
5953 wxPreviewFrame
*src
;
5955 src
= (wxPreviewFrame
*) ptr
;
5956 dest
= (wxEvtHandler
*) src
;
5957 return (void *) dest
;
5960 static void *SwigwxPreviewFrameTowxObject(void *ptr
) {
5961 wxPreviewFrame
*src
;
5963 src
= (wxPreviewFrame
*) ptr
;
5964 dest
= (wxObject
*) src
;
5965 return (void *) dest
;
5968 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5969 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
* _resultobj
;
5971 wxPreviewFrame
* _result
;
5972 wxPrintPreview
* _arg0
;
5975 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5976 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5977 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
5978 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
5979 PyObject
* _argo0
= 0;
5980 PyObject
* _argo1
= 0;
5981 PyObject
* _obj2
= 0;
5983 PyObject
* _obj3
= 0;
5985 PyObject
* _obj4
= 0;
5986 PyObject
* _obj6
= 0;
5987 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOlO:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
5994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
6001 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6002 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
6003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
6008 _arg2
= wxString_in_helper(_obj2
);
6015 if (! wxPoint_helper(_obj3
, &_arg3
))
6021 if (! wxSize_helper(_obj4
, &_arg4
))
6026 _arg6
= wxString_in_helper(_obj6
);
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) return NULL
;
6037 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
6038 _resultobj
= Py_BuildValue("s",_ptemp
);
6041 _resultobj
= Py_None
;
6054 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
6055 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
* _resultobj
;
6057 wxPreviewFrame
* _arg0
;
6058 PyObject
* _argo0
= 0;
6059 char *_kwnames
[] = { "self", NULL
};
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
6065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
6067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 wxPreviewFrame_Initialize(_arg0
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) return NULL
;
6077 } Py_INCREF(Py_None
);
6078 _resultobj
= Py_None
;
6082 #define wxPreviewFrame_CreateControlBar(_swigobj) (_swigobj->CreateControlBar())
6083 static PyObject
*_wrap_wxPreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
* _resultobj
;
6085 wxPreviewFrame
* _arg0
;
6086 PyObject
* _argo0
= 0;
6087 char *_kwnames
[] = { "self", NULL
};
6090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_CreateControlBar",_kwnames
,&_argo0
))
6093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
6095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_CreateControlBar. Expected _wxPreviewFrame_p.");
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 wxPreviewFrame_CreateControlBar(_arg0
);
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) return NULL
;
6105 } Py_INCREF(Py_None
);
6106 _resultobj
= Py_None
;
6110 #define wxPreviewFrame_CreateCanvas(_swigobj) (_swigobj->CreateCanvas())
6111 static PyObject
*_wrap_wxPreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
* _resultobj
;
6113 wxPreviewFrame
* _arg0
;
6114 PyObject
* _argo0
= 0;
6115 char *_kwnames
[] = { "self", NULL
};
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_CreateCanvas",_kwnames
,&_argo0
))
6121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
6123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_CreateCanvas. Expected _wxPreviewFrame_p.");
6128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 wxPreviewFrame_CreateCanvas(_arg0
);
6131 wxPyEndAllowThreads(__tstate
);
6132 if (PyErr_Occurred()) return NULL
;
6133 } Py_INCREF(Py_None
);
6134 _resultobj
= Py_None
;
6138 #define wxPreviewFrame_GetControlBar(_swigobj) (_swigobj->GetControlBar())
6139 static PyObject
*_wrap_wxPreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
* _resultobj
;
6141 wxPreviewControlBar
* _result
;
6142 wxPreviewFrame
* _arg0
;
6143 PyObject
* _argo0
= 0;
6144 char *_kwnames
[] = { "self", NULL
};
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_GetControlBar",_kwnames
,&_argo0
))
6151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
6153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_GetControlBar. Expected _wxPreviewFrame_p.");
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 _result
= (wxPreviewControlBar
*)wxPreviewFrame_GetControlBar(_arg0
);
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) return NULL
;
6164 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewControlBar_p");
6165 _resultobj
= Py_BuildValue("s",_ptemp
);
6168 _resultobj
= Py_None
;
6173 static void *SwigwxPreviewCanvasTowxScrolledWindow(void *ptr
) {
6174 wxPreviewCanvas
*src
;
6175 wxScrolledWindow
*dest
;
6176 src
= (wxPreviewCanvas
*) ptr
;
6177 dest
= (wxScrolledWindow
*) src
;
6178 return (void *) dest
;
6181 static void *SwigwxPreviewCanvasTowxPanel(void *ptr
) {
6182 wxPreviewCanvas
*src
;
6184 src
= (wxPreviewCanvas
*) ptr
;
6185 dest
= (wxPanel
*) src
;
6186 return (void *) dest
;
6189 static void *SwigwxPreviewCanvasTowxWindow(void *ptr
) {
6190 wxPreviewCanvas
*src
;
6192 src
= (wxPreviewCanvas
*) ptr
;
6193 dest
= (wxWindow
*) src
;
6194 return (void *) dest
;
6197 static void *SwigwxPreviewCanvasTowxEvtHandler(void *ptr
) {
6198 wxPreviewCanvas
*src
;
6200 src
= (wxPreviewCanvas
*) ptr
;
6201 dest
= (wxEvtHandler
*) src
;
6202 return (void *) dest
;
6205 static void *SwigwxPreviewCanvasTowxObject(void *ptr
) {
6206 wxPreviewCanvas
*src
;
6208 src
= (wxPreviewCanvas
*) ptr
;
6209 dest
= (wxObject
*) src
;
6210 return (void *) dest
;
6213 #define new_wxPreviewCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPreviewCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6214 static PyObject
*_wrap_new_wxPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6215 PyObject
* _resultobj
;
6216 wxPreviewCanvas
* _result
;
6217 wxPrintPreview
* _arg0
;
6219 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6220 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6221 long _arg4
= (long ) 0;
6222 wxString
* _arg5
= (wxString
*) &wxPyPreviewCanvasNameStr
;
6223 PyObject
* _argo0
= 0;
6224 PyObject
* _argo1
= 0;
6226 PyObject
* _obj2
= 0;
6228 PyObject
* _obj3
= 0;
6229 PyObject
* _obj5
= 0;
6230 char *_kwnames
[] = { "preview","parent","pos","size","style","name", NULL
};
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOlO:new_wxPreviewCanvas",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
6239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewCanvas. Expected _wxPrintPreview_p.");
6244 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6245 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewCanvas. Expected _wxWindow_p.");
6253 if (! wxPoint_helper(_obj2
, &_arg2
))
6259 if (! wxSize_helper(_obj3
, &_arg3
))
6264 _arg5
= wxString_in_helper(_obj5
);
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 _result
= (wxPreviewCanvas
*)new_wxPreviewCanvas(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) return NULL
;
6275 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewCanvas_p");
6276 _resultobj
= Py_BuildValue("s",_ptemp
);
6279 _resultobj
= Py_None
;
6288 static void *SwigwxPreviewControlBarTowxPanel(void *ptr
) {
6289 wxPreviewControlBar
*src
;
6291 src
= (wxPreviewControlBar
*) ptr
;
6292 dest
= (wxPanel
*) src
;
6293 return (void *) dest
;
6296 static void *SwigwxPreviewControlBarTowxWindow(void *ptr
) {
6297 wxPreviewControlBar
*src
;
6299 src
= (wxPreviewControlBar
*) ptr
;
6300 dest
= (wxWindow
*) src
;
6301 return (void *) dest
;
6304 static void *SwigwxPreviewControlBarTowxEvtHandler(void *ptr
) {
6305 wxPreviewControlBar
*src
;
6307 src
= (wxPreviewControlBar
*) ptr
;
6308 dest
= (wxEvtHandler
*) src
;
6309 return (void *) dest
;
6312 static void *SwigwxPreviewControlBarTowxObject(void *ptr
) {
6313 wxPreviewControlBar
*src
;
6315 src
= (wxPreviewControlBar
*) ptr
;
6316 dest
= (wxObject
*) src
;
6317 return (void *) dest
;
6320 #define new_wxPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6321 static PyObject
*_wrap_new_wxPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
* _resultobj
;
6323 wxPreviewControlBar
* _result
;
6324 wxPrintPreview
* _arg0
;
6327 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6328 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6329 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6330 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6331 PyObject
* _argo0
= 0;
6332 PyObject
* _argo2
= 0;
6334 PyObject
* _obj3
= 0;
6336 PyObject
* _obj4
= 0;
6337 PyObject
* _obj6
= 0;
6338 char *_kwnames
[] = { "preview","buttons","parent","pos","size","style","name", NULL
};
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|OOlO:new_wxPreviewControlBar",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
6347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewControlBar. Expected _wxPrintPreview_p.");
6352 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6353 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
6354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPreviewControlBar. Expected _wxWindow_p.");
6361 if (! wxPoint_helper(_obj3
, &_arg3
))
6367 if (! wxSize_helper(_obj4
, &_arg4
))
6372 _arg6
= wxString_in_helper(_obj6
);
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 _result
= (wxPreviewControlBar
*)new_wxPreviewControlBar(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) return NULL
;
6383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewControlBar_p");
6384 _resultobj
= Py_BuildValue("s",_ptemp
);
6387 _resultobj
= Py_None
;
6396 #define wxPreviewControlBar_GetZoomControl(_swigobj) (_swigobj->GetZoomControl())
6397 static PyObject
*_wrap_wxPreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
* _resultobj
;
6400 wxPreviewControlBar
* _arg0
;
6401 PyObject
* _argo0
= 0;
6402 char *_kwnames
[] = { "self", NULL
};
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_GetZoomControl",_kwnames
,&_argo0
))
6408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_GetZoomControl. Expected _wxPreviewControlBar_p.");
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 _result
= (int )wxPreviewControlBar_GetZoomControl(_arg0
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) return NULL
;
6420 } _resultobj
= Py_BuildValue("i",_result
);
6424 #define wxPreviewControlBar_SetZoomControl(_swigobj,_swigarg0) (_swigobj->SetZoomControl(_swigarg0))
6425 static PyObject
*_wrap_wxPreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
* _resultobj
;
6427 wxPreviewControlBar
* _arg0
;
6429 PyObject
* _argo0
= 0;
6430 char *_kwnames
[] = { "self","zoom", NULL
};
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPreviewControlBar_SetZoomControl",_kwnames
,&_argo0
,&_arg1
))
6436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_SetZoomControl. Expected _wxPreviewControlBar_p.");
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 wxPreviewControlBar_SetZoomControl(_arg0
,_arg1
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) return NULL
;
6448 } Py_INCREF(Py_None
);
6449 _resultobj
= Py_None
;
6453 #define wxPreviewControlBar_GetPrintPreview(_swigobj) (_swigobj->GetPrintPreview())
6454 static PyObject
*_wrap_wxPreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
* _resultobj
;
6456 wxPrintPreview
* _result
;
6457 wxPreviewControlBar
* _arg0
;
6458 PyObject
* _argo0
= 0;
6459 char *_kwnames
[] = { "self", NULL
};
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_GetPrintPreview",_kwnames
,&_argo0
))
6466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_GetPrintPreview. Expected _wxPreviewControlBar_p.");
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 _result
= (wxPrintPreview
*)wxPreviewControlBar_GetPrintPreview(_arg0
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) return NULL
;
6479 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
6480 _resultobj
= Py_BuildValue("s",_ptemp
);
6483 _resultobj
= Py_None
;
6488 #define wxPreviewControlBar_OnNext(_swigobj) (_swigobj->OnNext())
6489 static PyObject
*_wrap_wxPreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
* _resultobj
;
6491 wxPreviewControlBar
* _arg0
;
6492 PyObject
* _argo0
= 0;
6493 char *_kwnames
[] = { "self", NULL
};
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_OnNext",_kwnames
,&_argo0
))
6499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_OnNext. Expected _wxPreviewControlBar_p.");
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 wxPreviewControlBar_OnNext(_arg0
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) return NULL
;
6511 } Py_INCREF(Py_None
);
6512 _resultobj
= Py_None
;
6516 #define wxPreviewControlBar_OnPrevious(_swigobj) (_swigobj->OnPrevious())
6517 static PyObject
*_wrap_wxPreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
* _resultobj
;
6519 wxPreviewControlBar
* _arg0
;
6520 PyObject
* _argo0
= 0;
6521 char *_kwnames
[] = { "self", NULL
};
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_OnPrevious",_kwnames
,&_argo0
))
6527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_OnPrevious. Expected _wxPreviewControlBar_p.");
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 wxPreviewControlBar_OnPrevious(_arg0
);
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) return NULL
;
6539 } Py_INCREF(Py_None
);
6540 _resultobj
= Py_None
;
6544 #define wxPreviewControlBar_OnFirst(_swigobj) (_swigobj->OnFirst())
6545 static PyObject
*_wrap_wxPreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
* _resultobj
;
6547 wxPreviewControlBar
* _arg0
;
6548 PyObject
* _argo0
= 0;
6549 char *_kwnames
[] = { "self", NULL
};
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_OnFirst",_kwnames
,&_argo0
))
6555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_OnFirst. Expected _wxPreviewControlBar_p.");
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 wxPreviewControlBar_OnFirst(_arg0
);
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) return NULL
;
6567 } Py_INCREF(Py_None
);
6568 _resultobj
= Py_None
;
6572 #define wxPreviewControlBar_OnLast(_swigobj) (_swigobj->OnLast())
6573 static PyObject
*_wrap_wxPreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
* _resultobj
;
6575 wxPreviewControlBar
* _arg0
;
6576 PyObject
* _argo0
= 0;
6577 char *_kwnames
[] = { "self", NULL
};
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_OnLast",_kwnames
,&_argo0
))
6583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_OnLast. Expected _wxPreviewControlBar_p.");
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 wxPreviewControlBar_OnLast(_arg0
);
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) return NULL
;
6595 } Py_INCREF(Py_None
);
6596 _resultobj
= Py_None
;
6600 #define wxPreviewControlBar_OnGoto(_swigobj) (_swigobj->OnGoto())
6601 static PyObject
*_wrap_wxPreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
* _resultobj
;
6603 wxPreviewControlBar
* _arg0
;
6604 PyObject
* _argo0
= 0;
6605 char *_kwnames
[] = { "self", NULL
};
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewControlBar_OnGoto",_kwnames
,&_argo0
))
6611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewControlBar_p")) {
6613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewControlBar_OnGoto. Expected _wxPreviewControlBar_p.");
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 wxPreviewControlBar_OnGoto(_arg0
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) return NULL
;
6623 } Py_INCREF(Py_None
);
6624 _resultobj
= Py_None
;
6628 static void *SwigwxPyPrintPreviewTowxPrintPreview(void *ptr
) {
6629 wxPyPrintPreview
*src
;
6630 wxPrintPreview
*dest
;
6631 src
= (wxPyPrintPreview
*) ptr
;
6632 dest
= (wxPrintPreview
*) src
;
6633 return (void *) dest
;
6636 static void *SwigwxPyPrintPreviewTowxObject(void *ptr
) {
6637 wxPyPrintPreview
*src
;
6639 src
= (wxPyPrintPreview
*) ptr
;
6640 dest
= (wxObject
*) src
;
6641 return (void *) dest
;
6644 #define new_wxPyPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPyPrintPreview(_swigarg0,_swigarg1,_swigarg2))
6645 static PyObject
*_wrap_new_wxPyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
* _resultobj
;
6647 wxPyPrintPreview
* _result
;
6648 wxPyPrintout
* _arg0
;
6649 wxPyPrintout
* _arg1
;
6650 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
6651 PyObject
* _argo0
= 0;
6652 PyObject
* _argo1
= 0;
6653 PyObject
* _argo2
= 0;
6654 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
6658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPyPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
6663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPrintPreview. Expected _wxPyPrintout_p.");
6668 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6669 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
6670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPyPrintPreview. Expected _wxPyPrintout_p.");
6675 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6676 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
6677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPyPrintPreview. Expected _wxPrintData_p.");
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 _result
= (wxPyPrintPreview
*)new_wxPyPrintPreview(_arg0
,_arg1
,_arg2
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) return NULL
;
6688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintPreview_p");
6689 _resultobj
= Py_BuildValue("s",_ptemp
);
6692 _resultobj
= Py_None
;
6697 #define wxPyPrintPreview__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6698 static PyObject
*_wrap_wxPyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
* _resultobj
;
6700 wxPyPrintPreview
* _arg0
;
6703 PyObject
* _argo0
= 0;
6704 PyObject
* _obj1
= 0;
6705 PyObject
* _obj2
= 0;
6706 char *_kwnames
[] = { "self","self","_class", NULL
};
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPrintPreview__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview__setCallbackInfo. Expected _wxPyPrintPreview_p.");
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 wxPyPrintPreview__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) return NULL
;
6730 } Py_INCREF(Py_None
);
6731 _resultobj
= Py_None
;
6735 #define wxPyPrintPreview_base_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->base_SetCurrentPage(_swigarg0))
6736 static PyObject
*_wrap_wxPyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
* _resultobj
;
6739 wxPyPrintPreview
* _arg0
;
6741 PyObject
* _argo0
= 0;
6742 char *_kwnames
[] = { "self","pageNum", NULL
};
6745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyPrintPreview_base_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
6748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_SetCurrentPage. Expected _wxPyPrintPreview_p.");
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 _result
= (bool )wxPyPrintPreview_base_SetCurrentPage(_arg0
,_arg1
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) return NULL
;
6760 } _resultobj
= Py_BuildValue("i",_result
);
6764 #define wxPyPrintPreview_base_PaintPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintPage(_swigarg0,_swigarg1))
6765 static PyObject
*_wrap_wxPyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
* _resultobj
;
6768 wxPyPrintPreview
* _arg0
;
6769 wxPreviewCanvas
* _arg1
;
6771 PyObject
* _argo0
= 0;
6772 PyObject
* _argo1
= 0;
6773 PyObject
* _argo2
= 0;
6774 char *_kwnames
[] = { "self","canvas","dc", NULL
};
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPrintPreview_base_PaintPage",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_PaintPage. Expected _wxPyPrintPreview_p.");
6787 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6788 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewCanvas_p")) {
6789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPrintPreview_base_PaintPage. Expected _wxPreviewCanvas_p.");
6794 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
6795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyPrintPreview_base_PaintPage. Expected _wxDC_p.");
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 _result
= (bool )wxPyPrintPreview_base_PaintPage(_arg0
,_arg1
,*_arg2
);
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) return NULL
;
6805 } _resultobj
= Py_BuildValue("i",_result
);
6809 #define wxPyPrintPreview_base_DrawBlankPage(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DrawBlankPage(_swigarg0,_swigarg1))
6810 static PyObject
*_wrap_wxPyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
* _resultobj
;
6813 wxPyPrintPreview
* _arg0
;
6814 wxPreviewCanvas
* _arg1
;
6816 PyObject
* _argo0
= 0;
6817 PyObject
* _argo1
= 0;
6818 PyObject
* _argo2
= 0;
6819 char *_kwnames
[] = { "self","canvas","dc", NULL
};
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPrintPreview_base_DrawBlankPage",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_DrawBlankPage. Expected _wxPyPrintPreview_p.");
6832 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6833 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewCanvas_p")) {
6834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPrintPreview_base_DrawBlankPage. Expected _wxPreviewCanvas_p.");
6839 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
6840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyPrintPreview_base_DrawBlankPage. Expected _wxDC_p.");
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 _result
= (bool )wxPyPrintPreview_base_DrawBlankPage(_arg0
,_arg1
,*_arg2
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) return NULL
;
6850 } _resultobj
= Py_BuildValue("i",_result
);
6854 #define wxPyPrintPreview_base_RenderPage(_swigobj,_swigarg0) (_swigobj->base_RenderPage(_swigarg0))
6855 static PyObject
*_wrap_wxPyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
* _resultobj
;
6858 wxPyPrintPreview
* _arg0
;
6860 PyObject
* _argo0
= 0;
6861 char *_kwnames
[] = { "self","pageNum", NULL
};
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyPrintPreview_base_RenderPage",_kwnames
,&_argo0
,&_arg1
))
6867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_RenderPage. Expected _wxPyPrintPreview_p.");
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 _result
= (bool )wxPyPrintPreview_base_RenderPage(_arg0
,_arg1
);
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) return NULL
;
6879 } _resultobj
= Py_BuildValue("i",_result
);
6883 #define wxPyPrintPreview_base_SetZoom(_swigobj,_swigarg0) (_swigobj->base_SetZoom(_swigarg0))
6884 static PyObject
*_wrap_wxPyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
* _resultobj
;
6886 wxPyPrintPreview
* _arg0
;
6888 PyObject
* _argo0
= 0;
6889 char *_kwnames
[] = { "self","percent", NULL
};
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyPrintPreview_base_SetZoom",_kwnames
,&_argo0
,&_arg1
))
6895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_SetZoom. Expected _wxPyPrintPreview_p.");
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 wxPyPrintPreview_base_SetZoom(_arg0
,_arg1
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) return NULL
;
6907 } Py_INCREF(Py_None
);
6908 _resultobj
= Py_None
;
6912 #define wxPyPrintPreview_base_Print(_swigobj,_swigarg0) (_swigobj->base_Print(_swigarg0))
6913 static PyObject
*_wrap_wxPyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
* _resultobj
;
6916 wxPyPrintPreview
* _arg0
;
6918 PyObject
* _argo0
= 0;
6920 char *_kwnames
[] = { "self","interactive", NULL
};
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyPrintPreview_base_Print",_kwnames
,&_argo0
,&tempbool1
))
6926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_Print. Expected _wxPyPrintPreview_p.");
6932 _arg1
= (bool ) tempbool1
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 _result
= (bool )wxPyPrintPreview_base_Print(_arg0
,_arg1
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) return NULL
;
6939 } _resultobj
= Py_BuildValue("i",_result
);
6943 #define wxPyPrintPreview_base_DetermineScaling(_swigobj) (_swigobj->base_DetermineScaling())
6944 static PyObject
*_wrap_wxPyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
* _resultobj
;
6946 wxPyPrintPreview
* _arg0
;
6947 PyObject
* _argo0
= 0;
6948 char *_kwnames
[] = { "self", NULL
};
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPrintPreview_base_DetermineScaling",_kwnames
,&_argo0
))
6954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintPreview_p")) {
6956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPrintPreview_base_DetermineScaling. Expected _wxPyPrintPreview_p.");
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 wxPyPrintPreview_base_DetermineScaling(_arg0
);
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) return NULL
;
6966 } Py_INCREF(Py_None
);
6967 _resultobj
= Py_None
;
6971 static void *SwigwxPyPreviewFrameTowxPreviewFrame(void *ptr
) {
6972 wxPyPreviewFrame
*src
;
6973 wxPreviewFrame
*dest
;
6974 src
= (wxPyPreviewFrame
*) ptr
;
6975 dest
= (wxPreviewFrame
*) src
;
6976 return (void *) dest
;
6979 static void *SwigwxPyPreviewFrameTowxFrame(void *ptr
) {
6980 wxPyPreviewFrame
*src
;
6982 src
= (wxPyPreviewFrame
*) ptr
;
6983 dest
= (wxFrame
*) src
;
6984 return (void *) dest
;
6987 static void *SwigwxPyPreviewFrameTowxTopLevelWindow(void *ptr
) {
6988 wxPyPreviewFrame
*src
;
6989 wxTopLevelWindow
*dest
;
6990 src
= (wxPyPreviewFrame
*) ptr
;
6991 dest
= (wxTopLevelWindow
*) src
;
6992 return (void *) dest
;
6995 static void *SwigwxPyPreviewFrameTowxWindow(void *ptr
) {
6996 wxPyPreviewFrame
*src
;
6998 src
= (wxPyPreviewFrame
*) ptr
;
6999 dest
= (wxWindow
*) src
;
7000 return (void *) dest
;
7003 static void *SwigwxPyPreviewFrameTowxEvtHandler(void *ptr
) {
7004 wxPyPreviewFrame
*src
;
7006 src
= (wxPyPreviewFrame
*) ptr
;
7007 dest
= (wxEvtHandler
*) src
;
7008 return (void *) dest
;
7011 static void *SwigwxPyPreviewFrameTowxObject(void *ptr
) {
7012 wxPyPreviewFrame
*src
;
7014 src
= (wxPyPreviewFrame
*) ptr
;
7015 dest
= (wxObject
*) src
;
7016 return (void *) dest
;
7019 #define new_wxPyPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7020 static PyObject
*_wrap_new_wxPyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
* _resultobj
;
7022 wxPyPreviewFrame
* _result
;
7023 wxPrintPreview
* _arg0
;
7026 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7027 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7028 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
7029 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
7030 PyObject
* _argo0
= 0;
7031 PyObject
* _argo1
= 0;
7032 PyObject
* _obj2
= 0;
7034 PyObject
* _obj3
= 0;
7036 PyObject
* _obj4
= 0;
7037 PyObject
* _obj6
= 0;
7038 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOlO:new_wxPyPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
7045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
7047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPreviewFrame. Expected _wxPrintPreview_p.");
7052 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7053 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
7054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPyPreviewFrame. Expected _wxFrame_p.");
7059 _arg2
= wxString_in_helper(_obj2
);
7066 if (! wxPoint_helper(_obj3
, &_arg3
))
7072 if (! wxSize_helper(_obj4
, &_arg4
))
7077 _arg6
= wxString_in_helper(_obj6
);
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 _result
= (wxPyPreviewFrame
*)new_wxPyPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) return NULL
;
7088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPreviewFrame_p");
7089 _resultobj
= Py_BuildValue("s",_ptemp
);
7092 _resultobj
= Py_None
;
7105 #define wxPyPreviewFrame__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
7106 static PyObject
*_wrap_wxPyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
* _resultobj
;
7108 wxPyPreviewFrame
* _arg0
;
7111 PyObject
* _argo0
= 0;
7112 PyObject
* _obj1
= 0;
7113 PyObject
* _obj2
= 0;
7114 char *_kwnames
[] = { "self","self","_class", NULL
};
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPreviewFrame__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame__setCallbackInfo. Expected _wxPyPreviewFrame_p.");
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 wxPyPreviewFrame__setCallbackInfo(_arg0
,_arg1
,_arg2
);
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) return NULL
;
7138 } Py_INCREF(Py_None
);
7139 _resultobj
= Py_None
;
7143 #define wxPyPreviewFrame_SetPreviewCanvas(_swigobj,_swigarg0) (_swigobj->SetPreviewCanvas(_swigarg0))
7144 static PyObject
*_wrap_wxPyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
* _resultobj
;
7146 wxPyPreviewFrame
* _arg0
;
7147 wxPreviewCanvas
* _arg1
;
7148 PyObject
* _argo0
= 0;
7149 PyObject
* _argo1
= 0;
7150 char *_kwnames
[] = { "self","canvas", NULL
};
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPreviewFrame_SetPreviewCanvas",_kwnames
,&_argo0
,&_argo1
))
7156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame_SetPreviewCanvas. Expected _wxPyPreviewFrame_p.");
7163 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7164 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewCanvas_p")) {
7165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPreviewFrame_SetPreviewCanvas. Expected _wxPreviewCanvas_p.");
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 wxPyPreviewFrame_SetPreviewCanvas(_arg0
,_arg1
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) return NULL
;
7175 } Py_INCREF(Py_None
);
7176 _resultobj
= Py_None
;
7180 #define wxPyPreviewFrame_SetControlBar(_swigobj,_swigarg0) (_swigobj->SetControlBar(_swigarg0))
7181 static PyObject
*_wrap_wxPyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
* _resultobj
;
7183 wxPyPreviewFrame
* _arg0
;
7184 wxPreviewControlBar
* _arg1
;
7185 PyObject
* _argo0
= 0;
7186 PyObject
* _argo1
= 0;
7187 char *_kwnames
[] = { "self","bar", NULL
};
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPreviewFrame_SetControlBar",_kwnames
,&_argo0
,&_argo1
))
7193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame_SetControlBar. Expected _wxPyPreviewFrame_p.");
7200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPreviewControlBar_p")) {
7202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPreviewFrame_SetControlBar. Expected _wxPreviewControlBar_p.");
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 wxPyPreviewFrame_SetControlBar(_arg0
,_arg1
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) return NULL
;
7212 } Py_INCREF(Py_None
);
7213 _resultobj
= Py_None
;
7217 #define wxPyPreviewFrame_base_Initialize(_swigobj) (_swigobj->base_Initialize())
7218 static PyObject
*_wrap_wxPyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
* _resultobj
;
7220 wxPyPreviewFrame
* _arg0
;
7221 PyObject
* _argo0
= 0;
7222 char *_kwnames
[] = { "self", NULL
};
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPreviewFrame_base_Initialize",_kwnames
,&_argo0
))
7228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame_base_Initialize. Expected _wxPyPreviewFrame_p.");
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 wxPyPreviewFrame_base_Initialize(_arg0
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) return NULL
;
7240 } Py_INCREF(Py_None
);
7241 _resultobj
= Py_None
;
7245 #define wxPyPreviewFrame_base_CreateCanvas(_swigobj) (_swigobj->base_CreateCanvas())
7246 static PyObject
*_wrap_wxPyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
* _resultobj
;
7248 wxPyPreviewFrame
* _arg0
;
7249 PyObject
* _argo0
= 0;
7250 char *_kwnames
[] = { "self", NULL
};
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPreviewFrame_base_CreateCanvas",_kwnames
,&_argo0
))
7256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame_base_CreateCanvas. Expected _wxPyPreviewFrame_p.");
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 wxPyPreviewFrame_base_CreateCanvas(_arg0
);
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) return NULL
;
7268 } Py_INCREF(Py_None
);
7269 _resultobj
= Py_None
;
7273 #define wxPyPreviewFrame_base_CreateControlBar(_swigobj) (_swigobj->base_CreateControlBar())
7274 static PyObject
*_wrap_wxPyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
* _resultobj
;
7276 wxPyPreviewFrame
* _arg0
;
7277 PyObject
* _argo0
= 0;
7278 char *_kwnames
[] = { "self", NULL
};
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPreviewFrame_base_CreateControlBar",_kwnames
,&_argo0
))
7284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewFrame_p")) {
7286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewFrame_base_CreateControlBar. Expected _wxPyPreviewFrame_p.");
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 wxPyPreviewFrame_base_CreateControlBar(_arg0
);
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) return NULL
;
7296 } Py_INCREF(Py_None
);
7297 _resultobj
= Py_None
;
7301 static void *SwigwxPyPreviewControlBarTowxPreviewControlBar(void *ptr
) {
7302 wxPyPreviewControlBar
*src
;
7303 wxPreviewControlBar
*dest
;
7304 src
= (wxPyPreviewControlBar
*) ptr
;
7305 dest
= (wxPreviewControlBar
*) src
;
7306 return (void *) dest
;
7309 static void *SwigwxPyPreviewControlBarTowxPanel(void *ptr
) {
7310 wxPyPreviewControlBar
*src
;
7312 src
= (wxPyPreviewControlBar
*) ptr
;
7313 dest
= (wxPanel
*) src
;
7314 return (void *) dest
;
7317 static void *SwigwxPyPreviewControlBarTowxWindow(void *ptr
) {
7318 wxPyPreviewControlBar
*src
;
7320 src
= (wxPyPreviewControlBar
*) ptr
;
7321 dest
= (wxWindow
*) src
;
7322 return (void *) dest
;
7325 static void *SwigwxPyPreviewControlBarTowxEvtHandler(void *ptr
) {
7326 wxPyPreviewControlBar
*src
;
7328 src
= (wxPyPreviewControlBar
*) ptr
;
7329 dest
= (wxEvtHandler
*) src
;
7330 return (void *) dest
;
7333 static void *SwigwxPyPreviewControlBarTowxObject(void *ptr
) {
7334 wxPyPreviewControlBar
*src
;
7336 src
= (wxPyPreviewControlBar
*) ptr
;
7337 dest
= (wxObject
*) src
;
7338 return (void *) dest
;
7341 #define new_wxPyPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyPreviewControlBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7342 static PyObject
*_wrap_new_wxPyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
* _resultobj
;
7344 wxPyPreviewControlBar
* _result
;
7345 wxPrintPreview
* _arg0
;
7348 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7349 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7350 long _arg5
= (long ) 0;
7351 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
7352 PyObject
* _argo0
= 0;
7353 PyObject
* _argo2
= 0;
7355 PyObject
* _obj3
= 0;
7357 PyObject
* _obj4
= 0;
7358 PyObject
* _obj6
= 0;
7359 char *_kwnames
[] = { "preview","buttons","parent","pos","size","style","name", NULL
};
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|OOlO:new_wxPyPreviewControlBar",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
7366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
7368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPreviewControlBar. Expected _wxPrintPreview_p.");
7373 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7374 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
7375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPyPreviewControlBar. Expected _wxWindow_p.");
7382 if (! wxPoint_helper(_obj3
, &_arg3
))
7388 if (! wxSize_helper(_obj4
, &_arg4
))
7393 _arg6
= wxString_in_helper(_obj6
);
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 _result
= (wxPyPreviewControlBar
*)new_wxPyPreviewControlBar(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) return NULL
;
7404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPreviewControlBar_p");
7405 _resultobj
= Py_BuildValue("s",_ptemp
);
7408 _resultobj
= Py_None
;
7417 #define wxPyPreviewControlBar__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
7418 static PyObject
*_wrap_wxPyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
* _resultobj
;
7420 wxPyPreviewControlBar
* _arg0
;
7423 PyObject
* _argo0
= 0;
7424 PyObject
* _obj1
= 0;
7425 PyObject
* _obj2
= 0;
7426 char *_kwnames
[] = { "self","self","_class", NULL
};
7429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPreviewControlBar__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewControlBar_p")) {
7434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewControlBar__setCallbackInfo. Expected _wxPyPreviewControlBar_p.");
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 wxPyPreviewControlBar__setCallbackInfo(_arg0
,_arg1
,_arg2
);
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) return NULL
;
7450 } Py_INCREF(Py_None
);
7451 _resultobj
= Py_None
;
7455 #define wxPyPreviewControlBar_SetPrintPreview(_swigobj,_swigarg0) (_swigobj->SetPrintPreview(_swigarg0))
7456 static PyObject
*_wrap_wxPyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
* _resultobj
;
7458 wxPyPreviewControlBar
* _arg0
;
7459 wxPrintPreview
* _arg1
;
7460 PyObject
* _argo0
= 0;
7461 PyObject
* _argo1
= 0;
7462 char *_kwnames
[] = { "self","preview", NULL
};
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPreviewControlBar_SetPrintPreview",_kwnames
,&_argo0
,&_argo1
))
7468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewControlBar_p")) {
7470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewControlBar_SetPrintPreview. Expected _wxPyPreviewControlBar_p.");
7475 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7476 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintPreview_p")) {
7477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPreviewControlBar_SetPrintPreview. Expected _wxPrintPreview_p.");
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 wxPyPreviewControlBar_SetPrintPreview(_arg0
,_arg1
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) return NULL
;
7487 } Py_INCREF(Py_None
);
7488 _resultobj
= Py_None
;
7492 #define wxPyPreviewControlBar_base_CreateButtons(_swigobj) (_swigobj->base_CreateButtons())
7493 static PyObject
*_wrap_wxPyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
* _resultobj
;
7495 wxPyPreviewControlBar
* _arg0
;
7496 PyObject
* _argo0
= 0;
7497 char *_kwnames
[] = { "self", NULL
};
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPreviewControlBar_base_CreateButtons",_kwnames
,&_argo0
))
7503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewControlBar_p")) {
7505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewControlBar_base_CreateButtons. Expected _wxPyPreviewControlBar_p.");
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 wxPyPreviewControlBar_base_CreateButtons(_arg0
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) return NULL
;
7515 } Py_INCREF(Py_None
);
7516 _resultobj
= Py_None
;
7520 #define wxPyPreviewControlBar_base_SetZoomControl(_swigobj,_swigarg0) (_swigobj->base_SetZoomControl(_swigarg0))
7521 static PyObject
*_wrap_wxPyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
* _resultobj
;
7523 wxPyPreviewControlBar
* _arg0
;
7525 PyObject
* _argo0
= 0;
7526 char *_kwnames
[] = { "self","zoom", NULL
};
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyPreviewControlBar_base_SetZoomControl",_kwnames
,&_argo0
,&_arg1
))
7532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPreviewControlBar_p")) {
7534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPreviewControlBar_base_SetZoomControl. Expected _wxPyPreviewControlBar_p.");
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 wxPyPreviewControlBar_base_SetZoomControl(_arg0
,_arg1
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) return NULL
;
7544 } Py_INCREF(Py_None
);
7545 _resultobj
= Py_None
;
7549 static PyMethodDef printfwcMethods
[] = {
7550 { "wxPyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_wxPyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxPyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_wxPyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxPyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_wxPyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxPyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_wxPyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "new_wxPyPreviewControlBar", (PyCFunction
) _wrap_new_wxPyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "wxPyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_wxPyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "wxPyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_wxPyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "wxPyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_wxPyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "wxPyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_wxPyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "wxPyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_wxPyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "wxPyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_wxPyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "new_wxPyPreviewFrame", (PyCFunction
) _wrap_new_wxPyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxPyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_wxPyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxPyPrintPreview_base_Print", (PyCFunction
) _wrap_wxPyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxPyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_wxPyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxPyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_wxPyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxPyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_wxPyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxPyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_wxPyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxPyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_wxPyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "wxPyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_wxPyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "new_wxPyPrintPreview", (PyCFunction
) _wrap_new_wxPyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "wxPreviewControlBar_OnGoto", (PyCFunction
) _wrap_wxPreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxPreviewControlBar_OnLast", (PyCFunction
) _wrap_wxPreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxPreviewControlBar_OnFirst", (PyCFunction
) _wrap_wxPreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxPreviewControlBar_OnPrevious", (PyCFunction
) _wrap_wxPreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxPreviewControlBar_OnNext", (PyCFunction
) _wrap_wxPreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxPreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_wxPreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_wxPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxPreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_wxPreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "new_wxPreviewControlBar", (PyCFunction
) _wrap_new_wxPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "new_wxPreviewCanvas", (PyCFunction
) _wrap_new_wxPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "wxPreviewFrame_GetControlBar", (PyCFunction
) _wrap_wxPreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxPreviewFrame_CreateCanvas", (PyCFunction
) _wrap_wxPreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxPreviewFrame_CreateControlBar", (PyCFunction
) _wrap_wxPreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxPrintPreview_DetermineScaling", (PyCFunction
) _wrap_wxPrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "wxPrintPreview_SetOk", (PyCFunction
) _wrap_wxPrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "wxPrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_wxPrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "wxPrintPreview_RenderPage", (PyCFunction
) _wrap_wxPrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "wxPrintPreview_DrawBlankPage", (PyCFunction
) _wrap_wxPrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "wxPrintPreview_PaintPage", (PyCFunction
) _wrap_wxPrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
7604 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
7605 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
7606 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
7607 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
7608 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
7609 { "new_wxPrintAbortDialog", (PyCFunction
) _wrap_new_wxPrintAbortDialog
, METH_VARARGS
| METH_KEYWORDS
},
7610 { "wxPrinter_GetLastError", (PyCFunction
) _wrap_wxPrinter_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
7611 { "wxPrinter_GetAbort", (PyCFunction
) _wrap_wxPrinter_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
7612 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
7613 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
7614 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
7615 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
7616 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7617 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
7618 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
7619 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
7620 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
7621 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
7622 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
7623 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
7624 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
7625 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
7626 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
7627 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
7628 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
7629 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
7630 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
7631 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7632 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
7633 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7634 { "wxPrintout__setCallbackInfo", (PyCFunction
) _wrap_wxPrintout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7635 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
7636 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
7637 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
7638 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7639 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
7640 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7641 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7642 { "wxPrintDialogData_Ok", (PyCFunction
) _wrap_wxPrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7643 { "wxPrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
7644 { "wxPrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
7645 { "wxPrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
7646 { "wxPrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
7647 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
7648 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
7649 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
7650 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
7651 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
7652 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
7653 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
7654 { "wxPrintDialogData_SetSelection", (PyCFunction
) _wrap_wxPrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7655 { "wxPrintDialogData_SetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
7656 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
7657 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
7658 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
7659 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
7660 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
7661 { "wxPrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
7662 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
7663 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
7664 { "wxPrintDialogData_GetSelection", (PyCFunction
) _wrap_wxPrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7665 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
7666 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
7667 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
7668 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
7669 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
7670 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
7671 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7672 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7673 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
7674 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
7675 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
7676 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7677 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "wxPageSetupDialogData_Ok", (PyCFunction
) _wrap_wxPageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
7692 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
7693 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
7694 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
7695 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
7696 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
7697 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7698 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
7699 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
7700 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
7701 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
7702 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7703 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
7704 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
7705 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7706 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
7707 { "wxPostScriptDC_GetResolution", (PyCFunction
) _wrap_wxPostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
7708 { "wxPostScriptDC_SetResolution", (PyCFunction
) _wrap_wxPostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
7709 { "wxPostScriptDC_SetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7710 { "wxPostScriptDC_GetPrintData", (PyCFunction
) _wrap_wxPostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7711 { "new_wxPostScriptDC", (PyCFunction
) _wrap_new_wxPostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
7712 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
7713 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
7714 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
7715 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
7716 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
7717 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
7718 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
7719 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
7720 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
7721 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
7722 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
7723 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
7724 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
7725 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
7726 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
7727 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
7728 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
7729 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
7730 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
7731 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
7732 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
7733 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
7734 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
7735 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
7736 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
7737 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
7738 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
7739 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
7740 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7741 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
7742 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
7743 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
7744 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
7745 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
7746 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
7747 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
7748 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
7749 { "wxPrintData_Ok", (PyCFunction
) _wrap_wxPrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7750 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7751 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
7752 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
7753 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7754 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
7761 * This table is used by the pointer type-checker
7763 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7764 { "_signed_long","_long",0},
7765 { "_wxPrintQuality","_wxCoord",0},
7766 { "_wxPrintQuality","_int",0},
7767 { "_wxPrintQuality","_signed_int",0},
7768 { "_wxPrintQuality","_unsigned_int",0},
7769 { "_wxPrintQuality","_wxWindowID",0},
7770 { "_wxPrintQuality","_uint",0},
7771 { "_wxPrintQuality","_EBool",0},
7772 { "_wxPrintQuality","_size_t",0},
7773 { "_wxPrintQuality","_time_t",0},
7774 { "_byte","_unsigned_char",0},
7775 { "_long","_unsigned_long",0},
7776 { "_long","_signed_long",0},
7777 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
7778 { "_wxPrintPreview","_wxPyPrintPreview",SwigwxPyPrintPreviewTowxPrintPreview
},
7779 { "_size_t","_wxCoord",0},
7780 { "_size_t","_wxPrintQuality",0},
7781 { "_size_t","_time_t",0},
7782 { "_size_t","_unsigned_int",0},
7783 { "_size_t","_int",0},
7784 { "_size_t","_wxWindowID",0},
7785 { "_size_t","_uint",0},
7786 { "_wxPanel","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxPanel
},
7787 { "_wxPanel","_wxPreviewControlBar",SwigwxPreviewControlBarTowxPanel
},
7788 { "_wxPanel","_wxPreviewCanvas",SwigwxPreviewCanvasTowxPanel
},
7789 { "_wxTopLevelWindow","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxTopLevelWindow
},
7790 { "_wxTopLevelWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxTopLevelWindow
},
7791 { "_wxTopLevelWindow","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxTopLevelWindow
},
7792 { "_wxTopLevelWindow","_wxPrintDialog",SwigwxPrintDialogTowxTopLevelWindow
},
7793 { "_wxTopLevelWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxTopLevelWindow
},
7794 { "_uint","_wxCoord",0},
7795 { "_uint","_wxPrintQuality",0},
7796 { "_uint","_time_t",0},
7797 { "_uint","_size_t",0},
7798 { "_uint","_unsigned_int",0},
7799 { "_uint","_int",0},
7800 { "_uint","_wxWindowID",0},
7801 { "_wxChar","_char",0},
7802 { "_char","_wxChar",0},
7803 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
7804 { "_EBool","_wxCoord",0},
7805 { "_EBool","_wxPrintQuality",0},
7806 { "_EBool","_signed_int",0},
7807 { "_EBool","_int",0},
7808 { "_EBool","_wxWindowID",0},
7809 { "_wxPreviewControlBar","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxPreviewControlBar
},
7810 { "_unsigned_long","_long",0},
7811 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
7812 { "_signed_int","_wxCoord",0},
7813 { "_signed_int","_wxPrintQuality",0},
7814 { "_signed_int","_EBool",0},
7815 { "_signed_int","_wxWindowID",0},
7816 { "_signed_int","_int",0},
7817 { "_WXTYPE","_short",0},
7818 { "_WXTYPE","_signed_short",0},
7819 { "_WXTYPE","_unsigned_short",0},
7820 { "_unsigned_short","_WXTYPE",0},
7821 { "_unsigned_short","_short",0},
7822 { "_wxObject","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxObject
},
7823 { "_wxObject","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxObject
},
7824 { "_wxObject","_wxPyPrintPreview",SwigwxPyPrintPreviewTowxObject
},
7825 { "_wxObject","_wxPreviewControlBar",SwigwxPreviewControlBarTowxObject
},
7826 { "_wxObject","_wxPreviewCanvas",SwigwxPreviewCanvasTowxObject
},
7827 { "_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
7828 { "_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
7829 { "_wxObject","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxObject
},
7830 { "_wxObject","_wxPrinter",SwigwxPrinterTowxObject
},
7831 { "_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
7832 { "_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject
},
7833 { "_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
7834 { "_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
7835 { "_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
7836 { "_wxObject","_wxPostScriptDC",SwigwxPostScriptDCTowxObject
},
7837 { "_wxObject","_wxPrintData",SwigwxPrintDataTowxObject
},
7838 { "_signed_short","_WXTYPE",0},
7839 { "_signed_short","_short",0},
7840 { "_wxScrolledWindow","_wxPreviewCanvas",SwigwxPreviewCanvasTowxScrolledWindow
},
7841 { "_unsigned_char","_byte",0},
7842 { "_unsigned_int","_wxCoord",0},
7843 { "_unsigned_int","_wxPrintQuality",0},
7844 { "_unsigned_int","_time_t",0},
7845 { "_unsigned_int","_size_t",0},
7846 { "_unsigned_int","_uint",0},
7847 { "_unsigned_int","_wxWindowID",0},
7848 { "_unsigned_int","_int",0},
7849 { "_wxDialog","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxDialog
},
7850 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
7851 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
7852 { "_short","_WXTYPE",0},
7853 { "_short","_unsigned_short",0},
7854 { "_short","_signed_short",0},
7855 { "_wxFrame","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxFrame
},
7856 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
7857 { "_wxWindowID","_wxCoord",0},
7858 { "_wxWindowID","_wxPrintQuality",0},
7859 { "_wxWindowID","_time_t",0},
7860 { "_wxWindowID","_size_t",0},
7861 { "_wxWindowID","_EBool",0},
7862 { "_wxWindowID","_uint",0},
7863 { "_wxWindowID","_int",0},
7864 { "_wxWindowID","_signed_int",0},
7865 { "_wxWindowID","_unsigned_int",0},
7866 { "_int","_wxCoord",0},
7867 { "_int","_wxPrintQuality",0},
7868 { "_int","_time_t",0},
7869 { "_int","_size_t",0},
7870 { "_int","_EBool",0},
7871 { "_int","_uint",0},
7872 { "_int","_wxWindowID",0},
7873 { "_int","_unsigned_int",0},
7874 { "_int","_signed_int",0},
7875 { "_time_t","_wxCoord",0},
7876 { "_time_t","_wxPrintQuality",0},
7877 { "_time_t","_unsigned_int",0},
7878 { "_time_t","_int",0},
7879 { "_time_t","_wxWindowID",0},
7880 { "_time_t","_uint",0},
7881 { "_time_t","_size_t",0},
7882 { "_wxCoord","_int",0},
7883 { "_wxCoord","_signed_int",0},
7884 { "_wxCoord","_unsigned_int",0},
7885 { "_wxCoord","_wxWindowID",0},
7886 { "_wxCoord","_uint",0},
7887 { "_wxCoord","_EBool",0},
7888 { "_wxCoord","_size_t",0},
7889 { "_wxCoord","_time_t",0},
7890 { "_wxCoord","_wxPrintQuality",0},
7891 { "_wxPreviewFrame","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxPreviewFrame
},
7892 { "_wxEvtHandler","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxEvtHandler
},
7893 { "_wxEvtHandler","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxEvtHandler
},
7894 { "_wxEvtHandler","_wxPreviewControlBar",SwigwxPreviewControlBarTowxEvtHandler
},
7895 { "_wxEvtHandler","_wxPreviewCanvas",SwigwxPreviewCanvasTowxEvtHandler
},
7896 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
7897 { "_wxEvtHandler","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxEvtHandler
},
7898 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
7899 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
7900 { "_wxWindow","_wxPyPreviewControlBar",SwigwxPyPreviewControlBarTowxWindow
},
7901 { "_wxWindow","_wxPyPreviewFrame",SwigwxPyPreviewFrameTowxWindow
},
7902 { "_wxWindow","_wxPreviewControlBar",SwigwxPreviewControlBarTowxWindow
},
7903 { "_wxWindow","_wxPreviewCanvas",SwigwxPreviewCanvasTowxWindow
},
7904 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
7905 { "_wxWindow","_wxPrintAbortDialog",SwigwxPrintAbortDialogTowxWindow
},
7906 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
7907 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
7910 static PyObject
*SWIG_globals
;
7914 SWIGEXPORT(void) initprintfwc() {
7916 SWIG_globals
= SWIG_newvarlink();
7917 m
= Py_InitModule("printfwc", printfwcMethods
);
7918 d
= PyModule_GetDict(m
);
7919 PyDict_SetItemString(d
,"wxPRINT_MODE_NONE", PyInt_FromLong((long) wxPRINT_MODE_NONE
));
7920 PyDict_SetItemString(d
,"wxPRINT_MODE_PREVIEW", PyInt_FromLong((long) wxPRINT_MODE_PREVIEW
));
7921 PyDict_SetItemString(d
,"wxPRINT_MODE_FILE", PyInt_FromLong((long) wxPRINT_MODE_FILE
));
7922 PyDict_SetItemString(d
,"wxPRINT_MODE_PRINTER", PyInt_FromLong((long) wxPRINT_MODE_PRINTER
));
7923 PyDict_SetItemString(d
,"wxPRINTER_NO_ERROR", PyInt_FromLong((long) wxPRINTER_NO_ERROR
));
7924 PyDict_SetItemString(d
,"wxPRINTER_CANCELLED", PyInt_FromLong((long) wxPRINTER_CANCELLED
));
7925 PyDict_SetItemString(d
,"wxPRINTER_ERROR", PyInt_FromLong((long) wxPRINTER_ERROR
));
7926 PyDict_SetItemString(d
,"wxPREVIEW_PRINT", PyInt_FromLong((long) wxPREVIEW_PRINT
));
7927 PyDict_SetItemString(d
,"wxPREVIEW_PREVIOUS", PyInt_FromLong((long) wxPREVIEW_PREVIOUS
));
7928 PyDict_SetItemString(d
,"wxPREVIEW_NEXT", PyInt_FromLong((long) wxPREVIEW_NEXT
));
7929 PyDict_SetItemString(d
,"wxPREVIEW_ZOOM", PyInt_FromLong((long) wxPREVIEW_ZOOM
));
7930 PyDict_SetItemString(d
,"wxPREVIEW_FIRST", PyInt_FromLong((long) wxPREVIEW_FIRST
));
7931 PyDict_SetItemString(d
,"wxPREVIEW_LAST", PyInt_FromLong((long) wxPREVIEW_LAST
));
7932 PyDict_SetItemString(d
,"wxPREVIEW_GOTO", PyInt_FromLong((long) wxPREVIEW_GOTO
));
7933 PyDict_SetItemString(d
,"wxPREVIEW_DEFAULT", PyInt_FromLong((long) wxPREVIEW_DEFAULT
));
7934 PyDict_SetItemString(d
,"wxID_PREVIEW_CLOSE", PyInt_FromLong((long) wxID_PREVIEW_CLOSE
));
7935 PyDict_SetItemString(d
,"wxID_PREVIEW_NEXT", PyInt_FromLong((long) wxID_PREVIEW_NEXT
));
7936 PyDict_SetItemString(d
,"wxID_PREVIEW_PREVIOUS", PyInt_FromLong((long) wxID_PREVIEW_PREVIOUS
));
7937 PyDict_SetItemString(d
,"wxID_PREVIEW_PRINT", PyInt_FromLong((long) wxID_PREVIEW_PRINT
));
7938 PyDict_SetItemString(d
,"wxID_PREVIEW_ZOOM", PyInt_FromLong((long) wxID_PREVIEW_ZOOM
));
7939 PyDict_SetItemString(d
,"wxID_PREVIEW_FIRST", PyInt_FromLong((long) wxID_PREVIEW_FIRST
));
7940 PyDict_SetItemString(d
,"wxID_PREVIEW_LAST", PyInt_FromLong((long) wxID_PREVIEW_LAST
));
7941 PyDict_SetItemString(d
,"wxID_PREVIEW_GOTO", PyInt_FromLong((long) wxID_PREVIEW_GOTO
));
7943 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
7946 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7947 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);