2 * FILE : msw/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initprintfwc
54 #define SWIG_name "printfwc"
58 #include <wx/printdlg.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
119 class wxPyPrintout
: public wxPrintout
{
121 wxPyPrintout(const wxString
& title
) : wxPrintout(title
) {}
123 PYCALLBACK_BOOL_INTINT(wxPrintout
, OnBeginDocument
);
124 PYCALLBACK__(wxPrintout
, OnEndDocument
);
125 PYCALLBACK__(wxPrintout
, OnBeginPrinting
);
126 PYCALLBACK__(wxPrintout
, OnEndPrinting
);
127 PYCALLBACK__(wxPrintout
, OnPreparePrinting
);
128 PYCALLBACK_BOOL_INT_pure(wxPrintout
, OnPrintPage
);
129 PYCALLBACK_BOOL_INT(wxPrintout
, HasPage
);
132 // Since this one would be tough and ugly to do with the Macros...
133 void GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
136 if (m_myInst
.findCallback("GetPageInfo")) {
137 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
138 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
141 val
= PyTuple_GetItem(result
, 0);
142 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
145 val
= PyTuple_GetItem(result
, 1);
146 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
149 val
= PyTuple_GetItem(result
, 2);
150 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
153 val
= PyTuple_GetItem(result
, 3);
154 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
161 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
165 #ifdef WXP_WITH_THREAD
170 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
172 void base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
173 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
178 #define new_wxPrintData() (new wxPrintData())
179 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
) {
180 PyObject
* _resultobj
;
181 wxPrintData
* _result
;
185 if(!PyArg_ParseTuple(args
,":new_wxPrintData"))
188 wxPy_BEGIN_ALLOW_THREADS
;
189 _result
= (wxPrintData
*)new_wxPrintData();
191 wxPy_END_ALLOW_THREADS
;
192 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
193 _resultobj
= Py_BuildValue("s",_ptemp
);
197 #define delete_wxPrintData(_swigobj) (delete _swigobj)
198 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
) {
199 PyObject
* _resultobj
;
204 if(!PyArg_ParseTuple(args
,"s:delete_wxPrintData",&_argc0
))
207 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
213 wxPy_BEGIN_ALLOW_THREADS
;
214 delete_wxPrintData(_arg0
);
216 wxPy_END_ALLOW_THREADS
;
217 } Py_INCREF(Py_None
);
218 _resultobj
= Py_None
;
222 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
223 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
) {
224 PyObject
* _resultobj
;
230 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetNoCopies",&_argc0
))
233 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
239 wxPy_BEGIN_ALLOW_THREADS
;
240 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
242 wxPy_END_ALLOW_THREADS
;
243 } _resultobj
= Py_BuildValue("i",_result
);
247 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
248 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
) {
249 PyObject
* _resultobj
;
255 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetCollate",&_argc0
))
258 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
264 wxPy_BEGIN_ALLOW_THREADS
;
265 _result
= (bool )wxPrintData_GetCollate(_arg0
);
267 wxPy_END_ALLOW_THREADS
;
268 } _resultobj
= Py_BuildValue("i",_result
);
272 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
273 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
) {
274 PyObject
* _resultobj
;
280 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetOrientation",&_argc0
))
283 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
289 wxPy_BEGIN_ALLOW_THREADS
;
290 _result
= (int )wxPrintData_GetOrientation(_arg0
);
292 wxPy_END_ALLOW_THREADS
;
293 } _resultobj
= Py_BuildValue("i",_result
);
297 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
298 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
) {
299 PyObject
* _resultobj
;
305 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetPrinterName",&_argc0
))
308 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
314 wxPy_BEGIN_ALLOW_THREADS
;
315 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
316 _result
= (wxString
*) &_result_ref
;
318 wxPy_END_ALLOW_THREADS
;
320 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
325 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
326 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
) {
327 PyObject
* _resultobj
;
333 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetColour",&_argc0
))
336 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
342 wxPy_BEGIN_ALLOW_THREADS
;
343 _result
= (bool )wxPrintData_GetColour(_arg0
);
345 wxPy_END_ALLOW_THREADS
;
346 } _resultobj
= Py_BuildValue("i",_result
);
350 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
351 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
) {
352 PyObject
* _resultobj
;
353 wxDuplexMode _result
;
358 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetDuplex",&_argc0
))
361 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
367 wxPy_BEGIN_ALLOW_THREADS
;
368 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
370 wxPy_END_ALLOW_THREADS
;
371 } _resultobj
= Py_BuildValue("i",_result
);
375 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
376 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
) {
377 PyObject
* _resultobj
;
383 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetPaperId",&_argc0
))
386 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
392 wxPy_BEGIN_ALLOW_THREADS
;
393 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
395 wxPy_END_ALLOW_THREADS
;
396 } _resultobj
= Py_BuildValue("i",_result
);
400 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
401 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
) {
402 PyObject
* _resultobj
;
409 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetPaperSize",&_argc0
))
412 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
418 wxPy_BEGIN_ALLOW_THREADS
;
419 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
420 _result
= (wxSize
*) &_result_ref
;
422 wxPy_END_ALLOW_THREADS
;
423 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
424 _resultobj
= Py_BuildValue("s",_ptemp
);
428 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
429 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
) {
430 PyObject
* _resultobj
;
431 wxPrintQuality _result
;
436 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetQuality",&_argc0
))
439 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
445 wxPy_BEGIN_ALLOW_THREADS
;
446 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
448 wxPy_END_ALLOW_THREADS
;
449 } _resultobj
= Py_BuildValue("i",_result
);
453 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
454 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
) {
455 PyObject
* _resultobj
;
461 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetNoCopies",&_argc0
,&_arg1
))
464 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
470 wxPy_BEGIN_ALLOW_THREADS
;
471 wxPrintData_SetNoCopies(_arg0
,_arg1
);
473 wxPy_END_ALLOW_THREADS
;
474 } Py_INCREF(Py_None
);
475 _resultobj
= Py_None
;
479 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
480 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
) {
481 PyObject
* _resultobj
;
488 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetCollate",&_argc0
,&tempbool1
))
491 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
496 _arg1
= (bool ) tempbool1
;
498 wxPy_BEGIN_ALLOW_THREADS
;
499 wxPrintData_SetCollate(_arg0
,_arg1
);
501 wxPy_END_ALLOW_THREADS
;
502 } Py_INCREF(Py_None
);
503 _resultobj
= Py_None
;
507 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
508 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
) {
509 PyObject
* _resultobj
;
515 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetOrientation",&_argc0
,&_arg1
))
518 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
524 wxPy_BEGIN_ALLOW_THREADS
;
525 wxPrintData_SetOrientation(_arg0
,_arg1
);
527 wxPy_END_ALLOW_THREADS
;
528 } Py_INCREF(Py_None
);
529 _resultobj
= Py_None
;
533 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
534 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
) {
535 PyObject
* _resultobj
;
539 PyObject
* _obj1
= 0;
542 if(!PyArg_ParseTuple(args
,"sO:wxPrintData_SetPrinterName",&_argc0
,&_obj1
))
545 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
551 if (!PyString_Check(_obj1
)) {
552 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
555 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
558 wxPy_BEGIN_ALLOW_THREADS
;
559 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
561 wxPy_END_ALLOW_THREADS
;
562 } Py_INCREF(Py_None
);
563 _resultobj
= Py_None
;
571 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
572 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
) {
573 PyObject
* _resultobj
;
580 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetColour",&_argc0
,&tempbool1
))
583 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
588 _arg1
= (bool ) tempbool1
;
590 wxPy_BEGIN_ALLOW_THREADS
;
591 wxPrintData_SetColour(_arg0
,_arg1
);
593 wxPy_END_ALLOW_THREADS
;
594 } Py_INCREF(Py_None
);
595 _resultobj
= Py_None
;
599 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
600 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
) {
601 PyObject
* _resultobj
;
607 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetDuplex",&_argc0
,&_arg1
))
610 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
616 wxPy_BEGIN_ALLOW_THREADS
;
617 wxPrintData_SetDuplex(_arg0
,_arg1
);
619 wxPy_END_ALLOW_THREADS
;
620 } Py_INCREF(Py_None
);
621 _resultobj
= Py_None
;
625 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
626 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
) {
627 PyObject
* _resultobj
;
633 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetPaperId",&_argc0
,&_arg1
))
636 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
642 wxPy_BEGIN_ALLOW_THREADS
;
643 wxPrintData_SetPaperId(_arg0
,_arg1
);
645 wxPy_END_ALLOW_THREADS
;
646 } Py_INCREF(Py_None
);
647 _resultobj
= Py_None
;
651 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
652 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
) {
653 PyObject
* _resultobj
;
660 if(!PyArg_ParseTuple(args
,"ss:wxPrintData_SetPaperSize",&_argc0
,&_argc1
))
663 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
669 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPaperSize. Expected _wxSize_p.");
675 wxPy_BEGIN_ALLOW_THREADS
;
676 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
678 wxPy_END_ALLOW_THREADS
;
679 } Py_INCREF(Py_None
);
680 _resultobj
= Py_None
;
684 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
685 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
) {
686 PyObject
* _resultobj
;
688 wxPrintQuality _arg1
;
692 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetQuality",&_argc0
,&_arg1
))
695 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
701 wxPy_BEGIN_ALLOW_THREADS
;
702 wxPrintData_SetQuality(_arg0
,_arg1
);
704 wxPy_END_ALLOW_THREADS
;
705 } Py_INCREF(Py_None
);
706 _resultobj
= Py_None
;
710 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
711 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
) {
712 PyObject
* _resultobj
;
713 wxPageSetupDialogData
* _result
;
717 if(!PyArg_ParseTuple(args
,":new_wxPageSetupDialogData"))
720 wxPy_BEGIN_ALLOW_THREADS
;
721 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
723 wxPy_END_ALLOW_THREADS
;
724 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
725 _resultobj
= Py_BuildValue("s",_ptemp
);
729 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
730 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
) {
731 PyObject
* _resultobj
;
732 wxPageSetupDialogData
* _arg0
;
736 if(!PyArg_ParseTuple(args
,"s:delete_wxPageSetupDialogData",&_argc0
))
739 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
745 wxPy_BEGIN_ALLOW_THREADS
;
746 delete_wxPageSetupDialogData(_arg0
);
748 wxPy_END_ALLOW_THREADS
;
749 } Py_INCREF(Py_None
);
750 _resultobj
= Py_None
;
754 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
755 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
) {
756 PyObject
* _resultobj
;
757 wxPageSetupDialogData
* _arg0
;
763 if(!PyArg_ParseTuple(args
,"si:wxPageSetupDialogData_EnableHelp",&_argc0
,&tempbool1
))
766 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
771 _arg1
= (bool ) tempbool1
;
773 wxPy_BEGIN_ALLOW_THREADS
;
774 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
776 wxPy_END_ALLOW_THREADS
;
777 } Py_INCREF(Py_None
);
778 _resultobj
= Py_None
;
782 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
783 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
) {
784 PyObject
* _resultobj
;
785 wxPageSetupDialogData
* _arg0
;
791 if(!PyArg_ParseTuple(args
,"si:wxPageSetupDialogData_EnableMargins",&_argc0
,&tempbool1
))
794 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
799 _arg1
= (bool ) tempbool1
;
801 wxPy_BEGIN_ALLOW_THREADS
;
802 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
804 wxPy_END_ALLOW_THREADS
;
805 } Py_INCREF(Py_None
);
806 _resultobj
= Py_None
;
810 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
811 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
) {
812 PyObject
* _resultobj
;
813 wxPageSetupDialogData
* _arg0
;
819 if(!PyArg_ParseTuple(args
,"si:wxPageSetupDialogData_EnableOrientation",&_argc0
,&tempbool1
))
822 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
827 _arg1
= (bool ) tempbool1
;
829 wxPy_BEGIN_ALLOW_THREADS
;
830 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
832 wxPy_END_ALLOW_THREADS
;
833 } Py_INCREF(Py_None
);
834 _resultobj
= Py_None
;
838 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
839 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
) {
840 PyObject
* _resultobj
;
841 wxPageSetupDialogData
* _arg0
;
847 if(!PyArg_ParseTuple(args
,"si:wxPageSetupDialogData_EnablePaper",&_argc0
,&tempbool1
))
850 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
855 _arg1
= (bool ) tempbool1
;
857 wxPy_BEGIN_ALLOW_THREADS
;
858 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
860 wxPy_END_ALLOW_THREADS
;
861 } Py_INCREF(Py_None
);
862 _resultobj
= Py_None
;
866 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
867 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
) {
868 PyObject
* _resultobj
;
869 wxPageSetupDialogData
* _arg0
;
875 if(!PyArg_ParseTuple(args
,"si:wxPageSetupDialogData_EnablePrinter",&_argc0
,&tempbool1
))
878 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
883 _arg1
= (bool ) tempbool1
;
885 wxPy_BEGIN_ALLOW_THREADS
;
886 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
888 wxPy_END_ALLOW_THREADS
;
889 } Py_INCREF(Py_None
);
890 _resultobj
= Py_None
;
894 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
895 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
) {
896 PyObject
* _resultobj
;
898 wxPageSetupDialogData
* _arg0
;
902 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetDefaultMinMargins",&_argc0
))
905 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
911 wxPy_BEGIN_ALLOW_THREADS
;
912 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
914 wxPy_END_ALLOW_THREADS
;
915 } _resultobj
= Py_BuildValue("i",_result
);
919 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
920 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
) {
921 PyObject
* _resultobj
;
923 wxPageSetupDialogData
* _arg0
;
927 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetEnableMargins",&_argc0
))
930 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
936 wxPy_BEGIN_ALLOW_THREADS
;
937 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
939 wxPy_END_ALLOW_THREADS
;
940 } _resultobj
= Py_BuildValue("i",_result
);
944 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
945 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
) {
946 PyObject
* _resultobj
;
948 wxPageSetupDialogData
* _arg0
;
952 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetEnableOrientation",&_argc0
))
955 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
961 wxPy_BEGIN_ALLOW_THREADS
;
962 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
964 wxPy_END_ALLOW_THREADS
;
965 } _resultobj
= Py_BuildValue("i",_result
);
969 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
970 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
) {
971 PyObject
* _resultobj
;
973 wxPageSetupDialogData
* _arg0
;
977 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetEnablePaper",&_argc0
))
980 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
986 wxPy_BEGIN_ALLOW_THREADS
;
987 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
989 wxPy_END_ALLOW_THREADS
;
990 } _resultobj
= Py_BuildValue("i",_result
);
994 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
995 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
) {
996 PyObject
* _resultobj
;
998 wxPageSetupDialogData
* _arg0
;
1002 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetEnablePrinter",&_argc0
))
1005 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
1011 wxPy_BEGIN_ALLOW_THREADS
;
1012 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
1014 wxPy_END_ALLOW_THREADS
;
1015 } _resultobj
= Py_BuildValue("i",_result
);
1019 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
1020 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
) {
1021 PyObject
* _resultobj
;
1023 wxPageSetupDialogData
* _arg0
;
1027 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetEnableHelp",&_argc0
))
1030 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
1036 wxPy_BEGIN_ALLOW_THREADS
;
1037 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
1039 wxPy_END_ALLOW_THREADS
;
1040 } _resultobj
= Py_BuildValue("i",_result
);
1044 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
1045 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
) {
1046 PyObject
* _resultobj
;
1048 wxPageSetupDialogData
* _arg0
;
1052 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetDefaultInfo",&_argc0
))
1055 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1061 wxPy_BEGIN_ALLOW_THREADS
;
1062 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
1064 wxPy_END_ALLOW_THREADS
;
1065 } _resultobj
= Py_BuildValue("i",_result
);
1069 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
1070 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
) {
1071 PyObject
* _resultobj
;
1073 wxPageSetupDialogData
* _arg0
;
1078 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetMarginTopLeft",&_argc0
))
1081 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1087 wxPy_BEGIN_ALLOW_THREADS
;
1088 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
1090 wxPy_END_ALLOW_THREADS
;
1091 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1092 _resultobj
= Py_BuildValue("s",_ptemp
);
1096 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
1097 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
) {
1098 PyObject
* _resultobj
;
1100 wxPageSetupDialogData
* _arg0
;
1105 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetMarginBottomRight",&_argc0
))
1108 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1114 wxPy_BEGIN_ALLOW_THREADS
;
1115 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
1117 wxPy_END_ALLOW_THREADS
;
1118 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1119 _resultobj
= Py_BuildValue("s",_ptemp
);
1123 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
1124 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
) {
1125 PyObject
* _resultobj
;
1127 wxPageSetupDialogData
* _arg0
;
1132 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetMinMarginTopLeft",&_argc0
))
1135 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1141 wxPy_BEGIN_ALLOW_THREADS
;
1142 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
1144 wxPy_END_ALLOW_THREADS
;
1145 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1146 _resultobj
= Py_BuildValue("s",_ptemp
);
1150 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
1151 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
) {
1152 PyObject
* _resultobj
;
1154 wxPageSetupDialogData
* _arg0
;
1159 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetMinMarginBottomRight",&_argc0
))
1162 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1168 wxPy_BEGIN_ALLOW_THREADS
;
1169 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
1171 wxPy_END_ALLOW_THREADS
;
1172 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1173 _resultobj
= Py_BuildValue("s",_ptemp
);
1177 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
1178 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
) {
1179 PyObject
* _resultobj
;
1180 wxPaperSize _result
;
1181 wxPageSetupDialogData
* _arg0
;
1185 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetPaperId",&_argc0
))
1188 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
1194 wxPy_BEGIN_ALLOW_THREADS
;
1195 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
1197 wxPy_END_ALLOW_THREADS
;
1198 } _resultobj
= Py_BuildValue("i",_result
);
1202 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
1203 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
) {
1204 PyObject
* _resultobj
;
1206 wxPageSetupDialogData
* _arg0
;
1211 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetPaperSize",&_argc0
))
1214 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
1220 wxPy_BEGIN_ALLOW_THREADS
;
1221 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
1223 wxPy_END_ALLOW_THREADS
;
1224 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1225 _resultobj
= Py_BuildValue("s",_ptemp
);
1229 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
1230 return new wxPrintData(self
->GetPrintData()); // force a copy
1232 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
) {
1233 PyObject
* _resultobj
;
1234 wxPrintData
* _result
;
1235 wxPageSetupDialogData
* _arg0
;
1240 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetPrintData",&_argc0
))
1243 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
1249 wxPy_BEGIN_ALLOW_THREADS
;
1250 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
1252 wxPy_END_ALLOW_THREADS
;
1253 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1254 _resultobj
= Py_BuildValue("s",_ptemp
);
1258 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
1259 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
) {
1260 PyObject
* _resultobj
;
1261 wxPageSetupDialogData
* _arg0
;
1267 if(!PyArg_ParseTuple(args
,"si:wxPageSetupDialogData_SetDefaultInfo",&_argc0
,&tempbool1
))
1270 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1275 _arg1
= (bool ) tempbool1
;
1277 wxPy_BEGIN_ALLOW_THREADS
;
1278 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
1280 wxPy_END_ALLOW_THREADS
;
1281 } Py_INCREF(Py_None
);
1282 _resultobj
= Py_None
;
1286 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
1287 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
) {
1288 PyObject
* _resultobj
;
1289 wxPageSetupDialogData
* _arg0
;
1295 if(!PyArg_ParseTuple(args
,"si:wxPageSetupDialogData_SetDefaultMinMargins",&_argc0
,&tempbool1
))
1298 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1303 _arg1
= (bool ) tempbool1
;
1305 wxPy_BEGIN_ALLOW_THREADS
;
1306 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
1308 wxPy_END_ALLOW_THREADS
;
1309 } Py_INCREF(Py_None
);
1310 _resultobj
= Py_None
;
1314 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
1315 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
) {
1316 PyObject
* _resultobj
;
1317 wxPageSetupDialogData
* _arg0
;
1323 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupDialogData_SetMarginTopLeft",&_argc0
,&_argc1
))
1326 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1332 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPoint_p.");
1338 wxPy_BEGIN_ALLOW_THREADS
;
1339 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
1341 wxPy_END_ALLOW_THREADS
;
1342 } Py_INCREF(Py_None
);
1343 _resultobj
= Py_None
;
1347 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
1348 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
) {
1349 PyObject
* _resultobj
;
1350 wxPageSetupDialogData
* _arg0
;
1356 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupDialogData_SetMarginBottomRight",&_argc0
,&_argc1
))
1359 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1365 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPoint_p.");
1371 wxPy_BEGIN_ALLOW_THREADS
;
1372 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
1374 wxPy_END_ALLOW_THREADS
;
1375 } Py_INCREF(Py_None
);
1376 _resultobj
= Py_None
;
1380 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
1381 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
) {
1382 PyObject
* _resultobj
;
1383 wxPageSetupDialogData
* _arg0
;
1389 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupDialogData_SetMinMarginTopLeft",&_argc0
,&_argc1
))
1392 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1398 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPoint_p.");
1404 wxPy_BEGIN_ALLOW_THREADS
;
1405 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
1407 wxPy_END_ALLOW_THREADS
;
1408 } Py_INCREF(Py_None
);
1409 _resultobj
= Py_None
;
1413 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
1414 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
) {
1415 PyObject
* _resultobj
;
1416 wxPageSetupDialogData
* _arg0
;
1422 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupDialogData_SetMinMarginBottomRight",&_argc0
,&_argc1
))
1425 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1431 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPoint_p.");
1437 wxPy_BEGIN_ALLOW_THREADS
;
1438 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
1440 wxPy_END_ALLOW_THREADS
;
1441 } Py_INCREF(Py_None
);
1442 _resultobj
= Py_None
;
1446 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
1447 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
) {
1448 PyObject
* _resultobj
;
1449 wxPageSetupDialogData
* _arg0
;
1450 wxPaperSize
* _arg1
;
1455 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupDialogData_SetPaperId",&_argc0
,&_argc1
))
1458 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
1464 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPaperSize_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPaperId. Expected _wxPaperSize_p.");
1470 wxPy_BEGIN_ALLOW_THREADS
;
1471 wxPageSetupDialogData_SetPaperId(_arg0
,*_arg1
);
1473 wxPy_END_ALLOW_THREADS
;
1474 } Py_INCREF(Py_None
);
1475 _resultobj
= Py_None
;
1479 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
1480 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
) {
1481 PyObject
* _resultobj
;
1482 wxPageSetupDialogData
* _arg0
;
1488 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupDialogData_SetPaperSize",&_argc0
,&_argc1
))
1491 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
1497 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPaperSize. Expected _wxSize_p.");
1503 wxPy_BEGIN_ALLOW_THREADS
;
1504 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
1506 wxPy_END_ALLOW_THREADS
;
1507 } Py_INCREF(Py_None
);
1508 _resultobj
= Py_None
;
1512 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1513 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
) {
1514 PyObject
* _resultobj
;
1515 wxPageSetupDialogData
* _arg0
;
1516 wxPrintData
* _arg1
;
1521 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupDialogData_SetPrintData",&_argc0
,&_argc1
))
1524 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
1530 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPrintData_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
1536 wxPy_BEGIN_ALLOW_THREADS
;
1537 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
1539 wxPy_END_ALLOW_THREADS
;
1540 } Py_INCREF(Py_None
);
1541 _resultobj
= Py_None
;
1545 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
1546 wxPageSetupDialog
*src
;
1548 src
= (wxPageSetupDialog
*) ptr
;
1549 dest
= (wxDialog
*) src
;
1550 return (void *) dest
;
1553 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
1554 wxPageSetupDialog
*src
;
1556 src
= (wxPageSetupDialog
*) ptr
;
1557 dest
= (wxPanel
*) src
;
1558 return (void *) dest
;
1561 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
1562 wxPageSetupDialog
*src
;
1564 src
= (wxPageSetupDialog
*) ptr
;
1565 dest
= (wxWindow
*) src
;
1566 return (void *) dest
;
1569 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
1570 wxPageSetupDialog
*src
;
1572 src
= (wxPageSetupDialog
*) ptr
;
1573 dest
= (wxEvtHandler
*) src
;
1574 return (void *) dest
;
1577 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
1578 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
) {
1579 PyObject
* _resultobj
;
1580 wxPageSetupDialog
* _result
;
1582 wxPageSetupDialogData
* _arg1
= NULL
;
1588 if(!PyArg_ParseTuple(args
,"s|s:new_wxPageSetupDialog",&_argc0
,&_argc1
))
1591 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
1597 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
1603 wxPy_BEGIN_ALLOW_THREADS
;
1604 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
1606 wxPy_END_ALLOW_THREADS
;
1607 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
1608 _resultobj
= Py_BuildValue("s",_ptemp
);
1612 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
1613 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
) {
1614 PyObject
* _resultobj
;
1615 wxPageSetupDialogData
* _result
;
1616 wxPageSetupDialog
* _arg0
;
1621 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialog_GetPageSetupData",&_argc0
))
1624 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
1630 wxPy_BEGIN_ALLOW_THREADS
;
1631 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
1632 _result
= (wxPageSetupDialogData
*) &_result_ref
;
1634 wxPy_END_ALLOW_THREADS
;
1635 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1636 _resultobj
= Py_BuildValue("s",_ptemp
);
1640 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1641 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
1642 PyObject
* _resultobj
;
1644 wxPageSetupDialog
* _arg0
;
1648 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialog_ShowModal",&_argc0
))
1651 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
1657 wxPy_BEGIN_ALLOW_THREADS
;
1658 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
1660 wxPy_END_ALLOW_THREADS
;
1661 } _resultobj
= Py_BuildValue("i",_result
);
1665 #define new_wxPrintDialogData() (new wxPrintDialogData())
1666 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
) {
1667 PyObject
* _resultobj
;
1668 wxPrintDialogData
* _result
;
1672 if(!PyArg_ParseTuple(args
,":new_wxPrintDialogData"))
1675 wxPy_BEGIN_ALLOW_THREADS
;
1676 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
1678 wxPy_END_ALLOW_THREADS
;
1679 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
1680 _resultobj
= Py_BuildValue("s",_ptemp
);
1684 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
1685 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
) {
1686 PyObject
* _resultobj
;
1687 wxPrintDialogData
* _arg0
;
1691 if(!PyArg_ParseTuple(args
,"s:delete_wxPrintDialogData",&_argc0
))
1694 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
1700 wxPy_BEGIN_ALLOW_THREADS
;
1701 delete_wxPrintDialogData(_arg0
);
1703 wxPy_END_ALLOW_THREADS
;
1704 } Py_INCREF(Py_None
);
1705 _resultobj
= Py_None
;
1709 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1710 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
) {
1711 PyObject
* _resultobj
;
1712 wxPrintDialogData
* _arg0
;
1718 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_EnableHelp",&_argc0
,&tempbool1
))
1721 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
1726 _arg1
= (bool ) tempbool1
;
1728 wxPy_BEGIN_ALLOW_THREADS
;
1729 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
1731 wxPy_END_ALLOW_THREADS
;
1732 } Py_INCREF(Py_None
);
1733 _resultobj
= Py_None
;
1737 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
1738 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
) {
1739 PyObject
* _resultobj
;
1740 wxPrintDialogData
* _arg0
;
1746 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_EnablePageNumbers",&_argc0
,&tempbool1
))
1749 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
1754 _arg1
= (bool ) tempbool1
;
1756 wxPy_BEGIN_ALLOW_THREADS
;
1757 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
1759 wxPy_END_ALLOW_THREADS
;
1760 } Py_INCREF(Py_None
);
1761 _resultobj
= Py_None
;
1765 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
1766 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
) {
1767 PyObject
* _resultobj
;
1768 wxPrintDialogData
* _arg0
;
1774 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_EnablePrintToFile",&_argc0
,&tempbool1
))
1777 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
1782 _arg1
= (bool ) tempbool1
;
1784 wxPy_BEGIN_ALLOW_THREADS
;
1785 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
1787 wxPy_END_ALLOW_THREADS
;
1788 } Py_INCREF(Py_None
);
1789 _resultobj
= Py_None
;
1793 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
1794 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
) {
1795 PyObject
* _resultobj
;
1796 wxPrintDialogData
* _arg0
;
1802 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_EnableSelection",&_argc0
,&tempbool1
))
1805 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
1810 _arg1
= (bool ) tempbool1
;
1812 wxPy_BEGIN_ALLOW_THREADS
;
1813 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
1815 wxPy_END_ALLOW_THREADS
;
1816 } Py_INCREF(Py_None
);
1817 _resultobj
= Py_None
;
1821 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
1822 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
) {
1823 PyObject
* _resultobj
;
1825 wxPrintDialogData
* _arg0
;
1829 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetAllPages",&_argc0
))
1832 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
1838 wxPy_BEGIN_ALLOW_THREADS
;
1839 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
1841 wxPy_END_ALLOW_THREADS
;
1842 } _resultobj
= Py_BuildValue("i",_result
);
1846 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
1847 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
) {
1848 PyObject
* _resultobj
;
1850 wxPrintDialogData
* _arg0
;
1854 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetCollate",&_argc0
))
1857 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
1863 wxPy_BEGIN_ALLOW_THREADS
;
1864 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
1866 wxPy_END_ALLOW_THREADS
;
1867 } _resultobj
= Py_BuildValue("i",_result
);
1871 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
1872 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
) {
1873 PyObject
* _resultobj
;
1875 wxPrintDialogData
* _arg0
;
1879 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetFromPage",&_argc0
))
1882 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
1888 wxPy_BEGIN_ALLOW_THREADS
;
1889 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
1891 wxPy_END_ALLOW_THREADS
;
1892 } _resultobj
= Py_BuildValue("i",_result
);
1896 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
1897 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
) {
1898 PyObject
* _resultobj
;
1900 wxPrintDialogData
* _arg0
;
1904 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetMaxPage",&_argc0
))
1907 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
1913 wxPy_BEGIN_ALLOW_THREADS
;
1914 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
1916 wxPy_END_ALLOW_THREADS
;
1917 } _resultobj
= Py_BuildValue("i",_result
);
1921 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
1922 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
) {
1923 PyObject
* _resultobj
;
1925 wxPrintDialogData
* _arg0
;
1929 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetMinPage",&_argc0
))
1932 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
1938 wxPy_BEGIN_ALLOW_THREADS
;
1939 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
1941 wxPy_END_ALLOW_THREADS
;
1942 } _resultobj
= Py_BuildValue("i",_result
);
1946 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
1947 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
) {
1948 PyObject
* _resultobj
;
1950 wxPrintDialogData
* _arg0
;
1954 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetNoCopies",&_argc0
))
1957 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
1963 wxPy_BEGIN_ALLOW_THREADS
;
1964 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
1966 wxPy_END_ALLOW_THREADS
;
1967 } _resultobj
= Py_BuildValue("i",_result
);
1971 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
1972 return new wxPrintData(self
->GetPrintData()); // force a copy
1974 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
) {
1975 PyObject
* _resultobj
;
1976 wxPrintData
* _result
;
1977 wxPrintDialogData
* _arg0
;
1982 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetPrintData",&_argc0
))
1985 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
1991 wxPy_BEGIN_ALLOW_THREADS
;
1992 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
1994 wxPy_END_ALLOW_THREADS
;
1995 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1996 _resultobj
= Py_BuildValue("s",_ptemp
);
2000 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
2001 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
) {
2002 PyObject
* _resultobj
;
2004 wxPrintDialogData
* _arg0
;
2008 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetPrintToFile",&_argc0
))
2011 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
2017 wxPy_BEGIN_ALLOW_THREADS
;
2018 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
2020 wxPy_END_ALLOW_THREADS
;
2021 } _resultobj
= Py_BuildValue("i",_result
);
2025 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
2026 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
) {
2027 PyObject
* _resultobj
;
2029 wxPrintDialogData
* _arg0
;
2033 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetToPage",&_argc0
))
2036 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
2042 wxPy_BEGIN_ALLOW_THREADS
;
2043 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
2045 wxPy_END_ALLOW_THREADS
;
2046 } _resultobj
= Py_BuildValue("i",_result
);
2050 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
2051 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
) {
2052 PyObject
* _resultobj
;
2053 wxPrintDialogData
* _arg0
;
2059 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetCollate",&_argc0
,&tempbool1
))
2062 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
2067 _arg1
= (bool ) tempbool1
;
2069 wxPy_BEGIN_ALLOW_THREADS
;
2070 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
2072 wxPy_END_ALLOW_THREADS
;
2073 } Py_INCREF(Py_None
);
2074 _resultobj
= Py_None
;
2078 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
2079 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
) {
2080 PyObject
* _resultobj
;
2081 wxPrintDialogData
* _arg0
;
2086 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetFromPage",&_argc0
,&_arg1
))
2089 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
2095 wxPy_BEGIN_ALLOW_THREADS
;
2096 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
2098 wxPy_END_ALLOW_THREADS
;
2099 } Py_INCREF(Py_None
);
2100 _resultobj
= Py_None
;
2104 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
2105 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
) {
2106 PyObject
* _resultobj
;
2107 wxPrintDialogData
* _arg0
;
2112 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetMaxPage",&_argc0
,&_arg1
))
2115 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
2121 wxPy_BEGIN_ALLOW_THREADS
;
2122 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
2124 wxPy_END_ALLOW_THREADS
;
2125 } Py_INCREF(Py_None
);
2126 _resultobj
= Py_None
;
2130 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
2131 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
) {
2132 PyObject
* _resultobj
;
2133 wxPrintDialogData
* _arg0
;
2138 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetMinPage",&_argc0
,&_arg1
))
2141 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
2147 wxPy_BEGIN_ALLOW_THREADS
;
2148 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
2150 wxPy_END_ALLOW_THREADS
;
2151 } Py_INCREF(Py_None
);
2152 _resultobj
= Py_None
;
2156 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
2157 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
) {
2158 PyObject
* _resultobj
;
2159 wxPrintDialogData
* _arg0
;
2164 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetNoCopies",&_argc0
,&_arg1
))
2167 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
2173 wxPy_BEGIN_ALLOW_THREADS
;
2174 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
2176 wxPy_END_ALLOW_THREADS
;
2177 } Py_INCREF(Py_None
);
2178 _resultobj
= Py_None
;
2182 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2183 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
) {
2184 PyObject
* _resultobj
;
2185 wxPrintDialogData
* _arg0
;
2186 wxPrintData
* _arg1
;
2191 if(!PyArg_ParseTuple(args
,"ss:wxPrintDialogData_SetPrintData",&_argc0
,&_argc1
))
2194 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
2200 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPrintData_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
2206 wxPy_BEGIN_ALLOW_THREADS
;
2207 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
2209 wxPy_END_ALLOW_THREADS
;
2210 } Py_INCREF(Py_None
);
2211 _resultobj
= Py_None
;
2215 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
2216 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
) {
2217 PyObject
* _resultobj
;
2218 wxPrintDialogData
* _arg0
;
2224 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetPrintToFile",&_argc0
,&tempbool1
))
2227 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
2232 _arg1
= (bool ) tempbool1
;
2234 wxPy_BEGIN_ALLOW_THREADS
;
2235 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
2237 wxPy_END_ALLOW_THREADS
;
2238 } Py_INCREF(Py_None
);
2239 _resultobj
= Py_None
;
2243 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
2244 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
) {
2245 PyObject
* _resultobj
;
2246 wxPrintDialogData
* _arg0
;
2252 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetSetupDialog",&_argc0
,&tempbool1
))
2255 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
2260 _arg1
= (bool ) tempbool1
;
2262 wxPy_BEGIN_ALLOW_THREADS
;
2263 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
2265 wxPy_END_ALLOW_THREADS
;
2266 } Py_INCREF(Py_None
);
2267 _resultobj
= Py_None
;
2271 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
2272 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
) {
2273 PyObject
* _resultobj
;
2274 wxPrintDialogData
* _arg0
;
2279 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetToPage",&_argc0
,&_arg1
))
2282 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
2288 wxPy_BEGIN_ALLOW_THREADS
;
2289 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
2291 wxPy_END_ALLOW_THREADS
;
2292 } Py_INCREF(Py_None
);
2293 _resultobj
= Py_None
;
2297 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
2300 src
= (wxPrintDialog
*) ptr
;
2301 dest
= (wxDialog
*) src
;
2302 return (void *) dest
;
2305 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
2308 src
= (wxPrintDialog
*) ptr
;
2309 dest
= (wxPanel
*) src
;
2310 return (void *) dest
;
2313 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
2316 src
= (wxPrintDialog
*) ptr
;
2317 dest
= (wxWindow
*) src
;
2318 return (void *) dest
;
2321 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
2324 src
= (wxPrintDialog
*) ptr
;
2325 dest
= (wxEvtHandler
*) src
;
2326 return (void *) dest
;
2329 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
2330 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
) {
2331 PyObject
* _resultobj
;
2332 wxPrintDialog
* _result
;
2334 wxPrintDialogData
* _arg1
= NULL
;
2340 if(!PyArg_ParseTuple(args
,"s|s:new_wxPrintDialog",&_argc0
,&_argc1
))
2343 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
2349 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
2355 wxPy_BEGIN_ALLOW_THREADS
;
2356 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
2358 wxPy_END_ALLOW_THREADS
;
2359 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
2360 _resultobj
= Py_BuildValue("s",_ptemp
);
2364 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
2365 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
) {
2366 PyObject
* _resultobj
;
2367 wxPrintDialogData
* _result
;
2368 wxPrintDialog
* _arg0
;
2373 if(!PyArg_ParseTuple(args
,"s:wxPrintDialog_GetPrintDialogData",&_argc0
))
2376 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
2382 wxPy_BEGIN_ALLOW_THREADS
;
2383 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
2384 _result
= (wxPrintDialogData
*) &_result_ref
;
2386 wxPy_END_ALLOW_THREADS
;
2387 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2388 _resultobj
= Py_BuildValue("s",_ptemp
);
2392 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
2393 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
) {
2394 PyObject
* _resultobj
;
2396 wxPrintDialog
* _arg0
;
2401 if(!PyArg_ParseTuple(args
,"s:wxPrintDialog_GetPrintDC",&_argc0
))
2404 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
2410 wxPy_BEGIN_ALLOW_THREADS
;
2411 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
2413 wxPy_END_ALLOW_THREADS
;
2414 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2415 _resultobj
= Py_BuildValue("s",_ptemp
);
2419 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2420 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
2421 PyObject
* _resultobj
;
2423 wxPrintDialog
* _arg0
;
2427 if(!PyArg_ParseTuple(args
,"s:wxPrintDialog_ShowModal",&_argc0
))
2430 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
2436 wxPy_BEGIN_ALLOW_THREADS
;
2437 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
2439 wxPy_END_ALLOW_THREADS
;
2440 } _resultobj
= Py_BuildValue("i",_result
);
2444 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
2445 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
) {
2446 PyObject
* _resultobj
;
2447 wxPyPrintout
* _result
;
2448 char * _arg0
= "Printout";
2452 if(!PyArg_ParseTuple(args
,"|s:new_wxPrintout",&_arg0
))
2455 wxPy_BEGIN_ALLOW_THREADS
;
2456 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
2458 wxPy_END_ALLOW_THREADS
;
2459 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
2460 _resultobj
= Py_BuildValue("s",_ptemp
);
2464 #define wxPrintout__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2465 static PyObject
*_wrap_wxPrintout__setSelf(PyObject
*self
, PyObject
*args
) {
2466 PyObject
* _resultobj
;
2467 wxPyPrintout
* _arg0
;
2470 PyObject
* _obj1
= 0;
2473 if(!PyArg_ParseTuple(args
,"sO:wxPrintout__setSelf",&_argc0
,&_obj1
))
2476 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
2485 wxPy_BEGIN_ALLOW_THREADS
;
2486 wxPrintout__setSelf(_arg0
,_arg1
);
2488 wxPy_END_ALLOW_THREADS
;
2489 } Py_INCREF(Py_None
);
2490 _resultobj
= Py_None
;
2494 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) {
2497 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
) {
2498 PyObject
* _resultobj
;
2499 wxPyPrintout
* _arg0
;
2503 if(!PyArg_ParseTuple(args
,"s:wxPrintout_Destroy",&_argc0
))
2506 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
2512 wxPy_BEGIN_ALLOW_THREADS
;
2513 wxPyPrintout_Destroy(_arg0
);
2515 wxPy_END_ALLOW_THREADS
;
2516 } Py_INCREF(Py_None
);
2517 _resultobj
= Py_None
;
2521 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
2522 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
) {
2523 PyObject
* _resultobj
;
2525 wxPyPrintout
* _arg0
;
2530 if(!PyArg_ParseTuple(args
,"s:wxPrintout_GetDC",&_argc0
))
2533 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
2539 wxPy_BEGIN_ALLOW_THREADS
;
2540 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
2542 wxPy_END_ALLOW_THREADS
;
2543 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2544 _resultobj
= Py_BuildValue("s",_ptemp
);
2548 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
2549 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
) {
2550 PyObject
* _resultobj
;
2551 wxPyPrintout
* _arg0
;
2565 if(!PyArg_ParseTuple(args
,"s:wxPrintout_GetPageSizeMM",&_argc0
))
2568 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
2574 wxPy_BEGIN_ALLOW_THREADS
;
2575 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
2577 wxPy_END_ALLOW_THREADS
;
2578 } Py_INCREF(Py_None
);
2579 _resultobj
= Py_None
;
2582 o
= PyInt_FromLong((long) (*_arg1
));
2583 _resultobj
= t_output_helper(_resultobj
, o
);
2587 o
= PyInt_FromLong((long) (*_arg2
));
2588 _resultobj
= t_output_helper(_resultobj
, o
);
2593 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
2594 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
) {
2595 PyObject
* _resultobj
;
2596 wxPyPrintout
* _arg0
;
2610 if(!PyArg_ParseTuple(args
,"s:wxPrintout_GetPageSizePixels",&_argc0
))
2613 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
2619 wxPy_BEGIN_ALLOW_THREADS
;
2620 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
2622 wxPy_END_ALLOW_THREADS
;
2623 } Py_INCREF(Py_None
);
2624 _resultobj
= Py_None
;
2627 o
= PyInt_FromLong((long) (*_arg1
));
2628 _resultobj
= t_output_helper(_resultobj
, o
);
2632 o
= PyInt_FromLong((long) (*_arg2
));
2633 _resultobj
= t_output_helper(_resultobj
, o
);
2638 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
2639 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
) {
2640 PyObject
* _resultobj
;
2641 wxPyPrintout
* _arg0
;
2655 if(!PyArg_ParseTuple(args
,"s:wxPrintout_GetPPIPrinter",&_argc0
))
2658 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
2664 wxPy_BEGIN_ALLOW_THREADS
;
2665 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
2667 wxPy_END_ALLOW_THREADS
;
2668 } Py_INCREF(Py_None
);
2669 _resultobj
= Py_None
;
2672 o
= PyInt_FromLong((long) (*_arg1
));
2673 _resultobj
= t_output_helper(_resultobj
, o
);
2677 o
= PyInt_FromLong((long) (*_arg2
));
2678 _resultobj
= t_output_helper(_resultobj
, o
);
2683 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
2684 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
) {
2685 PyObject
* _resultobj
;
2686 wxPyPrintout
* _arg0
;
2700 if(!PyArg_ParseTuple(args
,"s:wxPrintout_GetPPIScreen",&_argc0
))
2703 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
2709 wxPy_BEGIN_ALLOW_THREADS
;
2710 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
2712 wxPy_END_ALLOW_THREADS
;
2713 } Py_INCREF(Py_None
);
2714 _resultobj
= Py_None
;
2717 o
= PyInt_FromLong((long) (*_arg1
));
2718 _resultobj
= t_output_helper(_resultobj
, o
);
2722 o
= PyInt_FromLong((long) (*_arg2
));
2723 _resultobj
= t_output_helper(_resultobj
, o
);
2728 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
2729 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
) {
2730 PyObject
* _resultobj
;
2732 wxPyPrintout
* _arg0
;
2736 if(!PyArg_ParseTuple(args
,"s:wxPrintout_IsPreview",&_argc0
))
2739 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
2745 wxPy_BEGIN_ALLOW_THREADS
;
2746 _result
= (bool )wxPrintout_IsPreview(_arg0
);
2748 wxPy_END_ALLOW_THREADS
;
2749 } _resultobj
= Py_BuildValue("i",_result
);
2753 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
2754 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
) {
2755 PyObject
* _resultobj
;
2757 wxPyPrintout
* _arg0
;
2763 if(!PyArg_ParseTuple(args
,"sii:wxPrintout_base_OnBeginDocument",&_argc0
,&_arg1
,&_arg2
))
2766 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
2772 wxPy_BEGIN_ALLOW_THREADS
;
2773 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
2775 wxPy_END_ALLOW_THREADS
;
2776 } _resultobj
= Py_BuildValue("i",_result
);
2780 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
2781 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
) {
2782 PyObject
* _resultobj
;
2783 wxPyPrintout
* _arg0
;
2787 if(!PyArg_ParseTuple(args
,"s:wxPrintout_base_OnEndDocument",&_argc0
))
2790 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
2796 wxPy_BEGIN_ALLOW_THREADS
;
2797 wxPrintout_base_OnEndDocument(_arg0
);
2799 wxPy_END_ALLOW_THREADS
;
2800 } Py_INCREF(Py_None
);
2801 _resultobj
= Py_None
;
2805 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
2806 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
) {
2807 PyObject
* _resultobj
;
2808 wxPyPrintout
* _arg0
;
2812 if(!PyArg_ParseTuple(args
,"s:wxPrintout_base_OnBeginPrinting",&_argc0
))
2815 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
2821 wxPy_BEGIN_ALLOW_THREADS
;
2822 wxPrintout_base_OnBeginPrinting(_arg0
);
2824 wxPy_END_ALLOW_THREADS
;
2825 } Py_INCREF(Py_None
);
2826 _resultobj
= Py_None
;
2830 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
2831 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
) {
2832 PyObject
* _resultobj
;
2833 wxPyPrintout
* _arg0
;
2837 if(!PyArg_ParseTuple(args
,"s:wxPrintout_base_OnEndPrinting",&_argc0
))
2840 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
2846 wxPy_BEGIN_ALLOW_THREADS
;
2847 wxPrintout_base_OnEndPrinting(_arg0
);
2849 wxPy_END_ALLOW_THREADS
;
2850 } Py_INCREF(Py_None
);
2851 _resultobj
= Py_None
;
2855 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
2856 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
) {
2857 PyObject
* _resultobj
;
2858 wxPyPrintout
* _arg0
;
2862 if(!PyArg_ParseTuple(args
,"s:wxPrintout_base_OnPreparePrinting",&_argc0
))
2865 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
2871 wxPy_BEGIN_ALLOW_THREADS
;
2872 wxPrintout_base_OnPreparePrinting(_arg0
);
2874 wxPy_END_ALLOW_THREADS
;
2875 } Py_INCREF(Py_None
);
2876 _resultobj
= Py_None
;
2880 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2881 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
) {
2882 PyObject
* _resultobj
;
2883 wxPyPrintout
* _arg0
;
2907 if(!PyArg_ParseTuple(args
,"s:wxPrintout_base_GetPageInfo",&_argc0
))
2910 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
2916 wxPy_BEGIN_ALLOW_THREADS
;
2917 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2919 wxPy_END_ALLOW_THREADS
;
2920 } Py_INCREF(Py_None
);
2921 _resultobj
= Py_None
;
2924 o
= PyInt_FromLong((long) (*_arg1
));
2925 _resultobj
= t_output_helper(_resultobj
, o
);
2929 o
= PyInt_FromLong((long) (*_arg2
));
2930 _resultobj
= t_output_helper(_resultobj
, o
);
2934 o
= PyInt_FromLong((long) (*_arg3
));
2935 _resultobj
= t_output_helper(_resultobj
, o
);
2939 o
= PyInt_FromLong((long) (*_arg4
));
2940 _resultobj
= t_output_helper(_resultobj
, o
);
2945 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
2946 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
) {
2947 PyObject
* _resultobj
;
2949 wxPyPrintout
* _arg0
;
2954 if(!PyArg_ParseTuple(args
,"si:wxPrintout_base_HasPage",&_argc0
,&_arg1
))
2957 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
2963 wxPy_BEGIN_ALLOW_THREADS
;
2964 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
2966 wxPy_END_ALLOW_THREADS
;
2967 } _resultobj
= Py_BuildValue("i",_result
);
2971 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
2972 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
) {
2973 PyObject
* _resultobj
;
2974 wxPrinter
* _result
;
2975 wxPrintDialogData
* _arg0
= NULL
;
2980 if(!PyArg_ParseTuple(args
,"|s:new_wxPrinter",&_argc0
))
2983 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
2989 wxPy_BEGIN_ALLOW_THREADS
;
2990 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
2992 wxPy_END_ALLOW_THREADS
;
2993 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
2994 _resultobj
= Py_BuildValue("s",_ptemp
);
2998 #define delete_wxPrinter(_swigobj) (delete _swigobj)
2999 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
) {
3000 PyObject
* _resultobj
;
3005 if(!PyArg_ParseTuple(args
,"s:delete_wxPrinter",&_argc0
))
3008 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrinter_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
3014 wxPy_BEGIN_ALLOW_THREADS
;
3015 delete_wxPrinter(_arg0
);
3017 wxPy_END_ALLOW_THREADS
;
3018 } Py_INCREF(Py_None
);
3019 _resultobj
= Py_None
;
3023 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
3024 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
) {
3025 PyObject
* _resultobj
;
3028 wxPyPrintout
* _arg2
;
3034 if(!PyArg_ParseTuple(args
,"sss:wxPrinter_CreateAbortWindow",&_argc0
,&_argc1
,&_argc2
))
3037 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrinter_p")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
3043 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
3049 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
3055 wxPy_BEGIN_ALLOW_THREADS
;
3056 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
3058 wxPy_END_ALLOW_THREADS
;
3059 } Py_INCREF(Py_None
);
3060 _resultobj
= Py_None
;
3064 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3065 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
) {
3066 PyObject
* _resultobj
;
3067 wxPrintDialogData
* _result
;
3073 if(!PyArg_ParseTuple(args
,"s:wxPrinter_GetPrintDialogData",&_argc0
))
3076 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrinter_p")) {
3077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
3082 wxPy_BEGIN_ALLOW_THREADS
;
3083 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
3084 _result
= (wxPrintDialogData
*) &_result_ref
;
3086 wxPy_END_ALLOW_THREADS
;
3087 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3088 _resultobj
= Py_BuildValue("s",_ptemp
);
3092 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
3093 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
) {
3094 PyObject
* _resultobj
;
3098 wxPyPrintout
* _arg2
;
3105 if(!PyArg_ParseTuple(args
,"sss|i:wxPrinter_Print",&_argc0
,&_argc1
,&_argc2
,&_arg3
))
3108 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrinter_p")) {
3109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
3114 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
3120 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
3126 wxPy_BEGIN_ALLOW_THREADS
;
3127 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
3129 wxPy_END_ALLOW_THREADS
;
3130 } _resultobj
= Py_BuildValue("i",_result
);
3134 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
3135 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
) {
3136 PyObject
* _resultobj
;
3145 if(!PyArg_ParseTuple(args
,"ss:wxPrinter_PrintDialog",&_argc0
,&_argc1
))
3148 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrinter_p")) {
3149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
3154 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
3160 wxPy_BEGIN_ALLOW_THREADS
;
3161 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
3163 wxPy_END_ALLOW_THREADS
;
3164 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3165 _resultobj
= Py_BuildValue("s",_ptemp
);
3169 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
3170 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
) {
3171 PyObject
* _resultobj
;
3174 wxPyPrintout
* _arg2
;
3181 if(!PyArg_ParseTuple(args
,"ssss:wxPrinter_ReportError",&_argc0
,&_argc1
,&_argc2
,&_arg3
))
3184 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrinter_p")) {
3185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
3190 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
3196 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
3202 wxPy_BEGIN_ALLOW_THREADS
;
3203 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
3205 wxPy_END_ALLOW_THREADS
;
3206 } Py_INCREF(Py_None
);
3207 _resultobj
= Py_None
;
3211 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
3212 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
) {
3213 PyObject
* _resultobj
;
3221 if(!PyArg_ParseTuple(args
,"ss:wxPrinter_Setup",&_argc0
,&_argc1
))
3224 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrinter_p")) {
3225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
3230 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
3236 wxPy_BEGIN_ALLOW_THREADS
;
3237 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
3239 wxPy_END_ALLOW_THREADS
;
3240 } _resultobj
= Py_BuildValue("i",_result
);
3244 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
3245 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
) {
3246 PyObject
* _resultobj
;
3247 wxPrintPreview
* _result
;
3248 wxPyPrintout
* _arg0
;
3249 wxPyPrintout
* _arg1
;
3250 wxPrintData
* _arg2
= NULL
;
3257 if(!PyArg_ParseTuple(args
,"ss|s:new_wxPrintPreview",&_argc0
,&_argc1
,&_argc2
))
3260 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3266 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3272 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPrintData_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
3278 wxPy_BEGIN_ALLOW_THREADS
;
3279 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
3281 wxPy_END_ALLOW_THREADS
;
3282 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
3283 _resultobj
= Py_BuildValue("s",_ptemp
);
3287 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
3288 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
) {
3289 PyObject
* _resultobj
;
3291 wxPrintPreview
* _arg0
;
3296 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetCanvas",&_argc0
))
3299 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
3305 wxPy_BEGIN_ALLOW_THREADS
;
3306 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
3308 wxPy_END_ALLOW_THREADS
;
3309 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3310 _resultobj
= Py_BuildValue("s",_ptemp
);
3314 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
3315 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
) {
3316 PyObject
* _resultobj
;
3318 wxPrintPreview
* _arg0
;
3322 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetCurrentPage",&_argc0
))
3325 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
3331 wxPy_BEGIN_ALLOW_THREADS
;
3332 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
3334 wxPy_END_ALLOW_THREADS
;
3335 } _resultobj
= Py_BuildValue("i",_result
);
3339 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
3340 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
) {
3341 PyObject
* _resultobj
;
3343 wxPrintPreview
* _arg0
;
3348 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetFrame",&_argc0
))
3351 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
3357 wxPy_BEGIN_ALLOW_THREADS
;
3358 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
3360 wxPy_END_ALLOW_THREADS
;
3361 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
3362 _resultobj
= Py_BuildValue("s",_ptemp
);
3366 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3367 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
) {
3368 PyObject
* _resultobj
;
3370 wxPrintPreview
* _arg0
;
3374 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetMaxPage",&_argc0
))
3377 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
3383 wxPy_BEGIN_ALLOW_THREADS
;
3384 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
3386 wxPy_END_ALLOW_THREADS
;
3387 } _resultobj
= Py_BuildValue("i",_result
);
3391 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3392 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
) {
3393 PyObject
* _resultobj
;
3395 wxPrintPreview
* _arg0
;
3399 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetMinPage",&_argc0
))
3402 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
3408 wxPy_BEGIN_ALLOW_THREADS
;
3409 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
3411 wxPy_END_ALLOW_THREADS
;
3412 } _resultobj
= Py_BuildValue("i",_result
);
3416 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3417 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
) {
3418 PyObject
* _resultobj
;
3419 wxPrintDialogData
* _result
;
3420 wxPrintPreview
* _arg0
;
3425 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetPrintDialogData",&_argc0
))
3428 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
3434 wxPy_BEGIN_ALLOW_THREADS
;
3435 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
3436 _result
= (wxPrintDialogData
*) &_result_ref
;
3438 wxPy_END_ALLOW_THREADS
;
3439 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3440 _resultobj
= Py_BuildValue("s",_ptemp
);
3444 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
3445 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
) {
3446 PyObject
* _resultobj
;
3447 wxPyPrintout
* _result
;
3448 wxPrintPreview
* _arg0
;
3453 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetPrintout",&_argc0
))
3456 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
3462 wxPy_BEGIN_ALLOW_THREADS
;
3463 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
3465 wxPy_END_ALLOW_THREADS
;
3466 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3467 _resultobj
= Py_BuildValue("s",_ptemp
);
3471 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
3472 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
) {
3473 PyObject
* _resultobj
;
3474 wxPyPrintout
* _result
;
3475 wxPrintPreview
* _arg0
;
3480 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetPrintoutForPrinting",&_argc0
))
3483 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
3489 wxPy_BEGIN_ALLOW_THREADS
;
3490 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
3492 wxPy_END_ALLOW_THREADS
;
3493 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3494 _resultobj
= Py_BuildValue("s",_ptemp
);
3498 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
3499 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
) {
3500 PyObject
* _resultobj
;
3502 wxPrintPreview
* _arg0
;
3506 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetZoom",&_argc0
))
3509 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
3515 wxPy_BEGIN_ALLOW_THREADS
;
3516 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
3518 wxPy_END_ALLOW_THREADS
;
3519 } _resultobj
= Py_BuildValue("i",_result
);
3523 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
3524 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
) {
3525 PyObject
* _resultobj
;
3527 wxPrintPreview
* _arg0
;
3531 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_Ok",&_argc0
))
3534 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
3540 wxPy_BEGIN_ALLOW_THREADS
;
3541 _result
= (bool )wxPrintPreview_Ok(_arg0
);
3543 wxPy_END_ALLOW_THREADS
;
3544 } _resultobj
= Py_BuildValue("i",_result
);
3548 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
3549 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
) {
3550 PyObject
* _resultobj
;
3552 wxPrintPreview
* _arg0
;
3558 if(!PyArg_ParseTuple(args
,"si:wxPrintPreview_Print",&_argc0
,&tempbool1
))
3561 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
3566 _arg1
= (bool ) tempbool1
;
3568 wxPy_BEGIN_ALLOW_THREADS
;
3569 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
3571 wxPy_END_ALLOW_THREADS
;
3572 } _resultobj
= Py_BuildValue("i",_result
);
3576 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
3577 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
) {
3578 PyObject
* _resultobj
;
3579 wxPrintPreview
* _arg0
;
3585 if(!PyArg_ParseTuple(args
,"ss:wxPrintPreview_SetCanvas",&_argc0
,&_argc1
))
3588 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
3594 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
3600 wxPy_BEGIN_ALLOW_THREADS
;
3601 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
3603 wxPy_END_ALLOW_THREADS
;
3604 } Py_INCREF(Py_None
);
3605 _resultobj
= Py_None
;
3609 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
3610 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
) {
3611 PyObject
* _resultobj
;
3612 wxPrintPreview
* _arg0
;
3617 if(!PyArg_ParseTuple(args
,"si:wxPrintPreview_SetCurrentPage",&_argc0
,&_arg1
))
3620 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
3626 wxPy_BEGIN_ALLOW_THREADS
;
3627 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
3629 wxPy_END_ALLOW_THREADS
;
3630 } Py_INCREF(Py_None
);
3631 _resultobj
= Py_None
;
3635 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
3636 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
) {
3637 PyObject
* _resultobj
;
3638 wxPrintPreview
* _arg0
;
3644 if(!PyArg_ParseTuple(args
,"ss:wxPrintPreview_SetFrame",&_argc0
,&_argc1
))
3647 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
3653 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFrame_p")) {
3654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
3659 wxPy_BEGIN_ALLOW_THREADS
;
3660 wxPrintPreview_SetFrame(_arg0
,_arg1
);
3662 wxPy_END_ALLOW_THREADS
;
3663 } Py_INCREF(Py_None
);
3664 _resultobj
= Py_None
;
3668 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
3669 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
) {
3670 PyObject
* _resultobj
;
3671 wxPrintPreview
* _arg0
;
3672 wxPyPrintout
* _arg1
;
3677 if(!PyArg_ParseTuple(args
,"ss:wxPrintPreview_SetPrintout",&_argc0
,&_argc1
))
3680 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
3686 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
3692 wxPy_BEGIN_ALLOW_THREADS
;
3693 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
3695 wxPy_END_ALLOW_THREADS
;
3696 } Py_INCREF(Py_None
);
3697 _resultobj
= Py_None
;
3701 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
3702 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
) {
3703 PyObject
* _resultobj
;
3704 wxPrintPreview
* _arg0
;
3709 if(!PyArg_ParseTuple(args
,"si:wxPrintPreview_SetZoom",&_argc0
,&_arg1
))
3712 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
3718 wxPy_BEGIN_ALLOW_THREADS
;
3719 wxPrintPreview_SetZoom(_arg0
,_arg1
);
3721 wxPy_END_ALLOW_THREADS
;
3722 } Py_INCREF(Py_None
);
3723 _resultobj
= Py_None
;
3727 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
3728 wxPreviewFrame
*src
;
3730 src
= (wxPreviewFrame
*) ptr
;
3731 dest
= (wxFrame
*) src
;
3732 return (void *) dest
;
3735 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
3736 wxPreviewFrame
*src
;
3738 src
= (wxPreviewFrame
*) ptr
;
3739 dest
= (wxWindow
*) src
;
3740 return (void *) dest
;
3743 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
3744 wxPreviewFrame
*src
;
3746 src
= (wxPreviewFrame
*) ptr
;
3747 dest
= (wxEvtHandler
*) src
;
3748 return (void *) dest
;
3751 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3752 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
) {
3753 PyObject
* _resultobj
;
3754 wxPreviewFrame
* _result
;
3755 wxPrintPreview
* _arg0
;
3758 wxPoint
* _arg3
= &wxPyDefaultPosition
;
3759 wxSize
* _arg4
= &wxPyDefaultSize
;
3760 long _arg5
= (wxDEFAULT_FRAME_STYLE
);
3761 char * _arg6
= "frame";
3764 PyObject
* _obj2
= 0;
3770 if(!PyArg_ParseTuple(args
,"ssO|ssls:new_wxPreviewFrame",&_argc0
,&_argc1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
3773 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
3779 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFrame_p")) {
3780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
3785 if (!PyString_Check(_obj2
)) {
3786 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3789 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3792 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
3793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPreviewFrame. Expected _wxPoint_p.");
3798 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxPreviewFrame. Expected _wxSize_p.");
3804 wxPy_BEGIN_ALLOW_THREADS
;
3805 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3807 wxPy_END_ALLOW_THREADS
;
3808 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
3809 _resultobj
= Py_BuildValue("s",_ptemp
);
3817 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
3818 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
) {
3819 PyObject
* _resultobj
;
3820 wxPreviewFrame
* _arg0
;
3824 if(!PyArg_ParseTuple(args
,"s:wxPreviewFrame_Initialize",&_argc0
))
3827 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
3828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
3833 wxPy_BEGIN_ALLOW_THREADS
;
3834 wxPreviewFrame_Initialize(_arg0
);
3836 wxPy_END_ALLOW_THREADS
;
3837 } Py_INCREF(Py_None
);
3838 _resultobj
= Py_None
;
3842 static PyMethodDef printfwcMethods
[] = {
3843 { "wxPreviewFrame_Initialize", _wrap_wxPreviewFrame_Initialize
, 1 },
3844 { "new_wxPreviewFrame", _wrap_new_wxPreviewFrame
, 1 },
3845 { "wxPrintPreview_SetZoom", _wrap_wxPrintPreview_SetZoom
, 1 },
3846 { "wxPrintPreview_SetPrintout", _wrap_wxPrintPreview_SetPrintout
, 1 },
3847 { "wxPrintPreview_SetFrame", _wrap_wxPrintPreview_SetFrame
, 1 },
3848 { "wxPrintPreview_SetCurrentPage", _wrap_wxPrintPreview_SetCurrentPage
, 1 },
3849 { "wxPrintPreview_SetCanvas", _wrap_wxPrintPreview_SetCanvas
, 1 },
3850 { "wxPrintPreview_Print", _wrap_wxPrintPreview_Print
, 1 },
3851 { "wxPrintPreview_Ok", _wrap_wxPrintPreview_Ok
, 1 },
3852 { "wxPrintPreview_GetZoom", _wrap_wxPrintPreview_GetZoom
, 1 },
3853 { "wxPrintPreview_GetPrintoutForPrinting", _wrap_wxPrintPreview_GetPrintoutForPrinting
, 1 },
3854 { "wxPrintPreview_GetPrintout", _wrap_wxPrintPreview_GetPrintout
, 1 },
3855 { "wxPrintPreview_GetPrintDialogData", _wrap_wxPrintPreview_GetPrintDialogData
, 1 },
3856 { "wxPrintPreview_GetMinPage", _wrap_wxPrintPreview_GetMinPage
, 1 },
3857 { "wxPrintPreview_GetMaxPage", _wrap_wxPrintPreview_GetMaxPage
, 1 },
3858 { "wxPrintPreview_GetFrame", _wrap_wxPrintPreview_GetFrame
, 1 },
3859 { "wxPrintPreview_GetCurrentPage", _wrap_wxPrintPreview_GetCurrentPage
, 1 },
3860 { "wxPrintPreview_GetCanvas", _wrap_wxPrintPreview_GetCanvas
, 1 },
3861 { "new_wxPrintPreview", _wrap_new_wxPrintPreview
, 1 },
3862 { "wxPrinter_Setup", _wrap_wxPrinter_Setup
, 1 },
3863 { "wxPrinter_ReportError", _wrap_wxPrinter_ReportError
, 1 },
3864 { "wxPrinter_PrintDialog", _wrap_wxPrinter_PrintDialog
, 1 },
3865 { "wxPrinter_Print", _wrap_wxPrinter_Print
, 1 },
3866 { "wxPrinter_GetPrintDialogData", _wrap_wxPrinter_GetPrintDialogData
, 1 },
3867 { "wxPrinter_CreateAbortWindow", _wrap_wxPrinter_CreateAbortWindow
, 1 },
3868 { "delete_wxPrinter", _wrap_delete_wxPrinter
, 1 },
3869 { "new_wxPrinter", _wrap_new_wxPrinter
, 1 },
3870 { "wxPrintout_base_HasPage", _wrap_wxPrintout_base_HasPage
, 1 },
3871 { "wxPrintout_base_GetPageInfo", _wrap_wxPrintout_base_GetPageInfo
, 1 },
3872 { "wxPrintout_base_OnPreparePrinting", _wrap_wxPrintout_base_OnPreparePrinting
, 1 },
3873 { "wxPrintout_base_OnEndPrinting", _wrap_wxPrintout_base_OnEndPrinting
, 1 },
3874 { "wxPrintout_base_OnBeginPrinting", _wrap_wxPrintout_base_OnBeginPrinting
, 1 },
3875 { "wxPrintout_base_OnEndDocument", _wrap_wxPrintout_base_OnEndDocument
, 1 },
3876 { "wxPrintout_base_OnBeginDocument", _wrap_wxPrintout_base_OnBeginDocument
, 1 },
3877 { "wxPrintout_IsPreview", _wrap_wxPrintout_IsPreview
, 1 },
3878 { "wxPrintout_GetPPIScreen", _wrap_wxPrintout_GetPPIScreen
, 1 },
3879 { "wxPrintout_GetPPIPrinter", _wrap_wxPrintout_GetPPIPrinter
, 1 },
3880 { "wxPrintout_GetPageSizePixels", _wrap_wxPrintout_GetPageSizePixels
, 1 },
3881 { "wxPrintout_GetPageSizeMM", _wrap_wxPrintout_GetPageSizeMM
, 1 },
3882 { "wxPrintout_GetDC", _wrap_wxPrintout_GetDC
, 1 },
3883 { "wxPrintout_Destroy", _wrap_wxPrintout_Destroy
, 1 },
3884 { "wxPrintout__setSelf", _wrap_wxPrintout__setSelf
, 1 },
3885 { "new_wxPrintout", _wrap_new_wxPrintout
, 1 },
3886 { "wxPrintDialog_ShowModal", _wrap_wxPrintDialog_ShowModal
, 1 },
3887 { "wxPrintDialog_GetPrintDC", _wrap_wxPrintDialog_GetPrintDC
, 1 },
3888 { "wxPrintDialog_GetPrintDialogData", _wrap_wxPrintDialog_GetPrintDialogData
, 1 },
3889 { "new_wxPrintDialog", _wrap_new_wxPrintDialog
, 1 },
3890 { "wxPrintDialogData_SetToPage", _wrap_wxPrintDialogData_SetToPage
, 1 },
3891 { "wxPrintDialogData_SetSetupDialog", _wrap_wxPrintDialogData_SetSetupDialog
, 1 },
3892 { "wxPrintDialogData_SetPrintToFile", _wrap_wxPrintDialogData_SetPrintToFile
, 1 },
3893 { "wxPrintDialogData_SetPrintData", _wrap_wxPrintDialogData_SetPrintData
, 1 },
3894 { "wxPrintDialogData_SetNoCopies", _wrap_wxPrintDialogData_SetNoCopies
, 1 },
3895 { "wxPrintDialogData_SetMinPage", _wrap_wxPrintDialogData_SetMinPage
, 1 },
3896 { "wxPrintDialogData_SetMaxPage", _wrap_wxPrintDialogData_SetMaxPage
, 1 },
3897 { "wxPrintDialogData_SetFromPage", _wrap_wxPrintDialogData_SetFromPage
, 1 },
3898 { "wxPrintDialogData_SetCollate", _wrap_wxPrintDialogData_SetCollate
, 1 },
3899 { "wxPrintDialogData_GetToPage", _wrap_wxPrintDialogData_GetToPage
, 1 },
3900 { "wxPrintDialogData_GetPrintToFile", _wrap_wxPrintDialogData_GetPrintToFile
, 1 },
3901 { "wxPrintDialogData_GetPrintData", _wrap_wxPrintDialogData_GetPrintData
, 1 },
3902 { "wxPrintDialogData_GetNoCopies", _wrap_wxPrintDialogData_GetNoCopies
, 1 },
3903 { "wxPrintDialogData_GetMinPage", _wrap_wxPrintDialogData_GetMinPage
, 1 },
3904 { "wxPrintDialogData_GetMaxPage", _wrap_wxPrintDialogData_GetMaxPage
, 1 },
3905 { "wxPrintDialogData_GetFromPage", _wrap_wxPrintDialogData_GetFromPage
, 1 },
3906 { "wxPrintDialogData_GetCollate", _wrap_wxPrintDialogData_GetCollate
, 1 },
3907 { "wxPrintDialogData_GetAllPages", _wrap_wxPrintDialogData_GetAllPages
, 1 },
3908 { "wxPrintDialogData_EnableSelection", _wrap_wxPrintDialogData_EnableSelection
, 1 },
3909 { "wxPrintDialogData_EnablePrintToFile", _wrap_wxPrintDialogData_EnablePrintToFile
, 1 },
3910 { "wxPrintDialogData_EnablePageNumbers", _wrap_wxPrintDialogData_EnablePageNumbers
, 1 },
3911 { "wxPrintDialogData_EnableHelp", _wrap_wxPrintDialogData_EnableHelp
, 1 },
3912 { "delete_wxPrintDialogData", _wrap_delete_wxPrintDialogData
, 1 },
3913 { "new_wxPrintDialogData", _wrap_new_wxPrintDialogData
, 1 },
3914 { "wxPageSetupDialog_ShowModal", _wrap_wxPageSetupDialog_ShowModal
, 1 },
3915 { "wxPageSetupDialog_GetPageSetupData", _wrap_wxPageSetupDialog_GetPageSetupData
, 1 },
3916 { "new_wxPageSetupDialog", _wrap_new_wxPageSetupDialog
, 1 },
3917 { "wxPageSetupDialogData_SetPrintData", _wrap_wxPageSetupDialogData_SetPrintData
, 1 },
3918 { "wxPageSetupDialogData_SetPaperSize", _wrap_wxPageSetupDialogData_SetPaperSize
, 1 },
3919 { "wxPageSetupDialogData_SetPaperId", _wrap_wxPageSetupDialogData_SetPaperId
, 1 },
3920 { "wxPageSetupDialogData_SetMinMarginBottomRight", _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, 1 },
3921 { "wxPageSetupDialogData_SetMinMarginTopLeft", _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, 1 },
3922 { "wxPageSetupDialogData_SetMarginBottomRight", _wrap_wxPageSetupDialogData_SetMarginBottomRight
, 1 },
3923 { "wxPageSetupDialogData_SetMarginTopLeft", _wrap_wxPageSetupDialogData_SetMarginTopLeft
, 1 },
3924 { "wxPageSetupDialogData_SetDefaultMinMargins", _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, 1 },
3925 { "wxPageSetupDialogData_SetDefaultInfo", _wrap_wxPageSetupDialogData_SetDefaultInfo
, 1 },
3926 { "wxPageSetupDialogData_GetPrintData", _wrap_wxPageSetupDialogData_GetPrintData
, 1 },
3927 { "wxPageSetupDialogData_GetPaperSize", _wrap_wxPageSetupDialogData_GetPaperSize
, 1 },
3928 { "wxPageSetupDialogData_GetPaperId", _wrap_wxPageSetupDialogData_GetPaperId
, 1 },
3929 { "wxPageSetupDialogData_GetMinMarginBottomRight", _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, 1 },
3930 { "wxPageSetupDialogData_GetMinMarginTopLeft", _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, 1 },
3931 { "wxPageSetupDialogData_GetMarginBottomRight", _wrap_wxPageSetupDialogData_GetMarginBottomRight
, 1 },
3932 { "wxPageSetupDialogData_GetMarginTopLeft", _wrap_wxPageSetupDialogData_GetMarginTopLeft
, 1 },
3933 { "wxPageSetupDialogData_GetDefaultInfo", _wrap_wxPageSetupDialogData_GetDefaultInfo
, 1 },
3934 { "wxPageSetupDialogData_GetEnableHelp", _wrap_wxPageSetupDialogData_GetEnableHelp
, 1 },
3935 { "wxPageSetupDialogData_GetEnablePrinter", _wrap_wxPageSetupDialogData_GetEnablePrinter
, 1 },
3936 { "wxPageSetupDialogData_GetEnablePaper", _wrap_wxPageSetupDialogData_GetEnablePaper
, 1 },
3937 { "wxPageSetupDialogData_GetEnableOrientation", _wrap_wxPageSetupDialogData_GetEnableOrientation
, 1 },
3938 { "wxPageSetupDialogData_GetEnableMargins", _wrap_wxPageSetupDialogData_GetEnableMargins
, 1 },
3939 { "wxPageSetupDialogData_GetDefaultMinMargins", _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, 1 },
3940 { "wxPageSetupDialogData_EnablePrinter", _wrap_wxPageSetupDialogData_EnablePrinter
, 1 },
3941 { "wxPageSetupDialogData_EnablePaper", _wrap_wxPageSetupDialogData_EnablePaper
, 1 },
3942 { "wxPageSetupDialogData_EnableOrientation", _wrap_wxPageSetupDialogData_EnableOrientation
, 1 },
3943 { "wxPageSetupDialogData_EnableMargins", _wrap_wxPageSetupDialogData_EnableMargins
, 1 },
3944 { "wxPageSetupDialogData_EnableHelp", _wrap_wxPageSetupDialogData_EnableHelp
, 1 },
3945 { "delete_wxPageSetupDialogData", _wrap_delete_wxPageSetupDialogData
, 1 },
3946 { "new_wxPageSetupDialogData", _wrap_new_wxPageSetupDialogData
, 1 },
3947 { "wxPrintData_SetQuality", _wrap_wxPrintData_SetQuality
, 1 },
3948 { "wxPrintData_SetPaperSize", _wrap_wxPrintData_SetPaperSize
, 1 },
3949 { "wxPrintData_SetPaperId", _wrap_wxPrintData_SetPaperId
, 1 },
3950 { "wxPrintData_SetDuplex", _wrap_wxPrintData_SetDuplex
, 1 },
3951 { "wxPrintData_SetColour", _wrap_wxPrintData_SetColour
, 1 },
3952 { "wxPrintData_SetPrinterName", _wrap_wxPrintData_SetPrinterName
, 1 },
3953 { "wxPrintData_SetOrientation", _wrap_wxPrintData_SetOrientation
, 1 },
3954 { "wxPrintData_SetCollate", _wrap_wxPrintData_SetCollate
, 1 },
3955 { "wxPrintData_SetNoCopies", _wrap_wxPrintData_SetNoCopies
, 1 },
3956 { "wxPrintData_GetQuality", _wrap_wxPrintData_GetQuality
, 1 },
3957 { "wxPrintData_GetPaperSize", _wrap_wxPrintData_GetPaperSize
, 1 },
3958 { "wxPrintData_GetPaperId", _wrap_wxPrintData_GetPaperId
, 1 },
3959 { "wxPrintData_GetDuplex", _wrap_wxPrintData_GetDuplex
, 1 },
3960 { "wxPrintData_GetColour", _wrap_wxPrintData_GetColour
, 1 },
3961 { "wxPrintData_GetPrinterName", _wrap_wxPrintData_GetPrinterName
, 1 },
3962 { "wxPrintData_GetOrientation", _wrap_wxPrintData_GetOrientation
, 1 },
3963 { "wxPrintData_GetCollate", _wrap_wxPrintData_GetCollate
, 1 },
3964 { "wxPrintData_GetNoCopies", _wrap_wxPrintData_GetNoCopies
, 1 },
3965 { "delete_wxPrintData", _wrap_delete_wxPrintData
, 1 },
3966 { "new_wxPrintData", _wrap_new_wxPrintData
, 1 },
3969 static PyObject
*SWIG_globals
;
3973 SWIGEXPORT(void,initprintfwc
)() {
3975 SWIG_globals
= SWIG_newvarlink();
3976 m
= Py_InitModule("printfwc", printfwcMethods
);
3977 d
= PyModule_GetDict(m
);
3979 * These are the pointer type-equivalency mappings.
3980 * (Used by the SWIG pointer type-checker).
3982 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3983 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
3984 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
3985 SWIG_RegisterMapping("_signed_long","_long",0);
3986 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
3987 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
3988 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
3989 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
3990 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
3991 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
3992 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
3993 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
3994 SWIG_RegisterMapping("_wxFontData","_class_wxFontData",0);
3995 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
3996 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
3997 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
);
3998 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
);
3999 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
);
4000 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
);
4001 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
);
4002 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
);
4003 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4004 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
4005 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4006 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4007 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
4008 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4009 SWIG_RegisterMapping("_class_wxColourData","_wxColourData",0);
4010 SWIG_RegisterMapping("_class_wxPageSetupDialogData","_wxPageSetupDialogData",0);
4011 SWIG_RegisterMapping("_wxPrinter","_class_wxPrinter",0);
4012 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4013 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
4014 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4015 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
4016 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
4017 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
4018 SWIG_RegisterMapping("_wxPyPrintout","_class_wxPyPrintout",0);
4019 SWIG_RegisterMapping("_long","_wxDash",0);
4020 SWIG_RegisterMapping("_long","_unsigned_long",0);
4021 SWIG_RegisterMapping("_long","_signed_long",0);
4022 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
4023 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
4024 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
4025 SWIG_RegisterMapping("_class_wxPrintDialogData","_wxPrintDialogData",0);
4026 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4027 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
4028 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4029 SWIG_RegisterMapping("_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0);
4030 SWIG_RegisterMapping("_wxProgressDialog","_class_wxProgressDialog",0);
4031 SWIG_RegisterMapping("_wxPrintPreview","_class_wxPrintPreview",0);
4032 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
4033 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
4034 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
4035 SWIG_RegisterMapping("_size_t","_int",0);
4036 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
4037 SWIG_RegisterMapping("_size_t","_uint",0);
4038 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4039 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
4040 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4041 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
4042 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
4043 SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0);
4044 SWIG_RegisterMapping("_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
);
4045 SWIG_RegisterMapping("_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
);
4046 SWIG_RegisterMapping("_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
);
4047 SWIG_RegisterMapping("_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
);
4048 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4049 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
4050 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
4051 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
4052 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
4053 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4054 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
4055 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4056 SWIG_RegisterMapping("_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
);
4057 SWIG_RegisterMapping("_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
);
4058 SWIG_RegisterMapping("_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
);
4059 SWIG_RegisterMapping("_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
);
4060 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4061 SWIG_RegisterMapping("_wxPageSetupDialog","_class_wxPageSetupDialog",0);
4062 SWIG_RegisterMapping("_class_wxPrinter","_wxPrinter",0);
4063 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
4064 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
4065 SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
4066 SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
4067 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4068 SWIG_RegisterMapping("_wxMiniFrame","_class_wxMiniFrame",0);
4069 SWIG_RegisterMapping("_class_wxPyPrintout","_wxPyPrintout",0);
4070 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
4071 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
4072 SWIG_RegisterMapping("_uint","_size_t",0);
4073 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4074 SWIG_RegisterMapping("_uint","_int",0);
4075 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4076 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
4077 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
4078 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4079 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
4080 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
4081 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4082 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
4083 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
4084 SWIG_RegisterMapping("_class_wxFontData","_wxFontData",0);
4085 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4086 SWIG_RegisterMapping("_wxPrintDialog","_class_wxPrintDialog",0);
4087 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4088 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
4089 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
4090 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
4091 SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
4092 SWIG_RegisterMapping("_wxColourDialog","_class_wxColourDialog",0);
4093 SWIG_RegisterMapping("_wxPrintData","_class_wxPrintData",0);
4094 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4095 SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
4096 SWIG_RegisterMapping("_wxMessageDialog","_class_wxMessageDialog",0);
4097 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
4098 SWIG_RegisterMapping("_wxTextEntryDialog","_class_wxTextEntryDialog",0);
4099 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
4100 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
4101 SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
4102 SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
4103 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
4104 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
4105 SWIG_RegisterMapping("_EBool","_signed_int",0);
4106 SWIG_RegisterMapping("_EBool","_int",0);
4107 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4108 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4109 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
4110 SWIG_RegisterMapping("_class_wxPreviewFrame","_wxPreviewFrame",0);
4111 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
4112 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4113 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
4114 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4115 SWIG_RegisterMapping("_unsigned_long","_long",0);
4116 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4117 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4118 SWIG_RegisterMapping("_class_wxProgressDialog","_wxProgressDialog",0);
4119 SWIG_RegisterMapping("_class_wxDirDialog","_wxDirDialog",0);
4120 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4121 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
4122 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
4123 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
4124 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4125 SWIG_RegisterMapping("_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
);
4126 SWIG_RegisterMapping("_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
);
4127 SWIG_RegisterMapping("_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
);
4128 SWIG_RegisterMapping("_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
);
4129 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4130 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
4131 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
4132 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
4133 SWIG_RegisterMapping("_class_wxMessageDialog","_wxMessageDialog",0);
4134 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
4135 SWIG_RegisterMapping("_signed_int","_EBool",0);
4136 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4137 SWIG_RegisterMapping("_signed_int","_int",0);
4138 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
4139 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4140 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
4141 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4142 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
4143 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
4144 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4145 SWIG_RegisterMapping("_WXTYPE","_short",0);
4146 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4147 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4148 SWIG_RegisterMapping("_wxFileDialog","_class_wxFileDialog",0);
4149 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4150 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4151 SWIG_RegisterMapping("_unsigned_short","_short",0);
4152 SWIG_RegisterMapping("_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
);
4153 SWIG_RegisterMapping("_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
);
4154 SWIG_RegisterMapping("_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
);
4155 SWIG_RegisterMapping("_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
);
4156 SWIG_RegisterMapping("_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
);
4157 SWIG_RegisterMapping("_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
);
4158 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4159 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
4160 SWIG_RegisterMapping("_wxPrintDialogData","_class_wxPrintDialogData",0);
4161 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4162 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
4163 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
4164 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4165 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
4166 SWIG_RegisterMapping("_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0);
4167 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4168 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4169 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
4170 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4171 SWIG_RegisterMapping("_signed_short","_short",0);
4172 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4173 SWIG_RegisterMapping("_class_wxPrintDialog","_wxPrintDialog",0);
4174 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4175 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
4176 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
4177 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
4178 SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0);
4179 SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0);
4180 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4181 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4182 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4183 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4184 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
4185 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4186 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
4187 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
4188 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
4189 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
4190 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4191 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4192 SWIG_RegisterMapping("_unsigned_int","_int",0);
4193 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4194 SWIG_RegisterMapping("_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
);
4195 SWIG_RegisterMapping("_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
);
4196 SWIG_RegisterMapping("_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
);
4197 SWIG_RegisterMapping("_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
);
4198 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4199 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4200 SWIG_RegisterMapping("_class_wxFileDialog","_wxFileDialog",0);
4201 SWIG_RegisterMapping("_short","_WXTYPE",0);
4202 SWIG_RegisterMapping("_short","_unsigned_short",0);
4203 SWIG_RegisterMapping("_short","_signed_short",0);
4204 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
4205 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
4206 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
4207 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
4208 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
4209 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
4210 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
4211 SWIG_RegisterMapping("_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
);
4212 SWIG_RegisterMapping("_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
);
4213 SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
4214 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
4215 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
4216 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4217 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4218 SWIG_RegisterMapping("_wxWindowID","_int",0);
4219 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4220 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4221 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
4222 SWIG_RegisterMapping("_int","_size_t",0);
4223 SWIG_RegisterMapping("_int","_EBool",0);
4224 SWIG_RegisterMapping("_int","_uint",0);
4225 SWIG_RegisterMapping("_int","_wxWindowID",0);
4226 SWIG_RegisterMapping("_int","_unsigned_int",0);
4227 SWIG_RegisterMapping("_int","_signed_int",0);
4228 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
4229 SWIG_RegisterMapping("_class_wxPrintPreview","_wxPrintPreview",0);
4230 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
4231 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
4232 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4233 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4234 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
4235 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4236 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
4237 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
4238 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
4239 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
4240 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4241 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
4242 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
4243 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
4244 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4245 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4246 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4247 SWIG_RegisterMapping("_class_wxPageSetupDialog","_wxPageSetupDialog",0);
4248 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4249 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
4250 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
4251 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
4252 SWIG_RegisterMapping("_class_wxMiniFrame","_wxMiniFrame",0);
4253 SWIG_RegisterMapping("_wxFontDialog","_class_wxFontDialog",0);
4254 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4255 SWIG_RegisterMapping("_wxPreviewFrame","_class_wxPreviewFrame",0);
4256 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
4257 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
4258 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
4259 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
4260 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
4261 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4262 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
4263 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4264 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4265 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4266 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4267 SWIG_RegisterMapping("_wxDirDialog","_class_wxDirDialog",0);
4268 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
);
4269 SWIG_RegisterMapping("_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
);
4270 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
);
4271 SWIG_RegisterMapping("_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
);
4272 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
);
4273 SWIG_RegisterMapping("_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
);
4274 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4275 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4276 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
4277 SWIG_RegisterMapping("_class_wxColourDialog","_wxColourDialog",0);
4278 SWIG_RegisterMapping("_class_wxPrintData","_wxPrintData",0);
4279 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4280 SWIG_RegisterMapping("_wxDash","_long",0);
4281 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4282 SWIG_RegisterMapping("_class_wxTextEntryDialog","_wxTextEntryDialog",0);
4283 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
4284 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
4285 SWIG_RegisterMapping("_wxColourData","_class_wxColourData",0);
4286 SWIG_RegisterMapping("_wxPageSetupDialogData","_class_wxPageSetupDialogData",0);
4287 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4288 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
4289 SWIG_RegisterMapping("_class_wxFontDialog","_wxFontDialog",0);
4290 SWIG_RegisterMapping("_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
);
4291 SWIG_RegisterMapping("_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
);
4292 SWIG_RegisterMapping("_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
);
4293 SWIG_RegisterMapping("_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
);
4294 SWIG_RegisterMapping("_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
);
4295 SWIG_RegisterMapping("_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
);
4296 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
4297 SWIG_RegisterMapping("_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
);
4298 SWIG_RegisterMapping("_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
);
4299 SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);