2 * FILE : src/msw/printfw.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initprintfwc
56 #define SWIG_name "printfwc"
60 #include <wx/printdlg.h>
64 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 #if PYTHON_API_VERSION >= 1009
111 static char* wxStringErrorMsg
= "String or Unicode type required";
113 static char* wxStringErrorMsg
= "string type is required for parameter";
118 // Since this one would be tough and ugly to do with the Macros...
119 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
122 bool doSave
= wxPyRestoreThread();
123 if (m_myInst
.findCallback("GetPageInfo")) {
124 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
125 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
128 val
= PyTuple_GetItem(result
, 0);
129 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
132 val
= PyTuple_GetItem(result
, 1);
133 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
136 val
= PyTuple_GetItem(result
, 2);
137 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
140 val
= PyTuple_GetItem(result
, 3);
141 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
148 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
154 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
156 wxPySaveThread(doSave
);
159 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
160 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
164 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
165 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
166 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
167 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
168 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
169 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
170 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
176 #define new_wxPrintData() (new wxPrintData())
177 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
178 PyObject
* _resultobj
;
179 wxPrintData
* _result
;
180 char *_kwnames
[] = { NULL
};
184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
187 wxPy_BEGIN_ALLOW_THREADS
;
188 _result
= (wxPrintData
*)new_wxPrintData();
190 wxPy_END_ALLOW_THREADS
;
192 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
193 _resultobj
= Py_BuildValue("s",_ptemp
);
196 _resultobj
= Py_None
;
201 #define delete_wxPrintData(_swigobj) (delete _swigobj)
202 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
203 PyObject
* _resultobj
;
205 PyObject
* _argo0
= 0;
206 char *_kwnames
[] = { "self", NULL
};
209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
219 wxPy_BEGIN_ALLOW_THREADS
;
220 delete_wxPrintData(_arg0
);
222 wxPy_END_ALLOW_THREADS
;
223 } Py_INCREF(Py_None
);
224 _resultobj
= Py_None
;
228 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
229 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
230 PyObject
* _resultobj
;
233 PyObject
* _argo0
= 0;
234 char *_kwnames
[] = { "self", NULL
};
237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
247 wxPy_BEGIN_ALLOW_THREADS
;
248 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
250 wxPy_END_ALLOW_THREADS
;
251 } _resultobj
= Py_BuildValue("i",_result
);
255 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
256 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
260 PyObject
* _argo0
= 0;
261 char *_kwnames
[] = { "self", NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
274 wxPy_BEGIN_ALLOW_THREADS
;
275 _result
= (bool )wxPrintData_GetCollate(_arg0
);
277 wxPy_END_ALLOW_THREADS
;
278 } _resultobj
= Py_BuildValue("i",_result
);
282 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
283 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
284 PyObject
* _resultobj
;
287 PyObject
* _argo0
= 0;
288 char *_kwnames
[] = { "self", NULL
};
291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
301 wxPy_BEGIN_ALLOW_THREADS
;
302 _result
= (int )wxPrintData_GetOrientation(_arg0
);
304 wxPy_END_ALLOW_THREADS
;
305 } _resultobj
= Py_BuildValue("i",_result
);
309 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
310 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
314 PyObject
* _argo0
= 0;
315 char *_kwnames
[] = { "self", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
328 wxPy_BEGIN_ALLOW_THREADS
;
329 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
330 _result
= (wxString
*) &_result_ref
;
332 wxPy_END_ALLOW_THREADS
;
334 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
339 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
340 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 PyObject
* _resultobj
;
344 PyObject
* _argo0
= 0;
345 char *_kwnames
[] = { "self", NULL
};
348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
358 wxPy_BEGIN_ALLOW_THREADS
;
359 _result
= (bool )wxPrintData_GetColour(_arg0
);
361 wxPy_END_ALLOW_THREADS
;
362 } _resultobj
= Py_BuildValue("i",_result
);
366 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
367 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
368 PyObject
* _resultobj
;
369 wxDuplexMode _result
;
371 PyObject
* _argo0
= 0;
372 char *_kwnames
[] = { "self", NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
385 wxPy_BEGIN_ALLOW_THREADS
;
386 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
388 wxPy_END_ALLOW_THREADS
;
389 } _resultobj
= Py_BuildValue("i",_result
);
393 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
394 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
398 PyObject
* _argo0
= 0;
399 char *_kwnames
[] = { "self", NULL
};
402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
412 wxPy_BEGIN_ALLOW_THREADS
;
413 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
415 wxPy_END_ALLOW_THREADS
;
416 } _resultobj
= Py_BuildValue("i",_result
);
420 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
421 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
422 PyObject
* _resultobj
;
425 PyObject
* _argo0
= 0;
426 char *_kwnames
[] = { "self", NULL
};
430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
440 wxPy_BEGIN_ALLOW_THREADS
;
441 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
442 _result
= (wxSize
*) &_result_ref
;
444 wxPy_END_ALLOW_THREADS
;
446 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
447 _resultobj
= Py_BuildValue("s",_ptemp
);
450 _resultobj
= Py_None
;
455 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
456 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
458 wxPrintQuality _result
;
460 PyObject
* _argo0
= 0;
461 char *_kwnames
[] = { "self", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
474 wxPy_BEGIN_ALLOW_THREADS
;
475 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
477 wxPy_END_ALLOW_THREADS
;
478 } _resultobj
= Py_BuildValue("i",_result
);
482 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
483 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
484 PyObject
* _resultobj
;
487 PyObject
* _argo0
= 0;
488 char *_kwnames
[] = { "self","v", NULL
};
491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
501 wxPy_BEGIN_ALLOW_THREADS
;
502 wxPrintData_SetNoCopies(_arg0
,_arg1
);
504 wxPy_END_ALLOW_THREADS
;
505 } Py_INCREF(Py_None
);
506 _resultobj
= Py_None
;
510 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
511 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
512 PyObject
* _resultobj
;
515 PyObject
* _argo0
= 0;
517 char *_kwnames
[] = { "self","flag", NULL
};
520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
529 _arg1
= (bool ) tempbool1
;
531 wxPy_BEGIN_ALLOW_THREADS
;
532 wxPrintData_SetCollate(_arg0
,_arg1
);
534 wxPy_END_ALLOW_THREADS
;
535 } Py_INCREF(Py_None
);
536 _resultobj
= Py_None
;
540 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
541 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
542 PyObject
* _resultobj
;
545 PyObject
* _argo0
= 0;
546 char *_kwnames
[] = { "self","orient", NULL
};
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
559 wxPy_BEGIN_ALLOW_THREADS
;
560 wxPrintData_SetOrientation(_arg0
,_arg1
);
562 wxPy_END_ALLOW_THREADS
;
563 } Py_INCREF(Py_None
);
564 _resultobj
= Py_None
;
568 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
569 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
570 PyObject
* _resultobj
;
573 PyObject
* _argo0
= 0;
574 PyObject
* _obj1
= 0;
575 char *_kwnames
[] = { "self","name", NULL
};
578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
588 #if PYTHON_API_VERSION >= 1009
589 char* tmpPtr
; int tmpSize
;
590 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
591 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
594 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
596 _arg1
= new wxString(tmpPtr
, tmpSize
);
598 if (!PyString_Check(_obj1
)) {
599 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
602 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
606 wxPy_BEGIN_ALLOW_THREADS
;
607 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
609 wxPy_END_ALLOW_THREADS
;
610 } Py_INCREF(Py_None
);
611 _resultobj
= Py_None
;
619 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
620 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
621 PyObject
* _resultobj
;
624 PyObject
* _argo0
= 0;
626 char *_kwnames
[] = { "self","colour", NULL
};
629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
638 _arg1
= (bool ) tempbool1
;
640 wxPy_BEGIN_ALLOW_THREADS
;
641 wxPrintData_SetColour(_arg0
,_arg1
);
643 wxPy_END_ALLOW_THREADS
;
644 } Py_INCREF(Py_None
);
645 _resultobj
= Py_None
;
649 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
650 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
651 PyObject
* _resultobj
;
654 PyObject
* _argo0
= 0;
655 char *_kwnames
[] = { "self","duplex", NULL
};
658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
668 wxPy_BEGIN_ALLOW_THREADS
;
669 wxPrintData_SetDuplex(_arg0
,_arg1
);
671 wxPy_END_ALLOW_THREADS
;
672 } Py_INCREF(Py_None
);
673 _resultobj
= Py_None
;
677 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
678 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 PyObject
* _resultobj
;
682 PyObject
* _argo0
= 0;
683 char *_kwnames
[] = { "self","sizeId", NULL
};
686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
696 wxPy_BEGIN_ALLOW_THREADS
;
697 wxPrintData_SetPaperId(_arg0
,_arg1
);
699 wxPy_END_ALLOW_THREADS
;
700 } Py_INCREF(Py_None
);
701 _resultobj
= Py_None
;
705 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
706 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
707 PyObject
* _resultobj
;
710 PyObject
* _argo0
= 0;
712 PyObject
* _obj1
= 0;
713 char *_kwnames
[] = { "self","sz", NULL
};
716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
727 if (! wxSize_helper(_obj1
, &_arg1
))
731 wxPy_BEGIN_ALLOW_THREADS
;
732 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
734 wxPy_END_ALLOW_THREADS
;
735 } Py_INCREF(Py_None
);
736 _resultobj
= Py_None
;
740 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
741 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 PyObject
* _resultobj
;
744 wxPrintQuality _arg1
;
745 PyObject
* _argo0
= 0;
746 char *_kwnames
[] = { "self","quality", NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
759 wxPy_BEGIN_ALLOW_THREADS
;
760 wxPrintData_SetQuality(_arg0
,_arg1
);
762 wxPy_END_ALLOW_THREADS
;
763 } Py_INCREF(Py_None
);
764 _resultobj
= Py_None
;
768 #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
769 static PyObject
*_wrap_wxPrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
770 PyObject
* _resultobj
;
773 PyObject
* _argo0
= 0;
774 char *_kwnames
[] = { "self", NULL
};
777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterCommand",_kwnames
,&_argo0
))
780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
787 wxPy_BEGIN_ALLOW_THREADS
;
788 const wxString
& _result_ref
= wxPrintData_GetPrinterCommand(_arg0
);
789 _result
= (wxString
*) &_result_ref
;
791 wxPy_END_ALLOW_THREADS
;
793 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
798 #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
799 static PyObject
*_wrap_wxPrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
803 PyObject
* _argo0
= 0;
804 char *_kwnames
[] = { "self", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterOptions",_kwnames
,&_argo0
))
810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
817 wxPy_BEGIN_ALLOW_THREADS
;
818 const wxString
& _result_ref
= wxPrintData_GetPrinterOptions(_arg0
);
819 _result
= (wxString
*) &_result_ref
;
821 wxPy_END_ALLOW_THREADS
;
823 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
828 #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
829 static PyObject
*_wrap_wxPrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
830 PyObject
* _resultobj
;
833 PyObject
* _argo0
= 0;
834 char *_kwnames
[] = { "self", NULL
};
837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPreviewCommand",_kwnames
,&_argo0
))
840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
847 wxPy_BEGIN_ALLOW_THREADS
;
848 const wxString
& _result_ref
= wxPrintData_GetPreviewCommand(_arg0
);
849 _result
= (wxString
*) &_result_ref
;
851 wxPy_END_ALLOW_THREADS
;
853 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
858 #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
859 static PyObject
*_wrap_wxPrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
860 PyObject
* _resultobj
;
863 PyObject
* _argo0
= 0;
864 char *_kwnames
[] = { "self", NULL
};
867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFilename",_kwnames
,&_argo0
))
870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p.");
877 wxPy_BEGIN_ALLOW_THREADS
;
878 const wxString
& _result_ref
= wxPrintData_GetFilename(_arg0
);
879 _result
= (wxString
*) &_result_ref
;
881 wxPy_END_ALLOW_THREADS
;
883 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
888 #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
889 static PyObject
*_wrap_wxPrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
890 PyObject
* _resultobj
;
893 PyObject
* _argo0
= 0;
894 char *_kwnames
[] = { "self", NULL
};
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFontMetricPath",_kwnames
,&_argo0
))
900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
907 wxPy_BEGIN_ALLOW_THREADS
;
908 const wxString
& _result_ref
= wxPrintData_GetFontMetricPath(_arg0
);
909 _result
= (wxString
*) &_result_ref
;
911 wxPy_END_ALLOW_THREADS
;
913 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
918 #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
919 static PyObject
*_wrap_wxPrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 PyObject
* _resultobj
;
923 PyObject
* _argo0
= 0;
924 char *_kwnames
[] = { "self", NULL
};
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleX",_kwnames
,&_argo0
))
930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
937 wxPy_BEGIN_ALLOW_THREADS
;
938 _result
= (double )wxPrintData_GetPrinterScaleX(_arg0
);
940 wxPy_END_ALLOW_THREADS
;
941 } _resultobj
= Py_BuildValue("d",_result
);
945 #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
946 static PyObject
*_wrap_wxPrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
947 PyObject
* _resultobj
;
950 PyObject
* _argo0
= 0;
951 char *_kwnames
[] = { "self", NULL
};
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleY",_kwnames
,&_argo0
))
957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
964 wxPy_BEGIN_ALLOW_THREADS
;
965 _result
= (double )wxPrintData_GetPrinterScaleY(_arg0
);
967 wxPy_END_ALLOW_THREADS
;
968 } _resultobj
= Py_BuildValue("d",_result
);
972 #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
973 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
977 PyObject
* _argo0
= 0;
978 char *_kwnames
[] = { "self", NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateX",_kwnames
,&_argo0
))
984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
991 wxPy_BEGIN_ALLOW_THREADS
;
992 _result
= (long )wxPrintData_GetPrinterTranslateX(_arg0
);
994 wxPy_END_ALLOW_THREADS
;
995 } _resultobj
= Py_BuildValue("l",_result
);
999 #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
1000 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1003 wxPrintData
* _arg0
;
1004 PyObject
* _argo0
= 0;
1005 char *_kwnames
[] = { "self", NULL
};
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateY",_kwnames
,&_argo0
))
1011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1018 wxPy_BEGIN_ALLOW_THREADS
;
1019 _result
= (long )wxPrintData_GetPrinterTranslateY(_arg0
);
1021 wxPy_END_ALLOW_THREADS
;
1022 } _resultobj
= Py_BuildValue("l",_result
);
1026 #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1027 static PyObject
*_wrap_wxPrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
* _resultobj
;
1029 wxPrintMode
* _result
;
1030 wxPrintData
* _arg0
;
1031 PyObject
* _argo0
= 0;
1032 char *_kwnames
[] = { "self", NULL
};
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrintMode",_kwnames
,&_argo0
))
1039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1046 wxPy_BEGIN_ALLOW_THREADS
;
1047 _result
= new wxPrintMode (wxPrintData_GetPrintMode(_arg0
));
1049 wxPy_END_ALLOW_THREADS
;
1050 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPrintMode_p");
1051 _resultobj
= Py_BuildValue("s",_ptemp
);
1055 #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1056 static PyObject
*_wrap_wxPrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1058 wxPrintData
* _arg0
;
1060 PyObject
* _argo0
= 0;
1061 PyObject
* _obj1
= 0;
1062 char *_kwnames
[] = { "self","command", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterCommand",_kwnames
,&_argo0
,&_obj1
))
1068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1075 #if PYTHON_API_VERSION >= 1009
1076 char* tmpPtr
; int tmpSize
;
1077 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1078 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1081 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1083 _arg1
= new wxString(tmpPtr
, tmpSize
);
1085 if (!PyString_Check(_obj1
)) {
1086 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1089 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1093 wxPy_BEGIN_ALLOW_THREADS
;
1094 wxPrintData_SetPrinterCommand(_arg0
,*_arg1
);
1096 wxPy_END_ALLOW_THREADS
;
1097 } Py_INCREF(Py_None
);
1098 _resultobj
= Py_None
;
1106 #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1107 static PyObject
*_wrap_wxPrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1108 PyObject
* _resultobj
;
1109 wxPrintData
* _arg0
;
1111 PyObject
* _argo0
= 0;
1112 PyObject
* _obj1
= 0;
1113 char *_kwnames
[] = { "self","options", NULL
};
1116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterOptions",_kwnames
,&_argo0
,&_obj1
))
1119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1126 #if PYTHON_API_VERSION >= 1009
1127 char* tmpPtr
; int tmpSize
;
1128 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1129 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1132 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1134 _arg1
= new wxString(tmpPtr
, tmpSize
);
1136 if (!PyString_Check(_obj1
)) {
1137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1140 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1144 wxPy_BEGIN_ALLOW_THREADS
;
1145 wxPrintData_SetPrinterOptions(_arg0
,*_arg1
);
1147 wxPy_END_ALLOW_THREADS
;
1148 } Py_INCREF(Py_None
);
1149 _resultobj
= Py_None
;
1157 #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1158 static PyObject
*_wrap_wxPrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
* _resultobj
;
1160 wxPrintData
* _arg0
;
1162 PyObject
* _argo0
= 0;
1163 PyObject
* _obj1
= 0;
1164 char *_kwnames
[] = { "self","command", NULL
};
1167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPreviewCommand",_kwnames
,&_argo0
,&_obj1
))
1170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1177 #if PYTHON_API_VERSION >= 1009
1178 char* tmpPtr
; int tmpSize
;
1179 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1180 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1183 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1185 _arg1
= new wxString(tmpPtr
, tmpSize
);
1187 if (!PyString_Check(_obj1
)) {
1188 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1191 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1195 wxPy_BEGIN_ALLOW_THREADS
;
1196 wxPrintData_SetPreviewCommand(_arg0
,*_arg1
);
1198 wxPy_END_ALLOW_THREADS
;
1199 } Py_INCREF(Py_None
);
1200 _resultobj
= Py_None
;
1208 #define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1209 static PyObject
*_wrap_wxPrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1210 PyObject
* _resultobj
;
1211 wxPrintData
* _arg0
;
1213 PyObject
* _argo0
= 0;
1214 PyObject
* _obj1
= 0;
1215 char *_kwnames
[] = { "self","filename", NULL
};
1218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p.");
1228 #if PYTHON_API_VERSION >= 1009
1229 char* tmpPtr
; int tmpSize
;
1230 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1231 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1234 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1236 _arg1
= new wxString(tmpPtr
, tmpSize
);
1238 if (!PyString_Check(_obj1
)) {
1239 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1242 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1246 wxPy_BEGIN_ALLOW_THREADS
;
1247 wxPrintData_SetFilename(_arg0
,*_arg1
);
1249 wxPy_END_ALLOW_THREADS
;
1250 } Py_INCREF(Py_None
);
1251 _resultobj
= Py_None
;
1259 #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1260 static PyObject
*_wrap_wxPrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1262 wxPrintData
* _arg0
;
1264 PyObject
* _argo0
= 0;
1265 PyObject
* _obj1
= 0;
1266 char *_kwnames
[] = { "self","path", NULL
};
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFontMetricPath",_kwnames
,&_argo0
,&_obj1
))
1272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1279 #if PYTHON_API_VERSION >= 1009
1280 char* tmpPtr
; int tmpSize
;
1281 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1282 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1285 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1287 _arg1
= new wxString(tmpPtr
, tmpSize
);
1289 if (!PyString_Check(_obj1
)) {
1290 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1293 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1297 wxPy_BEGIN_ALLOW_THREADS
;
1298 wxPrintData_SetFontMetricPath(_arg0
,*_arg1
);
1300 wxPy_END_ALLOW_THREADS
;
1301 } Py_INCREF(Py_None
);
1302 _resultobj
= Py_None
;
1310 #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1311 static PyObject
*_wrap_wxPrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
* _resultobj
;
1313 wxPrintData
* _arg0
;
1315 PyObject
* _argo0
= 0;
1316 char *_kwnames
[] = { "self","x", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleX",_kwnames
,&_argo0
,&_arg1
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p.");
1329 wxPy_BEGIN_ALLOW_THREADS
;
1330 wxPrintData_SetPrinterScaleX(_arg0
,_arg1
);
1332 wxPy_END_ALLOW_THREADS
;
1333 } Py_INCREF(Py_None
);
1334 _resultobj
= Py_None
;
1338 #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1339 static PyObject
*_wrap_wxPrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1341 wxPrintData
* _arg0
;
1343 PyObject
* _argo0
= 0;
1344 char *_kwnames
[] = { "self","y", NULL
};
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleY",_kwnames
,&_argo0
,&_arg1
))
1350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p.");
1357 wxPy_BEGIN_ALLOW_THREADS
;
1358 wxPrintData_SetPrinterScaleY(_arg0
,_arg1
);
1360 wxPy_END_ALLOW_THREADS
;
1361 } Py_INCREF(Py_None
);
1362 _resultobj
= Py_None
;
1366 #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1367 static PyObject
*_wrap_wxPrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1369 wxPrintData
* _arg0
;
1372 PyObject
* _argo0
= 0;
1373 char *_kwnames
[] = { "self","x","y", NULL
};
1376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPrintData_SetPrinterScaling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaling. Expected _wxPrintData_p.");
1386 wxPy_BEGIN_ALLOW_THREADS
;
1387 wxPrintData_SetPrinterScaling(_arg0
,_arg1
,_arg2
);
1389 wxPy_END_ALLOW_THREADS
;
1390 } Py_INCREF(Py_None
);
1391 _resultobj
= Py_None
;
1395 #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1396 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
* _resultobj
;
1398 wxPrintData
* _arg0
;
1400 PyObject
* _argo0
= 0;
1401 char *_kwnames
[] = { "self","x", NULL
};
1404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames
,&_argo0
,&_arg1
))
1407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p.");
1414 wxPy_BEGIN_ALLOW_THREADS
;
1415 wxPrintData_SetPrinterTranslateX(_arg0
,_arg1
);
1417 wxPy_END_ALLOW_THREADS
;
1418 } Py_INCREF(Py_None
);
1419 _resultobj
= Py_None
;
1423 #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1424 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1426 wxPrintData
* _arg0
;
1428 PyObject
* _argo0
= 0;
1429 char *_kwnames
[] = { "self","y", NULL
};
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames
,&_argo0
,&_arg1
))
1435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1442 wxPy_BEGIN_ALLOW_THREADS
;
1443 wxPrintData_SetPrinterTranslateY(_arg0
,_arg1
);
1445 wxPy_END_ALLOW_THREADS
;
1446 } Py_INCREF(Py_None
);
1447 _resultobj
= Py_None
;
1451 #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1452 static PyObject
*_wrap_wxPrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
* _resultobj
;
1454 wxPrintData
* _arg0
;
1457 PyObject
* _argo0
= 0;
1458 char *_kwnames
[] = { "self","x","y", NULL
};
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPrintData_SetPrinterTranslation",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslation. Expected _wxPrintData_p.");
1471 wxPy_BEGIN_ALLOW_THREADS
;
1472 wxPrintData_SetPrinterTranslation(_arg0
,_arg1
,_arg2
);
1474 wxPy_END_ALLOW_THREADS
;
1475 } Py_INCREF(Py_None
);
1476 _resultobj
= Py_None
;
1480 #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1481 static PyObject
*_wrap_wxPrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1483 wxPrintData
* _arg0
;
1484 wxPrintMode
* _arg1
;
1485 PyObject
* _argo0
= 0;
1486 PyObject
* _argo1
= 0;
1487 char *_kwnames
[] = { "self","printMode", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrintMode",_kwnames
,&_argo0
,&_argo1
))
1493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1500 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1501 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintMode_p")) {
1502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPrintMode. Expected _wxPrintMode_p.");
1507 wxPy_BEGIN_ALLOW_THREADS
;
1508 wxPrintData_SetPrintMode(_arg0
,*_arg1
);
1510 wxPy_END_ALLOW_THREADS
;
1511 } Py_INCREF(Py_None
);
1512 _resultobj
= Py_None
;
1516 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
1519 src
= (wxPrinterDC
*) ptr
;
1520 dest
= (wxDC
*) src
;
1521 return (void *) dest
;
1524 #define new_wxPrinterDC(_swigarg0) (new wxPrinterDC(_swigarg0))
1525 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1527 wxPrinterDC
* _result
;
1528 wxPrintData
* _arg0
;
1529 PyObject
* _argo0
= 0;
1530 char *_kwnames
[] = { "printData", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPrinterDC",_kwnames
,&_argo0
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinterDC. Expected _wxPrintData_p.");
1544 wxPy_BEGIN_ALLOW_THREADS
;
1545 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
);
1547 wxPy_END_ALLOW_THREADS
;
1549 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1550 _resultobj
= Py_BuildValue("s",_ptemp
);
1553 _resultobj
= Py_None
;
1558 #define new_wxPrinterDC2(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1559 static PyObject
*_wrap_new_wxPrinterDC2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
* _resultobj
;
1561 wxPrinterDC
* _result
;
1565 bool _arg3
= (bool ) TRUE
;
1566 int _arg4
= (int ) wxPORTRAIT
;
1567 PyObject
* _obj0
= 0;
1568 PyObject
* _obj1
= 0;
1569 PyObject
* _obj2
= 0;
1570 int tempbool3
= (int) TRUE
;
1571 char *_kwnames
[] = { "driver","device","output","interactive","orientation", NULL
};
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:new_wxPrinterDC2",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
1578 #if PYTHON_API_VERSION >= 1009
1579 char* tmpPtr
; int tmpSize
;
1580 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1581 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1584 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1586 _arg0
= new wxString(tmpPtr
, tmpSize
);
1588 if (!PyString_Check(_obj0
)) {
1589 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1592 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1596 #if PYTHON_API_VERSION >= 1009
1597 char* tmpPtr
; int tmpSize
;
1598 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1599 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1602 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1604 _arg1
= new wxString(tmpPtr
, tmpSize
);
1606 if (!PyString_Check(_obj1
)) {
1607 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1610 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1614 #if PYTHON_API_VERSION >= 1009
1615 char* tmpPtr
; int tmpSize
;
1616 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1620 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1622 _arg2
= new wxString(tmpPtr
, tmpSize
);
1624 if (!PyString_Check(_obj2
)) {
1625 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1628 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1631 _arg3
= (bool ) tempbool3
;
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 _result
= (wxPrinterDC
*)new_wxPrinterDC2(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
1636 wxPy_END_ALLOW_THREADS
;
1638 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1639 _resultobj
= Py_BuildValue("s",_ptemp
);
1642 _resultobj
= Py_None
;
1659 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1660 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1661 PyObject
* _resultobj
;
1662 wxPageSetupDialogData
* _result
;
1663 char *_kwnames
[] = { NULL
};
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1670 wxPy_BEGIN_ALLOW_THREADS
;
1671 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1673 wxPy_END_ALLOW_THREADS
;
1675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1676 _resultobj
= Py_BuildValue("s",_ptemp
);
1679 _resultobj
= Py_None
;
1684 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1685 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
* _resultobj
;
1687 wxPageSetupDialogData
* _arg0
;
1688 PyObject
* _argo0
= 0;
1689 char *_kwnames
[] = { "self", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
1695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1702 wxPy_BEGIN_ALLOW_THREADS
;
1703 delete_wxPageSetupDialogData(_arg0
);
1705 wxPy_END_ALLOW_THREADS
;
1706 } Py_INCREF(Py_None
);
1707 _resultobj
= Py_None
;
1711 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1712 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1714 wxPageSetupDialogData
* _arg0
;
1716 PyObject
* _argo0
= 0;
1718 char *_kwnames
[] = { "self","flag", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1730 _arg1
= (bool ) tempbool1
;
1732 wxPy_BEGIN_ALLOW_THREADS
;
1733 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
1735 wxPy_END_ALLOW_THREADS
;
1736 } Py_INCREF(Py_None
);
1737 _resultobj
= Py_None
;
1741 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1742 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
* _resultobj
;
1744 wxPageSetupDialogData
* _arg0
;
1746 PyObject
* _argo0
= 0;
1748 char *_kwnames
[] = { "self","flag", NULL
};
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
1754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1760 _arg1
= (bool ) tempbool1
;
1762 wxPy_BEGIN_ALLOW_THREADS
;
1763 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
1765 wxPy_END_ALLOW_THREADS
;
1766 } Py_INCREF(Py_None
);
1767 _resultobj
= Py_None
;
1771 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1772 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
* _resultobj
;
1774 wxPageSetupDialogData
* _arg0
;
1776 PyObject
* _argo0
= 0;
1778 char *_kwnames
[] = { "self","flag", NULL
};
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
1784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1790 _arg1
= (bool ) tempbool1
;
1792 wxPy_BEGIN_ALLOW_THREADS
;
1793 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
1795 wxPy_END_ALLOW_THREADS
;
1796 } Py_INCREF(Py_None
);
1797 _resultobj
= Py_None
;
1801 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1802 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
* _resultobj
;
1804 wxPageSetupDialogData
* _arg0
;
1806 PyObject
* _argo0
= 0;
1808 char *_kwnames
[] = { "self","flag", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
1814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1820 _arg1
= (bool ) tempbool1
;
1822 wxPy_BEGIN_ALLOW_THREADS
;
1823 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
1825 wxPy_END_ALLOW_THREADS
;
1826 } Py_INCREF(Py_None
);
1827 _resultobj
= Py_None
;
1831 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1832 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1834 wxPageSetupDialogData
* _arg0
;
1836 PyObject
* _argo0
= 0;
1838 char *_kwnames
[] = { "self","flag", NULL
};
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
1844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
1850 _arg1
= (bool ) tempbool1
;
1852 wxPy_BEGIN_ALLOW_THREADS
;
1853 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
1855 wxPy_END_ALLOW_THREADS
;
1856 } Py_INCREF(Py_None
);
1857 _resultobj
= Py_None
;
1861 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
1862 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
* _resultobj
;
1865 wxPageSetupDialogData
* _arg0
;
1866 PyObject
* _argo0
= 0;
1867 char *_kwnames
[] = { "self", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1880 wxPy_BEGIN_ALLOW_THREADS
;
1881 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
1883 wxPy_END_ALLOW_THREADS
;
1884 } _resultobj
= Py_BuildValue("i",_result
);
1888 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
1889 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
* _resultobj
;
1892 wxPageSetupDialogData
* _arg0
;
1893 PyObject
* _argo0
= 0;
1894 char *_kwnames
[] = { "self", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1907 wxPy_BEGIN_ALLOW_THREADS
;
1908 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1910 wxPy_END_ALLOW_THREADS
;
1911 } _resultobj
= Py_BuildValue("i",_result
);
1915 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
1916 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
* _resultobj
;
1919 wxPageSetupDialogData
* _arg0
;
1920 PyObject
* _argo0
= 0;
1921 char *_kwnames
[] = { "self", NULL
};
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
1927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1934 wxPy_BEGIN_ALLOW_THREADS
;
1935 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1937 wxPy_END_ALLOW_THREADS
;
1938 } _resultobj
= Py_BuildValue("i",_result
);
1942 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
1943 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
* _resultobj
;
1946 wxPageSetupDialogData
* _arg0
;
1947 PyObject
* _argo0
= 0;
1948 char *_kwnames
[] = { "self", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
1961 wxPy_BEGIN_ALLOW_THREADS
;
1962 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
1964 wxPy_END_ALLOW_THREADS
;
1965 } _resultobj
= Py_BuildValue("i",_result
);
1969 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
1970 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1973 wxPageSetupDialogData
* _arg0
;
1974 PyObject
* _argo0
= 0;
1975 char *_kwnames
[] = { "self", NULL
};
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
1981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
1988 wxPy_BEGIN_ALLOW_THREADS
;
1989 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
1991 wxPy_END_ALLOW_THREADS
;
1992 } _resultobj
= Py_BuildValue("i",_result
);
1996 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
1997 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2000 wxPageSetupDialogData
* _arg0
;
2001 PyObject
* _argo0
= 0;
2002 char *_kwnames
[] = { "self", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
2008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2015 wxPy_BEGIN_ALLOW_THREADS
;
2016 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
2018 wxPy_END_ALLOW_THREADS
;
2019 } _resultobj
= Py_BuildValue("i",_result
);
2023 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2024 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2027 wxPageSetupDialogData
* _arg0
;
2028 PyObject
* _argo0
= 0;
2029 char *_kwnames
[] = { "self", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
2035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2042 wxPy_BEGIN_ALLOW_THREADS
;
2043 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
2045 wxPy_END_ALLOW_THREADS
;
2046 } _resultobj
= Py_BuildValue("i",_result
);
2050 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2051 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2054 wxPageSetupDialogData
* _arg0
;
2055 PyObject
* _argo0
= 0;
2056 char *_kwnames
[] = { "self", NULL
};
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
2063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2070 wxPy_BEGIN_ALLOW_THREADS
;
2071 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
2073 wxPy_END_ALLOW_THREADS
;
2074 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2075 _resultobj
= Py_BuildValue("s",_ptemp
);
2079 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2080 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2083 wxPageSetupDialogData
* _arg0
;
2084 PyObject
* _argo0
= 0;
2085 char *_kwnames
[] = { "self", NULL
};
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
2092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2099 wxPy_BEGIN_ALLOW_THREADS
;
2100 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
2102 wxPy_END_ALLOW_THREADS
;
2103 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2104 _resultobj
= Py_BuildValue("s",_ptemp
);
2108 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2109 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
* _resultobj
;
2112 wxPageSetupDialogData
* _arg0
;
2113 PyObject
* _argo0
= 0;
2114 char *_kwnames
[] = { "self", NULL
};
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
2121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2128 wxPy_BEGIN_ALLOW_THREADS
;
2129 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
2131 wxPy_END_ALLOW_THREADS
;
2132 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2133 _resultobj
= Py_BuildValue("s",_ptemp
);
2137 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2138 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2141 wxPageSetupDialogData
* _arg0
;
2142 PyObject
* _argo0
= 0;
2143 char *_kwnames
[] = { "self", NULL
};
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2157 wxPy_BEGIN_ALLOW_THREADS
;
2158 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2160 wxPy_END_ALLOW_THREADS
;
2161 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2162 _resultobj
= Py_BuildValue("s",_ptemp
);
2166 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2167 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2169 wxPaperSize _result
;
2170 wxPageSetupDialogData
* _arg0
;
2171 PyObject
* _argo0
= 0;
2172 char *_kwnames
[] = { "self", NULL
};
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2185 wxPy_BEGIN_ALLOW_THREADS
;
2186 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2188 wxPy_END_ALLOW_THREADS
;
2189 } _resultobj
= Py_BuildValue("i",_result
);
2193 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2194 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
* _resultobj
;
2197 wxPageSetupDialogData
* _arg0
;
2198 PyObject
* _argo0
= 0;
2199 char *_kwnames
[] = { "self", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
2206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2213 wxPy_BEGIN_ALLOW_THREADS
;
2214 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2216 wxPy_END_ALLOW_THREADS
;
2217 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2218 _resultobj
= Py_BuildValue("s",_ptemp
);
2222 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2223 return new wxPrintData(self
->GetPrintData()); // force a copy
2225 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2227 wxPrintData
* _result
;
2228 wxPageSetupDialogData
* _arg0
;
2229 PyObject
* _argo0
= 0;
2230 char *_kwnames
[] = { "self", NULL
};
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2244 wxPy_BEGIN_ALLOW_THREADS
;
2245 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2247 wxPy_END_ALLOW_THREADS
;
2249 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2250 _resultobj
= Py_BuildValue("s",_ptemp
);
2253 _resultobj
= Py_None
;
2258 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2259 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
* _resultobj
;
2261 wxPageSetupDialogData
* _arg0
;
2263 PyObject
* _argo0
= 0;
2265 char *_kwnames
[] = { "self","flag", NULL
};
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2277 _arg1
= (bool ) tempbool1
;
2279 wxPy_BEGIN_ALLOW_THREADS
;
2280 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2282 wxPy_END_ALLOW_THREADS
;
2283 } Py_INCREF(Py_None
);
2284 _resultobj
= Py_None
;
2288 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2289 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
* _resultobj
;
2291 wxPageSetupDialogData
* _arg0
;
2293 PyObject
* _argo0
= 0;
2295 char *_kwnames
[] = { "self","flag", NULL
};
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2307 _arg1
= (bool ) tempbool1
;
2309 wxPy_BEGIN_ALLOW_THREADS
;
2310 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2312 wxPy_END_ALLOW_THREADS
;
2313 } Py_INCREF(Py_None
);
2314 _resultobj
= Py_None
;
2318 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2319 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
* _resultobj
;
2321 wxPageSetupDialogData
* _arg0
;
2323 PyObject
* _argo0
= 0;
2325 PyObject
* _obj1
= 0;
2326 char *_kwnames
[] = { "self","pt", NULL
};
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2340 if (! wxPoint_helper(_obj1
, &_arg1
))
2344 wxPy_BEGIN_ALLOW_THREADS
;
2345 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2347 wxPy_END_ALLOW_THREADS
;
2348 } Py_INCREF(Py_None
);
2349 _resultobj
= Py_None
;
2353 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2354 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2355 PyObject
* _resultobj
;
2356 wxPageSetupDialogData
* _arg0
;
2358 PyObject
* _argo0
= 0;
2360 PyObject
* _obj1
= 0;
2361 char *_kwnames
[] = { "self","pt", NULL
};
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2375 if (! wxPoint_helper(_obj1
, &_arg1
))
2379 wxPy_BEGIN_ALLOW_THREADS
;
2380 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2382 wxPy_END_ALLOW_THREADS
;
2383 } Py_INCREF(Py_None
);
2384 _resultobj
= Py_None
;
2388 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2389 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2391 wxPageSetupDialogData
* _arg0
;
2393 PyObject
* _argo0
= 0;
2395 PyObject
* _obj1
= 0;
2396 char *_kwnames
[] = { "self","pt", NULL
};
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2410 if (! wxPoint_helper(_obj1
, &_arg1
))
2414 wxPy_BEGIN_ALLOW_THREADS
;
2415 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2417 wxPy_END_ALLOW_THREADS
;
2418 } Py_INCREF(Py_None
);
2419 _resultobj
= Py_None
;
2423 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2424 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2426 wxPageSetupDialogData
* _arg0
;
2428 PyObject
* _argo0
= 0;
2430 PyObject
* _obj1
= 0;
2431 char *_kwnames
[] = { "self","pt", NULL
};
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2445 if (! wxPoint_helper(_obj1
, &_arg1
))
2449 wxPy_BEGIN_ALLOW_THREADS
;
2450 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2452 wxPy_END_ALLOW_THREADS
;
2453 } Py_INCREF(Py_None
);
2454 _resultobj
= Py_None
;
2458 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2459 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2461 wxPageSetupDialogData
* _arg0
;
2463 PyObject
* _argo0
= 0;
2464 char *_kwnames
[] = { "self","id", NULL
};
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2477 wxPy_BEGIN_ALLOW_THREADS
;
2478 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2480 wxPy_END_ALLOW_THREADS
;
2481 } Py_INCREF(Py_None
);
2482 _resultobj
= Py_None
;
2486 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2487 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
* _resultobj
;
2489 wxPageSetupDialogData
* _arg0
;
2491 PyObject
* _argo0
= 0;
2493 PyObject
* _obj1
= 0;
2494 char *_kwnames
[] = { "self","size", NULL
};
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2508 if (! wxSize_helper(_obj1
, &_arg1
))
2512 wxPy_BEGIN_ALLOW_THREADS
;
2513 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2515 wxPy_END_ALLOW_THREADS
;
2516 } Py_INCREF(Py_None
);
2517 _resultobj
= Py_None
;
2521 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2522 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2524 wxPageSetupDialogData
* _arg0
;
2525 wxPrintData
* _arg1
;
2526 PyObject
* _argo0
= 0;
2527 PyObject
* _argo1
= 0;
2528 char *_kwnames
[] = { "self","printData", NULL
};
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2548 wxPy_BEGIN_ALLOW_THREADS
;
2549 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2551 wxPy_END_ALLOW_THREADS
;
2552 } Py_INCREF(Py_None
);
2553 _resultobj
= Py_None
;
2557 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2558 wxPageSetupDialog
*src
;
2560 src
= (wxPageSetupDialog
*) ptr
;
2561 dest
= (wxDialog
*) src
;
2562 return (void *) dest
;
2565 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
2566 wxPageSetupDialog
*src
;
2568 src
= (wxPageSetupDialog
*) ptr
;
2569 dest
= (wxPanel
*) src
;
2570 return (void *) dest
;
2573 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2574 wxPageSetupDialog
*src
;
2576 src
= (wxPageSetupDialog
*) ptr
;
2577 dest
= (wxWindow
*) src
;
2578 return (void *) dest
;
2581 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2582 wxPageSetupDialog
*src
;
2584 src
= (wxPageSetupDialog
*) ptr
;
2585 dest
= (wxEvtHandler
*) src
;
2586 return (void *) dest
;
2589 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2590 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
* _resultobj
;
2592 wxPageSetupDialog
* _result
;
2594 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2595 PyObject
* _argo0
= 0;
2596 PyObject
* _argo1
= 0;
2597 char *_kwnames
[] = { "parent","data", NULL
};
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2618 wxPy_BEGIN_ALLOW_THREADS
;
2619 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2621 wxPy_END_ALLOW_THREADS
;
2623 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2624 _resultobj
= Py_BuildValue("s",_ptemp
);
2627 _resultobj
= Py_None
;
2632 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2633 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
* _resultobj
;
2635 wxPageSetupDialogData
* _result
;
2636 wxPageSetupDialog
* _arg0
;
2637 PyObject
* _argo0
= 0;
2638 char *_kwnames
[] = { "self", NULL
};
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2652 wxPy_BEGIN_ALLOW_THREADS
;
2653 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2654 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2656 wxPy_END_ALLOW_THREADS
;
2658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2659 _resultobj
= Py_BuildValue("s",_ptemp
);
2662 _resultobj
= Py_None
;
2667 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2668 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2671 wxPageSetupDialog
* _arg0
;
2672 PyObject
* _argo0
= 0;
2673 char *_kwnames
[] = { "self", NULL
};
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
2679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2686 wxPy_BEGIN_ALLOW_THREADS
;
2687 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
2689 wxPy_END_ALLOW_THREADS
;
2690 } _resultobj
= Py_BuildValue("i",_result
);
2694 #define new_wxPrintDialogData() (new wxPrintDialogData())
2695 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2696 PyObject
* _resultobj
;
2697 wxPrintDialogData
* _result
;
2698 char *_kwnames
[] = { NULL
};
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
2705 wxPy_BEGIN_ALLOW_THREADS
;
2706 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
2708 wxPy_END_ALLOW_THREADS
;
2710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2711 _resultobj
= Py_BuildValue("s",_ptemp
);
2714 _resultobj
= Py_None
;
2719 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2720 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2722 wxPrintDialogData
* _arg0
;
2723 PyObject
* _argo0
= 0;
2724 char *_kwnames
[] = { "self", NULL
};
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
2730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
2737 wxPy_BEGIN_ALLOW_THREADS
;
2738 delete_wxPrintDialogData(_arg0
);
2740 wxPy_END_ALLOW_THREADS
;
2741 } Py_INCREF(Py_None
);
2742 _resultobj
= Py_None
;
2746 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
2747 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
* _resultobj
;
2749 wxPrintDialogData
* _arg0
;
2751 PyObject
* _argo0
= 0;
2753 char *_kwnames
[] = { "self","flag", NULL
};
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
2759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
2765 _arg1
= (bool ) tempbool1
;
2767 wxPy_BEGIN_ALLOW_THREADS
;
2768 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
2770 wxPy_END_ALLOW_THREADS
;
2771 } Py_INCREF(Py_None
);
2772 _resultobj
= Py_None
;
2776 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
2777 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
* _resultobj
;
2779 wxPrintDialogData
* _arg0
;
2781 PyObject
* _argo0
= 0;
2783 char *_kwnames
[] = { "self","flag", NULL
};
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
2789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
2795 _arg1
= (bool ) tempbool1
;
2797 wxPy_BEGIN_ALLOW_THREADS
;
2798 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
2800 wxPy_END_ALLOW_THREADS
;
2801 } Py_INCREF(Py_None
);
2802 _resultobj
= Py_None
;
2806 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
2807 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2809 wxPrintDialogData
* _arg0
;
2811 PyObject
* _argo0
= 0;
2813 char *_kwnames
[] = { "self","flag", NULL
};
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
2825 _arg1
= (bool ) tempbool1
;
2827 wxPy_BEGIN_ALLOW_THREADS
;
2828 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
2830 wxPy_END_ALLOW_THREADS
;
2831 } Py_INCREF(Py_None
);
2832 _resultobj
= Py_None
;
2836 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
2837 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
* _resultobj
;
2839 wxPrintDialogData
* _arg0
;
2841 PyObject
* _argo0
= 0;
2843 char *_kwnames
[] = { "self","flag", NULL
};
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
2849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
2855 _arg1
= (bool ) tempbool1
;
2857 wxPy_BEGIN_ALLOW_THREADS
;
2858 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
2860 wxPy_END_ALLOW_THREADS
;
2861 } Py_INCREF(Py_None
);
2862 _resultobj
= Py_None
;
2866 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
2867 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
* _resultobj
;
2870 wxPrintDialogData
* _arg0
;
2871 PyObject
* _argo0
= 0;
2872 char *_kwnames
[] = { "self", NULL
};
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
2878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
2885 wxPy_BEGIN_ALLOW_THREADS
;
2886 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
2888 wxPy_END_ALLOW_THREADS
;
2889 } _resultobj
= Py_BuildValue("i",_result
);
2893 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
2894 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
* _resultobj
;
2897 wxPrintDialogData
* _arg0
;
2898 PyObject
* _argo0
= 0;
2899 char *_kwnames
[] = { "self", NULL
};
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
2905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
2912 wxPy_BEGIN_ALLOW_THREADS
;
2913 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
2915 wxPy_END_ALLOW_THREADS
;
2916 } _resultobj
= Py_BuildValue("i",_result
);
2920 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
2921 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
* _resultobj
;
2924 wxPrintDialogData
* _arg0
;
2925 PyObject
* _argo0
= 0;
2926 char *_kwnames
[] = { "self", NULL
};
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
2932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
2939 wxPy_BEGIN_ALLOW_THREADS
;
2940 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
2942 wxPy_END_ALLOW_THREADS
;
2943 } _resultobj
= Py_BuildValue("i",_result
);
2947 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
2948 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
* _resultobj
;
2951 wxPrintDialogData
* _arg0
;
2952 PyObject
* _argo0
= 0;
2953 char *_kwnames
[] = { "self", NULL
};
2956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
2959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
2966 wxPy_BEGIN_ALLOW_THREADS
;
2967 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
2969 wxPy_END_ALLOW_THREADS
;
2970 } _resultobj
= Py_BuildValue("i",_result
);
2974 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
2975 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2978 wxPrintDialogData
* _arg0
;
2979 PyObject
* _argo0
= 0;
2980 char *_kwnames
[] = { "self", NULL
};
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
2986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
2993 wxPy_BEGIN_ALLOW_THREADS
;
2994 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
2996 wxPy_END_ALLOW_THREADS
;
2997 } _resultobj
= Py_BuildValue("i",_result
);
3001 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3002 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
* _resultobj
;
3005 wxPrintDialogData
* _arg0
;
3006 PyObject
* _argo0
= 0;
3007 char *_kwnames
[] = { "self", NULL
};
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
3013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
3020 wxPy_BEGIN_ALLOW_THREADS
;
3021 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
3023 wxPy_END_ALLOW_THREADS
;
3024 } _resultobj
= Py_BuildValue("i",_result
);
3028 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
3029 return new wxPrintData(self
->GetPrintData()); // force a copy
3031 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
* _resultobj
;
3033 wxPrintData
* _result
;
3034 wxPrintDialogData
* _arg0
;
3035 PyObject
* _argo0
= 0;
3036 char *_kwnames
[] = { "self", NULL
};
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
3043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3050 wxPy_BEGIN_ALLOW_THREADS
;
3051 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
3053 wxPy_END_ALLOW_THREADS
;
3055 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
3056 _resultobj
= Py_BuildValue("s",_ptemp
);
3059 _resultobj
= Py_None
;
3064 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3065 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
* _resultobj
;
3068 wxPrintDialogData
* _arg0
;
3069 PyObject
* _argo0
= 0;
3070 char *_kwnames
[] = { "self", NULL
};
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
3076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3083 wxPy_BEGIN_ALLOW_THREADS
;
3084 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
3086 wxPy_END_ALLOW_THREADS
;
3087 } _resultobj
= Py_BuildValue("i",_result
);
3091 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3092 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
* _resultobj
;
3095 wxPrintDialogData
* _arg0
;
3096 PyObject
* _argo0
= 0;
3097 char *_kwnames
[] = { "self", NULL
};
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
3103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
3110 wxPy_BEGIN_ALLOW_THREADS
;
3111 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
3113 wxPy_END_ALLOW_THREADS
;
3114 } _resultobj
= Py_BuildValue("i",_result
);
3118 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3119 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
* _resultobj
;
3121 wxPrintDialogData
* _arg0
;
3123 PyObject
* _argo0
= 0;
3125 char *_kwnames
[] = { "self","flag", NULL
};
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
3131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3137 _arg1
= (bool ) tempbool1
;
3139 wxPy_BEGIN_ALLOW_THREADS
;
3140 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
3142 wxPy_END_ALLOW_THREADS
;
3143 } Py_INCREF(Py_None
);
3144 _resultobj
= Py_None
;
3148 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3149 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
* _resultobj
;
3151 wxPrintDialogData
* _arg0
;
3153 PyObject
* _argo0
= 0;
3154 char *_kwnames
[] = { "self","page", NULL
};
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
3160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3167 wxPy_BEGIN_ALLOW_THREADS
;
3168 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3170 wxPy_END_ALLOW_THREADS
;
3171 } Py_INCREF(Py_None
);
3172 _resultobj
= Py_None
;
3176 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3177 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
* _resultobj
;
3179 wxPrintDialogData
* _arg0
;
3181 PyObject
* _argo0
= 0;
3182 char *_kwnames
[] = { "self","page", NULL
};
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
3188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3195 wxPy_BEGIN_ALLOW_THREADS
;
3196 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3198 wxPy_END_ALLOW_THREADS
;
3199 } Py_INCREF(Py_None
);
3200 _resultobj
= Py_None
;
3204 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3205 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
* _resultobj
;
3207 wxPrintDialogData
* _arg0
;
3209 PyObject
* _argo0
= 0;
3210 char *_kwnames
[] = { "self","page", NULL
};
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3223 wxPy_BEGIN_ALLOW_THREADS
;
3224 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3226 wxPy_END_ALLOW_THREADS
;
3227 } Py_INCREF(Py_None
);
3228 _resultobj
= Py_None
;
3232 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3233 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
* _resultobj
;
3235 wxPrintDialogData
* _arg0
;
3237 PyObject
* _argo0
= 0;
3238 char *_kwnames
[] = { "self","n", NULL
};
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
3244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3251 wxPy_BEGIN_ALLOW_THREADS
;
3252 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3254 wxPy_END_ALLOW_THREADS
;
3255 } Py_INCREF(Py_None
);
3256 _resultobj
= Py_None
;
3260 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3261 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
* _resultobj
;
3263 wxPrintDialogData
* _arg0
;
3264 wxPrintData
* _arg1
;
3265 PyObject
* _argo0
= 0;
3266 PyObject
* _argo1
= 0;
3267 char *_kwnames
[] = { "self","printData", NULL
};
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
3273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3287 wxPy_BEGIN_ALLOW_THREADS
;
3288 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3290 wxPy_END_ALLOW_THREADS
;
3291 } Py_INCREF(Py_None
);
3292 _resultobj
= Py_None
;
3296 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3297 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
* _resultobj
;
3299 wxPrintDialogData
* _arg0
;
3301 PyObject
* _argo0
= 0;
3303 char *_kwnames
[] = { "self","flag", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3315 _arg1
= (bool ) tempbool1
;
3317 wxPy_BEGIN_ALLOW_THREADS
;
3318 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3320 wxPy_END_ALLOW_THREADS
;
3321 } Py_INCREF(Py_None
);
3322 _resultobj
= Py_None
;
3326 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3327 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
* _resultobj
;
3329 wxPrintDialogData
* _arg0
;
3331 PyObject
* _argo0
= 0;
3333 char *_kwnames
[] = { "self","flag", NULL
};
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3345 _arg1
= (bool ) tempbool1
;
3347 wxPy_BEGIN_ALLOW_THREADS
;
3348 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3350 wxPy_END_ALLOW_THREADS
;
3351 } Py_INCREF(Py_None
);
3352 _resultobj
= Py_None
;
3356 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3357 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
* _resultobj
;
3359 wxPrintDialogData
* _arg0
;
3361 PyObject
* _argo0
= 0;
3362 char *_kwnames
[] = { "self","page", NULL
};
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3375 wxPy_BEGIN_ALLOW_THREADS
;
3376 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3378 wxPy_END_ALLOW_THREADS
;
3379 } Py_INCREF(Py_None
);
3380 _resultobj
= Py_None
;
3384 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3387 src
= (wxPrintDialog
*) ptr
;
3388 dest
= (wxDialog
*) src
;
3389 return (void *) dest
;
3392 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
3395 src
= (wxPrintDialog
*) ptr
;
3396 dest
= (wxPanel
*) src
;
3397 return (void *) dest
;
3400 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3403 src
= (wxPrintDialog
*) ptr
;
3404 dest
= (wxWindow
*) src
;
3405 return (void *) dest
;
3408 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3411 src
= (wxPrintDialog
*) ptr
;
3412 dest
= (wxEvtHandler
*) src
;
3413 return (void *) dest
;
3416 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3417 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
* _resultobj
;
3419 wxPrintDialog
* _result
;
3421 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
3422 PyObject
* _argo0
= 0;
3423 PyObject
* _argo1
= 0;
3424 char *_kwnames
[] = { "parent","data", NULL
};
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
3431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3438 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3439 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
3440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3445 wxPy_BEGIN_ALLOW_THREADS
;
3446 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3448 wxPy_END_ALLOW_THREADS
;
3450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3451 _resultobj
= Py_BuildValue("s",_ptemp
);
3454 _resultobj
= Py_None
;
3459 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3460 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
* _resultobj
;
3462 wxPrintDialogData
* _result
;
3463 wxPrintDialog
* _arg0
;
3464 PyObject
* _argo0
= 0;
3465 char *_kwnames
[] = { "self", NULL
};
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
3472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3479 wxPy_BEGIN_ALLOW_THREADS
;
3480 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
3481 _result
= (wxPrintDialogData
*) &_result_ref
;
3483 wxPy_END_ALLOW_THREADS
;
3485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3486 _resultobj
= Py_BuildValue("s",_ptemp
);
3489 _resultobj
= Py_None
;
3494 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3495 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
* _resultobj
;
3498 wxPrintDialog
* _arg0
;
3499 PyObject
* _argo0
= 0;
3500 char *_kwnames
[] = { "self", NULL
};
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
3507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3514 wxPy_BEGIN_ALLOW_THREADS
;
3515 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
3517 wxPy_END_ALLOW_THREADS
;
3519 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3520 _resultobj
= Py_BuildValue("s",_ptemp
);
3523 _resultobj
= Py_None
;
3528 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3529 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
* _resultobj
;
3532 wxPrintDialog
* _arg0
;
3533 PyObject
* _argo0
= 0;
3534 char *_kwnames
[] = { "self", NULL
};
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
3540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3547 wxPy_BEGIN_ALLOW_THREADS
;
3548 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
3550 wxPy_END_ALLOW_THREADS
;
3551 } _resultobj
= Py_BuildValue("i",_result
);
3555 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
3556 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
* _resultobj
;
3558 wxPyPrintout
* _result
;
3559 char * _arg0
= (char *) "Printout";
3560 char *_kwnames
[] = { "title", NULL
};
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
3567 wxPy_BEGIN_ALLOW_THREADS
;
3568 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
3570 wxPy_END_ALLOW_THREADS
;
3572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3573 _resultobj
= Py_BuildValue("s",_ptemp
);
3576 _resultobj
= Py_None
;
3581 #define wxPrintout__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3582 static PyObject
*_wrap_wxPrintout__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
* _resultobj
;
3584 wxPyPrintout
* _arg0
;
3587 PyObject
* _argo0
= 0;
3588 PyObject
* _obj1
= 0;
3589 PyObject
* _obj2
= 0;
3590 char *_kwnames
[] = { "self","self","_class", NULL
};
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
3609 wxPy_BEGIN_ALLOW_THREADS
;
3610 wxPrintout__setSelf(_arg0
,_arg1
,_arg2
);
3612 wxPy_END_ALLOW_THREADS
;
3613 } Py_INCREF(Py_None
);
3614 _resultobj
= Py_None
;
3618 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
3619 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
* _resultobj
;
3621 wxPyPrintout
* _arg0
;
3622 PyObject
* _argo0
= 0;
3623 char *_kwnames
[] = { "self", NULL
};
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
3629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
3636 wxPy_BEGIN_ALLOW_THREADS
;
3637 wxPyPrintout_Destroy(_arg0
);
3639 wxPy_END_ALLOW_THREADS
;
3640 } Py_INCREF(Py_None
);
3641 _resultobj
= Py_None
;
3645 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
3646 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
* _resultobj
;
3649 wxPyPrintout
* _arg0
;
3650 PyObject
* _argo0
= 0;
3651 char *_kwnames
[] = { "self", NULL
};
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
3658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
3665 wxPy_BEGIN_ALLOW_THREADS
;
3666 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
3668 wxPy_END_ALLOW_THREADS
;
3670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3671 _resultobj
= Py_BuildValue("s",_ptemp
);
3674 _resultobj
= Py_None
;
3679 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
3680 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3682 wxPyPrintout
* _arg0
;
3687 PyObject
* _argo0
= 0;
3688 char *_kwnames
[] = { "self", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
3707 wxPy_BEGIN_ALLOW_THREADS
;
3708 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
3710 wxPy_END_ALLOW_THREADS
;
3711 } Py_INCREF(Py_None
);
3712 _resultobj
= Py_None
;
3715 o
= PyInt_FromLong((long) (*_arg1
));
3716 _resultobj
= t_output_helper(_resultobj
, o
);
3720 o
= PyInt_FromLong((long) (*_arg2
));
3721 _resultobj
= t_output_helper(_resultobj
, o
);
3726 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
3727 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
* _resultobj
;
3729 wxPyPrintout
* _arg0
;
3734 PyObject
* _argo0
= 0;
3735 char *_kwnames
[] = { "self", NULL
};
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
3747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
3754 wxPy_BEGIN_ALLOW_THREADS
;
3755 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
3757 wxPy_END_ALLOW_THREADS
;
3758 } Py_INCREF(Py_None
);
3759 _resultobj
= Py_None
;
3762 o
= PyInt_FromLong((long) (*_arg1
));
3763 _resultobj
= t_output_helper(_resultobj
, o
);
3767 o
= PyInt_FromLong((long) (*_arg2
));
3768 _resultobj
= t_output_helper(_resultobj
, o
);
3773 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
3774 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
* _resultobj
;
3776 wxPyPrintout
* _arg0
;
3781 PyObject
* _argo0
= 0;
3782 char *_kwnames
[] = { "self", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
3794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
3801 wxPy_BEGIN_ALLOW_THREADS
;
3802 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
3804 wxPy_END_ALLOW_THREADS
;
3805 } Py_INCREF(Py_None
);
3806 _resultobj
= Py_None
;
3809 o
= PyInt_FromLong((long) (*_arg1
));
3810 _resultobj
= t_output_helper(_resultobj
, o
);
3814 o
= PyInt_FromLong((long) (*_arg2
));
3815 _resultobj
= t_output_helper(_resultobj
, o
);
3820 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
3821 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
* _resultobj
;
3823 wxPyPrintout
* _arg0
;
3828 PyObject
* _argo0
= 0;
3829 char *_kwnames
[] = { "self", NULL
};
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
3841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
3848 wxPy_BEGIN_ALLOW_THREADS
;
3849 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
3851 wxPy_END_ALLOW_THREADS
;
3852 } Py_INCREF(Py_None
);
3853 _resultobj
= Py_None
;
3856 o
= PyInt_FromLong((long) (*_arg1
));
3857 _resultobj
= t_output_helper(_resultobj
, o
);
3861 o
= PyInt_FromLong((long) (*_arg2
));
3862 _resultobj
= t_output_helper(_resultobj
, o
);
3867 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
3868 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
* _resultobj
;
3871 wxPyPrintout
* _arg0
;
3872 PyObject
* _argo0
= 0;
3873 char *_kwnames
[] = { "self", NULL
};
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
3879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
3886 wxPy_BEGIN_ALLOW_THREADS
;
3887 _result
= (bool )wxPrintout_IsPreview(_arg0
);
3889 wxPy_END_ALLOW_THREADS
;
3890 } _resultobj
= Py_BuildValue("i",_result
);
3894 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
3895 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
* _resultobj
;
3898 wxPyPrintout
* _arg0
;
3901 PyObject
* _argo0
= 0;
3902 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
3915 wxPy_BEGIN_ALLOW_THREADS
;
3916 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
3918 wxPy_END_ALLOW_THREADS
;
3919 } _resultobj
= Py_BuildValue("i",_result
);
3923 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
3924 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
* _resultobj
;
3926 wxPyPrintout
* _arg0
;
3927 PyObject
* _argo0
= 0;
3928 char *_kwnames
[] = { "self", NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
3934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
3941 wxPy_BEGIN_ALLOW_THREADS
;
3942 wxPrintout_base_OnEndDocument(_arg0
);
3944 wxPy_END_ALLOW_THREADS
;
3945 } Py_INCREF(Py_None
);
3946 _resultobj
= Py_None
;
3950 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
3951 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
* _resultobj
;
3953 wxPyPrintout
* _arg0
;
3954 PyObject
* _argo0
= 0;
3955 char *_kwnames
[] = { "self", NULL
};
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
3961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
3968 wxPy_BEGIN_ALLOW_THREADS
;
3969 wxPrintout_base_OnBeginPrinting(_arg0
);
3971 wxPy_END_ALLOW_THREADS
;
3972 } Py_INCREF(Py_None
);
3973 _resultobj
= Py_None
;
3977 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
3978 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
* _resultobj
;
3980 wxPyPrintout
* _arg0
;
3981 PyObject
* _argo0
= 0;
3982 char *_kwnames
[] = { "self", NULL
};
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
3988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
3995 wxPy_BEGIN_ALLOW_THREADS
;
3996 wxPrintout_base_OnEndPrinting(_arg0
);
3998 wxPy_END_ALLOW_THREADS
;
3999 } Py_INCREF(Py_None
);
4000 _resultobj
= Py_None
;
4004 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4005 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
* _resultobj
;
4007 wxPyPrintout
* _arg0
;
4008 PyObject
* _argo0
= 0;
4009 char *_kwnames
[] = { "self", NULL
};
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
4015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4022 wxPy_BEGIN_ALLOW_THREADS
;
4023 wxPrintout_base_OnPreparePrinting(_arg0
);
4025 wxPy_END_ALLOW_THREADS
;
4026 } Py_INCREF(Py_None
);
4027 _resultobj
= Py_None
;
4031 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4032 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
* _resultobj
;
4034 wxPyPrintout
* _arg0
;
4043 PyObject
* _argo0
= 0;
4044 char *_kwnames
[] = { "self", NULL
};
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
4062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4069 wxPy_BEGIN_ALLOW_THREADS
;
4070 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4072 wxPy_END_ALLOW_THREADS
;
4073 } Py_INCREF(Py_None
);
4074 _resultobj
= Py_None
;
4077 o
= PyInt_FromLong((long) (*_arg1
));
4078 _resultobj
= t_output_helper(_resultobj
, o
);
4082 o
= PyInt_FromLong((long) (*_arg2
));
4083 _resultobj
= t_output_helper(_resultobj
, o
);
4087 o
= PyInt_FromLong((long) (*_arg3
));
4088 _resultobj
= t_output_helper(_resultobj
, o
);
4092 o
= PyInt_FromLong((long) (*_arg4
));
4093 _resultobj
= t_output_helper(_resultobj
, o
);
4098 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4099 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
* _resultobj
;
4102 wxPyPrintout
* _arg0
;
4104 PyObject
* _argo0
= 0;
4105 char *_kwnames
[] = { "self","page", NULL
};
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
4111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4118 wxPy_BEGIN_ALLOW_THREADS
;
4119 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
4121 wxPy_END_ALLOW_THREADS
;
4122 } _resultobj
= Py_BuildValue("i",_result
);
4126 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4127 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
* _resultobj
;
4129 wxPrinter
* _result
;
4130 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
4131 PyObject
* _argo0
= 0;
4132 char *_kwnames
[] = { "data", NULL
};
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
4139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
4141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4146 wxPy_BEGIN_ALLOW_THREADS
;
4147 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4149 wxPy_END_ALLOW_THREADS
;
4151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4152 _resultobj
= Py_BuildValue("s",_ptemp
);
4155 _resultobj
= Py_None
;
4160 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4161 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4164 PyObject
* _argo0
= 0;
4165 char *_kwnames
[] = { "self", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
4171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4178 wxPy_BEGIN_ALLOW_THREADS
;
4179 delete_wxPrinter(_arg0
);
4181 wxPy_END_ALLOW_THREADS
;
4182 } Py_INCREF(Py_None
);
4183 _resultobj
= Py_None
;
4187 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4188 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
* _resultobj
;
4192 wxPyPrintout
* _arg2
;
4193 PyObject
* _argo0
= 0;
4194 PyObject
* _argo1
= 0;
4195 PyObject
* _argo2
= 0;
4196 char *_kwnames
[] = { "self","parent","printout", NULL
};
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4216 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4217 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4223 wxPy_BEGIN_ALLOW_THREADS
;
4224 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4226 wxPy_END_ALLOW_THREADS
;
4227 } Py_INCREF(Py_None
);
4228 _resultobj
= Py_None
;
4232 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4233 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
* _resultobj
;
4235 wxPrintDialogData
* _result
;
4237 PyObject
* _argo0
= 0;
4238 char *_kwnames
[] = { "self", NULL
};
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4252 wxPy_BEGIN_ALLOW_THREADS
;
4253 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4254 _result
= (wxPrintDialogData
*) &_result_ref
;
4256 wxPy_END_ALLOW_THREADS
;
4258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4259 _resultobj
= Py_BuildValue("s",_ptemp
);
4262 _resultobj
= Py_None
;
4267 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4268 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
* _resultobj
;
4273 wxPyPrintout
* _arg2
;
4274 int _arg3
= (int ) TRUE
;
4275 PyObject
* _argo0
= 0;
4276 PyObject
* _argo1
= 0;
4277 PyObject
* _argo2
= 0;
4278 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4298 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4299 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4305 wxPy_BEGIN_ALLOW_THREADS
;
4306 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4308 wxPy_END_ALLOW_THREADS
;
4309 } _resultobj
= Py_BuildValue("i",_result
);
4313 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4314 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
* _resultobj
;
4319 PyObject
* _argo0
= 0;
4320 PyObject
* _argo1
= 0;
4321 char *_kwnames
[] = { "self","parent", NULL
};
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4335 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4336 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4342 wxPy_BEGIN_ALLOW_THREADS
;
4343 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
4345 wxPy_END_ALLOW_THREADS
;
4347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
4348 _resultobj
= Py_BuildValue("s",_ptemp
);
4351 _resultobj
= Py_None
;
4356 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4357 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
* _resultobj
;
4361 wxPyPrintout
* _arg2
;
4363 PyObject
* _argo0
= 0;
4364 PyObject
* _argo1
= 0;
4365 PyObject
* _argo2
= 0;
4366 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4386 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4387 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4393 wxPy_BEGIN_ALLOW_THREADS
;
4394 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
4396 wxPy_END_ALLOW_THREADS
;
4397 } Py_INCREF(Py_None
);
4398 _resultobj
= Py_None
;
4402 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4403 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
* _resultobj
;
4408 PyObject
* _argo0
= 0;
4409 PyObject
* _argo1
= 0;
4410 char *_kwnames
[] = { "self","parent", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
4416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4423 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4424 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4430 wxPy_BEGIN_ALLOW_THREADS
;
4431 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
4433 wxPy_END_ALLOW_THREADS
;
4434 } _resultobj
= Py_BuildValue("i",_result
);
4438 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
4439 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4441 wxPrintPreview
* _result
;
4442 wxPyPrintout
* _arg0
;
4443 wxPyPrintout
* _arg1
;
4444 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
4445 PyObject
* _argo0
= 0;
4446 PyObject
* _argo1
= 0;
4447 PyObject
* _argo2
= 0;
4448 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4469 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
4476 wxPy_BEGIN_ALLOW_THREADS
;
4477 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
4479 wxPy_END_ALLOW_THREADS
;
4481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
4482 _resultobj
= Py_BuildValue("s",_ptemp
);
4485 _resultobj
= Py_None
;
4490 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
4491 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
* _resultobj
;
4494 wxPrintPreview
* _arg0
;
4495 PyObject
* _argo0
= 0;
4496 char *_kwnames
[] = { "self", NULL
};
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
4503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
4510 wxPy_BEGIN_ALLOW_THREADS
;
4511 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
4513 wxPy_END_ALLOW_THREADS
;
4515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4516 _resultobj
= Py_BuildValue("s",_ptemp
);
4519 _resultobj
= Py_None
;
4524 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
4525 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
* _resultobj
;
4528 wxPrintPreview
* _arg0
;
4529 PyObject
* _argo0
= 0;
4530 char *_kwnames
[] = { "self", NULL
};
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
4536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
4543 wxPy_BEGIN_ALLOW_THREADS
;
4544 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
4546 wxPy_END_ALLOW_THREADS
;
4547 } _resultobj
= Py_BuildValue("i",_result
);
4551 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
4552 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
* _resultobj
;
4555 wxPrintPreview
* _arg0
;
4556 PyObject
* _argo0
= 0;
4557 char *_kwnames
[] = { "self", NULL
};
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
4564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
4571 wxPy_BEGIN_ALLOW_THREADS
;
4572 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
4574 wxPy_END_ALLOW_THREADS
;
4576 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
4577 _resultobj
= Py_BuildValue("s",_ptemp
);
4580 _resultobj
= Py_None
;
4585 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
4586 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
* _resultobj
;
4589 wxPrintPreview
* _arg0
;
4590 PyObject
* _argo0
= 0;
4591 char *_kwnames
[] = { "self", NULL
};
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
4597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
4604 wxPy_BEGIN_ALLOW_THREADS
;
4605 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
4607 wxPy_END_ALLOW_THREADS
;
4608 } _resultobj
= Py_BuildValue("i",_result
);
4612 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
4613 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
* _resultobj
;
4616 wxPrintPreview
* _arg0
;
4617 PyObject
* _argo0
= 0;
4618 char *_kwnames
[] = { "self", NULL
};
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
4624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
4631 wxPy_BEGIN_ALLOW_THREADS
;
4632 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
4634 wxPy_END_ALLOW_THREADS
;
4635 } _resultobj
= Py_BuildValue("i",_result
);
4639 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4640 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
* _resultobj
;
4642 wxPrintDialogData
* _result
;
4643 wxPrintPreview
* _arg0
;
4644 PyObject
* _argo0
= 0;
4645 char *_kwnames
[] = { "self", NULL
};
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
4652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
4659 wxPy_BEGIN_ALLOW_THREADS
;
4660 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
4661 _result
= (wxPrintDialogData
*) &_result_ref
;
4663 wxPy_END_ALLOW_THREADS
;
4665 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4666 _resultobj
= Py_BuildValue("s",_ptemp
);
4669 _resultobj
= Py_None
;
4674 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
4675 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
* _resultobj
;
4677 wxPyPrintout
* _result
;
4678 wxPrintPreview
* _arg0
;
4679 PyObject
* _argo0
= 0;
4680 char *_kwnames
[] = { "self", NULL
};
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
4687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
4694 wxPy_BEGIN_ALLOW_THREADS
;
4695 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
4697 wxPy_END_ALLOW_THREADS
;
4699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
4700 _resultobj
= Py_BuildValue("s",_ptemp
);
4703 _resultobj
= Py_None
;
4708 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
4709 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
* _resultobj
;
4711 wxPyPrintout
* _result
;
4712 wxPrintPreview
* _arg0
;
4713 PyObject
* _argo0
= 0;
4714 char *_kwnames
[] = { "self", NULL
};
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
4721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
4728 wxPy_BEGIN_ALLOW_THREADS
;
4729 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
4731 wxPy_END_ALLOW_THREADS
;
4733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
4734 _resultobj
= Py_BuildValue("s",_ptemp
);
4737 _resultobj
= Py_None
;
4742 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
4743 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
* _resultobj
;
4746 wxPrintPreview
* _arg0
;
4747 PyObject
* _argo0
= 0;
4748 char *_kwnames
[] = { "self", NULL
};
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
4754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
4761 wxPy_BEGIN_ALLOW_THREADS
;
4762 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
4764 wxPy_END_ALLOW_THREADS
;
4765 } _resultobj
= Py_BuildValue("i",_result
);
4769 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
4770 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
* _resultobj
;
4773 wxPrintPreview
* _arg0
;
4774 PyObject
* _argo0
= 0;
4775 char *_kwnames
[] = { "self", NULL
};
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
4781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
4788 wxPy_BEGIN_ALLOW_THREADS
;
4789 _result
= (bool )wxPrintPreview_Ok(_arg0
);
4791 wxPy_END_ALLOW_THREADS
;
4792 } _resultobj
= Py_BuildValue("i",_result
);
4796 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
4797 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
* _resultobj
;
4800 wxPrintPreview
* _arg0
;
4802 PyObject
* _argo0
= 0;
4804 char *_kwnames
[] = { "self","prompt", NULL
};
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
4810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
4816 _arg1
= (bool ) tempbool1
;
4818 wxPy_BEGIN_ALLOW_THREADS
;
4819 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
4821 wxPy_END_ALLOW_THREADS
;
4822 } _resultobj
= Py_BuildValue("i",_result
);
4826 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
4827 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
* _resultobj
;
4829 wxPrintPreview
* _arg0
;
4831 PyObject
* _argo0
= 0;
4832 PyObject
* _argo1
= 0;
4833 char *_kwnames
[] = { "self","window", NULL
};
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
4839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
4846 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4847 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
4853 wxPy_BEGIN_ALLOW_THREADS
;
4854 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
4856 wxPy_END_ALLOW_THREADS
;
4857 } Py_INCREF(Py_None
);
4858 _resultobj
= Py_None
;
4862 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
4863 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
* _resultobj
;
4865 wxPrintPreview
* _arg0
;
4867 PyObject
* _argo0
= 0;
4868 char *_kwnames
[] = { "self","pageNum", NULL
};
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
4874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
4881 wxPy_BEGIN_ALLOW_THREADS
;
4882 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
4884 wxPy_END_ALLOW_THREADS
;
4885 } Py_INCREF(Py_None
);
4886 _resultobj
= Py_None
;
4890 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
4891 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
* _resultobj
;
4893 wxPrintPreview
* _arg0
;
4895 PyObject
* _argo0
= 0;
4896 PyObject
* _argo1
= 0;
4897 char *_kwnames
[] = { "self","frame", NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
4903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
4910 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
4917 wxPy_BEGIN_ALLOW_THREADS
;
4918 wxPrintPreview_SetFrame(_arg0
,_arg1
);
4920 wxPy_END_ALLOW_THREADS
;
4921 } Py_INCREF(Py_None
);
4922 _resultobj
= Py_None
;
4926 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
4927 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4929 wxPrintPreview
* _arg0
;
4930 wxPyPrintout
* _arg1
;
4931 PyObject
* _argo0
= 0;
4932 PyObject
* _argo1
= 0;
4933 char *_kwnames
[] = { "self","printout", NULL
};
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
4939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
4946 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4947 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
4953 wxPy_BEGIN_ALLOW_THREADS
;
4954 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
4956 wxPy_END_ALLOW_THREADS
;
4957 } Py_INCREF(Py_None
);
4958 _resultobj
= Py_None
;
4962 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
4963 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
* _resultobj
;
4965 wxPrintPreview
* _arg0
;
4967 PyObject
* _argo0
= 0;
4968 char *_kwnames
[] = { "self","percent", NULL
};
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
4974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
4981 wxPy_BEGIN_ALLOW_THREADS
;
4982 wxPrintPreview_SetZoom(_arg0
,_arg1
);
4984 wxPy_END_ALLOW_THREADS
;
4985 } Py_INCREF(Py_None
);
4986 _resultobj
= Py_None
;
4990 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
4991 wxPreviewFrame
*src
;
4993 src
= (wxPreviewFrame
*) ptr
;
4994 dest
= (wxFrame
*) src
;
4995 return (void *) dest
;
4998 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
4999 wxPreviewFrame
*src
;
5001 src
= (wxPreviewFrame
*) ptr
;
5002 dest
= (wxWindow
*) src
;
5003 return (void *) dest
;
5006 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
5007 wxPreviewFrame
*src
;
5009 src
= (wxPreviewFrame
*) ptr
;
5010 dest
= (wxEvtHandler
*) src
;
5011 return (void *) dest
;
5014 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5015 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
* _resultobj
;
5017 wxPreviewFrame
* _result
;
5018 wxPrintPreview
* _arg0
;
5021 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5022 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5023 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
5024 char * _arg6
= (char *) "frame";
5025 PyObject
* _argo0
= 0;
5026 PyObject
* _argo1
= 0;
5027 PyObject
* _obj2
= 0;
5029 PyObject
* _obj3
= 0;
5031 PyObject
* _obj4
= 0;
5032 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
5046 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5047 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
5053 #if PYTHON_API_VERSION >= 1009
5054 char* tmpPtr
; int tmpSize
;
5055 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5056 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5059 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5061 _arg2
= new wxString(tmpPtr
, tmpSize
);
5063 if (!PyString_Check(_obj2
)) {
5064 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5067 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5073 if (! wxPoint_helper(_obj3
, &_arg3
))
5079 if (! wxSize_helper(_obj4
, &_arg4
))
5083 wxPy_BEGIN_ALLOW_THREADS
;
5084 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5086 wxPy_END_ALLOW_THREADS
;
5088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
5089 _resultobj
= Py_BuildValue("s",_ptemp
);
5092 _resultobj
= Py_None
;
5101 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
5102 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
* _resultobj
;
5104 wxPreviewFrame
* _arg0
;
5105 PyObject
* _argo0
= 0;
5106 char *_kwnames
[] = { "self", NULL
};
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
5112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
5114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
5119 wxPy_BEGIN_ALLOW_THREADS
;
5120 wxPreviewFrame_Initialize(_arg0
);
5122 wxPy_END_ALLOW_THREADS
;
5123 } Py_INCREF(Py_None
);
5124 _resultobj
= Py_None
;
5128 static PyMethodDef printfwcMethods
[] = {
5129 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5130 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
5131 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5132 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5133 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5134 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5135 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5136 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
5137 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5138 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5139 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5140 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5141 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5142 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5143 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5144 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5145 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5146 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5147 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
5148 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
5149 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
5150 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5151 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
5152 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5153 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
5154 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5155 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5156 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
5157 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
5158 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
5159 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5160 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5161 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
5162 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
5163 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
5164 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
5165 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5166 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
5167 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
5168 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
5169 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5170 { "wxPrintout__setSelf", (PyCFunction
) _wrap_wxPrintout__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
5171 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5172 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5173 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
5174 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5175 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5176 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5177 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5178 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5179 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5180 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5181 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5182 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5183 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5184 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5185 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5186 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5187 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5188 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5189 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5190 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5191 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5192 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5193 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5194 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
5195 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5196 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
5197 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5198 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5199 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5200 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5201 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
5202 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5203 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5204 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5205 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5206 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5207 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5208 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5209 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5210 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5211 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5212 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5213 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5214 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5215 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5216 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5217 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5218 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5219 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5220 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5221 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5222 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5223 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5224 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5225 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5226 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5227 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5228 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5229 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5230 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5231 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5232 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5233 { "new_wxPrinterDC2", (PyCFunction
) _wrap_new_wxPrinterDC2
, METH_VARARGS
| METH_KEYWORDS
},
5234 { "new_wxPrinterDC", (PyCFunction
) _wrap_new_wxPrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
5235 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5236 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
5237 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5238 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5239 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
5240 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5241 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5242 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5243 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5244 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5245 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5246 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5247 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5248 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5249 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5250 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5251 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5252 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5253 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5254 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5255 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5256 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5257 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5258 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5259 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5260 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5261 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
5262 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5263 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5264 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5265 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5266 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5267 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5268 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5269 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5270 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
5271 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5272 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5273 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5274 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5275 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5276 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5283 * This table is used by the pointer type-checker
5285 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5286 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5287 { "_wxEvent","_class_wxEvent",0},
5288 { "_class_wxActivateEvent","_wxActivateEvent",0},
5289 { "_signed_long","_long",0},
5290 { "_wxMenuEvent","_class_wxMenuEvent",0},
5291 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
5292 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
5293 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5294 { "_wxPrintQuality","_wxCoord",0},
5295 { "_wxPrintQuality","_int",0},
5296 { "_wxPrintQuality","_signed_int",0},
5297 { "_wxPrintQuality","_unsigned_int",0},
5298 { "_wxPrintQuality","_wxWindowID",0},
5299 { "_wxPrintQuality","_uint",0},
5300 { "_wxPrintQuality","_EBool",0},
5301 { "_wxPrintQuality","_size_t",0},
5302 { "_wxPrintQuality","_time_t",0},
5303 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
5304 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
5305 { "_wxFontData","_class_wxFontData",0},
5306 { "_class_wxRegionIterator","_wxRegionIterator",0},
5307 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
5308 { "_class_wxMenuBar","_wxMenuBar",0},
5309 { "_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5310 { "_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5311 { "_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5312 { "_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5313 { "_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5314 { "_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5315 { "_class_wxEvtHandler","_wxEvtHandler",0},
5316 { "_wxPaintEvent","_class_wxPaintEvent",0},
5317 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5318 { "_wxCursor","_class_wxCursor",0},
5319 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5320 { "_class_wxToolBarBase","_wxToolBarBase",0},
5321 { "_wxMask","_class_wxMask",0},
5322 { "_class_wxColourData","_wxColourData",0},
5323 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
5324 { "_wxPrinter","_class_wxPrinter",0},
5325 { "_wxPen","_class_wxPen",0},
5326 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5327 { "_byte","_unsigned_char",0},
5328 { "_wxDataObject","_class_wxDataObject",0},
5329 { "_wxStaticBox","_class_wxStaticBox",0},
5330 { "_wxColourDatabase","_class_wxColourDatabase",0},
5331 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
5332 { "_wxPyDropSource","_class_wxPyDropSource",0},
5333 { "_wxChoice","_class_wxChoice",0},
5334 { "_wxSlider","_class_wxSlider",0},
5335 { "_wxPyPrintout","_class_wxPyPrintout",0},
5336 { "_long","_unsigned_long",0},
5337 { "_long","_signed_long",0},
5338 { "_wxImageList","_class_wxImageList",0},
5339 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
5340 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5341 { "_wxBitmapButton","_class_wxBitmapButton",0},
5342 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
5343 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5344 { "_class_wxClipboard","_wxClipboard",0},
5345 { "_class_wxGauge","_wxGauge",0},
5346 { "_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
5347 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
5348 { "_wxDC","_class_wxDC",0},
5349 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
5350 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
5351 { "_wxProgressDialog","_class_wxProgressDialog",0},
5352 { "_wxPrintPreview","_class_wxPrintPreview",0},
5353 { "_wxSpinEvent","_class_wxSpinEvent",0},
5354 { "_size_t","_wxCoord",0},
5355 { "_size_t","_wxPrintQuality",0},
5356 { "_size_t","_time_t",0},
5357 { "_size_t","_unsigned_int",0},
5358 { "_size_t","_int",0},
5359 { "_size_t","_wxWindowID",0},
5360 { "_size_t","_uint",0},
5361 { "_class_wxRealPoint","_wxRealPoint",0},
5362 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5363 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5364 { "_wxPrinterDC","_class_wxPrinterDC",0},
5365 { "_class_wxMenuItem","_wxMenuItem",0},
5366 { "_class_wxPaintEvent","_wxPaintEvent",0},
5367 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5368 { "_class_wxStatusBar","_wxStatusBar",0},
5369 { "_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5370 { "_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5371 { "_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5372 { "_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5373 { "_wxPanel","_class_wxPanel",0},
5374 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5375 { "_wxCheckBox","_class_wxCheckBox",0},
5376 { "_wxPyEvent","_class_wxPyEvent",0},
5377 { "_wxTextCtrl","_class_wxTextCtrl",0},
5378 { "_class_wxMask","_wxMask",0},
5379 { "_wxTextDataObject","_class_wxTextDataObject",0},
5380 { "_class_wxKeyEvent","_wxKeyEvent",0},
5381 { "_wxColour","_class_wxColour",0},
5382 { "_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5383 { "_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5384 { "_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5385 { "_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5386 { "_class_wxDialog","_wxDialog",0},
5387 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
5388 { "_class_wxPrinter","_wxPrinter",0},
5389 { "_class_wxFileDataObject","_wxFileDataObject",0},
5390 { "_wxIdleEvent","_class_wxIdleEvent",0},
5391 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5392 { "_wxToolBar","_class_wxToolBar",0},
5393 { "_class_wxDataObject","_wxDataObject",0},
5394 { "_wxStaticLine","_class_wxStaticLine",0},
5395 { "_wxBrush","_class_wxBrush",0},
5396 { "_wxToggleButton","_class_wxToggleButton",0},
5397 { "_wxMiniFrame","_class_wxMiniFrame",0},
5398 { "_class_wxPyPrintout","_wxPyPrintout",0},
5399 { "_wxDataFormat","_class_wxDataFormat",0},
5400 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
5401 { "_wxShowEvent","_class_wxShowEvent",0},
5402 { "_uint","_wxCoord",0},
5403 { "_uint","_wxPrintQuality",0},
5404 { "_uint","_time_t",0},
5405 { "_uint","_size_t",0},
5406 { "_uint","_unsigned_int",0},
5407 { "_uint","_int",0},
5408 { "_uint","_wxWindowID",0},
5409 { "_wxChar","_char",0},
5410 { "_wxPyValidator","_class_wxPyValidator",0},
5411 { "_class_wxEvent","_wxEvent",0},
5412 { "_wxCheckListBox","_class_wxCheckListBox",0},
5413 { "_wxRect","_class_wxRect",0},
5414 { "_wxCommandEvent","_class_wxCommandEvent",0},
5415 { "_wxSizeEvent","_class_wxSizeEvent",0},
5416 { "_wxPoint","_class_wxPoint",0},
5417 { "_class_wxButton","_wxButton",0},
5418 { "_wxRadioBox","_class_wxRadioBox",0},
5419 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
5420 { "_class_wxFontData","_wxFontData",0},
5421 { "_char","_wxChar",0},
5422 { "_wxBitmap","_class_wxBitmap",0},
5423 { "_wxPenList","_class_wxPenList",0},
5424 { "_wxPrintDialog","_class_wxPrintDialog",0},
5425 { "_wxWindowDC","_class_wxWindowDC",0},
5426 { "_wxTimerEvent","_class_wxTimerEvent",0},
5427 { "_wxScrollBar","_class_wxScrollBar",0},
5428 { "_wxSpinButton","_class_wxSpinButton",0},
5429 { "_wxColourDialog","_class_wxColourDialog",0},
5430 { "_wxPrintData","_class_wxPrintData",0},
5431 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5432 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5433 { "_wxMessageDialog","_class_wxMessageDialog",0},
5434 { "_class_wxValidator","_wxValidator",0},
5435 { "_class_wxPyEvent","_wxPyEvent",0},
5436 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
5437 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5438 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5439 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
5440 { "_class_wxToolBar","_wxToolBar",0},
5441 { "_wxDropTarget","_class_wxDropTarget",0},
5442 { "_class_wxStaticLine","_wxStaticLine",0},
5443 { "_class_wxColourDatabase","_wxColourDatabase",0},
5444 { "_wxScrollEvent","_class_wxScrollEvent",0},
5445 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
5446 { "_EBool","_wxCoord",0},
5447 { "_EBool","_wxPrintQuality",0},
5448 { "_EBool","_signed_int",0},
5449 { "_EBool","_int",0},
5450 { "_EBool","_wxWindowID",0},
5451 { "_class_wxRegion","_wxRegion",0},
5452 { "_class_wxDataFormat","_wxDataFormat",0},
5453 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5454 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5455 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
5456 { "_wxStaticText","_class_wxStaticText",0},
5457 { "_wxFont","_class_wxFont",0},
5458 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
5459 { "_wxCloseEvent","_class_wxCloseEvent",0},
5460 { "_unsigned_long","_long",0},
5461 { "_class_wxRect","_wxRect",0},
5462 { "_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
5463 { "_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
5464 { "_class_wxDC","_wxDC",0},
5465 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5466 { "_class_wxProgressDialog","_wxProgressDialog",0},
5467 { "_class_wxBrushList","_wxBrushList",0},
5468 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5469 { "_class_wxPenList","_wxPenList",0},
5470 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5471 { "_class_wxDirDialog","_wxDirDialog",0},
5472 { "_wxFocusEvent","_class_wxFocusEvent",0},
5473 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5474 { "_class_wxTimerEvent","_wxTimerEvent",0},
5475 { "_class_wxSpinButton","_wxSpinButton",0},
5476 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5477 { "_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5478 { "_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5479 { "_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5480 { "_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5481 { "_class_wxPanel","_wxPanel",0},
5482 { "_class_wxCheckBox","_wxCheckBox",0},
5483 { "_wxComboBox","_class_wxComboBox",0},
5484 { "_wxRadioButton","_class_wxRadioButton",0},
5485 { "_class_wxMessageDialog","_wxMessageDialog",0},
5486 { "_signed_int","_wxCoord",0},
5487 { "_signed_int","_wxPrintQuality",0},
5488 { "_signed_int","_EBool",0},
5489 { "_signed_int","_wxWindowID",0},
5490 { "_signed_int","_int",0},
5491 { "_class_wxTextCtrl","_wxTextCtrl",0},
5492 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5493 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
5494 { "_class_wxTextDataObject","_wxTextDataObject",0},
5495 { "_wxMenu","_class_wxMenu",0},
5496 { "_class_wxMoveEvent","_wxMoveEvent",0},
5497 { "_wxListBox","_class_wxListBox",0},
5498 { "_wxScreenDC","_class_wxScreenDC",0},
5499 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
5500 { "_WXTYPE","_short",0},
5501 { "_WXTYPE","_signed_short",0},
5502 { "_WXTYPE","_unsigned_short",0},
5503 { "_wxFileDialog","_class_wxFileDialog",0},
5504 { "_class_wxDropTarget","_wxDropTarget",0},
5505 { "_class_wxBrush","_wxBrush",0},
5506 { "_unsigned_short","_WXTYPE",0},
5507 { "_unsigned_short","_short",0},
5508 { "_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5509 { "_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5510 { "_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5511 { "_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5512 { "_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5513 { "_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5514 { "_class_wxWindow","_wxWindow",0},
5515 { "_class_wxStaticText","_wxStaticText",0},
5516 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
5517 { "_class_wxFont","_wxFont",0},
5518 { "_wxClipboard","_class_wxClipboard",0},
5519 { "_class_wxPyValidator","_wxPyValidator",0},
5520 { "_class_wxCloseEvent","_wxCloseEvent",0},
5521 { "_wxBusyInfo","_class_wxBusyInfo",0},
5522 { "_wxFontList","_class_wxFontList",0},
5523 { "_class_wxMenuEvent","_wxMenuEvent",0},
5524 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5525 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
5526 { "_wxClientDC","_class_wxClientDC",0},
5527 { "_wxMouseEvent","_class_wxMouseEvent",0},
5528 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
5529 { "_class_wxPoint","_wxPoint",0},
5530 { "_wxRealPoint","_class_wxRealPoint",0},
5531 { "_class_wxRadioBox","_wxRadioBox",0},
5532 { "_signed_short","_WXTYPE",0},
5533 { "_signed_short","_short",0},
5534 { "_wxMemoryDC","_class_wxMemoryDC",0},
5535 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
5536 { "_class_wxPrintDialog","_wxPrintDialog",0},
5537 { "_wxPaintDC","_class_wxPaintDC",0},
5538 { "_class_wxWindowDC","_wxWindowDC",0},
5539 { "_class_wxFocusEvent","_wxFocusEvent",0},
5540 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5541 { "_wxStatusBar","_class_wxStatusBar",0},
5542 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5543 { "_class_wxCursor","_wxCursor",0},
5544 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
5545 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5546 { "_unsigned_char","_byte",0},
5547 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
5548 { "_class_wxMenu","_wxMenu",0},
5549 { "_wxControl","_class_wxControl",0},
5550 { "_class_wxListBox","_wxListBox",0},
5551 { "_unsigned_int","_wxCoord",0},
5552 { "_unsigned_int","_wxPrintQuality",0},
5553 { "_unsigned_int","_time_t",0},
5554 { "_unsigned_int","_size_t",0},
5555 { "_unsigned_int","_uint",0},
5556 { "_unsigned_int","_wxWindowID",0},
5557 { "_unsigned_int","_int",0},
5558 { "_wxIcon","_class_wxIcon",0},
5559 { "_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5560 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5561 { "_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5562 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5563 { "_wxDialog","_class_wxDialog",0},
5564 { "_class_wxPen","_wxPen",0},
5565 { "_class_wxFileDialog","_wxFileDialog",0},
5566 { "_short","_WXTYPE",0},
5567 { "_short","_unsigned_short",0},
5568 { "_short","_signed_short",0},
5569 { "_class_wxStaticBox","_wxStaticBox",0},
5570 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
5571 { "_class_wxPyDropSource","_wxPyDropSource",0},
5572 { "_class_wxScrollEvent","_wxScrollEvent",0},
5573 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5574 { "_class_wxChoice","_wxChoice",0},
5575 { "_class_wxSlider","_wxSlider",0},
5576 { "_class_wxImageList","_wxImageList",0},
5577 { "_class_wxBitmapButton","_wxBitmapButton",0},
5578 { "_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5579 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5580 { "_wxFrame","_class_wxFrame",0},
5581 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5582 { "_wxWindowID","_wxCoord",0},
5583 { "_wxWindowID","_wxPrintQuality",0},
5584 { "_wxWindowID","_time_t",0},
5585 { "_wxWindowID","_size_t",0},
5586 { "_wxWindowID","_EBool",0},
5587 { "_wxWindowID","_uint",0},
5588 { "_wxWindowID","_int",0},
5589 { "_wxWindowID","_signed_int",0},
5590 { "_wxWindowID","_unsigned_int",0},
5591 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5592 { "_int","_wxCoord",0},
5593 { "_int","_wxPrintQuality",0},
5594 { "_int","_time_t",0},
5595 { "_int","_size_t",0},
5596 { "_int","_EBool",0},
5597 { "_int","_uint",0},
5598 { "_int","_wxWindowID",0},
5599 { "_int","_unsigned_int",0},
5600 { "_int","_signed_int",0},
5601 { "_class_wxMouseEvent","_wxMouseEvent",0},
5602 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5603 { "_class_wxPrintPreview","_wxPrintPreview",0},
5604 { "_class_wxSpinEvent","_wxSpinEvent",0},
5605 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5606 { "_time_t","_wxCoord",0},
5607 { "_time_t","_wxPrintQuality",0},
5608 { "_time_t","_unsigned_int",0},
5609 { "_time_t","_int",0},
5610 { "_time_t","_wxWindowID",0},
5611 { "_time_t","_uint",0},
5612 { "_time_t","_size_t",0},
5613 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5614 { "_wxButton","_class_wxButton",0},
5615 { "_wxSize","_class_wxSize",0},
5616 { "_wxRegionIterator","_class_wxRegionIterator",0},
5617 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
5618 { "_class_wxPrinterDC","_wxPrinterDC",0},
5619 { "_class_wxPaintDC","_wxPaintDC",0},
5620 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5621 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
5622 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5623 { "_class_wxComboBox","_wxComboBox",0},
5624 { "_class_wxRadioButton","_wxRadioButton",0},
5625 { "_wxValidator","_class_wxValidator",0},
5626 { "_wxToolBarBase","_class_wxToolBarBase",0},
5627 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5628 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5629 { "_class_wxControl","_wxControl",0},
5630 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5631 { "_class_wxIcon","_wxIcon",0},
5632 { "_class_wxColour","_wxColour",0},
5633 { "_class_wxScreenDC","_wxScreenDC",0},
5634 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
5635 { "_wxPalette","_class_wxPalette",0},
5636 { "_class_wxIdleEvent","_wxIdleEvent",0},
5637 { "_wxCoord","_int",0},
5638 { "_wxCoord","_signed_int",0},
5639 { "_wxCoord","_unsigned_int",0},
5640 { "_wxCoord","_wxWindowID",0},
5641 { "_wxCoord","_uint",0},
5642 { "_wxCoord","_EBool",0},
5643 { "_wxCoord","_size_t",0},
5644 { "_wxCoord","_time_t",0},
5645 { "_wxCoord","_wxPrintQuality",0},
5646 { "_wxEraseEvent","_class_wxEraseEvent",0},
5647 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
5648 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5649 { "_class_wxToggleButton","_wxToggleButton",0},
5650 { "_class_wxMiniFrame","_wxMiniFrame",0},
5651 { "_wxFontDialog","_class_wxFontDialog",0},
5652 { "_wxRegion","_class_wxRegion",0},
5653 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
5654 { "_class_wxShowEvent","_wxShowEvent",0},
5655 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
5656 { "_wxActivateEvent","_class_wxActivateEvent",0},
5657 { "_wxGauge","_class_wxGauge",0},
5658 { "_class_wxCheckListBox","_wxCheckListBox",0},
5659 { "_class_wxBusyInfo","_wxBusyInfo",0},
5660 { "_class_wxFontList","_wxFontList",0},
5661 { "_class_wxCommandEvent","_wxCommandEvent",0},
5662 { "_class_wxClientDC","_wxClientDC",0},
5663 { "_class_wxSizeEvent","_wxSizeEvent",0},
5664 { "_wxBrushList","_class_wxBrushList",0},
5665 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
5666 { "_class_wxSize","_wxSize",0},
5667 { "_class_wxBitmap","_wxBitmap",0},
5668 { "_class_wxMemoryDC","_wxMemoryDC",0},
5669 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
5670 { "_wxMenuBar","_class_wxMenuBar",0},
5671 { "_wxDirDialog","_class_wxDirDialog",0},
5672 { "_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5673 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5674 { "_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5675 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5676 { "_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5677 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5678 { "_wxEvtHandler","_class_wxEvtHandler",0},
5679 { "_wxMenuItem","_class_wxMenuItem",0},
5680 { "_class_wxScrollBar","_wxScrollBar",0},
5681 { "_class_wxColourDialog","_wxColourDialog",0},
5682 { "_class_wxPrintData","_wxPrintData",0},
5683 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5684 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
5685 { "_wxKeyEvent","_class_wxKeyEvent",0},
5686 { "_wxMoveEvent","_class_wxMoveEvent",0},
5687 { "_wxColourData","_class_wxColourData",0},
5688 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
5689 { "_class_wxPalette","_wxPalette",0},
5690 { "_wxFileDataObject","_class_wxFileDataObject",0},
5691 { "_class_wxEraseEvent","_wxEraseEvent",0},
5692 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
5693 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
5694 { "_class_wxFontDialog","_wxFontDialog",0},
5695 { "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5696 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5697 { "_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5698 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5699 { "_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5700 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5701 { "_wxWindow","_class_wxWindow",0},
5702 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5703 { "_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5704 { "_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5705 { "_class_wxFrame","_wxFrame",0},
5708 static PyObject
*SWIG_globals
;
5712 SWIGEXPORT(void) initprintfwc() {
5714 SWIG_globals
= SWIG_newvarlink();
5715 m
= Py_InitModule("printfwc", printfwcMethods
);
5716 d
= PyModule_GetDict(m
);
5719 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5720 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);