2 * FILE : msw/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 802)
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) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
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 char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 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
);
182 #define new_wxPrintData() (new wxPrintData())
183 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
185 wxPrintData
* _result
;
186 char *_kwnames
[] = { NULL
};
190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
193 wxPy_BEGIN_ALLOW_THREADS
;
194 _result
= (wxPrintData
*)new_wxPrintData();
196 wxPy_END_ALLOW_THREADS
;
198 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
199 _resultobj
= Py_BuildValue("s",_ptemp
);
202 _resultobj
= Py_None
;
207 #define delete_wxPrintData(_swigobj) (delete _swigobj)
208 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
209 PyObject
* _resultobj
;
211 PyObject
* _argo0
= 0;
212 char *_kwnames
[] = { "self", NULL
};
215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
225 wxPy_BEGIN_ALLOW_THREADS
;
226 delete_wxPrintData(_arg0
);
228 wxPy_END_ALLOW_THREADS
;
229 } Py_INCREF(Py_None
);
230 _resultobj
= Py_None
;
234 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
235 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
236 PyObject
* _resultobj
;
239 PyObject
* _argo0
= 0;
240 char *_kwnames
[] = { "self", NULL
};
243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
253 wxPy_BEGIN_ALLOW_THREADS
;
254 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
256 wxPy_END_ALLOW_THREADS
;
257 } _resultobj
= Py_BuildValue("i",_result
);
261 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
262 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
263 PyObject
* _resultobj
;
266 PyObject
* _argo0
= 0;
267 char *_kwnames
[] = { "self", NULL
};
270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
280 wxPy_BEGIN_ALLOW_THREADS
;
281 _result
= (bool )wxPrintData_GetCollate(_arg0
);
283 wxPy_END_ALLOW_THREADS
;
284 } _resultobj
= Py_BuildValue("i",_result
);
288 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
289 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
290 PyObject
* _resultobj
;
293 PyObject
* _argo0
= 0;
294 char *_kwnames
[] = { "self", NULL
};
297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
307 wxPy_BEGIN_ALLOW_THREADS
;
308 _result
= (int )wxPrintData_GetOrientation(_arg0
);
310 wxPy_END_ALLOW_THREADS
;
311 } _resultobj
= Py_BuildValue("i",_result
);
315 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
316 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
317 PyObject
* _resultobj
;
320 PyObject
* _argo0
= 0;
321 char *_kwnames
[] = { "self", NULL
};
324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
334 wxPy_BEGIN_ALLOW_THREADS
;
335 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
336 _result
= (wxString
*) &_result_ref
;
338 wxPy_END_ALLOW_THREADS
;
340 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
345 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
346 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
347 PyObject
* _resultobj
;
350 PyObject
* _argo0
= 0;
351 char *_kwnames
[] = { "self", NULL
};
354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
364 wxPy_BEGIN_ALLOW_THREADS
;
365 _result
= (bool )wxPrintData_GetColour(_arg0
);
367 wxPy_END_ALLOW_THREADS
;
368 } _resultobj
= Py_BuildValue("i",_result
);
372 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
373 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
374 PyObject
* _resultobj
;
375 wxDuplexMode _result
;
377 PyObject
* _argo0
= 0;
378 char *_kwnames
[] = { "self", NULL
};
381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
391 wxPy_BEGIN_ALLOW_THREADS
;
392 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
394 wxPy_END_ALLOW_THREADS
;
395 } _resultobj
= Py_BuildValue("i",_result
);
399 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
400 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
404 PyObject
* _argo0
= 0;
405 char *_kwnames
[] = { "self", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
418 wxPy_BEGIN_ALLOW_THREADS
;
419 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
421 wxPy_END_ALLOW_THREADS
;
422 } _resultobj
= Py_BuildValue("i",_result
);
426 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
427 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
428 PyObject
* _resultobj
;
431 PyObject
* _argo0
= 0;
432 char *_kwnames
[] = { "self", NULL
};
436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
446 wxPy_BEGIN_ALLOW_THREADS
;
447 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
448 _result
= (wxSize
*) &_result_ref
;
450 wxPy_END_ALLOW_THREADS
;
452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
453 _resultobj
= Py_BuildValue("s",_ptemp
);
456 _resultobj
= Py_None
;
461 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
462 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
463 PyObject
* _resultobj
;
464 wxPrintQuality _result
;
466 PyObject
* _argo0
= 0;
467 char *_kwnames
[] = { "self", NULL
};
470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
480 wxPy_BEGIN_ALLOW_THREADS
;
481 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
483 wxPy_END_ALLOW_THREADS
;
484 } _resultobj
= Py_BuildValue("i",_result
);
488 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
489 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
490 PyObject
* _resultobj
;
493 PyObject
* _argo0
= 0;
494 char *_kwnames
[] = { "self","v", NULL
};
497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
507 wxPy_BEGIN_ALLOW_THREADS
;
508 wxPrintData_SetNoCopies(_arg0
,_arg1
);
510 wxPy_END_ALLOW_THREADS
;
511 } Py_INCREF(Py_None
);
512 _resultobj
= Py_None
;
516 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
517 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 PyObject
* _resultobj
;
521 PyObject
* _argo0
= 0;
523 char *_kwnames
[] = { "self","flag", NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
535 _arg1
= (bool ) tempbool1
;
537 wxPy_BEGIN_ALLOW_THREADS
;
538 wxPrintData_SetCollate(_arg0
,_arg1
);
540 wxPy_END_ALLOW_THREADS
;
541 } Py_INCREF(Py_None
);
542 _resultobj
= Py_None
;
546 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
547 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
548 PyObject
* _resultobj
;
551 PyObject
* _argo0
= 0;
552 char *_kwnames
[] = { "self","orient", NULL
};
555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
565 wxPy_BEGIN_ALLOW_THREADS
;
566 wxPrintData_SetOrientation(_arg0
,_arg1
);
568 wxPy_END_ALLOW_THREADS
;
569 } Py_INCREF(Py_None
);
570 _resultobj
= Py_None
;
574 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
575 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
579 PyObject
* _argo0
= 0;
580 PyObject
* _obj1
= 0;
581 char *_kwnames
[] = { "self","name", NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
594 if (!PyString_Check(_obj1
)) {
595 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
598 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
601 wxPy_BEGIN_ALLOW_THREADS
;
602 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
604 wxPy_END_ALLOW_THREADS
;
605 } Py_INCREF(Py_None
);
606 _resultobj
= Py_None
;
614 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
615 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 PyObject
* _resultobj
;
619 PyObject
* _argo0
= 0;
621 char *_kwnames
[] = { "self","colour", NULL
};
624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
633 _arg1
= (bool ) tempbool1
;
635 wxPy_BEGIN_ALLOW_THREADS
;
636 wxPrintData_SetColour(_arg0
,_arg1
);
638 wxPy_END_ALLOW_THREADS
;
639 } Py_INCREF(Py_None
);
640 _resultobj
= Py_None
;
644 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
645 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
646 PyObject
* _resultobj
;
649 PyObject
* _argo0
= 0;
650 char *_kwnames
[] = { "self","duplex", NULL
};
653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
663 wxPy_BEGIN_ALLOW_THREADS
;
664 wxPrintData_SetDuplex(_arg0
,_arg1
);
666 wxPy_END_ALLOW_THREADS
;
667 } Py_INCREF(Py_None
);
668 _resultobj
= Py_None
;
672 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
673 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
674 PyObject
* _resultobj
;
677 PyObject
* _argo0
= 0;
678 char *_kwnames
[] = { "self","sizeId", NULL
};
681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
691 wxPy_BEGIN_ALLOW_THREADS
;
692 wxPrintData_SetPaperId(_arg0
,_arg1
);
694 wxPy_END_ALLOW_THREADS
;
695 } Py_INCREF(Py_None
);
696 _resultobj
= Py_None
;
700 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
701 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
702 PyObject
* _resultobj
;
705 PyObject
* _argo0
= 0;
706 PyObject
* _argo1
= 0;
707 char *_kwnames
[] = { "self","sz", NULL
};
710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_argo1
))
713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
720 if (_argo1
== Py_None
) { _arg1
= NULL
; }
721 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPaperSize. Expected _wxSize_p.");
727 wxPy_BEGIN_ALLOW_THREADS
;
728 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
730 wxPy_END_ALLOW_THREADS
;
731 } Py_INCREF(Py_None
);
732 _resultobj
= Py_None
;
736 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
737 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
740 wxPrintQuality _arg1
;
741 PyObject
* _argo0
= 0;
742 char *_kwnames
[] = { "self","quality", NULL
};
745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
755 wxPy_BEGIN_ALLOW_THREADS
;
756 wxPrintData_SetQuality(_arg0
,_arg1
);
758 wxPy_END_ALLOW_THREADS
;
759 } Py_INCREF(Py_None
);
760 _resultobj
= Py_None
;
764 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
765 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
766 PyObject
* _resultobj
;
767 wxPageSetupDialogData
* _result
;
768 char *_kwnames
[] = { NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
775 wxPy_BEGIN_ALLOW_THREADS
;
776 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
778 wxPy_END_ALLOW_THREADS
;
780 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
781 _resultobj
= Py_BuildValue("s",_ptemp
);
784 _resultobj
= Py_None
;
789 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
790 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
791 PyObject
* _resultobj
;
792 wxPageSetupDialogData
* _arg0
;
793 PyObject
* _argo0
= 0;
794 char *_kwnames
[] = { "self", NULL
};
797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
807 wxPy_BEGIN_ALLOW_THREADS
;
808 delete_wxPageSetupDialogData(_arg0
);
810 wxPy_END_ALLOW_THREADS
;
811 } Py_INCREF(Py_None
);
812 _resultobj
= Py_None
;
816 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
817 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
818 PyObject
* _resultobj
;
819 wxPageSetupDialogData
* _arg0
;
821 PyObject
* _argo0
= 0;
823 char *_kwnames
[] = { "self","flag", NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
835 _arg1
= (bool ) tempbool1
;
837 wxPy_BEGIN_ALLOW_THREADS
;
838 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
840 wxPy_END_ALLOW_THREADS
;
841 } Py_INCREF(Py_None
);
842 _resultobj
= Py_None
;
846 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
847 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
848 PyObject
* _resultobj
;
849 wxPageSetupDialogData
* _arg0
;
851 PyObject
* _argo0
= 0;
853 char *_kwnames
[] = { "self","flag", NULL
};
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
865 _arg1
= (bool ) tempbool1
;
867 wxPy_BEGIN_ALLOW_THREADS
;
868 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
870 wxPy_END_ALLOW_THREADS
;
871 } Py_INCREF(Py_None
);
872 _resultobj
= Py_None
;
876 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
877 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
878 PyObject
* _resultobj
;
879 wxPageSetupDialogData
* _arg0
;
881 PyObject
* _argo0
= 0;
883 char *_kwnames
[] = { "self","flag", NULL
};
886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
895 _arg1
= (bool ) tempbool1
;
897 wxPy_BEGIN_ALLOW_THREADS
;
898 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
900 wxPy_END_ALLOW_THREADS
;
901 } Py_INCREF(Py_None
);
902 _resultobj
= Py_None
;
906 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
907 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
908 PyObject
* _resultobj
;
909 wxPageSetupDialogData
* _arg0
;
911 PyObject
* _argo0
= 0;
913 char *_kwnames
[] = { "self","flag", NULL
};
916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
925 _arg1
= (bool ) tempbool1
;
927 wxPy_BEGIN_ALLOW_THREADS
;
928 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
930 wxPy_END_ALLOW_THREADS
;
931 } Py_INCREF(Py_None
);
932 _resultobj
= Py_None
;
936 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
937 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
939 wxPageSetupDialogData
* _arg0
;
941 PyObject
* _argo0
= 0;
943 char *_kwnames
[] = { "self","flag", NULL
};
946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
955 _arg1
= (bool ) tempbool1
;
957 wxPy_BEGIN_ALLOW_THREADS
;
958 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
960 wxPy_END_ALLOW_THREADS
;
961 } Py_INCREF(Py_None
);
962 _resultobj
= Py_None
;
966 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
967 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 PyObject
* _resultobj
;
970 wxPageSetupDialogData
* _arg0
;
971 PyObject
* _argo0
= 0;
972 char *_kwnames
[] = { "self", NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
985 wxPy_BEGIN_ALLOW_THREADS
;
986 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
988 wxPy_END_ALLOW_THREADS
;
989 } _resultobj
= Py_BuildValue("i",_result
);
993 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
994 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
995 PyObject
* _resultobj
;
997 wxPageSetupDialogData
* _arg0
;
998 PyObject
* _argo0
= 0;
999 char *_kwnames
[] = { "self", NULL
};
1002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
1005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1012 wxPy_BEGIN_ALLOW_THREADS
;
1013 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1015 wxPy_END_ALLOW_THREADS
;
1016 } _resultobj
= Py_BuildValue("i",_result
);
1020 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
1021 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1022 PyObject
* _resultobj
;
1024 wxPageSetupDialogData
* _arg0
;
1025 PyObject
* _argo0
= 0;
1026 char *_kwnames
[] = { "self", NULL
};
1029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
1032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1039 wxPy_BEGIN_ALLOW_THREADS
;
1040 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1042 wxPy_END_ALLOW_THREADS
;
1043 } _resultobj
= Py_BuildValue("i",_result
);
1047 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
1048 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1051 wxPageSetupDialogData
* _arg0
;
1052 PyObject
* _argo0
= 0;
1053 char *_kwnames
[] = { "self", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
1059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
1066 wxPy_BEGIN_ALLOW_THREADS
;
1067 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
1069 wxPy_END_ALLOW_THREADS
;
1070 } _resultobj
= Py_BuildValue("i",_result
);
1074 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
1075 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
* _resultobj
;
1078 wxPageSetupDialogData
* _arg0
;
1079 PyObject
* _argo0
= 0;
1080 char *_kwnames
[] = { "self", NULL
};
1083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
1086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
1093 wxPy_BEGIN_ALLOW_THREADS
;
1094 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
1096 wxPy_END_ALLOW_THREADS
;
1097 } _resultobj
= Py_BuildValue("i",_result
);
1101 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
1102 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1105 wxPageSetupDialogData
* _arg0
;
1106 PyObject
* _argo0
= 0;
1107 char *_kwnames
[] = { "self", NULL
};
1110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
1113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
1120 wxPy_BEGIN_ALLOW_THREADS
;
1121 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
1123 wxPy_END_ALLOW_THREADS
;
1124 } _resultobj
= Py_BuildValue("i",_result
);
1128 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
1129 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1132 wxPageSetupDialogData
* _arg0
;
1133 PyObject
* _argo0
= 0;
1134 char *_kwnames
[] = { "self", NULL
};
1137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
1140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1147 wxPy_BEGIN_ALLOW_THREADS
;
1148 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
1150 wxPy_END_ALLOW_THREADS
;
1151 } _resultobj
= Py_BuildValue("i",_result
);
1155 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
1156 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1159 wxPageSetupDialogData
* _arg0
;
1160 PyObject
* _argo0
= 0;
1161 char *_kwnames
[] = { "self", NULL
};
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
1168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1175 wxPy_BEGIN_ALLOW_THREADS
;
1176 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
1178 wxPy_END_ALLOW_THREADS
;
1179 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1180 _resultobj
= Py_BuildValue("s",_ptemp
);
1184 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
1185 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1186 PyObject
* _resultobj
;
1188 wxPageSetupDialogData
* _arg0
;
1189 PyObject
* _argo0
= 0;
1190 char *_kwnames
[] = { "self", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1204 wxPy_BEGIN_ALLOW_THREADS
;
1205 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
1207 wxPy_END_ALLOW_THREADS
;
1208 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1209 _resultobj
= Py_BuildValue("s",_ptemp
);
1213 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
1214 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1215 PyObject
* _resultobj
;
1217 wxPageSetupDialogData
* _arg0
;
1218 PyObject
* _argo0
= 0;
1219 char *_kwnames
[] = { "self", NULL
};
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
1226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1233 wxPy_BEGIN_ALLOW_THREADS
;
1234 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
1236 wxPy_END_ALLOW_THREADS
;
1237 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1238 _resultobj
= Py_BuildValue("s",_ptemp
);
1242 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
1243 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1246 wxPageSetupDialogData
* _arg0
;
1247 PyObject
* _argo0
= 0;
1248 char *_kwnames
[] = { "self", NULL
};
1252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
1255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1262 wxPy_BEGIN_ALLOW_THREADS
;
1263 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
1265 wxPy_END_ALLOW_THREADS
;
1266 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1267 _resultobj
= Py_BuildValue("s",_ptemp
);
1271 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
1272 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
* _resultobj
;
1274 wxPaperSize _result
;
1275 wxPageSetupDialogData
* _arg0
;
1276 PyObject
* _argo0
= 0;
1277 char *_kwnames
[] = { "self", NULL
};
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
1283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
1290 wxPy_BEGIN_ALLOW_THREADS
;
1291 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
1293 wxPy_END_ALLOW_THREADS
;
1294 } _resultobj
= Py_BuildValue("i",_result
);
1298 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
1299 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1302 wxPageSetupDialogData
* _arg0
;
1303 PyObject
* _argo0
= 0;
1304 char *_kwnames
[] = { "self", NULL
};
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
1311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
1318 wxPy_BEGIN_ALLOW_THREADS
;
1319 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
1321 wxPy_END_ALLOW_THREADS
;
1322 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1323 _resultobj
= Py_BuildValue("s",_ptemp
);
1327 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
1328 return new wxPrintData(self
->GetPrintData()); // force a copy
1330 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1331 PyObject
* _resultobj
;
1332 wxPrintData
* _result
;
1333 wxPageSetupDialogData
* _arg0
;
1334 PyObject
* _argo0
= 0;
1335 char *_kwnames
[] = { "self", NULL
};
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
1342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
1349 wxPy_BEGIN_ALLOW_THREADS
;
1350 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
1352 wxPy_END_ALLOW_THREADS
;
1354 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
1355 _resultobj
= Py_BuildValue("s",_ptemp
);
1358 _resultobj
= Py_None
;
1363 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
1364 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
* _resultobj
;
1366 wxPageSetupDialogData
* _arg0
;
1368 PyObject
* _argo0
= 0;
1370 char *_kwnames
[] = { "self","flag", NULL
};
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
1376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1382 _arg1
= (bool ) tempbool1
;
1384 wxPy_BEGIN_ALLOW_THREADS
;
1385 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
1387 wxPy_END_ALLOW_THREADS
;
1388 } Py_INCREF(Py_None
);
1389 _resultobj
= Py_None
;
1393 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
1394 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1396 wxPageSetupDialogData
* _arg0
;
1398 PyObject
* _argo0
= 0;
1400 char *_kwnames
[] = { "self","flag", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
1406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1412 _arg1
= (bool ) tempbool1
;
1414 wxPy_BEGIN_ALLOW_THREADS
;
1415 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
1417 wxPy_END_ALLOW_THREADS
;
1418 } Py_INCREF(Py_None
);
1419 _resultobj
= Py_None
;
1423 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
1424 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1426 wxPageSetupDialogData
* _arg0
;
1428 PyObject
* _argo0
= 0;
1429 PyObject
* _argo1
= 0;
1430 char *_kwnames
[] = { "self","pt", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_argo1
))
1436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1443 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1444 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPoint_p.");
1450 wxPy_BEGIN_ALLOW_THREADS
;
1451 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
1453 wxPy_END_ALLOW_THREADS
;
1454 } Py_INCREF(Py_None
);
1455 _resultobj
= Py_None
;
1459 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
1460 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
* _resultobj
;
1462 wxPageSetupDialogData
* _arg0
;
1464 PyObject
* _argo0
= 0;
1465 PyObject
* _argo1
= 0;
1466 char *_kwnames
[] = { "self","pt", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_argo1
))
1472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPoint_p.");
1486 wxPy_BEGIN_ALLOW_THREADS
;
1487 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
1489 wxPy_END_ALLOW_THREADS
;
1490 } Py_INCREF(Py_None
);
1491 _resultobj
= Py_None
;
1495 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
1496 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
* _resultobj
;
1498 wxPageSetupDialogData
* _arg0
;
1500 PyObject
* _argo0
= 0;
1501 PyObject
* _argo1
= 0;
1502 char *_kwnames
[] = { "self","pt", NULL
};
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_argo1
))
1508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1515 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1516 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPoint_p.");
1522 wxPy_BEGIN_ALLOW_THREADS
;
1523 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
1525 wxPy_END_ALLOW_THREADS
;
1526 } Py_INCREF(Py_None
);
1527 _resultobj
= Py_None
;
1531 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
1532 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
* _resultobj
;
1534 wxPageSetupDialogData
* _arg0
;
1536 PyObject
* _argo0
= 0;
1537 PyObject
* _argo1
= 0;
1538 char *_kwnames
[] = { "self","pt", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_argo1
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPoint_p.");
1558 wxPy_BEGIN_ALLOW_THREADS
;
1559 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
1561 wxPy_END_ALLOW_THREADS
;
1562 } Py_INCREF(Py_None
);
1563 _resultobj
= Py_None
;
1567 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
1568 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
* _resultobj
;
1570 wxPageSetupDialogData
* _arg0
;
1571 wxPaperSize
* _arg1
;
1572 PyObject
* _argo0
= 0;
1573 PyObject
* _argo1
= 0;
1574 char *_kwnames
[] = { "self","id", NULL
};
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_argo1
))
1580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
1587 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1588 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPaperSize_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPaperId. Expected _wxPaperSize_p.");
1594 wxPy_BEGIN_ALLOW_THREADS
;
1595 wxPageSetupDialogData_SetPaperId(_arg0
,*_arg1
);
1597 wxPy_END_ALLOW_THREADS
;
1598 } Py_INCREF(Py_None
);
1599 _resultobj
= Py_None
;
1603 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
1604 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
* _resultobj
;
1606 wxPageSetupDialogData
* _arg0
;
1608 PyObject
* _argo0
= 0;
1609 PyObject
* _argo1
= 0;
1610 char *_kwnames
[] = { "self","size", NULL
};
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_argo1
))
1616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
1623 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1624 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
1625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPaperSize. Expected _wxSize_p.");
1630 wxPy_BEGIN_ALLOW_THREADS
;
1631 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
1633 wxPy_END_ALLOW_THREADS
;
1634 } Py_INCREF(Py_None
);
1635 _resultobj
= Py_None
;
1639 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
1640 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1642 wxPageSetupDialogData
* _arg0
;
1643 wxPrintData
* _arg1
;
1644 PyObject
* _argo0
= 0;
1645 PyObject
* _argo1
= 0;
1646 char *_kwnames
[] = { "self","printData", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
1652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
1659 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1660 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
1661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
1666 wxPy_BEGIN_ALLOW_THREADS
;
1667 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
1669 wxPy_END_ALLOW_THREADS
;
1670 } Py_INCREF(Py_None
);
1671 _resultobj
= Py_None
;
1675 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
1676 wxPageSetupDialog
*src
;
1678 src
= (wxPageSetupDialog
*) ptr
;
1679 dest
= (wxDialog
*) src
;
1680 return (void *) dest
;
1683 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
1684 wxPageSetupDialog
*src
;
1686 src
= (wxPageSetupDialog
*) ptr
;
1687 dest
= (wxPanel
*) src
;
1688 return (void *) dest
;
1691 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
1692 wxPageSetupDialog
*src
;
1694 src
= (wxPageSetupDialog
*) ptr
;
1695 dest
= (wxWindow
*) src
;
1696 return (void *) dest
;
1699 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
1700 wxPageSetupDialog
*src
;
1702 src
= (wxPageSetupDialog
*) ptr
;
1703 dest
= (wxEvtHandler
*) src
;
1704 return (void *) dest
;
1707 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
1708 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1710 wxPageSetupDialog
* _result
;
1712 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
1713 PyObject
* _argo0
= 0;
1714 PyObject
* _argo1
= 0;
1715 char *_kwnames
[] = { "parent","data", NULL
};
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
1722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
1729 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1730 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
1731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
1736 wxPy_BEGIN_ALLOW_THREADS
;
1737 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
1739 wxPy_END_ALLOW_THREADS
;
1741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
1742 _resultobj
= Py_BuildValue("s",_ptemp
);
1745 _resultobj
= Py_None
;
1750 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
1751 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1752 PyObject
* _resultobj
;
1753 wxPageSetupDialogData
* _result
;
1754 wxPageSetupDialog
* _arg0
;
1755 PyObject
* _argo0
= 0;
1756 char *_kwnames
[] = { "self", NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
1763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
1770 wxPy_BEGIN_ALLOW_THREADS
;
1771 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
1772 _result
= (wxPageSetupDialogData
*) &_result_ref
;
1774 wxPy_END_ALLOW_THREADS
;
1776 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1777 _resultobj
= Py_BuildValue("s",_ptemp
);
1780 _resultobj
= Py_None
;
1785 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1786 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
* _resultobj
;
1789 wxPageSetupDialog
* _arg0
;
1790 PyObject
* _argo0
= 0;
1791 char *_kwnames
[] = { "self", NULL
};
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
1797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
1799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
1804 wxPy_BEGIN_ALLOW_THREADS
;
1805 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
1807 wxPy_END_ALLOW_THREADS
;
1808 } _resultobj
= Py_BuildValue("i",_result
);
1812 #define new_wxPrintDialogData() (new wxPrintDialogData())
1813 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1815 wxPrintDialogData
* _result
;
1816 char *_kwnames
[] = { NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
1823 wxPy_BEGIN_ALLOW_THREADS
;
1824 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
1826 wxPy_END_ALLOW_THREADS
;
1828 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
1829 _resultobj
= Py_BuildValue("s",_ptemp
);
1832 _resultobj
= Py_None
;
1837 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
1838 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1840 wxPrintDialogData
* _arg0
;
1841 PyObject
* _argo0
= 0;
1842 char *_kwnames
[] = { "self", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
1855 wxPy_BEGIN_ALLOW_THREADS
;
1856 delete_wxPrintDialogData(_arg0
);
1858 wxPy_END_ALLOW_THREADS
;
1859 } Py_INCREF(Py_None
);
1860 _resultobj
= Py_None
;
1864 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1865 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1867 wxPrintDialogData
* _arg0
;
1869 PyObject
* _argo0
= 0;
1871 char *_kwnames
[] = { "self","flag", NULL
};
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
1883 _arg1
= (bool ) tempbool1
;
1885 wxPy_BEGIN_ALLOW_THREADS
;
1886 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
1888 wxPy_END_ALLOW_THREADS
;
1889 } Py_INCREF(Py_None
);
1890 _resultobj
= Py_None
;
1894 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
1895 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
* _resultobj
;
1897 wxPrintDialogData
* _arg0
;
1899 PyObject
* _argo0
= 0;
1901 char *_kwnames
[] = { "self","flag", NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
1907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
1913 _arg1
= (bool ) tempbool1
;
1915 wxPy_BEGIN_ALLOW_THREADS
;
1916 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
1918 wxPy_END_ALLOW_THREADS
;
1919 } Py_INCREF(Py_None
);
1920 _resultobj
= Py_None
;
1924 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
1925 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
* _resultobj
;
1927 wxPrintDialogData
* _arg0
;
1929 PyObject
* _argo0
= 0;
1931 char *_kwnames
[] = { "self","flag", NULL
};
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
1937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
1943 _arg1
= (bool ) tempbool1
;
1945 wxPy_BEGIN_ALLOW_THREADS
;
1946 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
1948 wxPy_END_ALLOW_THREADS
;
1949 } Py_INCREF(Py_None
);
1950 _resultobj
= Py_None
;
1954 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
1955 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
* _resultobj
;
1957 wxPrintDialogData
* _arg0
;
1959 PyObject
* _argo0
= 0;
1961 char *_kwnames
[] = { "self","flag", NULL
};
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
1967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
1973 _arg1
= (bool ) tempbool1
;
1975 wxPy_BEGIN_ALLOW_THREADS
;
1976 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
1978 wxPy_END_ALLOW_THREADS
;
1979 } Py_INCREF(Py_None
);
1980 _resultobj
= Py_None
;
1984 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
1985 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1988 wxPrintDialogData
* _arg0
;
1989 PyObject
* _argo0
= 0;
1990 char *_kwnames
[] = { "self", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
2003 wxPy_BEGIN_ALLOW_THREADS
;
2004 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
2006 wxPy_END_ALLOW_THREADS
;
2007 } _resultobj
= Py_BuildValue("i",_result
);
2011 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
2012 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
* _resultobj
;
2015 wxPrintDialogData
* _arg0
;
2016 PyObject
* _argo0
= 0;
2017 char *_kwnames
[] = { "self", NULL
};
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
2023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
2030 wxPy_BEGIN_ALLOW_THREADS
;
2031 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
2033 wxPy_END_ALLOW_THREADS
;
2034 } _resultobj
= Py_BuildValue("i",_result
);
2038 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
2039 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2042 wxPrintDialogData
* _arg0
;
2043 PyObject
* _argo0
= 0;
2044 char *_kwnames
[] = { "self", NULL
};
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
2050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
2057 wxPy_BEGIN_ALLOW_THREADS
;
2058 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
2060 wxPy_END_ALLOW_THREADS
;
2061 } _resultobj
= Py_BuildValue("i",_result
);
2065 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
2066 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
* _resultobj
;
2069 wxPrintDialogData
* _arg0
;
2070 PyObject
* _argo0
= 0;
2071 char *_kwnames
[] = { "self", NULL
};
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
2077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
2084 wxPy_BEGIN_ALLOW_THREADS
;
2085 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
2087 wxPy_END_ALLOW_THREADS
;
2088 } _resultobj
= Py_BuildValue("i",_result
);
2092 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
2093 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2096 wxPrintDialogData
* _arg0
;
2097 PyObject
* _argo0
= 0;
2098 char *_kwnames
[] = { "self", NULL
};
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
2104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
2111 wxPy_BEGIN_ALLOW_THREADS
;
2112 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
2114 wxPy_END_ALLOW_THREADS
;
2115 } _resultobj
= Py_BuildValue("i",_result
);
2119 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
2120 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
* _resultobj
;
2123 wxPrintDialogData
* _arg0
;
2124 PyObject
* _argo0
= 0;
2125 char *_kwnames
[] = { "self", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
2138 wxPy_BEGIN_ALLOW_THREADS
;
2139 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
2141 wxPy_END_ALLOW_THREADS
;
2142 } _resultobj
= Py_BuildValue("i",_result
);
2146 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
2147 return new wxPrintData(self
->GetPrintData()); // force a copy
2149 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
* _resultobj
;
2151 wxPrintData
* _result
;
2152 wxPrintDialogData
* _arg0
;
2153 PyObject
* _argo0
= 0;
2154 char *_kwnames
[] = { "self", NULL
};
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
2161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
2168 wxPy_BEGIN_ALLOW_THREADS
;
2169 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
2171 wxPy_END_ALLOW_THREADS
;
2173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2174 _resultobj
= Py_BuildValue("s",_ptemp
);
2177 _resultobj
= Py_None
;
2182 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
2183 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
* _resultobj
;
2186 wxPrintDialogData
* _arg0
;
2187 PyObject
* _argo0
= 0;
2188 char *_kwnames
[] = { "self", NULL
};
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
2194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
2201 wxPy_BEGIN_ALLOW_THREADS
;
2202 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
2204 wxPy_END_ALLOW_THREADS
;
2205 } _resultobj
= Py_BuildValue("i",_result
);
2209 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
2210 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
* _resultobj
;
2213 wxPrintDialogData
* _arg0
;
2214 PyObject
* _argo0
= 0;
2215 char *_kwnames
[] = { "self", NULL
};
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
2221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
2228 wxPy_BEGIN_ALLOW_THREADS
;
2229 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
2231 wxPy_END_ALLOW_THREADS
;
2232 } _resultobj
= Py_BuildValue("i",_result
);
2236 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
2237 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
* _resultobj
;
2239 wxPrintDialogData
* _arg0
;
2241 PyObject
* _argo0
= 0;
2243 char *_kwnames
[] = { "self","flag", NULL
};
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
2249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
2255 _arg1
= (bool ) tempbool1
;
2257 wxPy_BEGIN_ALLOW_THREADS
;
2258 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
2260 wxPy_END_ALLOW_THREADS
;
2261 } Py_INCREF(Py_None
);
2262 _resultobj
= Py_None
;
2266 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
2267 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2269 wxPrintDialogData
* _arg0
;
2271 PyObject
* _argo0
= 0;
2272 char *_kwnames
[] = { "self","page", NULL
};
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
2278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
2285 wxPy_BEGIN_ALLOW_THREADS
;
2286 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
2288 wxPy_END_ALLOW_THREADS
;
2289 } Py_INCREF(Py_None
);
2290 _resultobj
= Py_None
;
2294 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
2295 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2297 wxPrintDialogData
* _arg0
;
2299 PyObject
* _argo0
= 0;
2300 char *_kwnames
[] = { "self","page", NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
2306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
2313 wxPy_BEGIN_ALLOW_THREADS
;
2314 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
2316 wxPy_END_ALLOW_THREADS
;
2317 } Py_INCREF(Py_None
);
2318 _resultobj
= Py_None
;
2322 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
2323 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
* _resultobj
;
2325 wxPrintDialogData
* _arg0
;
2327 PyObject
* _argo0
= 0;
2328 char *_kwnames
[] = { "self","page", NULL
};
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
2334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
2341 wxPy_BEGIN_ALLOW_THREADS
;
2342 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
2344 wxPy_END_ALLOW_THREADS
;
2345 } Py_INCREF(Py_None
);
2346 _resultobj
= Py_None
;
2350 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
2351 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
* _resultobj
;
2353 wxPrintDialogData
* _arg0
;
2355 PyObject
* _argo0
= 0;
2356 char *_kwnames
[] = { "self","n", NULL
};
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
2362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
2369 wxPy_BEGIN_ALLOW_THREADS
;
2370 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
2372 wxPy_END_ALLOW_THREADS
;
2373 } Py_INCREF(Py_None
);
2374 _resultobj
= Py_None
;
2378 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2379 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
* _resultobj
;
2381 wxPrintDialogData
* _arg0
;
2382 wxPrintData
* _arg1
;
2383 PyObject
* _argo0
= 0;
2384 PyObject
* _argo1
= 0;
2385 char *_kwnames
[] = { "self","printData", NULL
};
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
2398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
2405 wxPy_BEGIN_ALLOW_THREADS
;
2406 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
2408 wxPy_END_ALLOW_THREADS
;
2409 } Py_INCREF(Py_None
);
2410 _resultobj
= Py_None
;
2414 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
2415 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
* _resultobj
;
2417 wxPrintDialogData
* _arg0
;
2419 PyObject
* _argo0
= 0;
2421 char *_kwnames
[] = { "self","flag", NULL
};
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
2433 _arg1
= (bool ) tempbool1
;
2435 wxPy_BEGIN_ALLOW_THREADS
;
2436 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
2438 wxPy_END_ALLOW_THREADS
;
2439 } Py_INCREF(Py_None
);
2440 _resultobj
= Py_None
;
2444 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
2445 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2447 wxPrintDialogData
* _arg0
;
2449 PyObject
* _argo0
= 0;
2451 char *_kwnames
[] = { "self","flag", NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
2457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
2463 _arg1
= (bool ) tempbool1
;
2465 wxPy_BEGIN_ALLOW_THREADS
;
2466 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
2468 wxPy_END_ALLOW_THREADS
;
2469 } Py_INCREF(Py_None
);
2470 _resultobj
= Py_None
;
2474 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
2475 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
* _resultobj
;
2477 wxPrintDialogData
* _arg0
;
2479 PyObject
* _argo0
= 0;
2480 char *_kwnames
[] = { "self","page", NULL
};
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
2486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
2493 wxPy_BEGIN_ALLOW_THREADS
;
2494 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
2496 wxPy_END_ALLOW_THREADS
;
2497 } Py_INCREF(Py_None
);
2498 _resultobj
= Py_None
;
2502 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
2505 src
= (wxPrintDialog
*) ptr
;
2506 dest
= (wxDialog
*) src
;
2507 return (void *) dest
;
2510 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
2513 src
= (wxPrintDialog
*) ptr
;
2514 dest
= (wxPanel
*) src
;
2515 return (void *) dest
;
2518 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
2521 src
= (wxPrintDialog
*) ptr
;
2522 dest
= (wxWindow
*) src
;
2523 return (void *) dest
;
2526 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
2529 src
= (wxPrintDialog
*) ptr
;
2530 dest
= (wxEvtHandler
*) src
;
2531 return (void *) dest
;
2534 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
2535 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
* _resultobj
;
2537 wxPrintDialog
* _result
;
2539 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
2540 PyObject
* _argo0
= 0;
2541 PyObject
* _argo1
= 0;
2542 char *_kwnames
[] = { "parent","data", NULL
};
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
2549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
2556 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
2563 wxPy_BEGIN_ALLOW_THREADS
;
2564 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
2566 wxPy_END_ALLOW_THREADS
;
2568 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
2569 _resultobj
= Py_BuildValue("s",_ptemp
);
2572 _resultobj
= Py_None
;
2577 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
2578 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
* _resultobj
;
2580 wxPrintDialogData
* _result
;
2581 wxPrintDialog
* _arg0
;
2582 PyObject
* _argo0
= 0;
2583 char *_kwnames
[] = { "self", NULL
};
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
2590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
2597 wxPy_BEGIN_ALLOW_THREADS
;
2598 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
2599 _result
= (wxPrintDialogData
*) &_result_ref
;
2601 wxPy_END_ALLOW_THREADS
;
2603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2604 _resultobj
= Py_BuildValue("s",_ptemp
);
2607 _resultobj
= Py_None
;
2612 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
2613 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
* _resultobj
;
2616 wxPrintDialog
* _arg0
;
2617 PyObject
* _argo0
= 0;
2618 char *_kwnames
[] = { "self", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
2625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
2632 wxPy_BEGIN_ALLOW_THREADS
;
2633 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
2635 wxPy_END_ALLOW_THREADS
;
2637 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2638 _resultobj
= Py_BuildValue("s",_ptemp
);
2641 _resultobj
= Py_None
;
2646 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2647 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
* _resultobj
;
2650 wxPrintDialog
* _arg0
;
2651 PyObject
* _argo0
= 0;
2652 char *_kwnames
[] = { "self", NULL
};
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
2658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
2665 wxPy_BEGIN_ALLOW_THREADS
;
2666 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
2668 wxPy_END_ALLOW_THREADS
;
2669 } _resultobj
= Py_BuildValue("i",_result
);
2673 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
2674 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
* _resultobj
;
2676 wxPyPrintout
* _result
;
2677 char * _arg0
= (char *) "Printout";
2678 char *_kwnames
[] = { "title", NULL
};
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
2685 wxPy_BEGIN_ALLOW_THREADS
;
2686 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
2688 wxPy_END_ALLOW_THREADS
;
2690 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
2691 _resultobj
= Py_BuildValue("s",_ptemp
);
2694 _resultobj
= Py_None
;
2699 #define wxPrintout__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2700 static PyObject
*_wrap_wxPrintout__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2702 wxPyPrintout
* _arg0
;
2704 PyObject
* _argo0
= 0;
2705 PyObject
* _obj1
= 0;
2706 char *_kwnames
[] = { "self","self", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintout__setSelf",_kwnames
,&_argo0
,&_obj1
))
2712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
2722 wxPy_BEGIN_ALLOW_THREADS
;
2723 wxPrintout__setSelf(_arg0
,_arg1
);
2725 wxPy_END_ALLOW_THREADS
;
2726 } Py_INCREF(Py_None
);
2727 _resultobj
= Py_None
;
2731 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
2732 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
* _resultobj
;
2734 wxPyPrintout
* _arg0
;
2735 PyObject
* _argo0
= 0;
2736 char *_kwnames
[] = { "self", NULL
};
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
2742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
2749 wxPy_BEGIN_ALLOW_THREADS
;
2750 wxPyPrintout_Destroy(_arg0
);
2752 wxPy_END_ALLOW_THREADS
;
2753 } Py_INCREF(Py_None
);
2754 _resultobj
= Py_None
;
2758 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
2759 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
* _resultobj
;
2762 wxPyPrintout
* _arg0
;
2763 PyObject
* _argo0
= 0;
2764 char *_kwnames
[] = { "self", NULL
};
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
2771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
2778 wxPy_BEGIN_ALLOW_THREADS
;
2779 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
2781 wxPy_END_ALLOW_THREADS
;
2783 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2784 _resultobj
= Py_BuildValue("s",_ptemp
);
2787 _resultobj
= Py_None
;
2792 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
2793 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
* _resultobj
;
2795 wxPyPrintout
* _arg0
;
2800 PyObject
* _argo0
= 0;
2801 char *_kwnames
[] = { "self", NULL
};
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
2813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
2820 wxPy_BEGIN_ALLOW_THREADS
;
2821 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
2823 wxPy_END_ALLOW_THREADS
;
2824 } Py_INCREF(Py_None
);
2825 _resultobj
= Py_None
;
2828 o
= PyInt_FromLong((long) (*_arg1
));
2829 _resultobj
= t_output_helper(_resultobj
, o
);
2833 o
= PyInt_FromLong((long) (*_arg2
));
2834 _resultobj
= t_output_helper(_resultobj
, o
);
2839 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
2840 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
* _resultobj
;
2842 wxPyPrintout
* _arg0
;
2847 PyObject
* _argo0
= 0;
2848 char *_kwnames
[] = { "self", NULL
};
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
2860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
2867 wxPy_BEGIN_ALLOW_THREADS
;
2868 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
2870 wxPy_END_ALLOW_THREADS
;
2871 } Py_INCREF(Py_None
);
2872 _resultobj
= Py_None
;
2875 o
= PyInt_FromLong((long) (*_arg1
));
2876 _resultobj
= t_output_helper(_resultobj
, o
);
2880 o
= PyInt_FromLong((long) (*_arg2
));
2881 _resultobj
= t_output_helper(_resultobj
, o
);
2886 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
2887 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
* _resultobj
;
2889 wxPyPrintout
* _arg0
;
2894 PyObject
* _argo0
= 0;
2895 char *_kwnames
[] = { "self", NULL
};
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
2907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
2914 wxPy_BEGIN_ALLOW_THREADS
;
2915 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
2917 wxPy_END_ALLOW_THREADS
;
2918 } Py_INCREF(Py_None
);
2919 _resultobj
= Py_None
;
2922 o
= PyInt_FromLong((long) (*_arg1
));
2923 _resultobj
= t_output_helper(_resultobj
, o
);
2927 o
= PyInt_FromLong((long) (*_arg2
));
2928 _resultobj
= t_output_helper(_resultobj
, o
);
2933 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
2934 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
* _resultobj
;
2936 wxPyPrintout
* _arg0
;
2941 PyObject
* _argo0
= 0;
2942 char *_kwnames
[] = { "self", NULL
};
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
2954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
2961 wxPy_BEGIN_ALLOW_THREADS
;
2962 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
2964 wxPy_END_ALLOW_THREADS
;
2965 } Py_INCREF(Py_None
);
2966 _resultobj
= Py_None
;
2969 o
= PyInt_FromLong((long) (*_arg1
));
2970 _resultobj
= t_output_helper(_resultobj
, o
);
2974 o
= PyInt_FromLong((long) (*_arg2
));
2975 _resultobj
= t_output_helper(_resultobj
, o
);
2980 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
2981 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
* _resultobj
;
2984 wxPyPrintout
* _arg0
;
2985 PyObject
* _argo0
= 0;
2986 char *_kwnames
[] = { "self", NULL
};
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
2992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
2999 wxPy_BEGIN_ALLOW_THREADS
;
3000 _result
= (bool )wxPrintout_IsPreview(_arg0
);
3002 wxPy_END_ALLOW_THREADS
;
3003 } _resultobj
= Py_BuildValue("i",_result
);
3007 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
3008 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
* _resultobj
;
3011 wxPyPrintout
* _arg0
;
3014 PyObject
* _argo0
= 0;
3015 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
3028 wxPy_BEGIN_ALLOW_THREADS
;
3029 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
3031 wxPy_END_ALLOW_THREADS
;
3032 } _resultobj
= Py_BuildValue("i",_result
);
3036 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
3037 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3039 wxPyPrintout
* _arg0
;
3040 PyObject
* _argo0
= 0;
3041 char *_kwnames
[] = { "self", NULL
};
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
3047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
3054 wxPy_BEGIN_ALLOW_THREADS
;
3055 wxPrintout_base_OnEndDocument(_arg0
);
3057 wxPy_END_ALLOW_THREADS
;
3058 } Py_INCREF(Py_None
);
3059 _resultobj
= Py_None
;
3063 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
3064 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
* _resultobj
;
3066 wxPyPrintout
* _arg0
;
3067 PyObject
* _argo0
= 0;
3068 char *_kwnames
[] = { "self", NULL
};
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
3074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
3081 wxPy_BEGIN_ALLOW_THREADS
;
3082 wxPrintout_base_OnBeginPrinting(_arg0
);
3084 wxPy_END_ALLOW_THREADS
;
3085 } Py_INCREF(Py_None
);
3086 _resultobj
= Py_None
;
3090 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
3091 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
* _resultobj
;
3093 wxPyPrintout
* _arg0
;
3094 PyObject
* _argo0
= 0;
3095 char *_kwnames
[] = { "self", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
3108 wxPy_BEGIN_ALLOW_THREADS
;
3109 wxPrintout_base_OnEndPrinting(_arg0
);
3111 wxPy_END_ALLOW_THREADS
;
3112 } Py_INCREF(Py_None
);
3113 _resultobj
= Py_None
;
3117 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
3118 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3120 wxPyPrintout
* _arg0
;
3121 PyObject
* _argo0
= 0;
3122 char *_kwnames
[] = { "self", NULL
};
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
3128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
3135 wxPy_BEGIN_ALLOW_THREADS
;
3136 wxPrintout_base_OnPreparePrinting(_arg0
);
3138 wxPy_END_ALLOW_THREADS
;
3139 } Py_INCREF(Py_None
);
3140 _resultobj
= Py_None
;
3144 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3145 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3147 wxPyPrintout
* _arg0
;
3156 PyObject
* _argo0
= 0;
3157 char *_kwnames
[] = { "self", NULL
};
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
3175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
3182 wxPy_BEGIN_ALLOW_THREADS
;
3183 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3185 wxPy_END_ALLOW_THREADS
;
3186 } Py_INCREF(Py_None
);
3187 _resultobj
= Py_None
;
3190 o
= PyInt_FromLong((long) (*_arg1
));
3191 _resultobj
= t_output_helper(_resultobj
, o
);
3195 o
= PyInt_FromLong((long) (*_arg2
));
3196 _resultobj
= t_output_helper(_resultobj
, o
);
3200 o
= PyInt_FromLong((long) (*_arg3
));
3201 _resultobj
= t_output_helper(_resultobj
, o
);
3205 o
= PyInt_FromLong((long) (*_arg4
));
3206 _resultobj
= t_output_helper(_resultobj
, o
);
3211 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
3212 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
* _resultobj
;
3215 wxPyPrintout
* _arg0
;
3217 PyObject
* _argo0
= 0;
3218 char *_kwnames
[] = { "self","page", NULL
};
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
3224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
3231 wxPy_BEGIN_ALLOW_THREADS
;
3232 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
3234 wxPy_END_ALLOW_THREADS
;
3235 } _resultobj
= Py_BuildValue("i",_result
);
3239 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
3240 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
* _resultobj
;
3242 wxPrinter
* _result
;
3243 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
3244 PyObject
* _argo0
= 0;
3245 char *_kwnames
[] = { "data", NULL
};
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
3252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
3259 wxPy_BEGIN_ALLOW_THREADS
;
3260 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
3262 wxPy_END_ALLOW_THREADS
;
3264 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
3265 _resultobj
= Py_BuildValue("s",_ptemp
);
3268 _resultobj
= Py_None
;
3273 #define delete_wxPrinter(_swigobj) (delete _swigobj)
3274 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3277 PyObject
* _argo0
= 0;
3278 char *_kwnames
[] = { "self", NULL
};
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
3284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
3291 wxPy_BEGIN_ALLOW_THREADS
;
3292 delete_wxPrinter(_arg0
);
3294 wxPy_END_ALLOW_THREADS
;
3295 } Py_INCREF(Py_None
);
3296 _resultobj
= Py_None
;
3300 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
3301 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
* _resultobj
;
3305 wxPyPrintout
* _arg2
;
3306 PyObject
* _argo0
= 0;
3307 PyObject
* _argo1
= 0;
3308 PyObject
* _argo2
= 0;
3309 char *_kwnames
[] = { "self","parent","printout", NULL
};
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
3322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
3329 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
3336 wxPy_BEGIN_ALLOW_THREADS
;
3337 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
3339 wxPy_END_ALLOW_THREADS
;
3340 } Py_INCREF(Py_None
);
3341 _resultobj
= Py_None
;
3345 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3346 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
* _resultobj
;
3348 wxPrintDialogData
* _result
;
3350 PyObject
* _argo0
= 0;
3351 char *_kwnames
[] = { "self", NULL
};
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
3358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
3365 wxPy_BEGIN_ALLOW_THREADS
;
3366 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
3367 _result
= (wxPrintDialogData
*) &_result_ref
;
3369 wxPy_END_ALLOW_THREADS
;
3371 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3372 _resultobj
= Py_BuildValue("s",_ptemp
);
3375 _resultobj
= Py_None
;
3380 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
3381 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
* _resultobj
;
3386 wxPyPrintout
* _arg2
;
3387 int _arg3
= (int ) TRUE
;
3388 PyObject
* _argo0
= 0;
3389 PyObject
* _argo1
= 0;
3390 PyObject
* _argo2
= 0;
3391 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
3404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
3411 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3412 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
3418 wxPy_BEGIN_ALLOW_THREADS
;
3419 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
3421 wxPy_END_ALLOW_THREADS
;
3422 } _resultobj
= Py_BuildValue("i",_result
);
3426 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
3427 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
* _resultobj
;
3432 PyObject
* _argo0
= 0;
3433 PyObject
* _argo1
= 0;
3434 char *_kwnames
[] = { "self","parent", NULL
};
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
3441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
3448 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3449 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
3455 wxPy_BEGIN_ALLOW_THREADS
;
3456 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
3458 wxPy_END_ALLOW_THREADS
;
3460 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3461 _resultobj
= Py_BuildValue("s",_ptemp
);
3464 _resultobj
= Py_None
;
3469 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
3470 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
* _resultobj
;
3474 wxPyPrintout
* _arg2
;
3476 PyObject
* _argo0
= 0;
3477 PyObject
* _argo1
= 0;
3478 PyObject
* _argo2
= 0;
3479 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
3485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
3492 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3493 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
3499 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
3506 wxPy_BEGIN_ALLOW_THREADS
;
3507 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
3509 wxPy_END_ALLOW_THREADS
;
3510 } Py_INCREF(Py_None
);
3511 _resultobj
= Py_None
;
3515 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
3516 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3521 PyObject
* _argo0
= 0;
3522 PyObject
* _argo1
= 0;
3523 char *_kwnames
[] = { "self","parent", NULL
};
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
3529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
3531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
3536 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3537 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
3543 wxPy_BEGIN_ALLOW_THREADS
;
3544 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
3546 wxPy_END_ALLOW_THREADS
;
3547 } _resultobj
= Py_BuildValue("i",_result
);
3551 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
3552 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
* _resultobj
;
3554 wxPrintPreview
* _result
;
3555 wxPyPrintout
* _arg0
;
3556 wxPyPrintout
* _arg1
;
3557 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
3558 PyObject
* _argo0
= 0;
3559 PyObject
* _argo1
= 0;
3560 PyObject
* _argo2
= 0;
3561 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
3577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
3582 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3583 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
3584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
3589 wxPy_BEGIN_ALLOW_THREADS
;
3590 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
3592 wxPy_END_ALLOW_THREADS
;
3594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
3595 _resultobj
= Py_BuildValue("s",_ptemp
);
3598 _resultobj
= Py_None
;
3603 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
3604 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
* _resultobj
;
3607 wxPrintPreview
* _arg0
;
3608 PyObject
* _argo0
= 0;
3609 char *_kwnames
[] = { "self", NULL
};
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
3616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
3623 wxPy_BEGIN_ALLOW_THREADS
;
3624 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
3626 wxPy_END_ALLOW_THREADS
;
3628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3629 _resultobj
= Py_BuildValue("s",_ptemp
);
3632 _resultobj
= Py_None
;
3637 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
3638 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3641 wxPrintPreview
* _arg0
;
3642 PyObject
* _argo0
= 0;
3643 char *_kwnames
[] = { "self", NULL
};
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
3649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
3656 wxPy_BEGIN_ALLOW_THREADS
;
3657 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
3659 wxPy_END_ALLOW_THREADS
;
3660 } _resultobj
= Py_BuildValue("i",_result
);
3664 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
3665 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3668 wxPrintPreview
* _arg0
;
3669 PyObject
* _argo0
= 0;
3670 char *_kwnames
[] = { "self", NULL
};
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
3677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
3684 wxPy_BEGIN_ALLOW_THREADS
;
3685 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
3687 wxPy_END_ALLOW_THREADS
;
3689 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
3690 _resultobj
= Py_BuildValue("s",_ptemp
);
3693 _resultobj
= Py_None
;
3698 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
3699 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
* _resultobj
;
3702 wxPrintPreview
* _arg0
;
3703 PyObject
* _argo0
= 0;
3704 char *_kwnames
[] = { "self", NULL
};
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
3710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
3717 wxPy_BEGIN_ALLOW_THREADS
;
3718 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
3720 wxPy_END_ALLOW_THREADS
;
3721 } _resultobj
= Py_BuildValue("i",_result
);
3725 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3726 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
* _resultobj
;
3729 wxPrintPreview
* _arg0
;
3730 PyObject
* _argo0
= 0;
3731 char *_kwnames
[] = { "self", NULL
};
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
3737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
3744 wxPy_BEGIN_ALLOW_THREADS
;
3745 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
3747 wxPy_END_ALLOW_THREADS
;
3748 } _resultobj
= Py_BuildValue("i",_result
);
3752 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3753 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
* _resultobj
;
3755 wxPrintDialogData
* _result
;
3756 wxPrintPreview
* _arg0
;
3757 PyObject
* _argo0
= 0;
3758 char *_kwnames
[] = { "self", NULL
};
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
3765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
3772 wxPy_BEGIN_ALLOW_THREADS
;
3773 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
3774 _result
= (wxPrintDialogData
*) &_result_ref
;
3776 wxPy_END_ALLOW_THREADS
;
3778 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3779 _resultobj
= Py_BuildValue("s",_ptemp
);
3782 _resultobj
= Py_None
;
3787 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
3788 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
* _resultobj
;
3790 wxPyPrintout
* _result
;
3791 wxPrintPreview
* _arg0
;
3792 PyObject
* _argo0
= 0;
3793 char *_kwnames
[] = { "self", NULL
};
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
3800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
3807 wxPy_BEGIN_ALLOW_THREADS
;
3808 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
3810 wxPy_END_ALLOW_THREADS
;
3812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3813 _resultobj
= Py_BuildValue("s",_ptemp
);
3816 _resultobj
= Py_None
;
3821 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
3822 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
* _resultobj
;
3824 wxPyPrintout
* _result
;
3825 wxPrintPreview
* _arg0
;
3826 PyObject
* _argo0
= 0;
3827 char *_kwnames
[] = { "self", NULL
};
3831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
3834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
3841 wxPy_BEGIN_ALLOW_THREADS
;
3842 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
3844 wxPy_END_ALLOW_THREADS
;
3846 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3847 _resultobj
= Py_BuildValue("s",_ptemp
);
3850 _resultobj
= Py_None
;
3855 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
3856 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
* _resultobj
;
3859 wxPrintPreview
* _arg0
;
3860 PyObject
* _argo0
= 0;
3861 char *_kwnames
[] = { "self", NULL
};
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
3867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
3874 wxPy_BEGIN_ALLOW_THREADS
;
3875 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
3877 wxPy_END_ALLOW_THREADS
;
3878 } _resultobj
= Py_BuildValue("i",_result
);
3882 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
3883 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
* _resultobj
;
3886 wxPrintPreview
* _arg0
;
3887 PyObject
* _argo0
= 0;
3888 char *_kwnames
[] = { "self", NULL
};
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
3894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
3901 wxPy_BEGIN_ALLOW_THREADS
;
3902 _result
= (bool )wxPrintPreview_Ok(_arg0
);
3904 wxPy_END_ALLOW_THREADS
;
3905 } _resultobj
= Py_BuildValue("i",_result
);
3909 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
3910 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
* _resultobj
;
3913 wxPrintPreview
* _arg0
;
3915 PyObject
* _argo0
= 0;
3917 char *_kwnames
[] = { "self","prompt", NULL
};
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
3923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
3929 _arg1
= (bool ) tempbool1
;
3931 wxPy_BEGIN_ALLOW_THREADS
;
3932 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
3934 wxPy_END_ALLOW_THREADS
;
3935 } _resultobj
= Py_BuildValue("i",_result
);
3939 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
3940 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
* _resultobj
;
3942 wxPrintPreview
* _arg0
;
3944 PyObject
* _argo0
= 0;
3945 PyObject
* _argo1
= 0;
3946 char *_kwnames
[] = { "self","window", NULL
};
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
3952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
3959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
3966 wxPy_BEGIN_ALLOW_THREADS
;
3967 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
3969 wxPy_END_ALLOW_THREADS
;
3970 } Py_INCREF(Py_None
);
3971 _resultobj
= Py_None
;
3975 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
3976 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
* _resultobj
;
3978 wxPrintPreview
* _arg0
;
3980 PyObject
* _argo0
= 0;
3981 char *_kwnames
[] = { "self","pageNum", NULL
};
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
3987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
3994 wxPy_BEGIN_ALLOW_THREADS
;
3995 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
3997 wxPy_END_ALLOW_THREADS
;
3998 } Py_INCREF(Py_None
);
3999 _resultobj
= Py_None
;
4003 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
4004 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
* _resultobj
;
4006 wxPrintPreview
* _arg0
;
4008 PyObject
* _argo0
= 0;
4009 PyObject
* _argo1
= 0;
4010 char *_kwnames
[] = { "self","frame", NULL
};
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
4016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
4023 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4024 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
4030 wxPy_BEGIN_ALLOW_THREADS
;
4031 wxPrintPreview_SetFrame(_arg0
,_arg1
);
4033 wxPy_END_ALLOW_THREADS
;
4034 } Py_INCREF(Py_None
);
4035 _resultobj
= Py_None
;
4039 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
4040 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
* _resultobj
;
4042 wxPrintPreview
* _arg0
;
4043 wxPyPrintout
* _arg1
;
4044 PyObject
* _argo0
= 0;
4045 PyObject
* _argo1
= 0;
4046 char *_kwnames
[] = { "self","printout", NULL
};
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
4052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
4059 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4060 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
4066 wxPy_BEGIN_ALLOW_THREADS
;
4067 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
4069 wxPy_END_ALLOW_THREADS
;
4070 } Py_INCREF(Py_None
);
4071 _resultobj
= Py_None
;
4075 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
4076 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
* _resultobj
;
4078 wxPrintPreview
* _arg0
;
4080 PyObject
* _argo0
= 0;
4081 char *_kwnames
[] = { "self","percent", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
4094 wxPy_BEGIN_ALLOW_THREADS
;
4095 wxPrintPreview_SetZoom(_arg0
,_arg1
);
4097 wxPy_END_ALLOW_THREADS
;
4098 } Py_INCREF(Py_None
);
4099 _resultobj
= Py_None
;
4103 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
4104 wxPreviewFrame
*src
;
4106 src
= (wxPreviewFrame
*) ptr
;
4107 dest
= (wxFrame
*) src
;
4108 return (void *) dest
;
4111 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
4112 wxPreviewFrame
*src
;
4114 src
= (wxPreviewFrame
*) ptr
;
4115 dest
= (wxWindow
*) src
;
4116 return (void *) dest
;
4119 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
4120 wxPreviewFrame
*src
;
4122 src
= (wxPreviewFrame
*) ptr
;
4123 dest
= (wxEvtHandler
*) src
;
4124 return (void *) dest
;
4127 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4128 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
* _resultobj
;
4130 wxPreviewFrame
* _result
;
4131 wxPrintPreview
* _arg0
;
4134 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4135 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4136 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
4137 char * _arg6
= (char *) "frame";
4138 PyObject
* _argo0
= 0;
4139 PyObject
* _argo1
= 0;
4140 PyObject
* _obj2
= 0;
4141 PyObject
* _argo3
= 0;
4142 PyObject
* _argo4
= 0;
4143 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_arg6
))
4150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
4157 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4158 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
4164 if (!PyString_Check(_obj2
)) {
4165 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4168 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4171 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPreviewFrame. Expected _wxPoint_p.");
4178 if (_argo4
== Py_None
) { _arg4
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxPreviewFrame. Expected _wxSize_p.");
4185 wxPy_BEGIN_ALLOW_THREADS
;
4186 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4188 wxPy_END_ALLOW_THREADS
;
4190 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
4191 _resultobj
= Py_BuildValue("s",_ptemp
);
4194 _resultobj
= Py_None
;
4203 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
4204 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
* _resultobj
;
4206 wxPreviewFrame
* _arg0
;
4207 PyObject
* _argo0
= 0;
4208 char *_kwnames
[] = { "self", NULL
};
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
4214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
4221 wxPy_BEGIN_ALLOW_THREADS
;
4222 wxPreviewFrame_Initialize(_arg0
);
4224 wxPy_END_ALLOW_THREADS
;
4225 } Py_INCREF(Py_None
);
4226 _resultobj
= Py_None
;
4230 static PyMethodDef printfwcMethods
[] = {
4231 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4232 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
4233 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4234 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4235 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4236 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4237 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
4238 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
4239 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
4240 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4241 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4242 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4243 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4244 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4245 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4246 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4247 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4248 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
4249 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
4250 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
4251 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
4252 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
4253 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
4254 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4255 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
4256 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4257 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4258 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
4259 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
4260 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
4261 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4262 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4263 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
4264 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
4265 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
4266 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
4267 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
4268 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
4269 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
4270 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
4271 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4272 { "wxPrintout__setSelf", (PyCFunction
) _wrap_wxPrintout__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
4273 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4274 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4275 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
4276 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4277 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
4278 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
4279 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
4280 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4281 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4282 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4283 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4284 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4285 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
4286 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4287 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
4288 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4289 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4290 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4291 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4292 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4293 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
4294 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4295 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
4296 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
4297 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
4298 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
4299 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4300 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4301 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4302 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4303 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
4304 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
4305 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4306 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4307 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4308 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4309 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4310 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4311 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4312 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
4313 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
4314 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4315 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4316 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4317 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4318 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4319 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
4320 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
4321 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
4322 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4323 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
4324 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
4325 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4326 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
4327 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
4328 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
4329 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
4330 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4331 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
4332 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
4333 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4334 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4335 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
4336 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4337 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4338 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
4339 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
4340 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
4341 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4342 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4343 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4344 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
4345 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
4346 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
4347 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
4348 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
4349 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
4350 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4351 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
4352 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
4353 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4354 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
4361 * This table is used by the pointer type-checker
4363 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4364 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4365 { "_wxEvent","_class_wxEvent",0},
4366 { "_class_wxActivateEvent","_wxActivateEvent",0},
4367 { "_signed_long","_long",0},
4368 { "_wxMenuEvent","_class_wxMenuEvent",0},
4369 { "_wxPrintQuality","_int",0},
4370 { "_wxPrintQuality","_signed_int",0},
4371 { "_wxPrintQuality","_unsigned_int",0},
4372 { "_wxPrintQuality","_wxWindowID",0},
4373 { "_wxPrintQuality","_uint",0},
4374 { "_wxPrintQuality","_EBool",0},
4375 { "_wxPrintQuality","_size_t",0},
4376 { "_wxFontData","_class_wxFontData",0},
4377 { "_class_wxRegionIterator","_wxRegionIterator",0},
4378 { "_class_wxMenuBar","_wxMenuBar",0},
4379 { "_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4380 { "_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4381 { "_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4382 { "_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4383 { "_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4384 { "_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4385 { "_class_wxEvtHandler","_wxEvtHandler",0},
4386 { "_wxPaintEvent","_class_wxPaintEvent",0},
4387 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4388 { "_wxCursor","_class_wxCursor",0},
4389 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
4390 { "_wxMask","_class_wxMask",0},
4391 { "_class_wxColourData","_wxColourData",0},
4392 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
4393 { "_wxPrinter","_class_wxPrinter",0},
4394 { "_wxPen","_class_wxPen",0},
4395 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
4396 { "_byte","_unsigned_char",0},
4397 { "_wxStaticBox","_class_wxStaticBox",0},
4398 { "_wxChoice","_class_wxChoice",0},
4399 { "_wxSlider","_class_wxSlider",0},
4400 { "_wxPyPrintout","_class_wxPyPrintout",0},
4401 { "_long","_wxDash",0},
4402 { "_long","_unsigned_long",0},
4403 { "_long","_signed_long",0},
4404 { "_wxImageList","_class_wxImageList",0},
4405 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
4406 { "_wxBitmapButton","_class_wxBitmapButton",0},
4407 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
4408 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4409 { "_class_wxGauge","_wxGauge",0},
4410 { "_wxDC","_class_wxDC",0},
4411 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
4412 { "_wxProgressDialog","_class_wxProgressDialog",0},
4413 { "_wxPrintPreview","_class_wxPrintPreview",0},
4414 { "_wxSpinEvent","_class_wxSpinEvent",0},
4415 { "_size_t","_wxPrintQuality",0},
4416 { "_size_t","_unsigned_int",0},
4417 { "_size_t","_int",0},
4418 { "_size_t","_wxWindowID",0},
4419 { "_size_t","_uint",0},
4420 { "_class_wxRealPoint","_wxRealPoint",0},
4421 { "_wxPrinterDC","_class_wxPrinterDC",0},
4422 { "_class_wxMenuItem","_wxMenuItem",0},
4423 { "_class_wxPaintEvent","_wxPaintEvent",0},
4424 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
4425 { "_class_wxStatusBar","_wxStatusBar",0},
4426 { "_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4427 { "_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4428 { "_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4429 { "_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4430 { "_wxPanel","_class_wxPanel",0},
4431 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
4432 { "_wxCheckBox","_class_wxCheckBox",0},
4433 { "_wxPyEvent","_class_wxPyEvent",0},
4434 { "_wxTextCtrl","_class_wxTextCtrl",0},
4435 { "_class_wxMask","_wxMask",0},
4436 { "_class_wxKeyEvent","_wxKeyEvent",0},
4437 { "_wxColour","_class_wxColour",0},
4438 { "_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4439 { "_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4440 { "_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4441 { "_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4442 { "_class_wxDialog","_wxDialog",0},
4443 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
4444 { "_class_wxPrinter","_wxPrinter",0},
4445 { "_wxIdleEvent","_class_wxIdleEvent",0},
4446 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
4447 { "_wxToolBar","_class_wxToolBar",0},
4448 { "_wxStaticLine","_class_wxStaticLine",0},
4449 { "_wxBrush","_class_wxBrush",0},
4450 { "_wxMiniFrame","_class_wxMiniFrame",0},
4451 { "_class_wxPyPrintout","_wxPyPrintout",0},
4452 { "_wxShowEvent","_class_wxShowEvent",0},
4453 { "_uint","_wxPrintQuality",0},
4454 { "_uint","_size_t",0},
4455 { "_uint","_unsigned_int",0},
4456 { "_uint","_int",0},
4457 { "_uint","_wxWindowID",0},
4458 { "_class_wxEvent","_wxEvent",0},
4459 { "_wxCheckListBox","_class_wxCheckListBox",0},
4460 { "_wxRect","_class_wxRect",0},
4461 { "_wxCommandEvent","_class_wxCommandEvent",0},
4462 { "_wxSizeEvent","_class_wxSizeEvent",0},
4463 { "_wxPoint","_class_wxPoint",0},
4464 { "_class_wxButton","_wxButton",0},
4465 { "_wxRadioBox","_class_wxRadioBox",0},
4466 { "_class_wxFontData","_wxFontData",0},
4467 { "_wxBitmap","_class_wxBitmap",0},
4468 { "_wxPrintDialog","_class_wxPrintDialog",0},
4469 { "_wxPyTimer","_class_wxPyTimer",0},
4470 { "_wxWindowDC","_class_wxWindowDC",0},
4471 { "_wxScrollBar","_class_wxScrollBar",0},
4472 { "_wxSpinButton","_class_wxSpinButton",0},
4473 { "_wxToolBarTool","_class_wxToolBarTool",0},
4474 { "_wxColourDialog","_class_wxColourDialog",0},
4475 { "_wxPrintData","_class_wxPrintData",0},
4476 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4477 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
4478 { "_wxMessageDialog","_class_wxMessageDialog",0},
4479 { "_class_wxPyEvent","_wxPyEvent",0},
4480 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
4481 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
4482 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
4483 { "_class_wxToolBar","_wxToolBar",0},
4484 { "_class_wxStaticLine","_wxStaticLine",0},
4485 { "_wxScrollEvent","_class_wxScrollEvent",0},
4486 { "_EBool","_wxPrintQuality",0},
4487 { "_EBool","_signed_int",0},
4488 { "_EBool","_int",0},
4489 { "_EBool","_wxWindowID",0},
4490 { "_class_wxRegion","_wxRegion",0},
4491 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
4492 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
4493 { "_wxStaticText","_class_wxStaticText",0},
4494 { "_wxFont","_class_wxFont",0},
4495 { "_wxCloseEvent","_class_wxCloseEvent",0},
4496 { "_unsigned_long","_wxDash",0},
4497 { "_unsigned_long","_long",0},
4498 { "_class_wxRect","_wxRect",0},
4499 { "_class_wxDC","_wxDC",0},
4500 { "_class_wxProgressDialog","_wxProgressDialog",0},
4501 { "_class_wxDirDialog","_wxDirDialog",0},
4502 { "_class_wxPyTimer","_wxPyTimer",0},
4503 { "_wxFocusEvent","_class_wxFocusEvent",0},
4504 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
4505 { "_class_wxSpinButton","_wxSpinButton",0},
4506 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4507 { "_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4508 { "_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
4509 { "_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4510 { "_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
4511 { "_class_wxPanel","_wxPanel",0},
4512 { "_class_wxCheckBox","_wxCheckBox",0},
4513 { "_wxComboBox","_class_wxComboBox",0},
4514 { "_wxRadioButton","_class_wxRadioButton",0},
4515 { "_class_wxMessageDialog","_wxMessageDialog",0},
4516 { "_signed_int","_wxPrintQuality",0},
4517 { "_signed_int","_EBool",0},
4518 { "_signed_int","_wxWindowID",0},
4519 { "_signed_int","_int",0},
4520 { "_class_wxTextCtrl","_wxTextCtrl",0},
4521 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4522 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
4523 { "_wxMenu","_class_wxMenu",0},
4524 { "_class_wxMoveEvent","_wxMoveEvent",0},
4525 { "_wxListBox","_class_wxListBox",0},
4526 { "_wxScreenDC","_class_wxScreenDC",0},
4527 { "_WXTYPE","_short",0},
4528 { "_WXTYPE","_signed_short",0},
4529 { "_WXTYPE","_unsigned_short",0},
4530 { "_wxFileDialog","_class_wxFileDialog",0},
4531 { "_class_wxBrush","_wxBrush",0},
4532 { "_unsigned_short","_WXTYPE",0},
4533 { "_unsigned_short","_short",0},
4534 { "_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4535 { "_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4536 { "_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4537 { "_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4538 { "_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4539 { "_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4540 { "_class_wxWindow","_wxWindow",0},
4541 { "_class_wxStaticText","_wxStaticText",0},
4542 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
4543 { "_class_wxFont","_wxFont",0},
4544 { "_class_wxCloseEvent","_wxCloseEvent",0},
4545 { "_class_wxMenuEvent","_wxMenuEvent",0},
4546 { "_wxClientDC","_class_wxClientDC",0},
4547 { "_wxMouseEvent","_class_wxMouseEvent",0},
4548 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
4549 { "_class_wxPoint","_wxPoint",0},
4550 { "_wxRealPoint","_class_wxRealPoint",0},
4551 { "_class_wxRadioBox","_wxRadioBox",0},
4552 { "_signed_short","_WXTYPE",0},
4553 { "_signed_short","_short",0},
4554 { "_wxMemoryDC","_class_wxMemoryDC",0},
4555 { "_class_wxPrintDialog","_wxPrintDialog",0},
4556 { "_wxPaintDC","_class_wxPaintDC",0},
4557 { "_class_wxWindowDC","_wxWindowDC",0},
4558 { "_class_wxFocusEvent","_wxFocusEvent",0},
4559 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
4560 { "_wxStatusBar","_class_wxStatusBar",0},
4561 { "_class_wxToolBarTool","_wxToolBarTool",0},
4562 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4563 { "_class_wxCursor","_wxCursor",0},
4564 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
4565 { "_unsigned_char","_byte",0},
4566 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
4567 { "_class_wxMenu","_wxMenu",0},
4568 { "_wxControl","_class_wxControl",0},
4569 { "_class_wxListBox","_wxListBox",0},
4570 { "_unsigned_int","_wxPrintQuality",0},
4571 { "_unsigned_int","_size_t",0},
4572 { "_unsigned_int","_uint",0},
4573 { "_unsigned_int","_wxWindowID",0},
4574 { "_unsigned_int","_int",0},
4575 { "_wxIcon","_class_wxIcon",0},
4576 { "_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4577 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
4578 { "_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4579 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
4580 { "_wxDialog","_class_wxDialog",0},
4581 { "_class_wxPen","_wxPen",0},
4582 { "_class_wxFileDialog","_wxFileDialog",0},
4583 { "_short","_WXTYPE",0},
4584 { "_short","_unsigned_short",0},
4585 { "_short","_signed_short",0},
4586 { "_class_wxStaticBox","_wxStaticBox",0},
4587 { "_class_wxScrollEvent","_wxScrollEvent",0},
4588 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
4589 { "_class_wxChoice","_wxChoice",0},
4590 { "_class_wxSlider","_wxSlider",0},
4591 { "_class_wxImageList","_wxImageList",0},
4592 { "_class_wxBitmapButton","_wxBitmapButton",0},
4593 { "_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4594 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4595 { "_wxFrame","_class_wxFrame",0},
4596 { "_wxWindowID","_wxPrintQuality",0},
4597 { "_wxWindowID","_size_t",0},
4598 { "_wxWindowID","_EBool",0},
4599 { "_wxWindowID","_uint",0},
4600 { "_wxWindowID","_int",0},
4601 { "_wxWindowID","_signed_int",0},
4602 { "_wxWindowID","_unsigned_int",0},
4603 { "_int","_wxPrintQuality",0},
4604 { "_int","_size_t",0},
4605 { "_int","_EBool",0},
4606 { "_int","_uint",0},
4607 { "_int","_wxWindowID",0},
4608 { "_int","_unsigned_int",0},
4609 { "_int","_signed_int",0},
4610 { "_class_wxMouseEvent","_wxMouseEvent",0},
4611 { "_class_wxPrintPreview","_wxPrintPreview",0},
4612 { "_class_wxSpinEvent","_wxSpinEvent",0},
4613 { "_wxButton","_class_wxButton",0},
4614 { "_wxSize","_class_wxSize",0},
4615 { "_wxRegionIterator","_class_wxRegionIterator",0},
4616 { "_class_wxPrinterDC","_wxPrinterDC",0},
4617 { "_class_wxPaintDC","_wxPaintDC",0},
4618 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
4619 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
4620 { "_class_wxComboBox","_wxComboBox",0},
4621 { "_class_wxRadioButton","_wxRadioButton",0},
4622 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4623 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
4624 { "_class_wxControl","_wxControl",0},
4625 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
4626 { "_class_wxIcon","_wxIcon",0},
4627 { "_class_wxColour","_wxColour",0},
4628 { "_class_wxScreenDC","_wxScreenDC",0},
4629 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
4630 { "_wxPalette","_class_wxPalette",0},
4631 { "_class_wxIdleEvent","_wxIdleEvent",0},
4632 { "_wxEraseEvent","_class_wxEraseEvent",0},
4633 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
4634 { "_class_wxMiniFrame","_wxMiniFrame",0},
4635 { "_wxFontDialog","_class_wxFontDialog",0},
4636 { "_wxRegion","_class_wxRegion",0},
4637 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
4638 { "_class_wxShowEvent","_wxShowEvent",0},
4639 { "_wxActivateEvent","_class_wxActivateEvent",0},
4640 { "_wxGauge","_class_wxGauge",0},
4641 { "_class_wxCheckListBox","_wxCheckListBox",0},
4642 { "_class_wxCommandEvent","_wxCommandEvent",0},
4643 { "_class_wxClientDC","_wxClientDC",0},
4644 { "_class_wxSizeEvent","_wxSizeEvent",0},
4645 { "_class_wxSize","_wxSize",0},
4646 { "_class_wxBitmap","_wxBitmap",0},
4647 { "_class_wxMemoryDC","_wxMemoryDC",0},
4648 { "_wxMenuBar","_class_wxMenuBar",0},
4649 { "_wxDirDialog","_class_wxDirDialog",0},
4650 { "_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4651 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
4652 { "_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4653 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
4654 { "_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4655 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
4656 { "_wxEvtHandler","_class_wxEvtHandler",0},
4657 { "_wxMenuItem","_class_wxMenuItem",0},
4658 { "_class_wxScrollBar","_wxScrollBar",0},
4659 { "_class_wxColourDialog","_wxColourDialog",0},
4660 { "_class_wxPrintData","_wxPrintData",0},
4661 { "_wxDash","_unsigned_long",0},
4662 { "_wxDash","_long",0},
4663 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
4664 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
4665 { "_wxKeyEvent","_class_wxKeyEvent",0},
4666 { "_wxMoveEvent","_class_wxMoveEvent",0},
4667 { "_wxColourData","_class_wxColourData",0},
4668 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
4669 { "_class_wxPalette","_wxPalette",0},
4670 { "_class_wxEraseEvent","_wxEraseEvent",0},
4671 { "_class_wxFontDialog","_wxFontDialog",0},
4672 { "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4673 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
4674 { "_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4675 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
4676 { "_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4677 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
4678 { "_wxWindow","_class_wxWindow",0},
4679 { "_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4680 { "_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
4681 { "_class_wxFrame","_wxFrame",0},
4684 static PyObject
*SWIG_globals
;
4688 SWIGEXPORT(void) initprintfwc() {
4690 SWIG_globals
= SWIG_newvarlink();
4691 m
= Py_InitModule("printfwc", printfwcMethods
);
4692 d
= PyModule_GetDict(m
);
4695 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4696 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);