2 * FILE : gtk/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
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
108 extern byte
* byte_LIST_helper(PyObject
* source
);
109 extern int* int_LIST_helper(PyObject
* source
);
110 extern long* long_LIST_helper(PyObject
* source
);
111 extern char** string_LIST_helper(PyObject
* source
);
112 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 extern wxString
* wxString_LIST_helper(PyObject
* source
);
115 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
120 class wxPyPrintout
: public wxPrintout
{
122 wxPyPrintout(const wxString
& title
) : wxPrintout(title
) {}
124 PYCALLBACK_BOOL_INTINT(wxPrintout
, OnBeginDocument
);
125 PYCALLBACK__(wxPrintout
, OnEndDocument
);
126 PYCALLBACK__(wxPrintout
, OnBeginPrinting
);
127 PYCALLBACK__(wxPrintout
, OnEndPrinting
);
128 PYCALLBACK__(wxPrintout
, OnPreparePrinting
);
129 PYCALLBACK_BOOL_INT_pure(wxPrintout
, OnPrintPage
);
130 PYCALLBACK_BOOL_INT(wxPrintout
, HasPage
);
133 // Since this one would be tough and ugly to do with the Macros...
134 void GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
137 if (m_myInst
.findCallback("GetPageInfo")) {
138 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
139 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
142 val
= PyTuple_GetItem(result
, 0);
143 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
146 val
= PyTuple_GetItem(result
, 1);
147 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
150 val
= PyTuple_GetItem(result
, 2);
151 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
154 val
= PyTuple_GetItem(result
, 3);
155 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
162 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
166 #ifdef WXP_WITH_THREAD
171 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
173 void base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
174 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
179 #define new_wxPrintData() (new wxPrintData())
180 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
) {
181 PyObject
* _resultobj
;
182 wxPrintData
* _result
;
186 if(!PyArg_ParseTuple(args
,":new_wxPrintData"))
189 wxPy_BEGIN_ALLOW_THREADS
;
190 _result
= (wxPrintData
*)new_wxPrintData();
192 wxPy_END_ALLOW_THREADS
;
193 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
194 _resultobj
= Py_BuildValue("s",_ptemp
);
198 #define delete_wxPrintData(_swigobj) (delete _swigobj)
199 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
) {
200 PyObject
* _resultobj
;
205 if(!PyArg_ParseTuple(args
,"s:delete_wxPrintData",&_argc0
))
208 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
214 wxPy_BEGIN_ALLOW_THREADS
;
215 delete_wxPrintData(_arg0
);
217 wxPy_END_ALLOW_THREADS
;
218 } Py_INCREF(Py_None
);
219 _resultobj
= Py_None
;
223 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
224 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
) {
225 PyObject
* _resultobj
;
231 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetNoCopies",&_argc0
))
234 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
240 wxPy_BEGIN_ALLOW_THREADS
;
241 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
243 wxPy_END_ALLOW_THREADS
;
244 } _resultobj
= Py_BuildValue("i",_result
);
248 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
249 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
) {
250 PyObject
* _resultobj
;
256 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetCollate",&_argc0
))
259 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
265 wxPy_BEGIN_ALLOW_THREADS
;
266 _result
= (bool )wxPrintData_GetCollate(_arg0
);
268 wxPy_END_ALLOW_THREADS
;
269 } _resultobj
= Py_BuildValue("i",_result
);
273 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
274 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
) {
275 PyObject
* _resultobj
;
281 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetOrientation",&_argc0
))
284 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
290 wxPy_BEGIN_ALLOW_THREADS
;
291 _result
= (int )wxPrintData_GetOrientation(_arg0
);
293 wxPy_END_ALLOW_THREADS
;
294 } _resultobj
= Py_BuildValue("i",_result
);
298 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
299 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
) {
300 PyObject
* _resultobj
;
306 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetPrinterName",&_argc0
))
309 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
315 wxPy_BEGIN_ALLOW_THREADS
;
316 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
317 _result
= (wxString
*) &_result_ref
;
319 wxPy_END_ALLOW_THREADS
;
321 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
326 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
327 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
) {
328 PyObject
* _resultobj
;
334 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetColour",&_argc0
))
337 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
343 wxPy_BEGIN_ALLOW_THREADS
;
344 _result
= (bool )wxPrintData_GetColour(_arg0
);
346 wxPy_END_ALLOW_THREADS
;
347 } _resultobj
= Py_BuildValue("i",_result
);
351 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
352 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
) {
353 PyObject
* _resultobj
;
354 wxDuplexMode _result
;
359 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetDuplex",&_argc0
))
362 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
368 wxPy_BEGIN_ALLOW_THREADS
;
369 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
371 wxPy_END_ALLOW_THREADS
;
372 } _resultobj
= Py_BuildValue("i",_result
);
376 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
377 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
) {
378 PyObject
* _resultobj
;
384 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetPaperId",&_argc0
))
387 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
393 wxPy_BEGIN_ALLOW_THREADS
;
394 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
396 wxPy_END_ALLOW_THREADS
;
397 } _resultobj
= Py_BuildValue("i",_result
);
401 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
402 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
) {
403 PyObject
* _resultobj
;
410 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetPaperSize",&_argc0
))
413 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
419 wxPy_BEGIN_ALLOW_THREADS
;
420 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
421 _result
= (wxSize
*) &_result_ref
;
423 wxPy_END_ALLOW_THREADS
;
424 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
425 _resultobj
= Py_BuildValue("s",_ptemp
);
429 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
430 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
) {
431 PyObject
* _resultobj
;
432 wxPrintQuality _result
;
437 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetQuality",&_argc0
))
440 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
446 wxPy_BEGIN_ALLOW_THREADS
;
447 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
449 wxPy_END_ALLOW_THREADS
;
450 } _resultobj
= Py_BuildValue("i",_result
);
454 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
455 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
) {
456 PyObject
* _resultobj
;
462 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetNoCopies",&_argc0
,&_arg1
))
465 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
471 wxPy_BEGIN_ALLOW_THREADS
;
472 wxPrintData_SetNoCopies(_arg0
,_arg1
);
474 wxPy_END_ALLOW_THREADS
;
475 } Py_INCREF(Py_None
);
476 _resultobj
= Py_None
;
480 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
481 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
) {
482 PyObject
* _resultobj
;
489 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetCollate",&_argc0
,&tempbool1
))
492 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
497 _arg1
= (bool ) tempbool1
;
499 wxPy_BEGIN_ALLOW_THREADS
;
500 wxPrintData_SetCollate(_arg0
,_arg1
);
502 wxPy_END_ALLOW_THREADS
;
503 } Py_INCREF(Py_None
);
504 _resultobj
= Py_None
;
508 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
509 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
) {
510 PyObject
* _resultobj
;
516 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetOrientation",&_argc0
,&_arg1
))
519 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
525 wxPy_BEGIN_ALLOW_THREADS
;
526 wxPrintData_SetOrientation(_arg0
,_arg1
);
528 wxPy_END_ALLOW_THREADS
;
529 } Py_INCREF(Py_None
);
530 _resultobj
= Py_None
;
534 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
535 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
) {
536 PyObject
* _resultobj
;
540 PyObject
* _obj1
= 0;
543 if(!PyArg_ParseTuple(args
,"sO:wxPrintData_SetPrinterName",&_argc0
,&_obj1
))
546 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
552 if (!PyString_Check(_obj1
)) {
553 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
556 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
559 wxPy_BEGIN_ALLOW_THREADS
;
560 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
562 wxPy_END_ALLOW_THREADS
;
563 } Py_INCREF(Py_None
);
564 _resultobj
= Py_None
;
572 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
573 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
) {
574 PyObject
* _resultobj
;
581 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetColour",&_argc0
,&tempbool1
))
584 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
589 _arg1
= (bool ) tempbool1
;
591 wxPy_BEGIN_ALLOW_THREADS
;
592 wxPrintData_SetColour(_arg0
,_arg1
);
594 wxPy_END_ALLOW_THREADS
;
595 } Py_INCREF(Py_None
);
596 _resultobj
= Py_None
;
600 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
601 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
) {
602 PyObject
* _resultobj
;
608 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetDuplex",&_argc0
,&_arg1
))
611 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
617 wxPy_BEGIN_ALLOW_THREADS
;
618 wxPrintData_SetDuplex(_arg0
,_arg1
);
620 wxPy_END_ALLOW_THREADS
;
621 } Py_INCREF(Py_None
);
622 _resultobj
= Py_None
;
626 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
627 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
) {
628 PyObject
* _resultobj
;
634 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetPaperId",&_argc0
,&_arg1
))
637 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
643 wxPy_BEGIN_ALLOW_THREADS
;
644 wxPrintData_SetPaperId(_arg0
,_arg1
);
646 wxPy_END_ALLOW_THREADS
;
647 } Py_INCREF(Py_None
);
648 _resultobj
= Py_None
;
652 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
653 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
) {
654 PyObject
* _resultobj
;
661 if(!PyArg_ParseTuple(args
,"ss:wxPrintData_SetPaperSize",&_argc0
,&_argc1
))
664 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
670 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPaperSize. Expected _wxSize_p.");
676 wxPy_BEGIN_ALLOW_THREADS
;
677 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
679 wxPy_END_ALLOW_THREADS
;
680 } Py_INCREF(Py_None
);
681 _resultobj
= Py_None
;
685 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
686 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
) {
687 PyObject
* _resultobj
;
689 wxPrintQuality _arg1
;
693 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetQuality",&_argc0
,&_arg1
))
696 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
702 wxPy_BEGIN_ALLOW_THREADS
;
703 wxPrintData_SetQuality(_arg0
,_arg1
);
705 wxPy_END_ALLOW_THREADS
;
706 } Py_INCREF(Py_None
);
707 _resultobj
= Py_None
;
711 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
712 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
) {
713 PyObject
* _resultobj
;
714 wxPageSetupDialogData
* _result
;
718 if(!PyArg_ParseTuple(args
,":new_wxPageSetupDialogData"))
721 wxPy_BEGIN_ALLOW_THREADS
;
722 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
724 wxPy_END_ALLOW_THREADS
;
725 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
726 _resultobj
= Py_BuildValue("s",_ptemp
);
730 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
731 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
) {
732 PyObject
* _resultobj
;
733 wxPageSetupDialogData
* _arg0
;
737 if(!PyArg_ParseTuple(args
,"s:delete_wxPageSetupDialogData",&_argc0
))
740 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
746 wxPy_BEGIN_ALLOW_THREADS
;
747 delete_wxPageSetupDialogData(_arg0
);
749 wxPy_END_ALLOW_THREADS
;
750 } Py_INCREF(Py_None
);
751 _resultobj
= Py_None
;
755 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
756 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
) {
757 PyObject
* _resultobj
;
758 wxPageSetupDialogData
* _arg0
;
764 if(!PyArg_ParseTuple(args
,"si:wxPageSetupDialogData_EnableHelp",&_argc0
,&tempbool1
))
767 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
772 _arg1
= (bool ) tempbool1
;
774 wxPy_BEGIN_ALLOW_THREADS
;
775 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
777 wxPy_END_ALLOW_THREADS
;
778 } Py_INCREF(Py_None
);
779 _resultobj
= Py_None
;
783 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
784 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
) {
785 PyObject
* _resultobj
;
786 wxPageSetupDialogData
* _arg0
;
792 if(!PyArg_ParseTuple(args
,"si:wxPageSetupDialogData_EnableMargins",&_argc0
,&tempbool1
))
795 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
800 _arg1
= (bool ) tempbool1
;
802 wxPy_BEGIN_ALLOW_THREADS
;
803 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
805 wxPy_END_ALLOW_THREADS
;
806 } Py_INCREF(Py_None
);
807 _resultobj
= Py_None
;
811 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
812 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
) {
813 PyObject
* _resultobj
;
814 wxPageSetupDialogData
* _arg0
;
820 if(!PyArg_ParseTuple(args
,"si:wxPageSetupDialogData_EnableOrientation",&_argc0
,&tempbool1
))
823 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
828 _arg1
= (bool ) tempbool1
;
830 wxPy_BEGIN_ALLOW_THREADS
;
831 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
833 wxPy_END_ALLOW_THREADS
;
834 } Py_INCREF(Py_None
);
835 _resultobj
= Py_None
;
839 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
840 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
) {
841 PyObject
* _resultobj
;
842 wxPageSetupDialogData
* _arg0
;
848 if(!PyArg_ParseTuple(args
,"si:wxPageSetupDialogData_EnablePaper",&_argc0
,&tempbool1
))
851 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
856 _arg1
= (bool ) tempbool1
;
858 wxPy_BEGIN_ALLOW_THREADS
;
859 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
861 wxPy_END_ALLOW_THREADS
;
862 } Py_INCREF(Py_None
);
863 _resultobj
= Py_None
;
867 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
868 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
) {
869 PyObject
* _resultobj
;
870 wxPageSetupDialogData
* _arg0
;
876 if(!PyArg_ParseTuple(args
,"si:wxPageSetupDialogData_EnablePrinter",&_argc0
,&tempbool1
))
879 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
884 _arg1
= (bool ) tempbool1
;
886 wxPy_BEGIN_ALLOW_THREADS
;
887 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
889 wxPy_END_ALLOW_THREADS
;
890 } Py_INCREF(Py_None
);
891 _resultobj
= Py_None
;
895 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
896 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
) {
897 PyObject
* _resultobj
;
899 wxPageSetupDialogData
* _arg0
;
903 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetDefaultMinMargins",&_argc0
))
906 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
912 wxPy_BEGIN_ALLOW_THREADS
;
913 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
915 wxPy_END_ALLOW_THREADS
;
916 } _resultobj
= Py_BuildValue("i",_result
);
920 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
921 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
) {
922 PyObject
* _resultobj
;
924 wxPageSetupDialogData
* _arg0
;
928 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetEnableMargins",&_argc0
))
931 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
937 wxPy_BEGIN_ALLOW_THREADS
;
938 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
940 wxPy_END_ALLOW_THREADS
;
941 } _resultobj
= Py_BuildValue("i",_result
);
945 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
946 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
) {
947 PyObject
* _resultobj
;
949 wxPageSetupDialogData
* _arg0
;
953 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetEnableOrientation",&_argc0
))
956 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
962 wxPy_BEGIN_ALLOW_THREADS
;
963 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
965 wxPy_END_ALLOW_THREADS
;
966 } _resultobj
= Py_BuildValue("i",_result
);
970 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
971 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
) {
972 PyObject
* _resultobj
;
974 wxPageSetupDialogData
* _arg0
;
978 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetEnablePaper",&_argc0
))
981 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
987 wxPy_BEGIN_ALLOW_THREADS
;
988 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
990 wxPy_END_ALLOW_THREADS
;
991 } _resultobj
= Py_BuildValue("i",_result
);
995 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
996 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
) {
997 PyObject
* _resultobj
;
999 wxPageSetupDialogData
* _arg0
;
1003 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetEnablePrinter",&_argc0
))
1006 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
1012 wxPy_BEGIN_ALLOW_THREADS
;
1013 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
1015 wxPy_END_ALLOW_THREADS
;
1016 } _resultobj
= Py_BuildValue("i",_result
);
1020 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
1021 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
) {
1022 PyObject
* _resultobj
;
1024 wxPageSetupDialogData
* _arg0
;
1028 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetEnableHelp",&_argc0
))
1031 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
1037 wxPy_BEGIN_ALLOW_THREADS
;
1038 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
1040 wxPy_END_ALLOW_THREADS
;
1041 } _resultobj
= Py_BuildValue("i",_result
);
1045 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
1046 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
) {
1047 PyObject
* _resultobj
;
1049 wxPageSetupDialogData
* _arg0
;
1053 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetDefaultInfo",&_argc0
))
1056 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1062 wxPy_BEGIN_ALLOW_THREADS
;
1063 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
1065 wxPy_END_ALLOW_THREADS
;
1066 } _resultobj
= Py_BuildValue("i",_result
);
1070 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
1071 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
) {
1072 PyObject
* _resultobj
;
1074 wxPageSetupDialogData
* _arg0
;
1079 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetMarginTopLeft",&_argc0
))
1082 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1088 wxPy_BEGIN_ALLOW_THREADS
;
1089 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
1091 wxPy_END_ALLOW_THREADS
;
1092 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1093 _resultobj
= Py_BuildValue("s",_ptemp
);
1097 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
1098 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
) {
1099 PyObject
* _resultobj
;
1101 wxPageSetupDialogData
* _arg0
;
1106 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetMarginBottomRight",&_argc0
))
1109 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1115 wxPy_BEGIN_ALLOW_THREADS
;
1116 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
1118 wxPy_END_ALLOW_THREADS
;
1119 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1120 _resultobj
= Py_BuildValue("s",_ptemp
);
1124 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
1125 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
) {
1126 PyObject
* _resultobj
;
1128 wxPageSetupDialogData
* _arg0
;
1133 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetMinMarginTopLeft",&_argc0
))
1136 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1142 wxPy_BEGIN_ALLOW_THREADS
;
1143 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
1145 wxPy_END_ALLOW_THREADS
;
1146 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1147 _resultobj
= Py_BuildValue("s",_ptemp
);
1151 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
1152 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
) {
1153 PyObject
* _resultobj
;
1155 wxPageSetupDialogData
* _arg0
;
1160 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetMinMarginBottomRight",&_argc0
))
1163 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1169 wxPy_BEGIN_ALLOW_THREADS
;
1170 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
1172 wxPy_END_ALLOW_THREADS
;
1173 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1174 _resultobj
= Py_BuildValue("s",_ptemp
);
1178 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
1179 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
) {
1180 PyObject
* _resultobj
;
1181 wxPaperSize _result
;
1182 wxPageSetupDialogData
* _arg0
;
1186 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetPaperId",&_argc0
))
1189 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
1195 wxPy_BEGIN_ALLOW_THREADS
;
1196 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
1198 wxPy_END_ALLOW_THREADS
;
1199 } _resultobj
= Py_BuildValue("i",_result
);
1203 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
1204 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
) {
1205 PyObject
* _resultobj
;
1207 wxPageSetupDialogData
* _arg0
;
1212 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetPaperSize",&_argc0
))
1215 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
1221 wxPy_BEGIN_ALLOW_THREADS
;
1222 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
1224 wxPy_END_ALLOW_THREADS
;
1225 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1226 _resultobj
= Py_BuildValue("s",_ptemp
);
1230 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
1231 return new wxPrintData(self
->GetPrintData()); // force a copy
1233 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
) {
1234 PyObject
* _resultobj
;
1235 wxPrintData
* _result
;
1236 wxPageSetupDialogData
* _arg0
;
1241 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialogData_GetPrintData",&_argc0
))
1244 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
1250 wxPy_BEGIN_ALLOW_THREADS
;
1251 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
1253 wxPy_END_ALLOW_THREADS
;
1254 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1255 _resultobj
= Py_BuildValue("s",_ptemp
);
1259 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
1260 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
) {
1261 PyObject
* _resultobj
;
1262 wxPageSetupDialogData
* _arg0
;
1268 if(!PyArg_ParseTuple(args
,"si:wxPageSetupDialogData_SetDefaultInfo",&_argc0
,&tempbool1
))
1271 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1276 _arg1
= (bool ) tempbool1
;
1278 wxPy_BEGIN_ALLOW_THREADS
;
1279 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
1281 wxPy_END_ALLOW_THREADS
;
1282 } Py_INCREF(Py_None
);
1283 _resultobj
= Py_None
;
1287 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
1288 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
) {
1289 PyObject
* _resultobj
;
1290 wxPageSetupDialogData
* _arg0
;
1296 if(!PyArg_ParseTuple(args
,"si:wxPageSetupDialogData_SetDefaultMinMargins",&_argc0
,&tempbool1
))
1299 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1304 _arg1
= (bool ) tempbool1
;
1306 wxPy_BEGIN_ALLOW_THREADS
;
1307 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
1309 wxPy_END_ALLOW_THREADS
;
1310 } Py_INCREF(Py_None
);
1311 _resultobj
= Py_None
;
1315 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
1316 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
) {
1317 PyObject
* _resultobj
;
1318 wxPageSetupDialogData
* _arg0
;
1324 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupDialogData_SetMarginTopLeft",&_argc0
,&_argc1
))
1327 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1333 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPoint_p.");
1339 wxPy_BEGIN_ALLOW_THREADS
;
1340 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
1342 wxPy_END_ALLOW_THREADS
;
1343 } Py_INCREF(Py_None
);
1344 _resultobj
= Py_None
;
1348 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
1349 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
) {
1350 PyObject
* _resultobj
;
1351 wxPageSetupDialogData
* _arg0
;
1357 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupDialogData_SetMarginBottomRight",&_argc0
,&_argc1
))
1360 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1366 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPoint_p.");
1372 wxPy_BEGIN_ALLOW_THREADS
;
1373 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
1375 wxPy_END_ALLOW_THREADS
;
1376 } Py_INCREF(Py_None
);
1377 _resultobj
= Py_None
;
1381 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
1382 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
) {
1383 PyObject
* _resultobj
;
1384 wxPageSetupDialogData
* _arg0
;
1390 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupDialogData_SetMinMarginTopLeft",&_argc0
,&_argc1
))
1393 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1399 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPoint_p.");
1405 wxPy_BEGIN_ALLOW_THREADS
;
1406 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
1408 wxPy_END_ALLOW_THREADS
;
1409 } Py_INCREF(Py_None
);
1410 _resultobj
= Py_None
;
1414 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
1415 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
) {
1416 PyObject
* _resultobj
;
1417 wxPageSetupDialogData
* _arg0
;
1423 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupDialogData_SetMinMarginBottomRight",&_argc0
,&_argc1
))
1426 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1432 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPoint_p.");
1438 wxPy_BEGIN_ALLOW_THREADS
;
1439 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
1441 wxPy_END_ALLOW_THREADS
;
1442 } Py_INCREF(Py_None
);
1443 _resultobj
= Py_None
;
1447 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
1448 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
) {
1449 PyObject
* _resultobj
;
1450 wxPageSetupDialogData
* _arg0
;
1451 wxPaperSize
* _arg1
;
1456 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupDialogData_SetPaperId",&_argc0
,&_argc1
))
1459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
1465 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPaperSize_p")) {
1466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPaperId. Expected _wxPaperSize_p.");
1471 wxPy_BEGIN_ALLOW_THREADS
;
1472 wxPageSetupDialogData_SetPaperId(_arg0
,*_arg1
);
1474 wxPy_END_ALLOW_THREADS
;
1475 } Py_INCREF(Py_None
);
1476 _resultobj
= Py_None
;
1480 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
1481 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
) {
1482 PyObject
* _resultobj
;
1483 wxPageSetupDialogData
* _arg0
;
1489 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupDialogData_SetPaperSize",&_argc0
,&_argc1
))
1492 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
1498 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
1499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPaperSize. Expected _wxSize_p.");
1504 wxPy_BEGIN_ALLOW_THREADS
;
1505 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
1507 wxPy_END_ALLOW_THREADS
;
1508 } Py_INCREF(Py_None
);
1509 _resultobj
= Py_None
;
1513 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1514 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
) {
1515 PyObject
* _resultobj
;
1516 wxPageSetupDialogData
* _arg0
;
1517 wxPrintData
* _arg1
;
1522 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupDialogData_SetPrintData",&_argc0
,&_argc1
))
1525 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
1531 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPrintData_p")) {
1532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
1537 wxPy_BEGIN_ALLOW_THREADS
;
1538 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
1540 wxPy_END_ALLOW_THREADS
;
1541 } Py_INCREF(Py_None
);
1542 _resultobj
= Py_None
;
1546 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
1547 wxPageSetupDialog
*src
;
1549 src
= (wxPageSetupDialog
*) ptr
;
1550 dest
= (wxDialog
*) src
;
1551 return (void *) dest
;
1554 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
1555 wxPageSetupDialog
*src
;
1557 src
= (wxPageSetupDialog
*) ptr
;
1558 dest
= (wxPanel
*) src
;
1559 return (void *) dest
;
1562 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
1563 wxPageSetupDialog
*src
;
1565 src
= (wxPageSetupDialog
*) ptr
;
1566 dest
= (wxWindow
*) src
;
1567 return (void *) dest
;
1570 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
1571 wxPageSetupDialog
*src
;
1573 src
= (wxPageSetupDialog
*) ptr
;
1574 dest
= (wxEvtHandler
*) src
;
1575 return (void *) dest
;
1578 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
1579 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
) {
1580 PyObject
* _resultobj
;
1581 wxPageSetupDialog
* _result
;
1583 wxPageSetupDialogData
* _arg1
= NULL
;
1589 if(!PyArg_ParseTuple(args
,"s|s:new_wxPageSetupDialog",&_argc0
,&_argc1
))
1592 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
1598 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
1604 wxPy_BEGIN_ALLOW_THREADS
;
1605 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
1607 wxPy_END_ALLOW_THREADS
;
1608 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
1609 _resultobj
= Py_BuildValue("s",_ptemp
);
1613 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
1614 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
) {
1615 PyObject
* _resultobj
;
1616 wxPageSetupDialogData
* _result
;
1617 wxPageSetupDialog
* _arg0
;
1622 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialog_GetPageSetupData",&_argc0
))
1625 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
1631 wxPy_BEGIN_ALLOW_THREADS
;
1632 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
1633 _result
= (wxPageSetupDialogData
*) &_result_ref
;
1635 wxPy_END_ALLOW_THREADS
;
1636 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1637 _resultobj
= Py_BuildValue("s",_ptemp
);
1641 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1642 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
1643 PyObject
* _resultobj
;
1645 wxPageSetupDialog
* _arg0
;
1649 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialog_ShowModal",&_argc0
))
1652 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
1658 wxPy_BEGIN_ALLOW_THREADS
;
1659 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
1661 wxPy_END_ALLOW_THREADS
;
1662 } _resultobj
= Py_BuildValue("i",_result
);
1666 #define new_wxPrintDialogData() (new wxPrintDialogData())
1667 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
) {
1668 PyObject
* _resultobj
;
1669 wxPrintDialogData
* _result
;
1673 if(!PyArg_ParseTuple(args
,":new_wxPrintDialogData"))
1676 wxPy_BEGIN_ALLOW_THREADS
;
1677 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
1679 wxPy_END_ALLOW_THREADS
;
1680 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
1681 _resultobj
= Py_BuildValue("s",_ptemp
);
1685 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
1686 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
) {
1687 PyObject
* _resultobj
;
1688 wxPrintDialogData
* _arg0
;
1692 if(!PyArg_ParseTuple(args
,"s:delete_wxPrintDialogData",&_argc0
))
1695 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
1701 wxPy_BEGIN_ALLOW_THREADS
;
1702 delete_wxPrintDialogData(_arg0
);
1704 wxPy_END_ALLOW_THREADS
;
1705 } Py_INCREF(Py_None
);
1706 _resultobj
= Py_None
;
1710 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1711 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
) {
1712 PyObject
* _resultobj
;
1713 wxPrintDialogData
* _arg0
;
1719 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_EnableHelp",&_argc0
,&tempbool1
))
1722 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
1727 _arg1
= (bool ) tempbool1
;
1729 wxPy_BEGIN_ALLOW_THREADS
;
1730 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
1732 wxPy_END_ALLOW_THREADS
;
1733 } Py_INCREF(Py_None
);
1734 _resultobj
= Py_None
;
1738 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
1739 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
) {
1740 PyObject
* _resultobj
;
1741 wxPrintDialogData
* _arg0
;
1747 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_EnablePageNumbers",&_argc0
,&tempbool1
))
1750 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
1755 _arg1
= (bool ) tempbool1
;
1757 wxPy_BEGIN_ALLOW_THREADS
;
1758 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
1760 wxPy_END_ALLOW_THREADS
;
1761 } Py_INCREF(Py_None
);
1762 _resultobj
= Py_None
;
1766 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
1767 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
) {
1768 PyObject
* _resultobj
;
1769 wxPrintDialogData
* _arg0
;
1775 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_EnablePrintToFile",&_argc0
,&tempbool1
))
1778 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
1783 _arg1
= (bool ) tempbool1
;
1785 wxPy_BEGIN_ALLOW_THREADS
;
1786 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
1788 wxPy_END_ALLOW_THREADS
;
1789 } Py_INCREF(Py_None
);
1790 _resultobj
= Py_None
;
1794 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
1795 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
) {
1796 PyObject
* _resultobj
;
1797 wxPrintDialogData
* _arg0
;
1803 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_EnableSelection",&_argc0
,&tempbool1
))
1806 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
1811 _arg1
= (bool ) tempbool1
;
1813 wxPy_BEGIN_ALLOW_THREADS
;
1814 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
1816 wxPy_END_ALLOW_THREADS
;
1817 } Py_INCREF(Py_None
);
1818 _resultobj
= Py_None
;
1822 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
1823 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
) {
1824 PyObject
* _resultobj
;
1826 wxPrintDialogData
* _arg0
;
1830 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetAllPages",&_argc0
))
1833 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
1839 wxPy_BEGIN_ALLOW_THREADS
;
1840 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
1842 wxPy_END_ALLOW_THREADS
;
1843 } _resultobj
= Py_BuildValue("i",_result
);
1847 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
1848 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
) {
1849 PyObject
* _resultobj
;
1851 wxPrintDialogData
* _arg0
;
1855 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetCollate",&_argc0
))
1858 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
1864 wxPy_BEGIN_ALLOW_THREADS
;
1865 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
1867 wxPy_END_ALLOW_THREADS
;
1868 } _resultobj
= Py_BuildValue("i",_result
);
1872 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
1873 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
) {
1874 PyObject
* _resultobj
;
1876 wxPrintDialogData
* _arg0
;
1880 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetFromPage",&_argc0
))
1883 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
1889 wxPy_BEGIN_ALLOW_THREADS
;
1890 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
1892 wxPy_END_ALLOW_THREADS
;
1893 } _resultobj
= Py_BuildValue("i",_result
);
1897 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
1898 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
) {
1899 PyObject
* _resultobj
;
1901 wxPrintDialogData
* _arg0
;
1905 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetMaxPage",&_argc0
))
1908 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
1914 wxPy_BEGIN_ALLOW_THREADS
;
1915 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
1917 wxPy_END_ALLOW_THREADS
;
1918 } _resultobj
= Py_BuildValue("i",_result
);
1922 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
1923 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
) {
1924 PyObject
* _resultobj
;
1926 wxPrintDialogData
* _arg0
;
1930 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetMinPage",&_argc0
))
1933 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
1939 wxPy_BEGIN_ALLOW_THREADS
;
1940 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
1942 wxPy_END_ALLOW_THREADS
;
1943 } _resultobj
= Py_BuildValue("i",_result
);
1947 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
1948 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
) {
1949 PyObject
* _resultobj
;
1951 wxPrintDialogData
* _arg0
;
1955 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetNoCopies",&_argc0
))
1958 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
1964 wxPy_BEGIN_ALLOW_THREADS
;
1965 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
1967 wxPy_END_ALLOW_THREADS
;
1968 } _resultobj
= Py_BuildValue("i",_result
);
1972 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
1973 return new wxPrintData(self
->GetPrintData()); // force a copy
1975 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
) {
1976 PyObject
* _resultobj
;
1977 wxPrintData
* _result
;
1978 wxPrintDialogData
* _arg0
;
1983 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetPrintData",&_argc0
))
1986 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
1992 wxPy_BEGIN_ALLOW_THREADS
;
1993 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
1995 wxPy_END_ALLOW_THREADS
;
1996 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1997 _resultobj
= Py_BuildValue("s",_ptemp
);
2001 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
2002 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
) {
2003 PyObject
* _resultobj
;
2005 wxPrintDialogData
* _arg0
;
2009 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetPrintToFile",&_argc0
))
2012 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
2018 wxPy_BEGIN_ALLOW_THREADS
;
2019 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
2021 wxPy_END_ALLOW_THREADS
;
2022 } _resultobj
= Py_BuildValue("i",_result
);
2026 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
2027 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
) {
2028 PyObject
* _resultobj
;
2030 wxPrintDialogData
* _arg0
;
2034 if(!PyArg_ParseTuple(args
,"s:wxPrintDialogData_GetToPage",&_argc0
))
2037 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
2043 wxPy_BEGIN_ALLOW_THREADS
;
2044 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
2046 wxPy_END_ALLOW_THREADS
;
2047 } _resultobj
= Py_BuildValue("i",_result
);
2051 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
2052 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
) {
2053 PyObject
* _resultobj
;
2054 wxPrintDialogData
* _arg0
;
2060 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetCollate",&_argc0
,&tempbool1
))
2063 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
2068 _arg1
= (bool ) tempbool1
;
2070 wxPy_BEGIN_ALLOW_THREADS
;
2071 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
2073 wxPy_END_ALLOW_THREADS
;
2074 } Py_INCREF(Py_None
);
2075 _resultobj
= Py_None
;
2079 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
2080 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
) {
2081 PyObject
* _resultobj
;
2082 wxPrintDialogData
* _arg0
;
2087 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetFromPage",&_argc0
,&_arg1
))
2090 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
2096 wxPy_BEGIN_ALLOW_THREADS
;
2097 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
2099 wxPy_END_ALLOW_THREADS
;
2100 } Py_INCREF(Py_None
);
2101 _resultobj
= Py_None
;
2105 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
2106 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
) {
2107 PyObject
* _resultobj
;
2108 wxPrintDialogData
* _arg0
;
2113 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetMaxPage",&_argc0
,&_arg1
))
2116 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
2122 wxPy_BEGIN_ALLOW_THREADS
;
2123 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
2125 wxPy_END_ALLOW_THREADS
;
2126 } Py_INCREF(Py_None
);
2127 _resultobj
= Py_None
;
2131 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
2132 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
) {
2133 PyObject
* _resultobj
;
2134 wxPrintDialogData
* _arg0
;
2139 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetMinPage",&_argc0
,&_arg1
))
2142 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
2148 wxPy_BEGIN_ALLOW_THREADS
;
2149 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
2151 wxPy_END_ALLOW_THREADS
;
2152 } Py_INCREF(Py_None
);
2153 _resultobj
= Py_None
;
2157 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
2158 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
) {
2159 PyObject
* _resultobj
;
2160 wxPrintDialogData
* _arg0
;
2165 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetNoCopies",&_argc0
,&_arg1
))
2168 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
2174 wxPy_BEGIN_ALLOW_THREADS
;
2175 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
2177 wxPy_END_ALLOW_THREADS
;
2178 } Py_INCREF(Py_None
);
2179 _resultobj
= Py_None
;
2183 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2184 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
) {
2185 PyObject
* _resultobj
;
2186 wxPrintDialogData
* _arg0
;
2187 wxPrintData
* _arg1
;
2192 if(!PyArg_ParseTuple(args
,"ss:wxPrintDialogData_SetPrintData",&_argc0
,&_argc1
))
2195 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
2201 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPrintData_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
2207 wxPy_BEGIN_ALLOW_THREADS
;
2208 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
2210 wxPy_END_ALLOW_THREADS
;
2211 } Py_INCREF(Py_None
);
2212 _resultobj
= Py_None
;
2216 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
2217 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
) {
2218 PyObject
* _resultobj
;
2219 wxPrintDialogData
* _arg0
;
2225 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetPrintToFile",&_argc0
,&tempbool1
))
2228 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
2233 _arg1
= (bool ) tempbool1
;
2235 wxPy_BEGIN_ALLOW_THREADS
;
2236 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
2238 wxPy_END_ALLOW_THREADS
;
2239 } Py_INCREF(Py_None
);
2240 _resultobj
= Py_None
;
2244 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
2245 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
) {
2246 PyObject
* _resultobj
;
2247 wxPrintDialogData
* _arg0
;
2253 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetSetupDialog",&_argc0
,&tempbool1
))
2256 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
2261 _arg1
= (bool ) tempbool1
;
2263 wxPy_BEGIN_ALLOW_THREADS
;
2264 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
2266 wxPy_END_ALLOW_THREADS
;
2267 } Py_INCREF(Py_None
);
2268 _resultobj
= Py_None
;
2272 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
2273 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
) {
2274 PyObject
* _resultobj
;
2275 wxPrintDialogData
* _arg0
;
2280 if(!PyArg_ParseTuple(args
,"si:wxPrintDialogData_SetToPage",&_argc0
,&_arg1
))
2283 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
2289 wxPy_BEGIN_ALLOW_THREADS
;
2290 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
2292 wxPy_END_ALLOW_THREADS
;
2293 } Py_INCREF(Py_None
);
2294 _resultobj
= Py_None
;
2298 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
2301 src
= (wxPrintDialog
*) ptr
;
2302 dest
= (wxDialog
*) src
;
2303 return (void *) dest
;
2306 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
2309 src
= (wxPrintDialog
*) ptr
;
2310 dest
= (wxPanel
*) src
;
2311 return (void *) dest
;
2314 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
2317 src
= (wxPrintDialog
*) ptr
;
2318 dest
= (wxWindow
*) src
;
2319 return (void *) dest
;
2322 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
2325 src
= (wxPrintDialog
*) ptr
;
2326 dest
= (wxEvtHandler
*) src
;
2327 return (void *) dest
;
2330 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
2331 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
) {
2332 PyObject
* _resultobj
;
2333 wxPrintDialog
* _result
;
2335 wxPrintDialogData
* _arg1
= NULL
;
2341 if(!PyArg_ParseTuple(args
,"s|s:new_wxPrintDialog",&_argc0
,&_argc1
))
2344 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
2350 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
2351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
2356 wxPy_BEGIN_ALLOW_THREADS
;
2357 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
2359 wxPy_END_ALLOW_THREADS
;
2360 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
2361 _resultobj
= Py_BuildValue("s",_ptemp
);
2365 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
2366 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
) {
2367 PyObject
* _resultobj
;
2368 wxPrintDialogData
* _result
;
2369 wxPrintDialog
* _arg0
;
2374 if(!PyArg_ParseTuple(args
,"s:wxPrintDialog_GetPrintDialogData",&_argc0
))
2377 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
2383 wxPy_BEGIN_ALLOW_THREADS
;
2384 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
2385 _result
= (wxPrintDialogData
*) &_result_ref
;
2387 wxPy_END_ALLOW_THREADS
;
2388 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2389 _resultobj
= Py_BuildValue("s",_ptemp
);
2393 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
2394 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
) {
2395 PyObject
* _resultobj
;
2397 wxPrintDialog
* _arg0
;
2402 if(!PyArg_ParseTuple(args
,"s:wxPrintDialog_GetPrintDC",&_argc0
))
2405 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
2411 wxPy_BEGIN_ALLOW_THREADS
;
2412 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
2414 wxPy_END_ALLOW_THREADS
;
2415 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2416 _resultobj
= Py_BuildValue("s",_ptemp
);
2420 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2421 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
2422 PyObject
* _resultobj
;
2424 wxPrintDialog
* _arg0
;
2428 if(!PyArg_ParseTuple(args
,"s:wxPrintDialog_ShowModal",&_argc0
))
2431 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
2437 wxPy_BEGIN_ALLOW_THREADS
;
2438 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
2440 wxPy_END_ALLOW_THREADS
;
2441 } _resultobj
= Py_BuildValue("i",_result
);
2445 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
2446 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
) {
2447 PyObject
* _resultobj
;
2448 wxPyPrintout
* _result
;
2449 char * _arg0
= "Printout";
2453 if(!PyArg_ParseTuple(args
,"|s:new_wxPrintout",&_arg0
))
2456 wxPy_BEGIN_ALLOW_THREADS
;
2457 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
2459 wxPy_END_ALLOW_THREADS
;
2460 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
2461 _resultobj
= Py_BuildValue("s",_ptemp
);
2465 #define wxPrintout__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2466 static PyObject
*_wrap_wxPrintout__setSelf(PyObject
*self
, PyObject
*args
) {
2467 PyObject
* _resultobj
;
2468 wxPyPrintout
* _arg0
;
2471 PyObject
* _obj1
= 0;
2474 if(!PyArg_ParseTuple(args
,"sO:wxPrintout__setSelf",&_argc0
,&_obj1
))
2477 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
2486 wxPy_BEGIN_ALLOW_THREADS
;
2487 wxPrintout__setSelf(_arg0
,_arg1
);
2489 wxPy_END_ALLOW_THREADS
;
2490 } Py_INCREF(Py_None
);
2491 _resultobj
= Py_None
;
2495 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) {
2498 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
) {
2499 PyObject
* _resultobj
;
2500 wxPyPrintout
* _arg0
;
2504 if(!PyArg_ParseTuple(args
,"s:wxPrintout_Destroy",&_argc0
))
2507 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
2513 wxPy_BEGIN_ALLOW_THREADS
;
2514 wxPyPrintout_Destroy(_arg0
);
2516 wxPy_END_ALLOW_THREADS
;
2517 } Py_INCREF(Py_None
);
2518 _resultobj
= Py_None
;
2522 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
2523 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
) {
2524 PyObject
* _resultobj
;
2526 wxPyPrintout
* _arg0
;
2531 if(!PyArg_ParseTuple(args
,"s:wxPrintout_GetDC",&_argc0
))
2534 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
2540 wxPy_BEGIN_ALLOW_THREADS
;
2541 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
2543 wxPy_END_ALLOW_THREADS
;
2544 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2545 _resultobj
= Py_BuildValue("s",_ptemp
);
2549 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
2550 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
) {
2551 PyObject
* _resultobj
;
2552 wxPyPrintout
* _arg0
;
2566 if(!PyArg_ParseTuple(args
,"s:wxPrintout_GetPageSizeMM",&_argc0
))
2569 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
2575 wxPy_BEGIN_ALLOW_THREADS
;
2576 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
2578 wxPy_END_ALLOW_THREADS
;
2579 } Py_INCREF(Py_None
);
2580 _resultobj
= Py_None
;
2583 o
= PyInt_FromLong((long) (*_arg1
));
2584 _resultobj
= t_output_helper(_resultobj
, o
);
2588 o
= PyInt_FromLong((long) (*_arg2
));
2589 _resultobj
= t_output_helper(_resultobj
, o
);
2594 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
2595 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
) {
2596 PyObject
* _resultobj
;
2597 wxPyPrintout
* _arg0
;
2611 if(!PyArg_ParseTuple(args
,"s:wxPrintout_GetPageSizePixels",&_argc0
))
2614 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
2620 wxPy_BEGIN_ALLOW_THREADS
;
2621 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
2623 wxPy_END_ALLOW_THREADS
;
2624 } Py_INCREF(Py_None
);
2625 _resultobj
= Py_None
;
2628 o
= PyInt_FromLong((long) (*_arg1
));
2629 _resultobj
= t_output_helper(_resultobj
, o
);
2633 o
= PyInt_FromLong((long) (*_arg2
));
2634 _resultobj
= t_output_helper(_resultobj
, o
);
2639 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
2640 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
) {
2641 PyObject
* _resultobj
;
2642 wxPyPrintout
* _arg0
;
2656 if(!PyArg_ParseTuple(args
,"s:wxPrintout_GetPPIPrinter",&_argc0
))
2659 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
2665 wxPy_BEGIN_ALLOW_THREADS
;
2666 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
2668 wxPy_END_ALLOW_THREADS
;
2669 } Py_INCREF(Py_None
);
2670 _resultobj
= Py_None
;
2673 o
= PyInt_FromLong((long) (*_arg1
));
2674 _resultobj
= t_output_helper(_resultobj
, o
);
2678 o
= PyInt_FromLong((long) (*_arg2
));
2679 _resultobj
= t_output_helper(_resultobj
, o
);
2684 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
2685 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
) {
2686 PyObject
* _resultobj
;
2687 wxPyPrintout
* _arg0
;
2701 if(!PyArg_ParseTuple(args
,"s:wxPrintout_GetPPIScreen",&_argc0
))
2704 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
2710 wxPy_BEGIN_ALLOW_THREADS
;
2711 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
2713 wxPy_END_ALLOW_THREADS
;
2714 } Py_INCREF(Py_None
);
2715 _resultobj
= Py_None
;
2718 o
= PyInt_FromLong((long) (*_arg1
));
2719 _resultobj
= t_output_helper(_resultobj
, o
);
2723 o
= PyInt_FromLong((long) (*_arg2
));
2724 _resultobj
= t_output_helper(_resultobj
, o
);
2729 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
2730 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
) {
2731 PyObject
* _resultobj
;
2733 wxPyPrintout
* _arg0
;
2737 if(!PyArg_ParseTuple(args
,"s:wxPrintout_IsPreview",&_argc0
))
2740 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
2746 wxPy_BEGIN_ALLOW_THREADS
;
2747 _result
= (bool )wxPrintout_IsPreview(_arg0
);
2749 wxPy_END_ALLOW_THREADS
;
2750 } _resultobj
= Py_BuildValue("i",_result
);
2754 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
2755 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
) {
2756 PyObject
* _resultobj
;
2758 wxPyPrintout
* _arg0
;
2764 if(!PyArg_ParseTuple(args
,"sii:wxPrintout_base_OnBeginDocument",&_argc0
,&_arg1
,&_arg2
))
2767 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
2773 wxPy_BEGIN_ALLOW_THREADS
;
2774 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
2776 wxPy_END_ALLOW_THREADS
;
2777 } _resultobj
= Py_BuildValue("i",_result
);
2781 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
2782 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
) {
2783 PyObject
* _resultobj
;
2784 wxPyPrintout
* _arg0
;
2788 if(!PyArg_ParseTuple(args
,"s:wxPrintout_base_OnEndDocument",&_argc0
))
2791 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
2797 wxPy_BEGIN_ALLOW_THREADS
;
2798 wxPrintout_base_OnEndDocument(_arg0
);
2800 wxPy_END_ALLOW_THREADS
;
2801 } Py_INCREF(Py_None
);
2802 _resultobj
= Py_None
;
2806 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
2807 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
) {
2808 PyObject
* _resultobj
;
2809 wxPyPrintout
* _arg0
;
2813 if(!PyArg_ParseTuple(args
,"s:wxPrintout_base_OnBeginPrinting",&_argc0
))
2816 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
2822 wxPy_BEGIN_ALLOW_THREADS
;
2823 wxPrintout_base_OnBeginPrinting(_arg0
);
2825 wxPy_END_ALLOW_THREADS
;
2826 } Py_INCREF(Py_None
);
2827 _resultobj
= Py_None
;
2831 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
2832 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
) {
2833 PyObject
* _resultobj
;
2834 wxPyPrintout
* _arg0
;
2838 if(!PyArg_ParseTuple(args
,"s:wxPrintout_base_OnEndPrinting",&_argc0
))
2841 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
2847 wxPy_BEGIN_ALLOW_THREADS
;
2848 wxPrintout_base_OnEndPrinting(_arg0
);
2850 wxPy_END_ALLOW_THREADS
;
2851 } Py_INCREF(Py_None
);
2852 _resultobj
= Py_None
;
2856 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
2857 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
) {
2858 PyObject
* _resultobj
;
2859 wxPyPrintout
* _arg0
;
2863 if(!PyArg_ParseTuple(args
,"s:wxPrintout_base_OnPreparePrinting",&_argc0
))
2866 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
2872 wxPy_BEGIN_ALLOW_THREADS
;
2873 wxPrintout_base_OnPreparePrinting(_arg0
);
2875 wxPy_END_ALLOW_THREADS
;
2876 } Py_INCREF(Py_None
);
2877 _resultobj
= Py_None
;
2881 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2882 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
) {
2883 PyObject
* _resultobj
;
2884 wxPyPrintout
* _arg0
;
2908 if(!PyArg_ParseTuple(args
,"s:wxPrintout_base_GetPageInfo",&_argc0
))
2911 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
2917 wxPy_BEGIN_ALLOW_THREADS
;
2918 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2920 wxPy_END_ALLOW_THREADS
;
2921 } Py_INCREF(Py_None
);
2922 _resultobj
= Py_None
;
2925 o
= PyInt_FromLong((long) (*_arg1
));
2926 _resultobj
= t_output_helper(_resultobj
, o
);
2930 o
= PyInt_FromLong((long) (*_arg2
));
2931 _resultobj
= t_output_helper(_resultobj
, o
);
2935 o
= PyInt_FromLong((long) (*_arg3
));
2936 _resultobj
= t_output_helper(_resultobj
, o
);
2940 o
= PyInt_FromLong((long) (*_arg4
));
2941 _resultobj
= t_output_helper(_resultobj
, o
);
2946 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
2947 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
) {
2948 PyObject
* _resultobj
;
2950 wxPyPrintout
* _arg0
;
2955 if(!PyArg_ParseTuple(args
,"si:wxPrintout_base_HasPage",&_argc0
,&_arg1
))
2958 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
2964 wxPy_BEGIN_ALLOW_THREADS
;
2965 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
2967 wxPy_END_ALLOW_THREADS
;
2968 } _resultobj
= Py_BuildValue("i",_result
);
2972 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
2973 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
) {
2974 PyObject
* _resultobj
;
2975 wxPrinter
* _result
;
2976 wxPrintDialogData
* _arg0
= NULL
;
2981 if(!PyArg_ParseTuple(args
,"|s:new_wxPrinter",&_argc0
))
2984 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
2990 wxPy_BEGIN_ALLOW_THREADS
;
2991 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
2993 wxPy_END_ALLOW_THREADS
;
2994 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
2995 _resultobj
= Py_BuildValue("s",_ptemp
);
2999 #define delete_wxPrinter(_swigobj) (delete _swigobj)
3000 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
) {
3001 PyObject
* _resultobj
;
3006 if(!PyArg_ParseTuple(args
,"s:delete_wxPrinter",&_argc0
))
3009 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrinter_p")) {
3010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
3015 wxPy_BEGIN_ALLOW_THREADS
;
3016 delete_wxPrinter(_arg0
);
3018 wxPy_END_ALLOW_THREADS
;
3019 } Py_INCREF(Py_None
);
3020 _resultobj
= Py_None
;
3024 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
3025 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
) {
3026 PyObject
* _resultobj
;
3029 wxPyPrintout
* _arg2
;
3035 if(!PyArg_ParseTuple(args
,"sss:wxPrinter_CreateAbortWindow",&_argc0
,&_argc1
,&_argc2
))
3038 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrinter_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
3044 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
3050 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
3056 wxPy_BEGIN_ALLOW_THREADS
;
3057 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
3059 wxPy_END_ALLOW_THREADS
;
3060 } Py_INCREF(Py_None
);
3061 _resultobj
= Py_None
;
3065 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3066 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
) {
3067 PyObject
* _resultobj
;
3068 wxPrintDialogData
* _result
;
3074 if(!PyArg_ParseTuple(args
,"s:wxPrinter_GetPrintDialogData",&_argc0
))
3077 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrinter_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
3083 wxPy_BEGIN_ALLOW_THREADS
;
3084 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
3085 _result
= (wxPrintDialogData
*) &_result_ref
;
3087 wxPy_END_ALLOW_THREADS
;
3088 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3089 _resultobj
= Py_BuildValue("s",_ptemp
);
3093 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
3094 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
) {
3095 PyObject
* _resultobj
;
3099 wxPyPrintout
* _arg2
;
3106 if(!PyArg_ParseTuple(args
,"sss|i:wxPrinter_Print",&_argc0
,&_argc1
,&_argc2
,&_arg3
))
3109 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrinter_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
3115 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
3121 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
3127 wxPy_BEGIN_ALLOW_THREADS
;
3128 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
3130 wxPy_END_ALLOW_THREADS
;
3131 } _resultobj
= Py_BuildValue("i",_result
);
3135 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
3136 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
) {
3137 PyObject
* _resultobj
;
3146 if(!PyArg_ParseTuple(args
,"ss:wxPrinter_PrintDialog",&_argc0
,&_argc1
))
3149 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrinter_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
3155 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
3161 wxPy_BEGIN_ALLOW_THREADS
;
3162 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
3164 wxPy_END_ALLOW_THREADS
;
3165 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3166 _resultobj
= Py_BuildValue("s",_ptemp
);
3170 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
3171 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
) {
3172 PyObject
* _resultobj
;
3175 wxPyPrintout
* _arg2
;
3182 if(!PyArg_ParseTuple(args
,"ssss:wxPrinter_ReportError",&_argc0
,&_argc1
,&_argc2
,&_arg3
))
3185 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrinter_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
3191 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
3197 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
3203 wxPy_BEGIN_ALLOW_THREADS
;
3204 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
3206 wxPy_END_ALLOW_THREADS
;
3207 } Py_INCREF(Py_None
);
3208 _resultobj
= Py_None
;
3212 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
3213 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
) {
3214 PyObject
* _resultobj
;
3222 if(!PyArg_ParseTuple(args
,"ss:wxPrinter_Setup",&_argc0
,&_argc1
))
3225 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrinter_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
3231 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
3237 wxPy_BEGIN_ALLOW_THREADS
;
3238 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
3240 wxPy_END_ALLOW_THREADS
;
3241 } _resultobj
= Py_BuildValue("i",_result
);
3245 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
3246 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
) {
3247 PyObject
* _resultobj
;
3248 wxPrintPreview
* _result
;
3249 wxPyPrintout
* _arg0
;
3250 wxPyPrintout
* _arg1
;
3251 wxPrintData
* _arg2
= NULL
;
3258 if(!PyArg_ParseTuple(args
,"ss|s:new_wxPrintPreview",&_argc0
,&_argc1
,&_argc2
))
3261 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3267 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
3268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3273 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPrintData_p")) {
3274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
3279 wxPy_BEGIN_ALLOW_THREADS
;
3280 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
3282 wxPy_END_ALLOW_THREADS
;
3283 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
3284 _resultobj
= Py_BuildValue("s",_ptemp
);
3288 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
3289 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
) {
3290 PyObject
* _resultobj
;
3292 wxPrintPreview
* _arg0
;
3297 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetCanvas",&_argc0
))
3300 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
3306 wxPy_BEGIN_ALLOW_THREADS
;
3307 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
3309 wxPy_END_ALLOW_THREADS
;
3310 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3311 _resultobj
= Py_BuildValue("s",_ptemp
);
3315 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
3316 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
) {
3317 PyObject
* _resultobj
;
3319 wxPrintPreview
* _arg0
;
3323 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetCurrentPage",&_argc0
))
3326 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
3332 wxPy_BEGIN_ALLOW_THREADS
;
3333 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
3335 wxPy_END_ALLOW_THREADS
;
3336 } _resultobj
= Py_BuildValue("i",_result
);
3340 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
3341 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
) {
3342 PyObject
* _resultobj
;
3344 wxPrintPreview
* _arg0
;
3349 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetFrame",&_argc0
))
3352 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
3358 wxPy_BEGIN_ALLOW_THREADS
;
3359 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
3361 wxPy_END_ALLOW_THREADS
;
3362 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
3363 _resultobj
= Py_BuildValue("s",_ptemp
);
3367 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3368 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
) {
3369 PyObject
* _resultobj
;
3371 wxPrintPreview
* _arg0
;
3375 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetMaxPage",&_argc0
))
3378 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
3384 wxPy_BEGIN_ALLOW_THREADS
;
3385 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
3387 wxPy_END_ALLOW_THREADS
;
3388 } _resultobj
= Py_BuildValue("i",_result
);
3392 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3393 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
) {
3394 PyObject
* _resultobj
;
3396 wxPrintPreview
* _arg0
;
3400 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetMinPage",&_argc0
))
3403 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
3409 wxPy_BEGIN_ALLOW_THREADS
;
3410 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
3412 wxPy_END_ALLOW_THREADS
;
3413 } _resultobj
= Py_BuildValue("i",_result
);
3417 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3418 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
) {
3419 PyObject
* _resultobj
;
3420 wxPrintDialogData
* _result
;
3421 wxPrintPreview
* _arg0
;
3426 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetPrintDialogData",&_argc0
))
3429 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
3435 wxPy_BEGIN_ALLOW_THREADS
;
3436 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
3437 _result
= (wxPrintDialogData
*) &_result_ref
;
3439 wxPy_END_ALLOW_THREADS
;
3440 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3441 _resultobj
= Py_BuildValue("s",_ptemp
);
3445 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
3446 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
) {
3447 PyObject
* _resultobj
;
3448 wxPyPrintout
* _result
;
3449 wxPrintPreview
* _arg0
;
3454 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetPrintout",&_argc0
))
3457 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
3463 wxPy_BEGIN_ALLOW_THREADS
;
3464 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
3466 wxPy_END_ALLOW_THREADS
;
3467 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3468 _resultobj
= Py_BuildValue("s",_ptemp
);
3472 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
3473 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
) {
3474 PyObject
* _resultobj
;
3475 wxPyPrintout
* _result
;
3476 wxPrintPreview
* _arg0
;
3481 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetPrintoutForPrinting",&_argc0
))
3484 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
3490 wxPy_BEGIN_ALLOW_THREADS
;
3491 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
3493 wxPy_END_ALLOW_THREADS
;
3494 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3495 _resultobj
= Py_BuildValue("s",_ptemp
);
3499 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
3500 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
) {
3501 PyObject
* _resultobj
;
3503 wxPrintPreview
* _arg0
;
3507 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_GetZoom",&_argc0
))
3510 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
3516 wxPy_BEGIN_ALLOW_THREADS
;
3517 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
3519 wxPy_END_ALLOW_THREADS
;
3520 } _resultobj
= Py_BuildValue("i",_result
);
3524 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
3525 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
) {
3526 PyObject
* _resultobj
;
3528 wxPrintPreview
* _arg0
;
3532 if(!PyArg_ParseTuple(args
,"s:wxPrintPreview_Ok",&_argc0
))
3535 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
3541 wxPy_BEGIN_ALLOW_THREADS
;
3542 _result
= (bool )wxPrintPreview_Ok(_arg0
);
3544 wxPy_END_ALLOW_THREADS
;
3545 } _resultobj
= Py_BuildValue("i",_result
);
3549 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
3550 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
) {
3551 PyObject
* _resultobj
;
3553 wxPrintPreview
* _arg0
;
3559 if(!PyArg_ParseTuple(args
,"si:wxPrintPreview_Print",&_argc0
,&tempbool1
))
3562 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
3567 _arg1
= (bool ) tempbool1
;
3569 wxPy_BEGIN_ALLOW_THREADS
;
3570 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
3572 wxPy_END_ALLOW_THREADS
;
3573 } _resultobj
= Py_BuildValue("i",_result
);
3577 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
3578 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
) {
3579 PyObject
* _resultobj
;
3580 wxPrintPreview
* _arg0
;
3586 if(!PyArg_ParseTuple(args
,"ss:wxPrintPreview_SetCanvas",&_argc0
,&_argc1
))
3589 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
3595 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
3601 wxPy_BEGIN_ALLOW_THREADS
;
3602 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
3604 wxPy_END_ALLOW_THREADS
;
3605 } Py_INCREF(Py_None
);
3606 _resultobj
= Py_None
;
3610 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
3611 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
) {
3612 PyObject
* _resultobj
;
3613 wxPrintPreview
* _arg0
;
3618 if(!PyArg_ParseTuple(args
,"si:wxPrintPreview_SetCurrentPage",&_argc0
,&_arg1
))
3621 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
3627 wxPy_BEGIN_ALLOW_THREADS
;
3628 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
3630 wxPy_END_ALLOW_THREADS
;
3631 } Py_INCREF(Py_None
);
3632 _resultobj
= Py_None
;
3636 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
3637 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
) {
3638 PyObject
* _resultobj
;
3639 wxPrintPreview
* _arg0
;
3645 if(!PyArg_ParseTuple(args
,"ss:wxPrintPreview_SetFrame",&_argc0
,&_argc1
))
3648 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
3654 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFrame_p")) {
3655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
3660 wxPy_BEGIN_ALLOW_THREADS
;
3661 wxPrintPreview_SetFrame(_arg0
,_arg1
);
3663 wxPy_END_ALLOW_THREADS
;
3664 } Py_INCREF(Py_None
);
3665 _resultobj
= Py_None
;
3669 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
3670 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
) {
3671 PyObject
* _resultobj
;
3672 wxPrintPreview
* _arg0
;
3673 wxPyPrintout
* _arg1
;
3678 if(!PyArg_ParseTuple(args
,"ss:wxPrintPreview_SetPrintout",&_argc0
,&_argc1
))
3681 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
3687 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
3688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
3693 wxPy_BEGIN_ALLOW_THREADS
;
3694 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
3696 wxPy_END_ALLOW_THREADS
;
3697 } Py_INCREF(Py_None
);
3698 _resultobj
= Py_None
;
3702 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
3703 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
) {
3704 PyObject
* _resultobj
;
3705 wxPrintPreview
* _arg0
;
3710 if(!PyArg_ParseTuple(args
,"si:wxPrintPreview_SetZoom",&_argc0
,&_arg1
))
3713 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
3719 wxPy_BEGIN_ALLOW_THREADS
;
3720 wxPrintPreview_SetZoom(_arg0
,_arg1
);
3722 wxPy_END_ALLOW_THREADS
;
3723 } Py_INCREF(Py_None
);
3724 _resultobj
= Py_None
;
3728 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
3729 wxPreviewFrame
*src
;
3731 src
= (wxPreviewFrame
*) ptr
;
3732 dest
= (wxFrame
*) src
;
3733 return (void *) dest
;
3736 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
3737 wxPreviewFrame
*src
;
3739 src
= (wxPreviewFrame
*) ptr
;
3740 dest
= (wxWindow
*) src
;
3741 return (void *) dest
;
3744 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
3745 wxPreviewFrame
*src
;
3747 src
= (wxPreviewFrame
*) ptr
;
3748 dest
= (wxEvtHandler
*) src
;
3749 return (void *) dest
;
3752 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3753 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
) {
3754 PyObject
* _resultobj
;
3755 wxPreviewFrame
* _result
;
3756 wxPrintPreview
* _arg0
;
3759 wxPoint
* _arg3
= &wxPyDefaultPosition
;
3760 wxSize
* _arg4
= &wxPyDefaultSize
;
3761 long _arg5
= (wxDEFAULT_FRAME_STYLE
);
3762 char * _arg6
= "frame";
3765 PyObject
* _obj2
= 0;
3771 if(!PyArg_ParseTuple(args
,"ssO|ssls:new_wxPreviewFrame",&_argc0
,&_argc1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
3774 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
3780 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFrame_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
3786 if (!PyString_Check(_obj2
)) {
3787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3790 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3793 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPreviewFrame. Expected _wxPoint_p.");
3799 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
3800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxPreviewFrame. Expected _wxSize_p.");
3805 wxPy_BEGIN_ALLOW_THREADS
;
3806 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3808 wxPy_END_ALLOW_THREADS
;
3809 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
3810 _resultobj
= Py_BuildValue("s",_ptemp
);
3818 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
3819 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
) {
3820 PyObject
* _resultobj
;
3821 wxPreviewFrame
* _arg0
;
3825 if(!PyArg_ParseTuple(args
,"s:wxPreviewFrame_Initialize",&_argc0
))
3828 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
3834 wxPy_BEGIN_ALLOW_THREADS
;
3835 wxPreviewFrame_Initialize(_arg0
);
3837 wxPy_END_ALLOW_THREADS
;
3838 } Py_INCREF(Py_None
);
3839 _resultobj
= Py_None
;
3843 static PyMethodDef printfwcMethods
[] = {
3844 { "wxPreviewFrame_Initialize", _wrap_wxPreviewFrame_Initialize
, 1 },
3845 { "new_wxPreviewFrame", _wrap_new_wxPreviewFrame
, 1 },
3846 { "wxPrintPreview_SetZoom", _wrap_wxPrintPreview_SetZoom
, 1 },
3847 { "wxPrintPreview_SetPrintout", _wrap_wxPrintPreview_SetPrintout
, 1 },
3848 { "wxPrintPreview_SetFrame", _wrap_wxPrintPreview_SetFrame
, 1 },
3849 { "wxPrintPreview_SetCurrentPage", _wrap_wxPrintPreview_SetCurrentPage
, 1 },
3850 { "wxPrintPreview_SetCanvas", _wrap_wxPrintPreview_SetCanvas
, 1 },
3851 { "wxPrintPreview_Print", _wrap_wxPrintPreview_Print
, 1 },
3852 { "wxPrintPreview_Ok", _wrap_wxPrintPreview_Ok
, 1 },
3853 { "wxPrintPreview_GetZoom", _wrap_wxPrintPreview_GetZoom
, 1 },
3854 { "wxPrintPreview_GetPrintoutForPrinting", _wrap_wxPrintPreview_GetPrintoutForPrinting
, 1 },
3855 { "wxPrintPreview_GetPrintout", _wrap_wxPrintPreview_GetPrintout
, 1 },
3856 { "wxPrintPreview_GetPrintDialogData", _wrap_wxPrintPreview_GetPrintDialogData
, 1 },
3857 { "wxPrintPreview_GetMinPage", _wrap_wxPrintPreview_GetMinPage
, 1 },
3858 { "wxPrintPreview_GetMaxPage", _wrap_wxPrintPreview_GetMaxPage
, 1 },
3859 { "wxPrintPreview_GetFrame", _wrap_wxPrintPreview_GetFrame
, 1 },
3860 { "wxPrintPreview_GetCurrentPage", _wrap_wxPrintPreview_GetCurrentPage
, 1 },
3861 { "wxPrintPreview_GetCanvas", _wrap_wxPrintPreview_GetCanvas
, 1 },
3862 { "new_wxPrintPreview", _wrap_new_wxPrintPreview
, 1 },
3863 { "wxPrinter_Setup", _wrap_wxPrinter_Setup
, 1 },
3864 { "wxPrinter_ReportError", _wrap_wxPrinter_ReportError
, 1 },
3865 { "wxPrinter_PrintDialog", _wrap_wxPrinter_PrintDialog
, 1 },
3866 { "wxPrinter_Print", _wrap_wxPrinter_Print
, 1 },
3867 { "wxPrinter_GetPrintDialogData", _wrap_wxPrinter_GetPrintDialogData
, 1 },
3868 { "wxPrinter_CreateAbortWindow", _wrap_wxPrinter_CreateAbortWindow
, 1 },
3869 { "delete_wxPrinter", _wrap_delete_wxPrinter
, 1 },
3870 { "new_wxPrinter", _wrap_new_wxPrinter
, 1 },
3871 { "wxPrintout_base_HasPage", _wrap_wxPrintout_base_HasPage
, 1 },
3872 { "wxPrintout_base_GetPageInfo", _wrap_wxPrintout_base_GetPageInfo
, 1 },
3873 { "wxPrintout_base_OnPreparePrinting", _wrap_wxPrintout_base_OnPreparePrinting
, 1 },
3874 { "wxPrintout_base_OnEndPrinting", _wrap_wxPrintout_base_OnEndPrinting
, 1 },
3875 { "wxPrintout_base_OnBeginPrinting", _wrap_wxPrintout_base_OnBeginPrinting
, 1 },
3876 { "wxPrintout_base_OnEndDocument", _wrap_wxPrintout_base_OnEndDocument
, 1 },
3877 { "wxPrintout_base_OnBeginDocument", _wrap_wxPrintout_base_OnBeginDocument
, 1 },
3878 { "wxPrintout_IsPreview", _wrap_wxPrintout_IsPreview
, 1 },
3879 { "wxPrintout_GetPPIScreen", _wrap_wxPrintout_GetPPIScreen
, 1 },
3880 { "wxPrintout_GetPPIPrinter", _wrap_wxPrintout_GetPPIPrinter
, 1 },
3881 { "wxPrintout_GetPageSizePixels", _wrap_wxPrintout_GetPageSizePixels
, 1 },
3882 { "wxPrintout_GetPageSizeMM", _wrap_wxPrintout_GetPageSizeMM
, 1 },
3883 { "wxPrintout_GetDC", _wrap_wxPrintout_GetDC
, 1 },
3884 { "wxPrintout_Destroy", _wrap_wxPrintout_Destroy
, 1 },
3885 { "wxPrintout__setSelf", _wrap_wxPrintout__setSelf
, 1 },
3886 { "new_wxPrintout", _wrap_new_wxPrintout
, 1 },
3887 { "wxPrintDialog_ShowModal", _wrap_wxPrintDialog_ShowModal
, 1 },
3888 { "wxPrintDialog_GetPrintDC", _wrap_wxPrintDialog_GetPrintDC
, 1 },
3889 { "wxPrintDialog_GetPrintDialogData", _wrap_wxPrintDialog_GetPrintDialogData
, 1 },
3890 { "new_wxPrintDialog", _wrap_new_wxPrintDialog
, 1 },
3891 { "wxPrintDialogData_SetToPage", _wrap_wxPrintDialogData_SetToPage
, 1 },
3892 { "wxPrintDialogData_SetSetupDialog", _wrap_wxPrintDialogData_SetSetupDialog
, 1 },
3893 { "wxPrintDialogData_SetPrintToFile", _wrap_wxPrintDialogData_SetPrintToFile
, 1 },
3894 { "wxPrintDialogData_SetPrintData", _wrap_wxPrintDialogData_SetPrintData
, 1 },
3895 { "wxPrintDialogData_SetNoCopies", _wrap_wxPrintDialogData_SetNoCopies
, 1 },
3896 { "wxPrintDialogData_SetMinPage", _wrap_wxPrintDialogData_SetMinPage
, 1 },
3897 { "wxPrintDialogData_SetMaxPage", _wrap_wxPrintDialogData_SetMaxPage
, 1 },
3898 { "wxPrintDialogData_SetFromPage", _wrap_wxPrintDialogData_SetFromPage
, 1 },
3899 { "wxPrintDialogData_SetCollate", _wrap_wxPrintDialogData_SetCollate
, 1 },
3900 { "wxPrintDialogData_GetToPage", _wrap_wxPrintDialogData_GetToPage
, 1 },
3901 { "wxPrintDialogData_GetPrintToFile", _wrap_wxPrintDialogData_GetPrintToFile
, 1 },
3902 { "wxPrintDialogData_GetPrintData", _wrap_wxPrintDialogData_GetPrintData
, 1 },
3903 { "wxPrintDialogData_GetNoCopies", _wrap_wxPrintDialogData_GetNoCopies
, 1 },
3904 { "wxPrintDialogData_GetMinPage", _wrap_wxPrintDialogData_GetMinPage
, 1 },
3905 { "wxPrintDialogData_GetMaxPage", _wrap_wxPrintDialogData_GetMaxPage
, 1 },
3906 { "wxPrintDialogData_GetFromPage", _wrap_wxPrintDialogData_GetFromPage
, 1 },
3907 { "wxPrintDialogData_GetCollate", _wrap_wxPrintDialogData_GetCollate
, 1 },
3908 { "wxPrintDialogData_GetAllPages", _wrap_wxPrintDialogData_GetAllPages
, 1 },
3909 { "wxPrintDialogData_EnableSelection", _wrap_wxPrintDialogData_EnableSelection
, 1 },
3910 { "wxPrintDialogData_EnablePrintToFile", _wrap_wxPrintDialogData_EnablePrintToFile
, 1 },
3911 { "wxPrintDialogData_EnablePageNumbers", _wrap_wxPrintDialogData_EnablePageNumbers
, 1 },
3912 { "wxPrintDialogData_EnableHelp", _wrap_wxPrintDialogData_EnableHelp
, 1 },
3913 { "delete_wxPrintDialogData", _wrap_delete_wxPrintDialogData
, 1 },
3914 { "new_wxPrintDialogData", _wrap_new_wxPrintDialogData
, 1 },
3915 { "wxPageSetupDialog_ShowModal", _wrap_wxPageSetupDialog_ShowModal
, 1 },
3916 { "wxPageSetupDialog_GetPageSetupData", _wrap_wxPageSetupDialog_GetPageSetupData
, 1 },
3917 { "new_wxPageSetupDialog", _wrap_new_wxPageSetupDialog
, 1 },
3918 { "wxPageSetupDialogData_SetPrintData", _wrap_wxPageSetupDialogData_SetPrintData
, 1 },
3919 { "wxPageSetupDialogData_SetPaperSize", _wrap_wxPageSetupDialogData_SetPaperSize
, 1 },
3920 { "wxPageSetupDialogData_SetPaperId", _wrap_wxPageSetupDialogData_SetPaperId
, 1 },
3921 { "wxPageSetupDialogData_SetMinMarginBottomRight", _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, 1 },
3922 { "wxPageSetupDialogData_SetMinMarginTopLeft", _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, 1 },
3923 { "wxPageSetupDialogData_SetMarginBottomRight", _wrap_wxPageSetupDialogData_SetMarginBottomRight
, 1 },
3924 { "wxPageSetupDialogData_SetMarginTopLeft", _wrap_wxPageSetupDialogData_SetMarginTopLeft
, 1 },
3925 { "wxPageSetupDialogData_SetDefaultMinMargins", _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, 1 },
3926 { "wxPageSetupDialogData_SetDefaultInfo", _wrap_wxPageSetupDialogData_SetDefaultInfo
, 1 },
3927 { "wxPageSetupDialogData_GetPrintData", _wrap_wxPageSetupDialogData_GetPrintData
, 1 },
3928 { "wxPageSetupDialogData_GetPaperSize", _wrap_wxPageSetupDialogData_GetPaperSize
, 1 },
3929 { "wxPageSetupDialogData_GetPaperId", _wrap_wxPageSetupDialogData_GetPaperId
, 1 },
3930 { "wxPageSetupDialogData_GetMinMarginBottomRight", _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, 1 },
3931 { "wxPageSetupDialogData_GetMinMarginTopLeft", _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, 1 },
3932 { "wxPageSetupDialogData_GetMarginBottomRight", _wrap_wxPageSetupDialogData_GetMarginBottomRight
, 1 },
3933 { "wxPageSetupDialogData_GetMarginTopLeft", _wrap_wxPageSetupDialogData_GetMarginTopLeft
, 1 },
3934 { "wxPageSetupDialogData_GetDefaultInfo", _wrap_wxPageSetupDialogData_GetDefaultInfo
, 1 },
3935 { "wxPageSetupDialogData_GetEnableHelp", _wrap_wxPageSetupDialogData_GetEnableHelp
, 1 },
3936 { "wxPageSetupDialogData_GetEnablePrinter", _wrap_wxPageSetupDialogData_GetEnablePrinter
, 1 },
3937 { "wxPageSetupDialogData_GetEnablePaper", _wrap_wxPageSetupDialogData_GetEnablePaper
, 1 },
3938 { "wxPageSetupDialogData_GetEnableOrientation", _wrap_wxPageSetupDialogData_GetEnableOrientation
, 1 },
3939 { "wxPageSetupDialogData_GetEnableMargins", _wrap_wxPageSetupDialogData_GetEnableMargins
, 1 },
3940 { "wxPageSetupDialogData_GetDefaultMinMargins", _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, 1 },
3941 { "wxPageSetupDialogData_EnablePrinter", _wrap_wxPageSetupDialogData_EnablePrinter
, 1 },
3942 { "wxPageSetupDialogData_EnablePaper", _wrap_wxPageSetupDialogData_EnablePaper
, 1 },
3943 { "wxPageSetupDialogData_EnableOrientation", _wrap_wxPageSetupDialogData_EnableOrientation
, 1 },
3944 { "wxPageSetupDialogData_EnableMargins", _wrap_wxPageSetupDialogData_EnableMargins
, 1 },
3945 { "wxPageSetupDialogData_EnableHelp", _wrap_wxPageSetupDialogData_EnableHelp
, 1 },
3946 { "delete_wxPageSetupDialogData", _wrap_delete_wxPageSetupDialogData
, 1 },
3947 { "new_wxPageSetupDialogData", _wrap_new_wxPageSetupDialogData
, 1 },
3948 { "wxPrintData_SetQuality", _wrap_wxPrintData_SetQuality
, 1 },
3949 { "wxPrintData_SetPaperSize", _wrap_wxPrintData_SetPaperSize
, 1 },
3950 { "wxPrintData_SetPaperId", _wrap_wxPrintData_SetPaperId
, 1 },
3951 { "wxPrintData_SetDuplex", _wrap_wxPrintData_SetDuplex
, 1 },
3952 { "wxPrintData_SetColour", _wrap_wxPrintData_SetColour
, 1 },
3953 { "wxPrintData_SetPrinterName", _wrap_wxPrintData_SetPrinterName
, 1 },
3954 { "wxPrintData_SetOrientation", _wrap_wxPrintData_SetOrientation
, 1 },
3955 { "wxPrintData_SetCollate", _wrap_wxPrintData_SetCollate
, 1 },
3956 { "wxPrintData_SetNoCopies", _wrap_wxPrintData_SetNoCopies
, 1 },
3957 { "wxPrintData_GetQuality", _wrap_wxPrintData_GetQuality
, 1 },
3958 { "wxPrintData_GetPaperSize", _wrap_wxPrintData_GetPaperSize
, 1 },
3959 { "wxPrintData_GetPaperId", _wrap_wxPrintData_GetPaperId
, 1 },
3960 { "wxPrintData_GetDuplex", _wrap_wxPrintData_GetDuplex
, 1 },
3961 { "wxPrintData_GetColour", _wrap_wxPrintData_GetColour
, 1 },
3962 { "wxPrintData_GetPrinterName", _wrap_wxPrintData_GetPrinterName
, 1 },
3963 { "wxPrintData_GetOrientation", _wrap_wxPrintData_GetOrientation
, 1 },
3964 { "wxPrintData_GetCollate", _wrap_wxPrintData_GetCollate
, 1 },
3965 { "wxPrintData_GetNoCopies", _wrap_wxPrintData_GetNoCopies
, 1 },
3966 { "delete_wxPrintData", _wrap_delete_wxPrintData
, 1 },
3967 { "new_wxPrintData", _wrap_new_wxPrintData
, 1 },
3970 static PyObject
*SWIG_globals
;
3974 SWIGEXPORT(void,initprintfwc
)() {
3976 SWIG_globals
= SWIG_newvarlink();
3977 m
= Py_InitModule("printfwc", printfwcMethods
);
3978 d
= PyModule_GetDict(m
);
3980 * These are the pointer type-equivalency mappings.
3981 * (Used by the SWIG pointer type-checker).
3983 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3984 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
3985 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
3986 SWIG_RegisterMapping("_signed_long","_long",0);
3987 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
3988 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
3989 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
3990 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
3991 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
3992 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
3993 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
3994 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
3995 SWIG_RegisterMapping("_wxFontData","_class_wxFontData",0);
3996 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
3997 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
3998 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
);
3999 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
);
4000 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
);
4001 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
);
4002 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
);
4003 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
);
4004 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4005 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
4006 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4007 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4008 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
4009 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4010 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4011 SWIG_RegisterMapping("_class_wxColourData","_wxColourData",0);
4012 SWIG_RegisterMapping("_class_wxPageSetupDialogData","_wxPageSetupDialogData",0);
4013 SWIG_RegisterMapping("_wxPrinter","_class_wxPrinter",0);
4014 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4015 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
4016 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4017 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
4018 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
4019 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
4020 SWIG_RegisterMapping("_wxPyPrintout","_class_wxPyPrintout",0);
4021 SWIG_RegisterMapping("_long","_wxDash",0);
4022 SWIG_RegisterMapping("_long","_unsigned_long",0);
4023 SWIG_RegisterMapping("_long","_signed_long",0);
4024 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
4025 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
4026 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
4027 SWIG_RegisterMapping("_class_wxPrintDialogData","_wxPrintDialogData",0);
4028 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4029 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
4030 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4031 SWIG_RegisterMapping("_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0);
4032 SWIG_RegisterMapping("_wxProgressDialog","_class_wxProgressDialog",0);
4033 SWIG_RegisterMapping("_wxPrintPreview","_class_wxPrintPreview",0);
4034 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
4035 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
4036 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
4037 SWIG_RegisterMapping("_size_t","_int",0);
4038 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
4039 SWIG_RegisterMapping("_size_t","_uint",0);
4040 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4041 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4042 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
4043 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
4044 SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0);
4045 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
4046 SWIG_RegisterMapping("_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
);
4047 SWIG_RegisterMapping("_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
);
4048 SWIG_RegisterMapping("_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
);
4049 SWIG_RegisterMapping("_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
);
4050 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4051 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
4052 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
4053 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
4054 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
4055 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4056 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
4057 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4058 SWIG_RegisterMapping("_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
);
4059 SWIG_RegisterMapping("_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
);
4060 SWIG_RegisterMapping("_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
);
4061 SWIG_RegisterMapping("_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
);
4062 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4063 SWIG_RegisterMapping("_wxPageSetupDialog","_class_wxPageSetupDialog",0);
4064 SWIG_RegisterMapping("_class_wxPrinter","_wxPrinter",0);
4065 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
4066 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
4067 SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
4068 SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
4069 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4070 SWIG_RegisterMapping("_wxMiniFrame","_class_wxMiniFrame",0);
4071 SWIG_RegisterMapping("_class_wxPyPrintout","_wxPyPrintout",0);
4072 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
4073 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
4074 SWIG_RegisterMapping("_uint","_size_t",0);
4075 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4076 SWIG_RegisterMapping("_uint","_int",0);
4077 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4078 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
4079 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
4080 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4081 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
4082 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
4083 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4084 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
4085 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
4086 SWIG_RegisterMapping("_class_wxFontData","_wxFontData",0);
4087 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4088 SWIG_RegisterMapping("_wxPrintDialog","_class_wxPrintDialog",0);
4089 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4090 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
4091 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
4092 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
4093 SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
4094 SWIG_RegisterMapping("_wxColourDialog","_class_wxColourDialog",0);
4095 SWIG_RegisterMapping("_wxPrintData","_class_wxPrintData",0);
4096 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4097 SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
4098 SWIG_RegisterMapping("_wxMessageDialog","_class_wxMessageDialog",0);
4099 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
4100 SWIG_RegisterMapping("_wxTextEntryDialog","_class_wxTextEntryDialog",0);
4101 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
4102 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
4103 SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
4104 SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
4105 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
4106 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
4107 SWIG_RegisterMapping("_EBool","_signed_int",0);
4108 SWIG_RegisterMapping("_EBool","_int",0);
4109 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4110 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4111 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
4112 SWIG_RegisterMapping("_class_wxPreviewFrame","_wxPreviewFrame",0);
4113 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
4114 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4115 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
4116 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4117 SWIG_RegisterMapping("_unsigned_long","_long",0);
4118 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4119 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4120 SWIG_RegisterMapping("_class_wxProgressDialog","_wxProgressDialog",0);
4121 SWIG_RegisterMapping("_class_wxDirDialog","_wxDirDialog",0);
4122 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4123 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
4124 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
4125 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
4126 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4127 SWIG_RegisterMapping("_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
);
4128 SWIG_RegisterMapping("_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
);
4129 SWIG_RegisterMapping("_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
);
4130 SWIG_RegisterMapping("_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
);
4131 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4132 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
4133 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
4134 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
4135 SWIG_RegisterMapping("_class_wxMessageDialog","_wxMessageDialog",0);
4136 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
4137 SWIG_RegisterMapping("_signed_int","_EBool",0);
4138 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4139 SWIG_RegisterMapping("_signed_int","_int",0);
4140 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
4141 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4142 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4143 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
4144 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
4145 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4146 SWIG_RegisterMapping("_WXTYPE","_short",0);
4147 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4148 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4149 SWIG_RegisterMapping("_wxFileDialog","_class_wxFileDialog",0);
4150 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4151 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4152 SWIG_RegisterMapping("_unsigned_short","_short",0);
4153 SWIG_RegisterMapping("_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
);
4154 SWIG_RegisterMapping("_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
);
4155 SWIG_RegisterMapping("_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
);
4156 SWIG_RegisterMapping("_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
);
4157 SWIG_RegisterMapping("_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
);
4158 SWIG_RegisterMapping("_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
);
4159 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4160 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
4161 SWIG_RegisterMapping("_wxPrintDialogData","_class_wxPrintDialogData",0);
4162 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4163 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
4164 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
4165 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4166 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
4167 SWIG_RegisterMapping("_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0);
4168 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4169 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4170 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
4171 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4172 SWIG_RegisterMapping("_signed_short","_short",0);
4173 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4174 SWIG_RegisterMapping("_class_wxPrintDialog","_wxPrintDialog",0);
4175 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4176 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
4177 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
4178 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
4179 SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0);
4180 SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0);
4181 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4182 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4183 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
4184 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4185 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4186 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4187 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
4188 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
4189 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
4190 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
4191 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4192 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4193 SWIG_RegisterMapping("_unsigned_int","_int",0);
4194 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4195 SWIG_RegisterMapping("_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
);
4196 SWIG_RegisterMapping("_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
);
4197 SWIG_RegisterMapping("_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
);
4198 SWIG_RegisterMapping("_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
);
4199 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4200 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4201 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4202 SWIG_RegisterMapping("_class_wxFileDialog","_wxFileDialog",0);
4203 SWIG_RegisterMapping("_short","_WXTYPE",0);
4204 SWIG_RegisterMapping("_short","_unsigned_short",0);
4205 SWIG_RegisterMapping("_short","_signed_short",0);
4206 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
4207 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
4208 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
4209 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
4210 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
4211 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
4212 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
4213 SWIG_RegisterMapping("_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
);
4214 SWIG_RegisterMapping("_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
);
4215 SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
4216 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
4217 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
4218 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4219 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4220 SWIG_RegisterMapping("_wxWindowID","_int",0);
4221 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4222 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4223 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
4224 SWIG_RegisterMapping("_int","_size_t",0);
4225 SWIG_RegisterMapping("_int","_EBool",0);
4226 SWIG_RegisterMapping("_int","_uint",0);
4227 SWIG_RegisterMapping("_int","_wxWindowID",0);
4228 SWIG_RegisterMapping("_int","_unsigned_int",0);
4229 SWIG_RegisterMapping("_int","_signed_int",0);
4230 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
4231 SWIG_RegisterMapping("_class_wxPrintPreview","_wxPrintPreview",0);
4232 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
4233 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
4234 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4235 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4236 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4237 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
4238 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
4239 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
4240 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
4241 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4242 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
4243 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
4244 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
4245 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4246 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4247 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4248 SWIG_RegisterMapping("_class_wxPageSetupDialog","_wxPageSetupDialog",0);
4249 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4250 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
4251 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
4252 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
4253 SWIG_RegisterMapping("_class_wxMiniFrame","_wxMiniFrame",0);
4254 SWIG_RegisterMapping("_wxFontDialog","_class_wxFontDialog",0);
4255 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4256 SWIG_RegisterMapping("_wxPreviewFrame","_class_wxPreviewFrame",0);
4257 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
4258 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
4259 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
4260 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
4261 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
4262 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4263 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
4264 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4265 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4266 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4267 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4268 SWIG_RegisterMapping("_wxDirDialog","_class_wxDirDialog",0);
4269 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
);
4270 SWIG_RegisterMapping("_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
);
4271 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
);
4272 SWIG_RegisterMapping("_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
);
4273 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
);
4274 SWIG_RegisterMapping("_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
);
4275 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4276 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4277 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
4278 SWIG_RegisterMapping("_class_wxColourDialog","_wxColourDialog",0);
4279 SWIG_RegisterMapping("_class_wxPrintData","_wxPrintData",0);
4280 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4281 SWIG_RegisterMapping("_wxDash","_long",0);
4282 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4283 SWIG_RegisterMapping("_class_wxTextEntryDialog","_wxTextEntryDialog",0);
4284 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
4285 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
4286 SWIG_RegisterMapping("_wxColourData","_class_wxColourData",0);
4287 SWIG_RegisterMapping("_wxPageSetupDialogData","_class_wxPageSetupDialogData",0);
4288 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4289 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
4290 SWIG_RegisterMapping("_class_wxFontDialog","_wxFontDialog",0);
4291 SWIG_RegisterMapping("_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
);
4292 SWIG_RegisterMapping("_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
);
4293 SWIG_RegisterMapping("_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
);
4294 SWIG_RegisterMapping("_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
);
4295 SWIG_RegisterMapping("_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
);
4296 SWIG_RegisterMapping("_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
);
4297 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
4298 SWIG_RegisterMapping("_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
);
4299 SWIG_RegisterMapping("_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
);
4300 SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);