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 static void *SwigwxPrintDataTowxObject(void *ptr
) {
179 src
= (wxPrintData
*) ptr
;
180 dest
= (wxObject
*) src
;
181 return (void *) dest
;
184 #define new_wxPrintData() (new wxPrintData())
185 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
186 PyObject
* _resultobj
;
187 wxPrintData
* _result
;
188 char *_kwnames
[] = { NULL
};
192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
195 wxPy_BEGIN_ALLOW_THREADS
;
196 _result
= (wxPrintData
*)new_wxPrintData();
198 wxPy_END_ALLOW_THREADS
;
200 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
201 _resultobj
= Py_BuildValue("s",_ptemp
);
204 _resultobj
= Py_None
;
209 #define delete_wxPrintData(_swigobj) (delete _swigobj)
210 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
211 PyObject
* _resultobj
;
213 PyObject
* _argo0
= 0;
214 char *_kwnames
[] = { "self", NULL
};
217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
227 wxPy_BEGIN_ALLOW_THREADS
;
228 delete_wxPrintData(_arg0
);
230 wxPy_END_ALLOW_THREADS
;
231 } Py_INCREF(Py_None
);
232 _resultobj
= Py_None
;
236 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
237 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
238 PyObject
* _resultobj
;
241 PyObject
* _argo0
= 0;
242 char *_kwnames
[] = { "self", NULL
};
245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
255 wxPy_BEGIN_ALLOW_THREADS
;
256 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
258 wxPy_END_ALLOW_THREADS
;
259 } _resultobj
= Py_BuildValue("i",_result
);
263 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
264 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
265 PyObject
* _resultobj
;
268 PyObject
* _argo0
= 0;
269 char *_kwnames
[] = { "self", NULL
};
272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
282 wxPy_BEGIN_ALLOW_THREADS
;
283 _result
= (bool )wxPrintData_GetCollate(_arg0
);
285 wxPy_END_ALLOW_THREADS
;
286 } _resultobj
= Py_BuildValue("i",_result
);
290 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
291 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
292 PyObject
* _resultobj
;
295 PyObject
* _argo0
= 0;
296 char *_kwnames
[] = { "self", NULL
};
299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
309 wxPy_BEGIN_ALLOW_THREADS
;
310 _result
= (int )wxPrintData_GetOrientation(_arg0
);
312 wxPy_END_ALLOW_THREADS
;
313 } _resultobj
= Py_BuildValue("i",_result
);
317 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
318 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
319 PyObject
* _resultobj
;
322 PyObject
* _argo0
= 0;
323 char *_kwnames
[] = { "self", NULL
};
326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
336 wxPy_BEGIN_ALLOW_THREADS
;
337 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
338 _result
= (wxString
*) &_result_ref
;
340 wxPy_END_ALLOW_THREADS
;
342 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
347 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
348 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
349 PyObject
* _resultobj
;
352 PyObject
* _argo0
= 0;
353 char *_kwnames
[] = { "self", NULL
};
356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
366 wxPy_BEGIN_ALLOW_THREADS
;
367 _result
= (bool )wxPrintData_GetColour(_arg0
);
369 wxPy_END_ALLOW_THREADS
;
370 } _resultobj
= Py_BuildValue("i",_result
);
374 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
375 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
376 PyObject
* _resultobj
;
377 wxDuplexMode _result
;
379 PyObject
* _argo0
= 0;
380 char *_kwnames
[] = { "self", NULL
};
383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
393 wxPy_BEGIN_ALLOW_THREADS
;
394 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
396 wxPy_END_ALLOW_THREADS
;
397 } _resultobj
= Py_BuildValue("i",_result
);
401 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
402 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
403 PyObject
* _resultobj
;
406 PyObject
* _argo0
= 0;
407 char *_kwnames
[] = { "self", NULL
};
410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
420 wxPy_BEGIN_ALLOW_THREADS
;
421 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
423 wxPy_END_ALLOW_THREADS
;
424 } _resultobj
= Py_BuildValue("i",_result
);
428 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
429 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
430 PyObject
* _resultobj
;
433 PyObject
* _argo0
= 0;
434 char *_kwnames
[] = { "self", NULL
};
438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
448 wxPy_BEGIN_ALLOW_THREADS
;
449 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
450 _result
= (wxSize
*) &_result_ref
;
452 wxPy_END_ALLOW_THREADS
;
454 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
455 _resultobj
= Py_BuildValue("s",_ptemp
);
458 _resultobj
= Py_None
;
463 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
464 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 PyObject
* _resultobj
;
466 wxPrintQuality _result
;
468 PyObject
* _argo0
= 0;
469 char *_kwnames
[] = { "self", NULL
};
472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
482 wxPy_BEGIN_ALLOW_THREADS
;
483 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
485 wxPy_END_ALLOW_THREADS
;
486 } _resultobj
= Py_BuildValue("i",_result
);
490 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
491 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
492 PyObject
* _resultobj
;
495 PyObject
* _argo0
= 0;
496 char *_kwnames
[] = { "self","v", NULL
};
499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
509 wxPy_BEGIN_ALLOW_THREADS
;
510 wxPrintData_SetNoCopies(_arg0
,_arg1
);
512 wxPy_END_ALLOW_THREADS
;
513 } Py_INCREF(Py_None
);
514 _resultobj
= Py_None
;
518 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
519 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
523 PyObject
* _argo0
= 0;
525 char *_kwnames
[] = { "self","flag", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
537 _arg1
= (bool ) tempbool1
;
539 wxPy_BEGIN_ALLOW_THREADS
;
540 wxPrintData_SetCollate(_arg0
,_arg1
);
542 wxPy_END_ALLOW_THREADS
;
543 } Py_INCREF(Py_None
);
544 _resultobj
= Py_None
;
548 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
549 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 PyObject
* _resultobj
;
553 PyObject
* _argo0
= 0;
554 char *_kwnames
[] = { "self","orient", NULL
};
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
567 wxPy_BEGIN_ALLOW_THREADS
;
568 wxPrintData_SetOrientation(_arg0
,_arg1
);
570 wxPy_END_ALLOW_THREADS
;
571 } Py_INCREF(Py_None
);
572 _resultobj
= Py_None
;
576 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
577 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
578 PyObject
* _resultobj
;
581 PyObject
* _argo0
= 0;
582 PyObject
* _obj1
= 0;
583 char *_kwnames
[] = { "self","name", NULL
};
586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
596 #if PYTHON_API_VERSION >= 1009
597 char* tmpPtr
; int tmpSize
;
598 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
599 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
602 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
604 _arg1
= new wxString(tmpPtr
, tmpSize
);
606 if (!PyString_Check(_obj1
)) {
607 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
610 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
614 wxPy_BEGIN_ALLOW_THREADS
;
615 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
617 wxPy_END_ALLOW_THREADS
;
618 } Py_INCREF(Py_None
);
619 _resultobj
= Py_None
;
627 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
628 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
629 PyObject
* _resultobj
;
632 PyObject
* _argo0
= 0;
634 char *_kwnames
[] = { "self","colour", NULL
};
637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
646 _arg1
= (bool ) tempbool1
;
648 wxPy_BEGIN_ALLOW_THREADS
;
649 wxPrintData_SetColour(_arg0
,_arg1
);
651 wxPy_END_ALLOW_THREADS
;
652 } Py_INCREF(Py_None
);
653 _resultobj
= Py_None
;
657 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
658 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
662 PyObject
* _argo0
= 0;
663 char *_kwnames
[] = { "self","duplex", NULL
};
666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
676 wxPy_BEGIN_ALLOW_THREADS
;
677 wxPrintData_SetDuplex(_arg0
,_arg1
);
679 wxPy_END_ALLOW_THREADS
;
680 } Py_INCREF(Py_None
);
681 _resultobj
= Py_None
;
685 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
686 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
687 PyObject
* _resultobj
;
690 PyObject
* _argo0
= 0;
691 char *_kwnames
[] = { "self","sizeId", NULL
};
694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
704 wxPy_BEGIN_ALLOW_THREADS
;
705 wxPrintData_SetPaperId(_arg0
,_arg1
);
707 wxPy_END_ALLOW_THREADS
;
708 } Py_INCREF(Py_None
);
709 _resultobj
= Py_None
;
713 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
714 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
715 PyObject
* _resultobj
;
718 PyObject
* _argo0
= 0;
720 PyObject
* _obj1
= 0;
721 char *_kwnames
[] = { "self","sz", NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
735 if (! wxSize_helper(_obj1
, &_arg1
))
739 wxPy_BEGIN_ALLOW_THREADS
;
740 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
742 wxPy_END_ALLOW_THREADS
;
743 } Py_INCREF(Py_None
);
744 _resultobj
= Py_None
;
748 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
749 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
750 PyObject
* _resultobj
;
752 wxPrintQuality _arg1
;
753 PyObject
* _argo0
= 0;
754 char *_kwnames
[] = { "self","quality", NULL
};
757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
767 wxPy_BEGIN_ALLOW_THREADS
;
768 wxPrintData_SetQuality(_arg0
,_arg1
);
770 wxPy_END_ALLOW_THREADS
;
771 } Py_INCREF(Py_None
);
772 _resultobj
= Py_None
;
776 #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
777 static PyObject
*_wrap_wxPrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
778 PyObject
* _resultobj
;
781 PyObject
* _argo0
= 0;
782 char *_kwnames
[] = { "self", NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterCommand",_kwnames
,&_argo0
))
788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
795 wxPy_BEGIN_ALLOW_THREADS
;
796 const wxString
& _result_ref
= wxPrintData_GetPrinterCommand(_arg0
);
797 _result
= (wxString
*) &_result_ref
;
799 wxPy_END_ALLOW_THREADS
;
801 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
806 #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
807 static PyObject
*_wrap_wxPrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
811 PyObject
* _argo0
= 0;
812 char *_kwnames
[] = { "self", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterOptions",_kwnames
,&_argo0
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
825 wxPy_BEGIN_ALLOW_THREADS
;
826 const wxString
& _result_ref
= wxPrintData_GetPrinterOptions(_arg0
);
827 _result
= (wxString
*) &_result_ref
;
829 wxPy_END_ALLOW_THREADS
;
831 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
836 #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
837 static PyObject
*_wrap_wxPrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
838 PyObject
* _resultobj
;
841 PyObject
* _argo0
= 0;
842 char *_kwnames
[] = { "self", NULL
};
845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPreviewCommand",_kwnames
,&_argo0
))
848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
855 wxPy_BEGIN_ALLOW_THREADS
;
856 const wxString
& _result_ref
= wxPrintData_GetPreviewCommand(_arg0
);
857 _result
= (wxString
*) &_result_ref
;
859 wxPy_END_ALLOW_THREADS
;
861 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
866 #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
867 static PyObject
*_wrap_wxPrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
868 PyObject
* _resultobj
;
871 PyObject
* _argo0
= 0;
872 char *_kwnames
[] = { "self", NULL
};
875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFilename",_kwnames
,&_argo0
))
878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p.");
885 wxPy_BEGIN_ALLOW_THREADS
;
886 const wxString
& _result_ref
= wxPrintData_GetFilename(_arg0
);
887 _result
= (wxString
*) &_result_ref
;
889 wxPy_END_ALLOW_THREADS
;
891 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
896 #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
897 static PyObject
*_wrap_wxPrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
901 PyObject
* _argo0
= 0;
902 char *_kwnames
[] = { "self", NULL
};
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFontMetricPath",_kwnames
,&_argo0
))
908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
915 wxPy_BEGIN_ALLOW_THREADS
;
916 const wxString
& _result_ref
= wxPrintData_GetFontMetricPath(_arg0
);
917 _result
= (wxString
*) &_result_ref
;
919 wxPy_END_ALLOW_THREADS
;
921 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
926 #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
927 static PyObject
*_wrap_wxPrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
928 PyObject
* _resultobj
;
931 PyObject
* _argo0
= 0;
932 char *_kwnames
[] = { "self", NULL
};
935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleX",_kwnames
,&_argo0
))
938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
945 wxPy_BEGIN_ALLOW_THREADS
;
946 _result
= (double )wxPrintData_GetPrinterScaleX(_arg0
);
948 wxPy_END_ALLOW_THREADS
;
949 } _resultobj
= Py_BuildValue("d",_result
);
953 #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
954 static PyObject
*_wrap_wxPrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
958 PyObject
* _argo0
= 0;
959 char *_kwnames
[] = { "self", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleY",_kwnames
,&_argo0
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
972 wxPy_BEGIN_ALLOW_THREADS
;
973 _result
= (double )wxPrintData_GetPrinterScaleY(_arg0
);
975 wxPy_END_ALLOW_THREADS
;
976 } _resultobj
= Py_BuildValue("d",_result
);
980 #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
981 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 PyObject
* _resultobj
;
985 PyObject
* _argo0
= 0;
986 char *_kwnames
[] = { "self", NULL
};
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateX",_kwnames
,&_argo0
))
992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
999 wxPy_BEGIN_ALLOW_THREADS
;
1000 _result
= (long )wxPrintData_GetPrinterTranslateX(_arg0
);
1002 wxPy_END_ALLOW_THREADS
;
1003 } _resultobj
= Py_BuildValue("l",_result
);
1007 #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
1008 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1011 wxPrintData
* _arg0
;
1012 PyObject
* _argo0
= 0;
1013 char *_kwnames
[] = { "self", NULL
};
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateY",_kwnames
,&_argo0
))
1019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1026 wxPy_BEGIN_ALLOW_THREADS
;
1027 _result
= (long )wxPrintData_GetPrinterTranslateY(_arg0
);
1029 wxPy_END_ALLOW_THREADS
;
1030 } _resultobj
= Py_BuildValue("l",_result
);
1034 #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1035 static PyObject
*_wrap_wxPrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1036 PyObject
* _resultobj
;
1037 wxPrintMode
* _result
;
1038 wxPrintData
* _arg0
;
1039 PyObject
* _argo0
= 0;
1040 char *_kwnames
[] = { "self", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrintMode",_kwnames
,&_argo0
))
1047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1054 wxPy_BEGIN_ALLOW_THREADS
;
1055 _result
= new wxPrintMode (wxPrintData_GetPrintMode(_arg0
));
1057 wxPy_END_ALLOW_THREADS
;
1058 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPrintMode_p");
1059 _resultobj
= Py_BuildValue("s",_ptemp
);
1063 #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1064 static PyObject
*_wrap_wxPrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1066 wxPrintData
* _arg0
;
1068 PyObject
* _argo0
= 0;
1069 PyObject
* _obj1
= 0;
1070 char *_kwnames
[] = { "self","command", NULL
};
1073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterCommand",_kwnames
,&_argo0
,&_obj1
))
1076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1083 #if PYTHON_API_VERSION >= 1009
1084 char* tmpPtr
; int tmpSize
;
1085 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1086 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1089 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1091 _arg1
= new wxString(tmpPtr
, tmpSize
);
1093 if (!PyString_Check(_obj1
)) {
1094 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1097 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1101 wxPy_BEGIN_ALLOW_THREADS
;
1102 wxPrintData_SetPrinterCommand(_arg0
,*_arg1
);
1104 wxPy_END_ALLOW_THREADS
;
1105 } Py_INCREF(Py_None
);
1106 _resultobj
= Py_None
;
1114 #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1115 static PyObject
*_wrap_wxPrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1117 wxPrintData
* _arg0
;
1119 PyObject
* _argo0
= 0;
1120 PyObject
* _obj1
= 0;
1121 char *_kwnames
[] = { "self","options", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterOptions",_kwnames
,&_argo0
,&_obj1
))
1127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1134 #if PYTHON_API_VERSION >= 1009
1135 char* tmpPtr
; int tmpSize
;
1136 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1140 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1142 _arg1
= new wxString(tmpPtr
, tmpSize
);
1144 if (!PyString_Check(_obj1
)) {
1145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1148 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1152 wxPy_BEGIN_ALLOW_THREADS
;
1153 wxPrintData_SetPrinterOptions(_arg0
,*_arg1
);
1155 wxPy_END_ALLOW_THREADS
;
1156 } Py_INCREF(Py_None
);
1157 _resultobj
= Py_None
;
1165 #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1166 static PyObject
*_wrap_wxPrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
* _resultobj
;
1168 wxPrintData
* _arg0
;
1170 PyObject
* _argo0
= 0;
1171 PyObject
* _obj1
= 0;
1172 char *_kwnames
[] = { "self","command", NULL
};
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPreviewCommand",_kwnames
,&_argo0
,&_obj1
))
1178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1185 #if PYTHON_API_VERSION >= 1009
1186 char* tmpPtr
; int tmpSize
;
1187 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1188 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1191 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1193 _arg1
= new wxString(tmpPtr
, tmpSize
);
1195 if (!PyString_Check(_obj1
)) {
1196 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1199 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1203 wxPy_BEGIN_ALLOW_THREADS
;
1204 wxPrintData_SetPreviewCommand(_arg0
,*_arg1
);
1206 wxPy_END_ALLOW_THREADS
;
1207 } Py_INCREF(Py_None
);
1208 _resultobj
= Py_None
;
1216 #define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1217 static PyObject
*_wrap_wxPrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1219 wxPrintData
* _arg0
;
1221 PyObject
* _argo0
= 0;
1222 PyObject
* _obj1
= 0;
1223 char *_kwnames
[] = { "self","filename", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p.");
1236 #if PYTHON_API_VERSION >= 1009
1237 char* tmpPtr
; int tmpSize
;
1238 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1239 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1242 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1244 _arg1
= new wxString(tmpPtr
, tmpSize
);
1246 if (!PyString_Check(_obj1
)) {
1247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1250 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1254 wxPy_BEGIN_ALLOW_THREADS
;
1255 wxPrintData_SetFilename(_arg0
,*_arg1
);
1257 wxPy_END_ALLOW_THREADS
;
1258 } Py_INCREF(Py_None
);
1259 _resultobj
= Py_None
;
1267 #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1268 static PyObject
*_wrap_wxPrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
* _resultobj
;
1270 wxPrintData
* _arg0
;
1272 PyObject
* _argo0
= 0;
1273 PyObject
* _obj1
= 0;
1274 char *_kwnames
[] = { "self","path", NULL
};
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFontMetricPath",_kwnames
,&_argo0
,&_obj1
))
1280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1287 #if PYTHON_API_VERSION >= 1009
1288 char* tmpPtr
; int tmpSize
;
1289 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1290 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1293 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1295 _arg1
= new wxString(tmpPtr
, tmpSize
);
1297 if (!PyString_Check(_obj1
)) {
1298 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1301 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1305 wxPy_BEGIN_ALLOW_THREADS
;
1306 wxPrintData_SetFontMetricPath(_arg0
,*_arg1
);
1308 wxPy_END_ALLOW_THREADS
;
1309 } Py_INCREF(Py_None
);
1310 _resultobj
= Py_None
;
1318 #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1319 static PyObject
*_wrap_wxPrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1321 wxPrintData
* _arg0
;
1323 PyObject
* _argo0
= 0;
1324 char *_kwnames
[] = { "self","x", NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleX",_kwnames
,&_argo0
,&_arg1
))
1330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p.");
1337 wxPy_BEGIN_ALLOW_THREADS
;
1338 wxPrintData_SetPrinterScaleX(_arg0
,_arg1
);
1340 wxPy_END_ALLOW_THREADS
;
1341 } Py_INCREF(Py_None
);
1342 _resultobj
= Py_None
;
1346 #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1347 static PyObject
*_wrap_wxPrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
* _resultobj
;
1349 wxPrintData
* _arg0
;
1351 PyObject
* _argo0
= 0;
1352 char *_kwnames
[] = { "self","y", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleY",_kwnames
,&_argo0
,&_arg1
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p.");
1365 wxPy_BEGIN_ALLOW_THREADS
;
1366 wxPrintData_SetPrinterScaleY(_arg0
,_arg1
);
1368 wxPy_END_ALLOW_THREADS
;
1369 } Py_INCREF(Py_None
);
1370 _resultobj
= Py_None
;
1374 #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1375 static PyObject
*_wrap_wxPrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
* _resultobj
;
1377 wxPrintData
* _arg0
;
1380 PyObject
* _argo0
= 0;
1381 char *_kwnames
[] = { "self","x","y", NULL
};
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPrintData_SetPrinterScaling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaling. Expected _wxPrintData_p.");
1394 wxPy_BEGIN_ALLOW_THREADS
;
1395 wxPrintData_SetPrinterScaling(_arg0
,_arg1
,_arg2
);
1397 wxPy_END_ALLOW_THREADS
;
1398 } Py_INCREF(Py_None
);
1399 _resultobj
= Py_None
;
1403 #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1404 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1406 wxPrintData
* _arg0
;
1408 PyObject
* _argo0
= 0;
1409 char *_kwnames
[] = { "self","x", NULL
};
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames
,&_argo0
,&_arg1
))
1415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p.");
1422 wxPy_BEGIN_ALLOW_THREADS
;
1423 wxPrintData_SetPrinterTranslateX(_arg0
,_arg1
);
1425 wxPy_END_ALLOW_THREADS
;
1426 } Py_INCREF(Py_None
);
1427 _resultobj
= Py_None
;
1431 #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1432 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1434 wxPrintData
* _arg0
;
1436 PyObject
* _argo0
= 0;
1437 char *_kwnames
[] = { "self","y", NULL
};
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames
,&_argo0
,&_arg1
))
1443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1450 wxPy_BEGIN_ALLOW_THREADS
;
1451 wxPrintData_SetPrinterTranslateY(_arg0
,_arg1
);
1453 wxPy_END_ALLOW_THREADS
;
1454 } Py_INCREF(Py_None
);
1455 _resultobj
= Py_None
;
1459 #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1460 static PyObject
*_wrap_wxPrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
* _resultobj
;
1462 wxPrintData
* _arg0
;
1465 PyObject
* _argo0
= 0;
1466 char *_kwnames
[] = { "self","x","y", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPrintData_SetPrinterTranslation",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslation. Expected _wxPrintData_p.");
1479 wxPy_BEGIN_ALLOW_THREADS
;
1480 wxPrintData_SetPrinterTranslation(_arg0
,_arg1
,_arg2
);
1482 wxPy_END_ALLOW_THREADS
;
1483 } Py_INCREF(Py_None
);
1484 _resultobj
= Py_None
;
1488 #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1489 static PyObject
*_wrap_wxPrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
* _resultobj
;
1491 wxPrintData
* _arg0
;
1492 wxPrintMode
* _arg1
;
1493 PyObject
* _argo0
= 0;
1494 PyObject
* _argo1
= 0;
1495 char *_kwnames
[] = { "self","printMode", NULL
};
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrintMode",_kwnames
,&_argo0
,&_argo1
))
1501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1508 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1509 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintMode_p")) {
1510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPrintMode. Expected _wxPrintMode_p.");
1515 wxPy_BEGIN_ALLOW_THREADS
;
1516 wxPrintData_SetPrintMode(_arg0
,*_arg1
);
1518 wxPy_END_ALLOW_THREADS
;
1519 } Py_INCREF(Py_None
);
1520 _resultobj
= Py_None
;
1524 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
1527 src
= (wxPrinterDC
*) ptr
;
1528 dest
= (wxDC
*) src
;
1529 return (void *) dest
;
1532 static void *SwigwxPrinterDCTowxObject(void *ptr
) {
1535 src
= (wxPrinterDC
*) ptr
;
1536 dest
= (wxObject
*) src
;
1537 return (void *) dest
;
1540 #define new_wxPrinterDC(_swigarg0) (new wxPrinterDC(_swigarg0))
1541 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
* _resultobj
;
1543 wxPrinterDC
* _result
;
1544 wxPrintData
* _arg0
;
1545 PyObject
* _argo0
= 0;
1546 char *_kwnames
[] = { "printData", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPrinterDC",_kwnames
,&_argo0
))
1553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinterDC. Expected _wxPrintData_p.");
1560 wxPy_BEGIN_ALLOW_THREADS
;
1561 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
);
1563 wxPy_END_ALLOW_THREADS
;
1565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1566 _resultobj
= Py_BuildValue("s",_ptemp
);
1569 _resultobj
= Py_None
;
1574 #define new_wxPrinterDC2(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1575 static PyObject
*_wrap_new_wxPrinterDC2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
* _resultobj
;
1577 wxPrinterDC
* _result
;
1581 bool _arg3
= (bool ) TRUE
;
1582 int _arg4
= (int ) wxPORTRAIT
;
1583 PyObject
* _obj0
= 0;
1584 PyObject
* _obj1
= 0;
1585 PyObject
* _obj2
= 0;
1586 int tempbool3
= (int) TRUE
;
1587 char *_kwnames
[] = { "driver","device","output","interactive","orientation", NULL
};
1591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:new_wxPrinterDC2",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
1594 #if PYTHON_API_VERSION >= 1009
1595 char* tmpPtr
; int tmpSize
;
1596 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1597 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1600 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1602 _arg0
= new wxString(tmpPtr
, tmpSize
);
1604 if (!PyString_Check(_obj0
)) {
1605 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1608 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1612 #if PYTHON_API_VERSION >= 1009
1613 char* tmpPtr
; int tmpSize
;
1614 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1615 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1618 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1620 _arg1
= new wxString(tmpPtr
, tmpSize
);
1622 if (!PyString_Check(_obj1
)) {
1623 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1626 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1630 #if PYTHON_API_VERSION >= 1009
1631 char* tmpPtr
; int tmpSize
;
1632 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1633 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1636 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1638 _arg2
= new wxString(tmpPtr
, tmpSize
);
1640 if (!PyString_Check(_obj2
)) {
1641 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1644 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1647 _arg3
= (bool ) tempbool3
;
1649 wxPy_BEGIN_ALLOW_THREADS
;
1650 _result
= (wxPrinterDC
*)new_wxPrinterDC2(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
1652 wxPy_END_ALLOW_THREADS
;
1654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
1655 _resultobj
= Py_BuildValue("s",_ptemp
);
1658 _resultobj
= Py_None
;
1675 static void *SwigwxPageSetupDialogDataTowxObject(void *ptr
) {
1676 wxPageSetupDialogData
*src
;
1678 src
= (wxPageSetupDialogData
*) ptr
;
1679 dest
= (wxObject
*) src
;
1680 return (void *) dest
;
1683 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1684 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1686 wxPageSetupDialogData
* _result
;
1687 char *_kwnames
[] = { NULL
};
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1694 wxPy_BEGIN_ALLOW_THREADS
;
1695 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1697 wxPy_END_ALLOW_THREADS
;
1699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1700 _resultobj
= Py_BuildValue("s",_ptemp
);
1703 _resultobj
= Py_None
;
1708 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1709 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1711 wxPageSetupDialogData
* _arg0
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "self", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1726 wxPy_BEGIN_ALLOW_THREADS
;
1727 delete_wxPageSetupDialogData(_arg0
);
1729 wxPy_END_ALLOW_THREADS
;
1730 } Py_INCREF(Py_None
);
1731 _resultobj
= Py_None
;
1735 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1736 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1738 wxPageSetupDialogData
* _arg0
;
1740 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self","flag", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1754 _arg1
= (bool ) tempbool1
;
1756 wxPy_BEGIN_ALLOW_THREADS
;
1757 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
1759 wxPy_END_ALLOW_THREADS
;
1760 } Py_INCREF(Py_None
);
1761 _resultobj
= Py_None
;
1765 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1766 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1768 wxPageSetupDialogData
* _arg0
;
1770 PyObject
* _argo0
= 0;
1772 char *_kwnames
[] = { "self","flag", NULL
};
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
1778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1784 _arg1
= (bool ) tempbool1
;
1786 wxPy_BEGIN_ALLOW_THREADS
;
1787 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
1789 wxPy_END_ALLOW_THREADS
;
1790 } Py_INCREF(Py_None
);
1791 _resultobj
= Py_None
;
1795 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1796 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
* _resultobj
;
1798 wxPageSetupDialogData
* _arg0
;
1800 PyObject
* _argo0
= 0;
1802 char *_kwnames
[] = { "self","flag", NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
1808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1814 _arg1
= (bool ) tempbool1
;
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
1819 wxPy_END_ALLOW_THREADS
;
1820 } Py_INCREF(Py_None
);
1821 _resultobj
= Py_None
;
1825 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1826 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
* _resultobj
;
1828 wxPageSetupDialogData
* _arg0
;
1830 PyObject
* _argo0
= 0;
1832 char *_kwnames
[] = { "self","flag", NULL
};
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
1838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1844 _arg1
= (bool ) tempbool1
;
1846 wxPy_BEGIN_ALLOW_THREADS
;
1847 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
1849 wxPy_END_ALLOW_THREADS
;
1850 } Py_INCREF(Py_None
);
1851 _resultobj
= Py_None
;
1855 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1856 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
* _resultobj
;
1858 wxPageSetupDialogData
* _arg0
;
1860 PyObject
* _argo0
= 0;
1862 char *_kwnames
[] = { "self","flag", NULL
};
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
1868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
1874 _arg1
= (bool ) tempbool1
;
1876 wxPy_BEGIN_ALLOW_THREADS
;
1877 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
1879 wxPy_END_ALLOW_THREADS
;
1880 } Py_INCREF(Py_None
);
1881 _resultobj
= Py_None
;
1885 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
1886 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
* _resultobj
;
1889 wxPageSetupDialogData
* _arg0
;
1890 PyObject
* _argo0
= 0;
1891 char *_kwnames
[] = { "self", NULL
};
1894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
1897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1904 wxPy_BEGIN_ALLOW_THREADS
;
1905 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
1907 wxPy_END_ALLOW_THREADS
;
1908 } _resultobj
= Py_BuildValue("i",_result
);
1912 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
1913 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1916 wxPageSetupDialogData
* _arg0
;
1917 PyObject
* _argo0
= 0;
1918 char *_kwnames
[] = { "self", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1934 wxPy_END_ALLOW_THREADS
;
1935 } _resultobj
= Py_BuildValue("i",_result
);
1939 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
1940 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1943 wxPageSetupDialogData
* _arg0
;
1944 PyObject
* _argo0
= 0;
1945 char *_kwnames
[] = { "self", NULL
};
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
1951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1958 wxPy_BEGIN_ALLOW_THREADS
;
1959 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1961 wxPy_END_ALLOW_THREADS
;
1962 } _resultobj
= Py_BuildValue("i",_result
);
1966 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
1967 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
* _resultobj
;
1970 wxPageSetupDialogData
* _arg0
;
1971 PyObject
* _argo0
= 0;
1972 char *_kwnames
[] = { "self", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
1978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
1985 wxPy_BEGIN_ALLOW_THREADS
;
1986 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
1988 wxPy_END_ALLOW_THREADS
;
1989 } _resultobj
= Py_BuildValue("i",_result
);
1993 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
1994 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1997 wxPageSetupDialogData
* _arg0
;
1998 PyObject
* _argo0
= 0;
1999 char *_kwnames
[] = { "self", NULL
};
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
2005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
2012 wxPy_BEGIN_ALLOW_THREADS
;
2013 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
2015 wxPy_END_ALLOW_THREADS
;
2016 } _resultobj
= Py_BuildValue("i",_result
);
2020 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
2021 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
* _resultobj
;
2024 wxPageSetupDialogData
* _arg0
;
2025 PyObject
* _argo0
= 0;
2026 char *_kwnames
[] = { "self", NULL
};
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
2032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
2039 wxPy_BEGIN_ALLOW_THREADS
;
2040 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
2042 wxPy_END_ALLOW_THREADS
;
2043 } _resultobj
= Py_BuildValue("i",_result
);
2047 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2048 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2049 PyObject
* _resultobj
;
2051 wxPageSetupDialogData
* _arg0
;
2052 PyObject
* _argo0
= 0;
2053 char *_kwnames
[] = { "self", NULL
};
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
2059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2066 wxPy_BEGIN_ALLOW_THREADS
;
2067 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
2069 wxPy_END_ALLOW_THREADS
;
2070 } _resultobj
= Py_BuildValue("i",_result
);
2074 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2075 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
* _resultobj
;
2078 wxPageSetupDialogData
* _arg0
;
2079 PyObject
* _argo0
= 0;
2080 char *_kwnames
[] = { "self", NULL
};
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
2087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2094 wxPy_BEGIN_ALLOW_THREADS
;
2095 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
2097 wxPy_END_ALLOW_THREADS
;
2098 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2099 _resultobj
= Py_BuildValue("s",_ptemp
);
2103 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2104 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
* _resultobj
;
2107 wxPageSetupDialogData
* _arg0
;
2108 PyObject
* _argo0
= 0;
2109 char *_kwnames
[] = { "self", NULL
};
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
2116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2123 wxPy_BEGIN_ALLOW_THREADS
;
2124 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
2126 wxPy_END_ALLOW_THREADS
;
2127 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2128 _resultobj
= Py_BuildValue("s",_ptemp
);
2132 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2133 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2136 wxPageSetupDialogData
* _arg0
;
2137 PyObject
* _argo0
= 0;
2138 char *_kwnames
[] = { "self", NULL
};
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
2145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2152 wxPy_BEGIN_ALLOW_THREADS
;
2153 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
2155 wxPy_END_ALLOW_THREADS
;
2156 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2157 _resultobj
= Py_BuildValue("s",_ptemp
);
2161 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2162 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
* _resultobj
;
2165 wxPageSetupDialogData
* _arg0
;
2166 PyObject
* _argo0
= 0;
2167 char *_kwnames
[] = { "self", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2181 wxPy_BEGIN_ALLOW_THREADS
;
2182 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2184 wxPy_END_ALLOW_THREADS
;
2185 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2186 _resultobj
= Py_BuildValue("s",_ptemp
);
2190 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2191 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
* _resultobj
;
2193 wxPaperSize _result
;
2194 wxPageSetupDialogData
* _arg0
;
2195 PyObject
* _argo0
= 0;
2196 char *_kwnames
[] = { "self", NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2209 wxPy_BEGIN_ALLOW_THREADS
;
2210 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2212 wxPy_END_ALLOW_THREADS
;
2213 } _resultobj
= Py_BuildValue("i",_result
);
2217 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2218 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
* _resultobj
;
2221 wxPageSetupDialogData
* _arg0
;
2222 PyObject
* _argo0
= 0;
2223 char *_kwnames
[] = { "self", NULL
};
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
2230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2237 wxPy_BEGIN_ALLOW_THREADS
;
2238 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2240 wxPy_END_ALLOW_THREADS
;
2241 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2242 _resultobj
= Py_BuildValue("s",_ptemp
);
2246 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2247 return new wxPrintData(self
->GetPrintData()); // force a copy
2249 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
* _resultobj
;
2251 wxPrintData
* _result
;
2252 wxPageSetupDialogData
* _arg0
;
2253 PyObject
* _argo0
= 0;
2254 char *_kwnames
[] = { "self", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2268 wxPy_BEGIN_ALLOW_THREADS
;
2269 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2271 wxPy_END_ALLOW_THREADS
;
2273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2274 _resultobj
= Py_BuildValue("s",_ptemp
);
2277 _resultobj
= Py_None
;
2282 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2283 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
* _resultobj
;
2285 wxPageSetupDialogData
* _arg0
;
2287 PyObject
* _argo0
= 0;
2289 char *_kwnames
[] = { "self","flag", NULL
};
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2301 _arg1
= (bool ) tempbool1
;
2303 wxPy_BEGIN_ALLOW_THREADS
;
2304 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2306 wxPy_END_ALLOW_THREADS
;
2307 } Py_INCREF(Py_None
);
2308 _resultobj
= Py_None
;
2312 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2313 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2315 wxPageSetupDialogData
* _arg0
;
2317 PyObject
* _argo0
= 0;
2319 char *_kwnames
[] = { "self","flag", NULL
};
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2331 _arg1
= (bool ) tempbool1
;
2333 wxPy_BEGIN_ALLOW_THREADS
;
2334 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2336 wxPy_END_ALLOW_THREADS
;
2337 } Py_INCREF(Py_None
);
2338 _resultobj
= Py_None
;
2342 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2343 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
* _resultobj
;
2345 wxPageSetupDialogData
* _arg0
;
2347 PyObject
* _argo0
= 0;
2349 PyObject
* _obj1
= 0;
2350 char *_kwnames
[] = { "self","pt", NULL
};
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2364 if (! wxPoint_helper(_obj1
, &_arg1
))
2368 wxPy_BEGIN_ALLOW_THREADS
;
2369 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2371 wxPy_END_ALLOW_THREADS
;
2372 } Py_INCREF(Py_None
);
2373 _resultobj
= Py_None
;
2377 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2378 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2380 wxPageSetupDialogData
* _arg0
;
2382 PyObject
* _argo0
= 0;
2384 PyObject
* _obj1
= 0;
2385 char *_kwnames
[] = { "self","pt", NULL
};
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2399 if (! wxPoint_helper(_obj1
, &_arg1
))
2403 wxPy_BEGIN_ALLOW_THREADS
;
2404 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2406 wxPy_END_ALLOW_THREADS
;
2407 } Py_INCREF(Py_None
);
2408 _resultobj
= Py_None
;
2412 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2413 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
* _resultobj
;
2415 wxPageSetupDialogData
* _arg0
;
2417 PyObject
* _argo0
= 0;
2419 PyObject
* _obj1
= 0;
2420 char *_kwnames
[] = { "self","pt", NULL
};
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2434 if (! wxPoint_helper(_obj1
, &_arg1
))
2438 wxPy_BEGIN_ALLOW_THREADS
;
2439 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2441 wxPy_END_ALLOW_THREADS
;
2442 } Py_INCREF(Py_None
);
2443 _resultobj
= Py_None
;
2447 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2448 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2449 PyObject
* _resultobj
;
2450 wxPageSetupDialogData
* _arg0
;
2452 PyObject
* _argo0
= 0;
2454 PyObject
* _obj1
= 0;
2455 char *_kwnames
[] = { "self","pt", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2469 if (! wxPoint_helper(_obj1
, &_arg1
))
2473 wxPy_BEGIN_ALLOW_THREADS
;
2474 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2476 wxPy_END_ALLOW_THREADS
;
2477 } Py_INCREF(Py_None
);
2478 _resultobj
= Py_None
;
2482 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2483 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
* _resultobj
;
2485 wxPageSetupDialogData
* _arg0
;
2487 PyObject
* _argo0
= 0;
2488 char *_kwnames
[] = { "self","id", NULL
};
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2501 wxPy_BEGIN_ALLOW_THREADS
;
2502 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2504 wxPy_END_ALLOW_THREADS
;
2505 } Py_INCREF(Py_None
);
2506 _resultobj
= Py_None
;
2510 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2511 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
* _resultobj
;
2513 wxPageSetupDialogData
* _arg0
;
2515 PyObject
* _argo0
= 0;
2517 PyObject
* _obj1
= 0;
2518 char *_kwnames
[] = { "self","size", NULL
};
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2532 if (! wxSize_helper(_obj1
, &_arg1
))
2536 wxPy_BEGIN_ALLOW_THREADS
;
2537 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2539 wxPy_END_ALLOW_THREADS
;
2540 } Py_INCREF(Py_None
);
2541 _resultobj
= Py_None
;
2545 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2546 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2548 wxPageSetupDialogData
* _arg0
;
2549 wxPrintData
* _arg1
;
2550 PyObject
* _argo0
= 0;
2551 PyObject
* _argo1
= 0;
2552 char *_kwnames
[] = { "self","printData", NULL
};
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2572 wxPy_BEGIN_ALLOW_THREADS
;
2573 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2575 wxPy_END_ALLOW_THREADS
;
2576 } Py_INCREF(Py_None
);
2577 _resultobj
= Py_None
;
2581 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2582 wxPageSetupDialog
*src
;
2584 src
= (wxPageSetupDialog
*) ptr
;
2585 dest
= (wxDialog
*) src
;
2586 return (void *) dest
;
2589 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
2590 wxPageSetupDialog
*src
;
2592 src
= (wxPageSetupDialog
*) ptr
;
2593 dest
= (wxPanel
*) src
;
2594 return (void *) dest
;
2597 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2598 wxPageSetupDialog
*src
;
2600 src
= (wxPageSetupDialog
*) ptr
;
2601 dest
= (wxWindow
*) src
;
2602 return (void *) dest
;
2605 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2606 wxPageSetupDialog
*src
;
2608 src
= (wxPageSetupDialog
*) ptr
;
2609 dest
= (wxEvtHandler
*) src
;
2610 return (void *) dest
;
2613 static void *SwigwxPageSetupDialogTowxObject(void *ptr
) {
2614 wxPageSetupDialog
*src
;
2616 src
= (wxPageSetupDialog
*) ptr
;
2617 dest
= (wxObject
*) src
;
2618 return (void *) dest
;
2621 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2622 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2623 PyObject
* _resultobj
;
2624 wxPageSetupDialog
* _result
;
2626 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2627 PyObject
* _argo0
= 0;
2628 PyObject
* _argo1
= 0;
2629 char *_kwnames
[] = { "parent","data", NULL
};
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2650 wxPy_BEGIN_ALLOW_THREADS
;
2651 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2653 wxPy_END_ALLOW_THREADS
;
2655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2656 _resultobj
= Py_BuildValue("s",_ptemp
);
2659 _resultobj
= Py_None
;
2664 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2665 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
* _resultobj
;
2667 wxPageSetupDialogData
* _result
;
2668 wxPageSetupDialog
* _arg0
;
2669 PyObject
* _argo0
= 0;
2670 char *_kwnames
[] = { "self", NULL
};
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2684 wxPy_BEGIN_ALLOW_THREADS
;
2685 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2686 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2688 wxPy_END_ALLOW_THREADS
;
2690 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2691 _resultobj
= Py_BuildValue("s",_ptemp
);
2694 _resultobj
= Py_None
;
2699 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2700 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2703 wxPageSetupDialog
* _arg0
;
2704 PyObject
* _argo0
= 0;
2705 char *_kwnames
[] = { "self", NULL
};
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
2711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2718 wxPy_BEGIN_ALLOW_THREADS
;
2719 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
2721 wxPy_END_ALLOW_THREADS
;
2722 } _resultobj
= Py_BuildValue("i",_result
);
2726 static void *SwigwxPrintDialogDataTowxObject(void *ptr
) {
2727 wxPrintDialogData
*src
;
2729 src
= (wxPrintDialogData
*) ptr
;
2730 dest
= (wxObject
*) src
;
2731 return (void *) dest
;
2734 #define new_wxPrintDialogData() (new wxPrintDialogData())
2735 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
* _resultobj
;
2737 wxPrintDialogData
* _result
;
2738 char *_kwnames
[] = { NULL
};
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
2745 wxPy_BEGIN_ALLOW_THREADS
;
2746 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
2748 wxPy_END_ALLOW_THREADS
;
2750 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2751 _resultobj
= Py_BuildValue("s",_ptemp
);
2754 _resultobj
= Py_None
;
2759 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2760 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
* _resultobj
;
2762 wxPrintDialogData
* _arg0
;
2763 PyObject
* _argo0
= 0;
2764 char *_kwnames
[] = { "self", NULL
};
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
2770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
2777 wxPy_BEGIN_ALLOW_THREADS
;
2778 delete_wxPrintDialogData(_arg0
);
2780 wxPy_END_ALLOW_THREADS
;
2781 } Py_INCREF(Py_None
);
2782 _resultobj
= Py_None
;
2786 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
2787 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
* _resultobj
;
2789 wxPrintDialogData
* _arg0
;
2791 PyObject
* _argo0
= 0;
2793 char *_kwnames
[] = { "self","flag", NULL
};
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
2799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
2805 _arg1
= (bool ) tempbool1
;
2807 wxPy_BEGIN_ALLOW_THREADS
;
2808 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
2810 wxPy_END_ALLOW_THREADS
;
2811 } Py_INCREF(Py_None
);
2812 _resultobj
= Py_None
;
2816 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
2817 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2819 wxPrintDialogData
* _arg0
;
2821 PyObject
* _argo0
= 0;
2823 char *_kwnames
[] = { "self","flag", NULL
};
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
2829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
2835 _arg1
= (bool ) tempbool1
;
2837 wxPy_BEGIN_ALLOW_THREADS
;
2838 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
2840 wxPy_END_ALLOW_THREADS
;
2841 } Py_INCREF(Py_None
);
2842 _resultobj
= Py_None
;
2846 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
2847 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
* _resultobj
;
2849 wxPrintDialogData
* _arg0
;
2851 PyObject
* _argo0
= 0;
2853 char *_kwnames
[] = { "self","flag", NULL
};
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
2865 _arg1
= (bool ) tempbool1
;
2867 wxPy_BEGIN_ALLOW_THREADS
;
2868 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
2870 wxPy_END_ALLOW_THREADS
;
2871 } Py_INCREF(Py_None
);
2872 _resultobj
= Py_None
;
2876 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
2877 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
* _resultobj
;
2879 wxPrintDialogData
* _arg0
;
2881 PyObject
* _argo0
= 0;
2883 char *_kwnames
[] = { "self","flag", NULL
};
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
2889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
2895 _arg1
= (bool ) tempbool1
;
2897 wxPy_BEGIN_ALLOW_THREADS
;
2898 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
2900 wxPy_END_ALLOW_THREADS
;
2901 } Py_INCREF(Py_None
);
2902 _resultobj
= Py_None
;
2906 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
2907 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
* _resultobj
;
2910 wxPrintDialogData
* _arg0
;
2911 PyObject
* _argo0
= 0;
2912 char *_kwnames
[] = { "self", NULL
};
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
2918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
2925 wxPy_BEGIN_ALLOW_THREADS
;
2926 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
2928 wxPy_END_ALLOW_THREADS
;
2929 } _resultobj
= Py_BuildValue("i",_result
);
2933 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
2934 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
* _resultobj
;
2937 wxPrintDialogData
* _arg0
;
2938 PyObject
* _argo0
= 0;
2939 char *_kwnames
[] = { "self", NULL
};
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
2945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
2952 wxPy_BEGIN_ALLOW_THREADS
;
2953 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
2955 wxPy_END_ALLOW_THREADS
;
2956 } _resultobj
= Py_BuildValue("i",_result
);
2960 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
2961 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2964 wxPrintDialogData
* _arg0
;
2965 PyObject
* _argo0
= 0;
2966 char *_kwnames
[] = { "self", NULL
};
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
2972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
2979 wxPy_BEGIN_ALLOW_THREADS
;
2980 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
2982 wxPy_END_ALLOW_THREADS
;
2983 } _resultobj
= Py_BuildValue("i",_result
);
2987 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
2988 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
* _resultobj
;
2991 wxPrintDialogData
* _arg0
;
2992 PyObject
* _argo0
= 0;
2993 char *_kwnames
[] = { "self", NULL
};
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
2999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
3006 wxPy_BEGIN_ALLOW_THREADS
;
3007 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
3009 wxPy_END_ALLOW_THREADS
;
3010 } _resultobj
= Py_BuildValue("i",_result
);
3014 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
3015 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3018 wxPrintDialogData
* _arg0
;
3019 PyObject
* _argo0
= 0;
3020 char *_kwnames
[] = { "self", NULL
};
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
3026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
3033 wxPy_BEGIN_ALLOW_THREADS
;
3034 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
3036 wxPy_END_ALLOW_THREADS
;
3037 } _resultobj
= Py_BuildValue("i",_result
);
3041 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
3042 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
* _resultobj
;
3045 wxPrintDialogData
* _arg0
;
3046 PyObject
* _argo0
= 0;
3047 char *_kwnames
[] = { "self", NULL
};
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
3053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
3060 wxPy_BEGIN_ALLOW_THREADS
;
3061 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
3063 wxPy_END_ALLOW_THREADS
;
3064 } _resultobj
= Py_BuildValue("i",_result
);
3068 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
3069 return new wxPrintData(self
->GetPrintData()); // force a copy
3071 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
* _resultobj
;
3073 wxPrintData
* _result
;
3074 wxPrintDialogData
* _arg0
;
3075 PyObject
* _argo0
= 0;
3076 char *_kwnames
[] = { "self", NULL
};
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
3083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
3090 wxPy_BEGIN_ALLOW_THREADS
;
3091 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
3093 wxPy_END_ALLOW_THREADS
;
3095 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
3096 _resultobj
= Py_BuildValue("s",_ptemp
);
3099 _resultobj
= Py_None
;
3104 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
3105 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
* _resultobj
;
3108 wxPrintDialogData
* _arg0
;
3109 PyObject
* _argo0
= 0;
3110 char *_kwnames
[] = { "self", NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
3116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
3123 wxPy_BEGIN_ALLOW_THREADS
;
3124 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
3126 wxPy_END_ALLOW_THREADS
;
3127 } _resultobj
= Py_BuildValue("i",_result
);
3131 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
3132 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
* _resultobj
;
3135 wxPrintDialogData
* _arg0
;
3136 PyObject
* _argo0
= 0;
3137 char *_kwnames
[] = { "self", NULL
};
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
3143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
3150 wxPy_BEGIN_ALLOW_THREADS
;
3151 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
3153 wxPy_END_ALLOW_THREADS
;
3154 } _resultobj
= Py_BuildValue("i",_result
);
3158 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3159 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
* _resultobj
;
3161 wxPrintDialogData
* _arg0
;
3163 PyObject
* _argo0
= 0;
3165 char *_kwnames
[] = { "self","flag", NULL
};
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
3171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3177 _arg1
= (bool ) tempbool1
;
3179 wxPy_BEGIN_ALLOW_THREADS
;
3180 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
3182 wxPy_END_ALLOW_THREADS
;
3183 } Py_INCREF(Py_None
);
3184 _resultobj
= Py_None
;
3188 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3189 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
* _resultobj
;
3191 wxPrintDialogData
* _arg0
;
3193 PyObject
* _argo0
= 0;
3194 char *_kwnames
[] = { "self","page", NULL
};
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
3200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3207 wxPy_BEGIN_ALLOW_THREADS
;
3208 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3210 wxPy_END_ALLOW_THREADS
;
3211 } Py_INCREF(Py_None
);
3212 _resultobj
= Py_None
;
3216 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3217 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
* _resultobj
;
3219 wxPrintDialogData
* _arg0
;
3221 PyObject
* _argo0
= 0;
3222 char *_kwnames
[] = { "self","page", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3235 wxPy_BEGIN_ALLOW_THREADS
;
3236 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3238 wxPy_END_ALLOW_THREADS
;
3239 } Py_INCREF(Py_None
);
3240 _resultobj
= Py_None
;
3244 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3245 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
* _resultobj
;
3247 wxPrintDialogData
* _arg0
;
3249 PyObject
* _argo0
= 0;
3250 char *_kwnames
[] = { "self","page", NULL
};
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3263 wxPy_BEGIN_ALLOW_THREADS
;
3264 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3266 wxPy_END_ALLOW_THREADS
;
3267 } Py_INCREF(Py_None
);
3268 _resultobj
= Py_None
;
3272 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3273 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
* _resultobj
;
3275 wxPrintDialogData
* _arg0
;
3277 PyObject
* _argo0
= 0;
3278 char *_kwnames
[] = { "self","n", NULL
};
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
3284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3291 wxPy_BEGIN_ALLOW_THREADS
;
3292 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3294 wxPy_END_ALLOW_THREADS
;
3295 } Py_INCREF(Py_None
);
3296 _resultobj
= Py_None
;
3300 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3301 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
* _resultobj
;
3303 wxPrintDialogData
* _arg0
;
3304 wxPrintData
* _arg1
;
3305 PyObject
* _argo0
= 0;
3306 PyObject
* _argo1
= 0;
3307 char *_kwnames
[] = { "self","printData", NULL
};
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
3313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3320 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3321 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3327 wxPy_BEGIN_ALLOW_THREADS
;
3328 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3330 wxPy_END_ALLOW_THREADS
;
3331 } Py_INCREF(Py_None
);
3332 _resultobj
= Py_None
;
3336 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3337 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
* _resultobj
;
3339 wxPrintDialogData
* _arg0
;
3341 PyObject
* _argo0
= 0;
3343 char *_kwnames
[] = { "self","flag", NULL
};
3346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3355 _arg1
= (bool ) tempbool1
;
3357 wxPy_BEGIN_ALLOW_THREADS
;
3358 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3360 wxPy_END_ALLOW_THREADS
;
3361 } Py_INCREF(Py_None
);
3362 _resultobj
= Py_None
;
3366 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3367 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
* _resultobj
;
3369 wxPrintDialogData
* _arg0
;
3371 PyObject
* _argo0
= 0;
3373 char *_kwnames
[] = { "self","flag", NULL
};
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3385 _arg1
= (bool ) tempbool1
;
3387 wxPy_BEGIN_ALLOW_THREADS
;
3388 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3390 wxPy_END_ALLOW_THREADS
;
3391 } Py_INCREF(Py_None
);
3392 _resultobj
= Py_None
;
3396 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3397 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
* _resultobj
;
3399 wxPrintDialogData
* _arg0
;
3401 PyObject
* _argo0
= 0;
3402 char *_kwnames
[] = { "self","page", NULL
};
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3415 wxPy_BEGIN_ALLOW_THREADS
;
3416 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3418 wxPy_END_ALLOW_THREADS
;
3419 } Py_INCREF(Py_None
);
3420 _resultobj
= Py_None
;
3424 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3427 src
= (wxPrintDialog
*) ptr
;
3428 dest
= (wxDialog
*) src
;
3429 return (void *) dest
;
3432 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
3435 src
= (wxPrintDialog
*) ptr
;
3436 dest
= (wxPanel
*) src
;
3437 return (void *) dest
;
3440 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3443 src
= (wxPrintDialog
*) ptr
;
3444 dest
= (wxWindow
*) src
;
3445 return (void *) dest
;
3448 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3451 src
= (wxPrintDialog
*) ptr
;
3452 dest
= (wxEvtHandler
*) src
;
3453 return (void *) dest
;
3456 static void *SwigwxPrintDialogTowxObject(void *ptr
) {
3459 src
= (wxPrintDialog
*) ptr
;
3460 dest
= (wxObject
*) src
;
3461 return (void *) dest
;
3464 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3465 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
* _resultobj
;
3467 wxPrintDialog
* _result
;
3469 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
3470 PyObject
* _argo0
= 0;
3471 PyObject
* _argo1
= 0;
3472 char *_kwnames
[] = { "parent","data", NULL
};
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
3479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
3488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3493 wxPy_BEGIN_ALLOW_THREADS
;
3494 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3496 wxPy_END_ALLOW_THREADS
;
3498 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3499 _resultobj
= Py_BuildValue("s",_ptemp
);
3502 _resultobj
= Py_None
;
3507 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3508 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3510 wxPrintDialogData
* _result
;
3511 wxPrintDialog
* _arg0
;
3512 PyObject
* _argo0
= 0;
3513 char *_kwnames
[] = { "self", NULL
};
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
3520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3527 wxPy_BEGIN_ALLOW_THREADS
;
3528 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
3529 _result
= (wxPrintDialogData
*) &_result_ref
;
3531 wxPy_END_ALLOW_THREADS
;
3533 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3534 _resultobj
= Py_BuildValue("s",_ptemp
);
3537 _resultobj
= Py_None
;
3542 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3543 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3546 wxPrintDialog
* _arg0
;
3547 PyObject
* _argo0
= 0;
3548 char *_kwnames
[] = { "self", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
3554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3561 wxPy_BEGIN_ALLOW_THREADS
;
3562 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
3564 wxPy_END_ALLOW_THREADS
;
3565 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3569 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3570 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
* _resultobj
;
3573 wxPrintDialog
* _arg0
;
3574 PyObject
* _argo0
= 0;
3575 char *_kwnames
[] = { "self", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
3581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3588 wxPy_BEGIN_ALLOW_THREADS
;
3589 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
3591 wxPy_END_ALLOW_THREADS
;
3592 } _resultobj
= Py_BuildValue("i",_result
);
3596 static void *SwigwxPyPrintoutTowxObject(void *ptr
) {
3599 src
= (wxPyPrintout
*) ptr
;
3600 dest
= (wxObject
*) src
;
3601 return (void *) dest
;
3604 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
3605 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
* _resultobj
;
3607 wxPyPrintout
* _result
;
3608 char * _arg0
= (char *) "Printout";
3609 char *_kwnames
[] = { "title", NULL
};
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
3616 wxPy_BEGIN_ALLOW_THREADS
;
3617 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
3619 wxPy_END_ALLOW_THREADS
;
3621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3622 _resultobj
= Py_BuildValue("s",_ptemp
);
3625 _resultobj
= Py_None
;
3630 #define wxPrintout__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3631 static PyObject
*_wrap_wxPrintout__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
* _resultobj
;
3633 wxPyPrintout
* _arg0
;
3636 PyObject
* _argo0
= 0;
3637 PyObject
* _obj1
= 0;
3638 PyObject
* _obj2
= 0;
3639 char *_kwnames
[] = { "self","self","_class", NULL
};
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
3658 wxPy_BEGIN_ALLOW_THREADS
;
3659 wxPrintout__setSelf(_arg0
,_arg1
,_arg2
);
3661 wxPy_END_ALLOW_THREADS
;
3662 } Py_INCREF(Py_None
);
3663 _resultobj
= Py_None
;
3667 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
3668 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3670 wxPyPrintout
* _arg0
;
3671 PyObject
* _argo0
= 0;
3672 char *_kwnames
[] = { "self", NULL
};
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
3678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
3685 wxPy_BEGIN_ALLOW_THREADS
;
3686 wxPyPrintout_Destroy(_arg0
);
3688 wxPy_END_ALLOW_THREADS
;
3689 } Py_INCREF(Py_None
);
3690 _resultobj
= Py_None
;
3694 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
3695 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
* _resultobj
;
3698 wxPyPrintout
* _arg0
;
3699 PyObject
* _argo0
= 0;
3700 char *_kwnames
[] = { "self", NULL
};
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
3706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
3713 wxPy_BEGIN_ALLOW_THREADS
;
3714 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
3716 wxPy_END_ALLOW_THREADS
;
3717 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3721 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
3722 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
* _resultobj
;
3724 wxPyPrintout
* _arg0
;
3729 PyObject
* _argo0
= 0;
3730 char *_kwnames
[] = { "self", NULL
};
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
3742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
3749 wxPy_BEGIN_ALLOW_THREADS
;
3750 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
3752 wxPy_END_ALLOW_THREADS
;
3753 } Py_INCREF(Py_None
);
3754 _resultobj
= Py_None
;
3757 o
= PyInt_FromLong((long) (*_arg1
));
3758 _resultobj
= t_output_helper(_resultobj
, o
);
3762 o
= PyInt_FromLong((long) (*_arg2
));
3763 _resultobj
= t_output_helper(_resultobj
, o
);
3768 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
3769 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
* _resultobj
;
3771 wxPyPrintout
* _arg0
;
3776 PyObject
* _argo0
= 0;
3777 char *_kwnames
[] = { "self", NULL
};
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
3789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
3796 wxPy_BEGIN_ALLOW_THREADS
;
3797 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
3799 wxPy_END_ALLOW_THREADS
;
3800 } Py_INCREF(Py_None
);
3801 _resultobj
= Py_None
;
3804 o
= PyInt_FromLong((long) (*_arg1
));
3805 _resultobj
= t_output_helper(_resultobj
, o
);
3809 o
= PyInt_FromLong((long) (*_arg2
));
3810 _resultobj
= t_output_helper(_resultobj
, o
);
3815 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
3816 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
* _resultobj
;
3818 wxPyPrintout
* _arg0
;
3823 PyObject
* _argo0
= 0;
3824 char *_kwnames
[] = { "self", NULL
};
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
3836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
3843 wxPy_BEGIN_ALLOW_THREADS
;
3844 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
3846 wxPy_END_ALLOW_THREADS
;
3847 } Py_INCREF(Py_None
);
3848 _resultobj
= Py_None
;
3851 o
= PyInt_FromLong((long) (*_arg1
));
3852 _resultobj
= t_output_helper(_resultobj
, o
);
3856 o
= PyInt_FromLong((long) (*_arg2
));
3857 _resultobj
= t_output_helper(_resultobj
, o
);
3862 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
3863 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
* _resultobj
;
3865 wxPyPrintout
* _arg0
;
3870 PyObject
* _argo0
= 0;
3871 char *_kwnames
[] = { "self", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
3890 wxPy_BEGIN_ALLOW_THREADS
;
3891 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
3893 wxPy_END_ALLOW_THREADS
;
3894 } Py_INCREF(Py_None
);
3895 _resultobj
= Py_None
;
3898 o
= PyInt_FromLong((long) (*_arg1
));
3899 _resultobj
= t_output_helper(_resultobj
, o
);
3903 o
= PyInt_FromLong((long) (*_arg2
));
3904 _resultobj
= t_output_helper(_resultobj
, o
);
3909 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
3910 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
* _resultobj
;
3913 wxPyPrintout
* _arg0
;
3914 PyObject
* _argo0
= 0;
3915 char *_kwnames
[] = { "self", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
3928 wxPy_BEGIN_ALLOW_THREADS
;
3929 _result
= (bool )wxPrintout_IsPreview(_arg0
);
3931 wxPy_END_ALLOW_THREADS
;
3932 } _resultobj
= Py_BuildValue("i",_result
);
3936 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
3937 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
* _resultobj
;
3940 wxPyPrintout
* _arg0
;
3943 PyObject
* _argo0
= 0;
3944 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
3957 wxPy_BEGIN_ALLOW_THREADS
;
3958 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
3960 wxPy_END_ALLOW_THREADS
;
3961 } _resultobj
= Py_BuildValue("i",_result
);
3965 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
3966 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3968 wxPyPrintout
* _arg0
;
3969 PyObject
* _argo0
= 0;
3970 char *_kwnames
[] = { "self", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
3976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
3983 wxPy_BEGIN_ALLOW_THREADS
;
3984 wxPrintout_base_OnEndDocument(_arg0
);
3986 wxPy_END_ALLOW_THREADS
;
3987 } Py_INCREF(Py_None
);
3988 _resultobj
= Py_None
;
3992 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
3993 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
* _resultobj
;
3995 wxPyPrintout
* _arg0
;
3996 PyObject
* _argo0
= 0;
3997 char *_kwnames
[] = { "self", NULL
};
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
4003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
4010 wxPy_BEGIN_ALLOW_THREADS
;
4011 wxPrintout_base_OnBeginPrinting(_arg0
);
4013 wxPy_END_ALLOW_THREADS
;
4014 } Py_INCREF(Py_None
);
4015 _resultobj
= Py_None
;
4019 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
4020 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4022 wxPyPrintout
* _arg0
;
4023 PyObject
* _argo0
= 0;
4024 char *_kwnames
[] = { "self", NULL
};
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
4030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
4037 wxPy_BEGIN_ALLOW_THREADS
;
4038 wxPrintout_base_OnEndPrinting(_arg0
);
4040 wxPy_END_ALLOW_THREADS
;
4041 } Py_INCREF(Py_None
);
4042 _resultobj
= Py_None
;
4046 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
4047 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
* _resultobj
;
4049 wxPyPrintout
* _arg0
;
4050 PyObject
* _argo0
= 0;
4051 char *_kwnames
[] = { "self", NULL
};
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
4057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
4064 wxPy_BEGIN_ALLOW_THREADS
;
4065 wxPrintout_base_OnPreparePrinting(_arg0
);
4067 wxPy_END_ALLOW_THREADS
;
4068 } Py_INCREF(Py_None
);
4069 _resultobj
= Py_None
;
4073 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4074 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
* _resultobj
;
4076 wxPyPrintout
* _arg0
;
4085 PyObject
* _argo0
= 0;
4086 char *_kwnames
[] = { "self", NULL
};
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
4104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
4111 wxPy_BEGIN_ALLOW_THREADS
;
4112 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4114 wxPy_END_ALLOW_THREADS
;
4115 } Py_INCREF(Py_None
);
4116 _resultobj
= Py_None
;
4119 o
= PyInt_FromLong((long) (*_arg1
));
4120 _resultobj
= t_output_helper(_resultobj
, o
);
4124 o
= PyInt_FromLong((long) (*_arg2
));
4125 _resultobj
= t_output_helper(_resultobj
, o
);
4129 o
= PyInt_FromLong((long) (*_arg3
));
4130 _resultobj
= t_output_helper(_resultobj
, o
);
4134 o
= PyInt_FromLong((long) (*_arg4
));
4135 _resultobj
= t_output_helper(_resultobj
, o
);
4140 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
4141 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
* _resultobj
;
4144 wxPyPrintout
* _arg0
;
4146 PyObject
* _argo0
= 0;
4147 char *_kwnames
[] = { "self","page", NULL
};
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
4153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4160 wxPy_BEGIN_ALLOW_THREADS
;
4161 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
4163 wxPy_END_ALLOW_THREADS
;
4164 } _resultobj
= Py_BuildValue("i",_result
);
4168 static void *SwigwxPrinterTowxObject(void *ptr
) {
4171 src
= (wxPrinter
*) ptr
;
4172 dest
= (wxObject
*) src
;
4173 return (void *) dest
;
4176 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4177 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
* _resultobj
;
4179 wxPrinter
* _result
;
4180 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
4181 PyObject
* _argo0
= 0;
4182 char *_kwnames
[] = { "data", NULL
};
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
4189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
4191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4196 wxPy_BEGIN_ALLOW_THREADS
;
4197 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4199 wxPy_END_ALLOW_THREADS
;
4201 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4202 _resultobj
= Py_BuildValue("s",_ptemp
);
4205 _resultobj
= Py_None
;
4210 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4211 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
* _resultobj
;
4214 PyObject
* _argo0
= 0;
4215 char *_kwnames
[] = { "self", NULL
};
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
4221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4228 wxPy_BEGIN_ALLOW_THREADS
;
4229 delete_wxPrinter(_arg0
);
4231 wxPy_END_ALLOW_THREADS
;
4232 } Py_INCREF(Py_None
);
4233 _resultobj
= Py_None
;
4237 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4238 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
* _resultobj
;
4242 wxPyPrintout
* _arg2
;
4243 PyObject
* _argo0
= 0;
4244 PyObject
* _argo1
= 0;
4245 PyObject
* _argo2
= 0;
4246 char *_kwnames
[] = { "self","parent","printout", NULL
};
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4266 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4267 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4273 wxPy_BEGIN_ALLOW_THREADS
;
4274 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4276 wxPy_END_ALLOW_THREADS
;
4277 } Py_INCREF(Py_None
);
4278 _resultobj
= Py_None
;
4282 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4283 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
* _resultobj
;
4285 wxPrintDialogData
* _result
;
4287 PyObject
* _argo0
= 0;
4288 char *_kwnames
[] = { "self", NULL
};
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4302 wxPy_BEGIN_ALLOW_THREADS
;
4303 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4304 _result
= (wxPrintDialogData
*) &_result_ref
;
4306 wxPy_END_ALLOW_THREADS
;
4308 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4309 _resultobj
= Py_BuildValue("s",_ptemp
);
4312 _resultobj
= Py_None
;
4317 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4318 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
* _resultobj
;
4323 wxPyPrintout
* _arg2
;
4324 int _arg3
= (int ) TRUE
;
4325 PyObject
* _argo0
= 0;
4326 PyObject
* _argo1
= 0;
4327 PyObject
* _argo2
= 0;
4328 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4341 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4342 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4348 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4349 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4355 wxPy_BEGIN_ALLOW_THREADS
;
4356 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4358 wxPy_END_ALLOW_THREADS
;
4359 } _resultobj
= Py_BuildValue("i",_result
);
4363 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4364 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
* _resultobj
;
4369 PyObject
* _argo0
= 0;
4370 PyObject
* _argo1
= 0;
4371 char *_kwnames
[] = { "self","parent", NULL
};
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4384 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4385 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4391 wxPy_BEGIN_ALLOW_THREADS
;
4392 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
4394 wxPy_END_ALLOW_THREADS
;
4395 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4399 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4400 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
* _resultobj
;
4404 wxPyPrintout
* _arg2
;
4406 PyObject
* _argo0
= 0;
4407 PyObject
* _argo1
= 0;
4408 PyObject
* _argo2
= 0;
4409 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4429 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4430 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4436 wxPy_BEGIN_ALLOW_THREADS
;
4437 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
4439 wxPy_END_ALLOW_THREADS
;
4440 } Py_INCREF(Py_None
);
4441 _resultobj
= Py_None
;
4445 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4446 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
* _resultobj
;
4451 PyObject
* _argo0
= 0;
4452 PyObject
* _argo1
= 0;
4453 char *_kwnames
[] = { "self","parent", NULL
};
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
4459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4466 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4467 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4473 wxPy_BEGIN_ALLOW_THREADS
;
4474 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
4476 wxPy_END_ALLOW_THREADS
;
4477 } _resultobj
= Py_BuildValue("i",_result
);
4481 static void *SwigwxPrintPreviewTowxObject(void *ptr
) {
4482 wxPrintPreview
*src
;
4484 src
= (wxPrintPreview
*) ptr
;
4485 dest
= (wxObject
*) src
;
4486 return (void *) dest
;
4489 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
4490 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
* _resultobj
;
4492 wxPrintPreview
* _result
;
4493 wxPyPrintout
* _arg0
;
4494 wxPyPrintout
* _arg1
;
4495 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
4496 PyObject
* _argo0
= 0;
4497 PyObject
* _argo1
= 0;
4498 PyObject
* _argo2
= 0;
4499 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4513 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4514 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4520 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4521 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
4522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
4527 wxPy_BEGIN_ALLOW_THREADS
;
4528 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
4530 wxPy_END_ALLOW_THREADS
;
4532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
4533 _resultobj
= Py_BuildValue("s",_ptemp
);
4536 _resultobj
= Py_None
;
4541 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
4542 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
* _resultobj
;
4545 wxPrintPreview
* _arg0
;
4546 PyObject
* _argo0
= 0;
4547 char *_kwnames
[] = { "self", NULL
};
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
4553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
4560 wxPy_BEGIN_ALLOW_THREADS
;
4561 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
4563 wxPy_END_ALLOW_THREADS
;
4564 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4568 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
4569 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
* _resultobj
;
4572 wxPrintPreview
* _arg0
;
4573 PyObject
* _argo0
= 0;
4574 char *_kwnames
[] = { "self", NULL
};
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
4580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
4587 wxPy_BEGIN_ALLOW_THREADS
;
4588 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
4590 wxPy_END_ALLOW_THREADS
;
4591 } _resultobj
= Py_BuildValue("i",_result
);
4595 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
4596 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
* _resultobj
;
4599 wxPrintPreview
* _arg0
;
4600 PyObject
* _argo0
= 0;
4601 char *_kwnames
[] = { "self", NULL
};
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
4607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
4614 wxPy_BEGIN_ALLOW_THREADS
;
4615 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
4617 wxPy_END_ALLOW_THREADS
;
4618 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4622 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
4623 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
* _resultobj
;
4626 wxPrintPreview
* _arg0
;
4627 PyObject
* _argo0
= 0;
4628 char *_kwnames
[] = { "self", NULL
};
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
4634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
4641 wxPy_BEGIN_ALLOW_THREADS
;
4642 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
4644 wxPy_END_ALLOW_THREADS
;
4645 } _resultobj
= Py_BuildValue("i",_result
);
4649 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
4650 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
* _resultobj
;
4653 wxPrintPreview
* _arg0
;
4654 PyObject
* _argo0
= 0;
4655 char *_kwnames
[] = { "self", NULL
};
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
4661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
4668 wxPy_BEGIN_ALLOW_THREADS
;
4669 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
4671 wxPy_END_ALLOW_THREADS
;
4672 } _resultobj
= Py_BuildValue("i",_result
);
4676 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4677 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
* _resultobj
;
4679 wxPrintDialogData
* _result
;
4680 wxPrintPreview
* _arg0
;
4681 PyObject
* _argo0
= 0;
4682 char *_kwnames
[] = { "self", NULL
};
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
4689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
4696 wxPy_BEGIN_ALLOW_THREADS
;
4697 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
4698 _result
= (wxPrintDialogData
*) &_result_ref
;
4700 wxPy_END_ALLOW_THREADS
;
4702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4703 _resultobj
= Py_BuildValue("s",_ptemp
);
4706 _resultobj
= Py_None
;
4711 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
4712 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
* _resultobj
;
4714 wxPyPrintout
* _result
;
4715 wxPrintPreview
* _arg0
;
4716 PyObject
* _argo0
= 0;
4717 char *_kwnames
[] = { "self", NULL
};
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
4723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
4730 wxPy_BEGIN_ALLOW_THREADS
;
4731 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
4733 wxPy_END_ALLOW_THREADS
;
4734 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4738 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
4739 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4741 wxPyPrintout
* _result
;
4742 wxPrintPreview
* _arg0
;
4743 PyObject
* _argo0
= 0;
4744 char *_kwnames
[] = { "self", NULL
};
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
4750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
4757 wxPy_BEGIN_ALLOW_THREADS
;
4758 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
4760 wxPy_END_ALLOW_THREADS
;
4761 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4765 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
4766 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
* _resultobj
;
4769 wxPrintPreview
* _arg0
;
4770 PyObject
* _argo0
= 0;
4771 char *_kwnames
[] = { "self", NULL
};
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
4777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
4784 wxPy_BEGIN_ALLOW_THREADS
;
4785 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
4787 wxPy_END_ALLOW_THREADS
;
4788 } _resultobj
= Py_BuildValue("i",_result
);
4792 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
4793 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
* _resultobj
;
4796 wxPrintPreview
* _arg0
;
4797 PyObject
* _argo0
= 0;
4798 char *_kwnames
[] = { "self", NULL
};
4801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
4804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
4811 wxPy_BEGIN_ALLOW_THREADS
;
4812 _result
= (bool )wxPrintPreview_Ok(_arg0
);
4814 wxPy_END_ALLOW_THREADS
;
4815 } _resultobj
= Py_BuildValue("i",_result
);
4819 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
4820 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
* _resultobj
;
4823 wxPrintPreview
* _arg0
;
4825 PyObject
* _argo0
= 0;
4827 char *_kwnames
[] = { "self","prompt", NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
4833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
4839 _arg1
= (bool ) tempbool1
;
4841 wxPy_BEGIN_ALLOW_THREADS
;
4842 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
4844 wxPy_END_ALLOW_THREADS
;
4845 } _resultobj
= Py_BuildValue("i",_result
);
4849 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
4850 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
* _resultobj
;
4852 wxPrintPreview
* _arg0
;
4854 PyObject
* _argo0
= 0;
4855 PyObject
* _argo1
= 0;
4856 char *_kwnames
[] = { "self","window", NULL
};
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
4862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
4869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
4876 wxPy_BEGIN_ALLOW_THREADS
;
4877 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
4879 wxPy_END_ALLOW_THREADS
;
4880 } Py_INCREF(Py_None
);
4881 _resultobj
= Py_None
;
4885 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
4886 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
* _resultobj
;
4888 wxPrintPreview
* _arg0
;
4890 PyObject
* _argo0
= 0;
4891 char *_kwnames
[] = { "self","pageNum", NULL
};
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
4897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
4904 wxPy_BEGIN_ALLOW_THREADS
;
4905 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
4907 wxPy_END_ALLOW_THREADS
;
4908 } Py_INCREF(Py_None
);
4909 _resultobj
= Py_None
;
4913 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
4914 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
* _resultobj
;
4916 wxPrintPreview
* _arg0
;
4918 PyObject
* _argo0
= 0;
4919 PyObject
* _argo1
= 0;
4920 char *_kwnames
[] = { "self","frame", NULL
};
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
4926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
4933 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4934 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
4940 wxPy_BEGIN_ALLOW_THREADS
;
4941 wxPrintPreview_SetFrame(_arg0
,_arg1
);
4943 wxPy_END_ALLOW_THREADS
;
4944 } Py_INCREF(Py_None
);
4945 _resultobj
= Py_None
;
4949 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
4950 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
* _resultobj
;
4952 wxPrintPreview
* _arg0
;
4953 wxPyPrintout
* _arg1
;
4954 PyObject
* _argo0
= 0;
4955 PyObject
* _argo1
= 0;
4956 char *_kwnames
[] = { "self","printout", NULL
};
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
4962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
4969 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4970 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
4976 wxPy_BEGIN_ALLOW_THREADS
;
4977 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
4979 wxPy_END_ALLOW_THREADS
;
4980 } Py_INCREF(Py_None
);
4981 _resultobj
= Py_None
;
4985 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
4986 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
* _resultobj
;
4988 wxPrintPreview
* _arg0
;
4990 PyObject
* _argo0
= 0;
4991 char *_kwnames
[] = { "self","percent", NULL
};
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
4997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
5004 wxPy_BEGIN_ALLOW_THREADS
;
5005 wxPrintPreview_SetZoom(_arg0
,_arg1
);
5007 wxPy_END_ALLOW_THREADS
;
5008 } Py_INCREF(Py_None
);
5009 _resultobj
= Py_None
;
5013 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
5014 wxPreviewFrame
*src
;
5016 src
= (wxPreviewFrame
*) ptr
;
5017 dest
= (wxFrame
*) src
;
5018 return (void *) dest
;
5021 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
5022 wxPreviewFrame
*src
;
5024 src
= (wxPreviewFrame
*) ptr
;
5025 dest
= (wxWindow
*) src
;
5026 return (void *) dest
;
5029 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
5030 wxPreviewFrame
*src
;
5032 src
= (wxPreviewFrame
*) ptr
;
5033 dest
= (wxEvtHandler
*) src
;
5034 return (void *) dest
;
5037 static void *SwigwxPreviewFrameTowxObject(void *ptr
) {
5038 wxPreviewFrame
*src
;
5040 src
= (wxPreviewFrame
*) ptr
;
5041 dest
= (wxObject
*) src
;
5042 return (void *) dest
;
5045 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5046 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
* _resultobj
;
5048 wxPreviewFrame
* _result
;
5049 wxPrintPreview
* _arg0
;
5052 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5053 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5054 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
5055 char * _arg6
= (char *) "frame";
5056 PyObject
* _argo0
= 0;
5057 PyObject
* _argo1
= 0;
5058 PyObject
* _obj2
= 0;
5060 PyObject
* _obj3
= 0;
5062 PyObject
* _obj4
= 0;
5063 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
5072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
5077 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5078 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
5084 #if PYTHON_API_VERSION >= 1009
5085 char* tmpPtr
; int tmpSize
;
5086 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5087 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5090 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5092 _arg2
= new wxString(tmpPtr
, tmpSize
);
5094 if (!PyString_Check(_obj2
)) {
5095 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5098 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5104 if (! wxPoint_helper(_obj3
, &_arg3
))
5110 if (! wxSize_helper(_obj4
, &_arg4
))
5114 wxPy_BEGIN_ALLOW_THREADS
;
5115 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5117 wxPy_END_ALLOW_THREADS
;
5119 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
5120 _resultobj
= Py_BuildValue("s",_ptemp
);
5123 _resultobj
= Py_None
;
5132 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
5133 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
* _resultobj
;
5135 wxPreviewFrame
* _arg0
;
5136 PyObject
* _argo0
= 0;
5137 char *_kwnames
[] = { "self", NULL
};
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
5143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
5145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
5150 wxPy_BEGIN_ALLOW_THREADS
;
5151 wxPreviewFrame_Initialize(_arg0
);
5153 wxPy_END_ALLOW_THREADS
;
5154 } Py_INCREF(Py_None
);
5155 _resultobj
= Py_None
;
5159 static PyMethodDef printfwcMethods
[] = {
5160 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5161 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
5162 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5163 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5164 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5165 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5166 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5167 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
5168 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5169 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5170 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5171 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5172 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5173 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5174 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5175 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5176 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5177 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5178 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
5179 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
5180 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
5181 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5182 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
5183 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5184 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
5185 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5186 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5187 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
5188 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
5189 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
5190 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5191 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5192 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
5193 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
5194 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
5195 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
5196 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5197 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
5198 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
5199 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
5200 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5201 { "wxPrintout__setSelf", (PyCFunction
) _wrap_wxPrintout__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
5202 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5203 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5204 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
5205 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5206 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5207 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5208 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5209 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5210 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5211 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5212 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5213 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5214 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5215 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5216 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5217 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5218 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5219 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5220 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5221 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5222 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5223 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5224 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5225 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
5226 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5227 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
5228 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5229 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5230 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5231 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5232 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
5233 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5234 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5235 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5236 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5237 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5238 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5239 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5240 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5241 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5242 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5243 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5244 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5245 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5246 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5247 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5248 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5249 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5250 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5251 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5252 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5253 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5254 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5255 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5256 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5257 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5258 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5259 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5260 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5261 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5262 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5263 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5264 { "new_wxPrinterDC2", (PyCFunction
) _wrap_new_wxPrinterDC2
, METH_VARARGS
| METH_KEYWORDS
},
5265 { "new_wxPrinterDC", (PyCFunction
) _wrap_new_wxPrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
5266 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5267 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
5268 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5269 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5270 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
5271 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5272 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5273 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5274 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5275 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5276 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5277 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5278 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5279 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5280 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5281 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5282 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5283 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5284 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5285 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5286 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5287 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5288 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5289 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5290 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5291 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5292 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
5293 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5294 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5295 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5296 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5297 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5298 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5299 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5300 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5301 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
5302 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5303 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5304 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5305 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5306 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5307 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5314 * This table is used by the pointer type-checker
5316 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5317 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5318 { "_wxEvent","_class_wxEvent",0},
5319 { "_class_wxActivateEvent","_wxActivateEvent",0},
5320 { "_signed_long","_long",0},
5321 { "_wxMenuEvent","_class_wxMenuEvent",0},
5322 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
5323 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
5324 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5325 { "_wxPrintQuality","_wxCoord",0},
5326 { "_wxPrintQuality","_int",0},
5327 { "_wxPrintQuality","_signed_int",0},
5328 { "_wxPrintQuality","_unsigned_int",0},
5329 { "_wxPrintQuality","_wxWindowID",0},
5330 { "_wxPrintQuality","_uint",0},
5331 { "_wxPrintQuality","_EBool",0},
5332 { "_wxPrintQuality","_size_t",0},
5333 { "_wxPrintQuality","_time_t",0},
5334 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
5335 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
5336 { "_wxFontData","_class_wxFontData",0},
5337 { "_class_wxRegionIterator","_wxRegionIterator",0},
5338 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
5339 { "_class_wxMenuBar","_wxMenuBar",0},
5340 { "_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5341 { "_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5342 { "_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5343 { "_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5344 { "_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5345 { "_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5346 { "_class_wxEvtHandler","_wxEvtHandler",0},
5347 { "_wxPaintEvent","_class_wxPaintEvent",0},
5348 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5349 { "_wxCursor","_class_wxCursor",0},
5350 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5351 { "_class_wxToolBarBase","_wxToolBarBase",0},
5352 { "_wxMask","_class_wxMask",0},
5353 { "_class_wxColourData","_wxColourData",0},
5354 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
5355 { "_wxPrinter","_class_wxPrinter",0},
5356 { "_wxPen","_class_wxPen",0},
5357 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5358 { "_byte","_unsigned_char",0},
5359 { "_wxDataObject","_class_wxDataObject",0},
5360 { "_wxStaticBox","_class_wxStaticBox",0},
5361 { "_wxColourDatabase","_class_wxColourDatabase",0},
5362 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
5363 { "_wxPyDropSource","_class_wxPyDropSource",0},
5364 { "_wxChoice","_class_wxChoice",0},
5365 { "_wxSlider","_class_wxSlider",0},
5366 { "_wxPyPrintout","_class_wxPyPrintout",0},
5367 { "_long","_unsigned_long",0},
5368 { "_long","_signed_long",0},
5369 { "_wxImageList","_class_wxImageList",0},
5370 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
5371 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5372 { "_wxBitmapButton","_class_wxBitmapButton",0},
5373 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
5374 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5375 { "_class_wxClipboard","_wxClipboard",0},
5376 { "_class_wxGauge","_wxGauge",0},
5377 { "_wxGDIObject","_class_wxGDIObject",0},
5378 { "_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
5379 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
5380 { "_wxDC","_class_wxDC",0},
5381 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
5382 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
5383 { "_wxProgressDialog","_class_wxProgressDialog",0},
5384 { "_wxPrintPreview","_class_wxPrintPreview",0},
5385 { "_class_wxObject","_class_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
5386 { "_class_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
5387 { "_class_wxObject","_class_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
5388 { "_class_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
5389 { "_class_wxObject","_class_wxPrinter",SwigwxPrinterTowxObject
},
5390 { "_class_wxObject","_wxPrinter",SwigwxPrinterTowxObject
},
5391 { "_class_wxObject","_class_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
5392 { "_class_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
5393 { "_class_wxObject","_class_wxPrintDialog",SwigwxPrintDialogTowxObject
},
5394 { "_class_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject
},
5395 { "_class_wxObject","_class_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
5396 { "_class_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
5397 { "_class_wxObject","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
5398 { "_class_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
5399 { "_class_wxObject","_class_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
5400 { "_class_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
5401 { "_class_wxObject","_class_wxPrinterDC",SwigwxPrinterDCTowxObject
},
5402 { "_class_wxObject","_wxPrinterDC",SwigwxPrinterDCTowxObject
},
5403 { "_class_wxObject","_class_wxPrintData",SwigwxPrintDataTowxObject
},
5404 { "_class_wxObject","_wxPrintData",SwigwxPrintDataTowxObject
},
5405 { "_class_wxObject","_wxObject",0},
5406 { "_wxSpinEvent","_class_wxSpinEvent",0},
5407 { "_size_t","_wxCoord",0},
5408 { "_size_t","_wxPrintQuality",0},
5409 { "_size_t","_time_t",0},
5410 { "_size_t","_unsigned_int",0},
5411 { "_size_t","_int",0},
5412 { "_size_t","_wxWindowID",0},
5413 { "_size_t","_uint",0},
5414 { "_class_wxRealPoint","_wxRealPoint",0},
5415 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5416 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5417 { "_wxPrinterDC","_class_wxPrinterDC",0},
5418 { "_class_wxMenuItem","_wxMenuItem",0},
5419 { "_class_wxPaintEvent","_wxPaintEvent",0},
5420 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5421 { "_class_wxStatusBar","_wxStatusBar",0},
5422 { "_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5423 { "_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5424 { "_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5425 { "_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5426 { "_wxPanel","_class_wxPanel",0},
5427 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5428 { "_wxCheckBox","_class_wxCheckBox",0},
5429 { "_wxPyEvent","_class_wxPyEvent",0},
5430 { "_wxTextCtrl","_class_wxTextCtrl",0},
5431 { "_class_wxMask","_wxMask",0},
5432 { "_wxTextDataObject","_class_wxTextDataObject",0},
5433 { "_class_wxKeyEvent","_wxKeyEvent",0},
5434 { "_wxColour","_class_wxColour",0},
5435 { "_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5436 { "_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5437 { "_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5438 { "_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5439 { "_class_wxDialog","_wxDialog",0},
5440 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
5441 { "_class_wxPrinter","_wxPrinter",0},
5442 { "_class_wxFileDataObject","_wxFileDataObject",0},
5443 { "_wxIdleEvent","_class_wxIdleEvent",0},
5444 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5445 { "_wxToolBar","_class_wxToolBar",0},
5446 { "_class_wxDataObject","_wxDataObject",0},
5447 { "_wxStaticLine","_class_wxStaticLine",0},
5448 { "_wxBrush","_class_wxBrush",0},
5449 { "_wxToggleButton","_class_wxToggleButton",0},
5450 { "_wxMiniFrame","_class_wxMiniFrame",0},
5451 { "_class_wxPyPrintout","_wxPyPrintout",0},
5452 { "_wxDataFormat","_class_wxDataFormat",0},
5453 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
5454 { "_wxShowEvent","_class_wxShowEvent",0},
5455 { "_uint","_wxCoord",0},
5456 { "_uint","_wxPrintQuality",0},
5457 { "_uint","_time_t",0},
5458 { "_uint","_size_t",0},
5459 { "_uint","_unsigned_int",0},
5460 { "_uint","_int",0},
5461 { "_uint","_wxWindowID",0},
5462 { "_wxChar","_char",0},
5463 { "_wxPyValidator","_class_wxPyValidator",0},
5464 { "_class_wxEvent","_wxEvent",0},
5465 { "_wxCheckListBox","_class_wxCheckListBox",0},
5466 { "_wxRect","_class_wxRect",0},
5467 { "_wxCommandEvent","_class_wxCommandEvent",0},
5468 { "_wxSizeEvent","_class_wxSizeEvent",0},
5469 { "_wxPoint","_class_wxPoint",0},
5470 { "_class_wxButton","_wxButton",0},
5471 { "_wxRadioBox","_class_wxRadioBox",0},
5472 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
5473 { "_class_wxFontData","_wxFontData",0},
5474 { "_char","_wxChar",0},
5475 { "_wxBitmap","_class_wxBitmap",0},
5476 { "_wxPenList","_class_wxPenList",0},
5477 { "_wxPrintDialog","_class_wxPrintDialog",0},
5478 { "_wxWindowDC","_class_wxWindowDC",0},
5479 { "_wxTimerEvent","_class_wxTimerEvent",0},
5480 { "_wxScrollBar","_class_wxScrollBar",0},
5481 { "_wxSpinButton","_class_wxSpinButton",0},
5482 { "_wxColourDialog","_class_wxColourDialog",0},
5483 { "_wxPrintData","_class_wxPrintData",0},
5484 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5485 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5486 { "_wxMessageDialog","_class_wxMessageDialog",0},
5487 { "_class_wxValidator","_wxValidator",0},
5488 { "_class_wxPyEvent","_wxPyEvent",0},
5489 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
5490 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5491 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5492 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
5493 { "_class_wxToolBar","_wxToolBar",0},
5494 { "_wxDropTarget","_class_wxDropTarget",0},
5495 { "_class_wxStaticLine","_wxStaticLine",0},
5496 { "_class_wxColourDatabase","_wxColourDatabase",0},
5497 { "_wxScrollEvent","_class_wxScrollEvent",0},
5498 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
5499 { "_EBool","_wxCoord",0},
5500 { "_EBool","_wxPrintQuality",0},
5501 { "_EBool","_signed_int",0},
5502 { "_EBool","_int",0},
5503 { "_EBool","_wxWindowID",0},
5504 { "_class_wxRegion","_wxRegion",0},
5505 { "_class_wxDataFormat","_wxDataFormat",0},
5506 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5507 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5508 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
5509 { "_wxStaticText","_class_wxStaticText",0},
5510 { "_wxFont","_class_wxFont",0},
5511 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
5512 { "_wxCloseEvent","_class_wxCloseEvent",0},
5513 { "_unsigned_long","_long",0},
5514 { "_class_wxRect","_wxRect",0},
5515 { "_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
5516 { "_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
5517 { "_class_wxDC","_wxDC",0},
5518 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5519 { "_class_wxProgressDialog","_wxProgressDialog",0},
5520 { "_class_wxBrushList","_wxBrushList",0},
5521 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5522 { "_class_wxPenList","_wxPenList",0},
5523 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5524 { "_class_wxDirDialog","_wxDirDialog",0},
5525 { "_wxFocusEvent","_class_wxFocusEvent",0},
5526 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5527 { "_class_wxTimerEvent","_wxTimerEvent",0},
5528 { "_class_wxSpinButton","_wxSpinButton",0},
5529 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5530 { "_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5531 { "_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5532 { "_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5533 { "_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5534 { "_class_wxPanel","_wxPanel",0},
5535 { "_class_wxCheckBox","_wxCheckBox",0},
5536 { "_wxComboBox","_class_wxComboBox",0},
5537 { "_wxRadioButton","_class_wxRadioButton",0},
5538 { "_class_wxMessageDialog","_wxMessageDialog",0},
5539 { "_signed_int","_wxCoord",0},
5540 { "_signed_int","_wxPrintQuality",0},
5541 { "_signed_int","_EBool",0},
5542 { "_signed_int","_wxWindowID",0},
5543 { "_signed_int","_int",0},
5544 { "_class_wxTextCtrl","_wxTextCtrl",0},
5545 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5546 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
5547 { "_class_wxTextDataObject","_wxTextDataObject",0},
5548 { "_wxMenu","_class_wxMenu",0},
5549 { "_class_wxMoveEvent","_wxMoveEvent",0},
5550 { "_wxListBox","_class_wxListBox",0},
5551 { "_wxScreenDC","_class_wxScreenDC",0},
5552 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
5553 { "_WXTYPE","_short",0},
5554 { "_WXTYPE","_signed_short",0},
5555 { "_WXTYPE","_unsigned_short",0},
5556 { "_wxFileDialog","_class_wxFileDialog",0},
5557 { "_class_wxDropTarget","_wxDropTarget",0},
5558 { "_class_wxBrush","_wxBrush",0},
5559 { "_unsigned_short","_WXTYPE",0},
5560 { "_unsigned_short","_short",0},
5561 { "_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5562 { "_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5563 { "_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5564 { "_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5565 { "_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5566 { "_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5567 { "_class_wxWindow","_wxWindow",0},
5568 { "_class_wxStaticText","_wxStaticText",0},
5569 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
5570 { "_class_wxFont","_wxFont",0},
5571 { "_wxClipboard","_class_wxClipboard",0},
5572 { "_class_wxPyValidator","_wxPyValidator",0},
5573 { "_class_wxCloseEvent","_wxCloseEvent",0},
5574 { "_wxBusyInfo","_class_wxBusyInfo",0},
5575 { "_wxFontList","_class_wxFontList",0},
5576 { "_class_wxMenuEvent","_wxMenuEvent",0},
5577 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5578 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
5579 { "_wxClientDC","_class_wxClientDC",0},
5580 { "_wxMouseEvent","_class_wxMouseEvent",0},
5581 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
5582 { "_wxObject","_class_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
5583 { "_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
5584 { "_wxObject","_class_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
5585 { "_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
5586 { "_wxObject","_class_wxPrinter",SwigwxPrinterTowxObject
},
5587 { "_wxObject","_wxPrinter",SwigwxPrinterTowxObject
},
5588 { "_wxObject","_class_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
5589 { "_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
5590 { "_wxObject","_class_wxPrintDialog",SwigwxPrintDialogTowxObject
},
5591 { "_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject
},
5592 { "_wxObject","_class_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
5593 { "_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
5594 { "_wxObject","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
5595 { "_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
5596 { "_wxObject","_class_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
5597 { "_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
5598 { "_wxObject","_class_wxPrinterDC",SwigwxPrinterDCTowxObject
},
5599 { "_wxObject","_wxPrinterDC",SwigwxPrinterDCTowxObject
},
5600 { "_wxObject","_class_wxPrintData",SwigwxPrintDataTowxObject
},
5601 { "_wxObject","_wxPrintData",SwigwxPrintDataTowxObject
},
5602 { "_wxObject","_class_wxObject",0},
5603 { "_class_wxPoint","_wxPoint",0},
5604 { "_wxRealPoint","_class_wxRealPoint",0},
5605 { "_class_wxRadioBox","_wxRadioBox",0},
5606 { "_signed_short","_WXTYPE",0},
5607 { "_signed_short","_short",0},
5608 { "_wxMemoryDC","_class_wxMemoryDC",0},
5609 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
5610 { "_class_wxPrintDialog","_wxPrintDialog",0},
5611 { "_wxPaintDC","_class_wxPaintDC",0},
5612 { "_class_wxWindowDC","_wxWindowDC",0},
5613 { "_class_wxFocusEvent","_wxFocusEvent",0},
5614 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5615 { "_wxStatusBar","_class_wxStatusBar",0},
5616 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5617 { "_class_wxCursor","_wxCursor",0},
5618 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
5619 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5620 { "_unsigned_char","_byte",0},
5621 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
5622 { "_class_wxMenu","_wxMenu",0},
5623 { "_wxControl","_class_wxControl",0},
5624 { "_class_wxListBox","_wxListBox",0},
5625 { "_unsigned_int","_wxCoord",0},
5626 { "_unsigned_int","_wxPrintQuality",0},
5627 { "_unsigned_int","_time_t",0},
5628 { "_unsigned_int","_size_t",0},
5629 { "_unsigned_int","_uint",0},
5630 { "_unsigned_int","_wxWindowID",0},
5631 { "_unsigned_int","_int",0},
5632 { "_wxIcon","_class_wxIcon",0},
5633 { "_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5634 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5635 { "_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5636 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5637 { "_wxDialog","_class_wxDialog",0},
5638 { "_class_wxPen","_wxPen",0},
5639 { "_class_wxFileDialog","_wxFileDialog",0},
5640 { "_short","_WXTYPE",0},
5641 { "_short","_unsigned_short",0},
5642 { "_short","_signed_short",0},
5643 { "_class_wxStaticBox","_wxStaticBox",0},
5644 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
5645 { "_class_wxPyDropSource","_wxPyDropSource",0},
5646 { "_class_wxScrollEvent","_wxScrollEvent",0},
5647 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5648 { "_class_wxChoice","_wxChoice",0},
5649 { "_class_wxSlider","_wxSlider",0},
5650 { "_class_wxImageList","_wxImageList",0},
5651 { "_class_wxBitmapButton","_wxBitmapButton",0},
5652 { "_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5653 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5654 { "_wxFrame","_class_wxFrame",0},
5655 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5656 { "_wxWindowID","_wxCoord",0},
5657 { "_wxWindowID","_wxPrintQuality",0},
5658 { "_wxWindowID","_time_t",0},
5659 { "_wxWindowID","_size_t",0},
5660 { "_wxWindowID","_EBool",0},
5661 { "_wxWindowID","_uint",0},
5662 { "_wxWindowID","_int",0},
5663 { "_wxWindowID","_signed_int",0},
5664 { "_wxWindowID","_unsigned_int",0},
5665 { "_class_wxGDIObject","_wxGDIObject",0},
5666 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5667 { "_int","_wxCoord",0},
5668 { "_int","_wxPrintQuality",0},
5669 { "_int","_time_t",0},
5670 { "_int","_size_t",0},
5671 { "_int","_EBool",0},
5672 { "_int","_uint",0},
5673 { "_int","_wxWindowID",0},
5674 { "_int","_unsigned_int",0},
5675 { "_int","_signed_int",0},
5676 { "_class_wxMouseEvent","_wxMouseEvent",0},
5677 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5678 { "_class_wxPrintPreview","_wxPrintPreview",0},
5679 { "_class_wxSpinEvent","_wxSpinEvent",0},
5680 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5681 { "_time_t","_wxCoord",0},
5682 { "_time_t","_wxPrintQuality",0},
5683 { "_time_t","_unsigned_int",0},
5684 { "_time_t","_int",0},
5685 { "_time_t","_wxWindowID",0},
5686 { "_time_t","_uint",0},
5687 { "_time_t","_size_t",0},
5688 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5689 { "_wxButton","_class_wxButton",0},
5690 { "_wxSize","_class_wxSize",0},
5691 { "_wxRegionIterator","_class_wxRegionIterator",0},
5692 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
5693 { "_class_wxPrinterDC","_wxPrinterDC",0},
5694 { "_class_wxPaintDC","_wxPaintDC",0},
5695 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5696 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
5697 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5698 { "_class_wxComboBox","_wxComboBox",0},
5699 { "_class_wxRadioButton","_wxRadioButton",0},
5700 { "_wxValidator","_class_wxValidator",0},
5701 { "_wxToolBarBase","_class_wxToolBarBase",0},
5702 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5703 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5704 { "_class_wxControl","_wxControl",0},
5705 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5706 { "_class_wxIcon","_wxIcon",0},
5707 { "_class_wxColour","_wxColour",0},
5708 { "_class_wxScreenDC","_wxScreenDC",0},
5709 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
5710 { "_wxPalette","_class_wxPalette",0},
5711 { "_class_wxIdleEvent","_wxIdleEvent",0},
5712 { "_wxCoord","_int",0},
5713 { "_wxCoord","_signed_int",0},
5714 { "_wxCoord","_unsigned_int",0},
5715 { "_wxCoord","_wxWindowID",0},
5716 { "_wxCoord","_uint",0},
5717 { "_wxCoord","_EBool",0},
5718 { "_wxCoord","_size_t",0},
5719 { "_wxCoord","_time_t",0},
5720 { "_wxCoord","_wxPrintQuality",0},
5721 { "_wxEraseEvent","_class_wxEraseEvent",0},
5722 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
5723 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5724 { "_class_wxToggleButton","_wxToggleButton",0},
5725 { "_class_wxMiniFrame","_wxMiniFrame",0},
5726 { "_wxFontDialog","_class_wxFontDialog",0},
5727 { "_wxRegion","_class_wxRegion",0},
5728 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
5729 { "_class_wxShowEvent","_wxShowEvent",0},
5730 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
5731 { "_wxActivateEvent","_class_wxActivateEvent",0},
5732 { "_wxGauge","_class_wxGauge",0},
5733 { "_class_wxCheckListBox","_wxCheckListBox",0},
5734 { "_class_wxBusyInfo","_wxBusyInfo",0},
5735 { "_class_wxFontList","_wxFontList",0},
5736 { "_class_wxCommandEvent","_wxCommandEvent",0},
5737 { "_class_wxClientDC","_wxClientDC",0},
5738 { "_class_wxSizeEvent","_wxSizeEvent",0},
5739 { "_wxBrushList","_class_wxBrushList",0},
5740 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
5741 { "_class_wxSize","_wxSize",0},
5742 { "_class_wxBitmap","_wxBitmap",0},
5743 { "_class_wxMemoryDC","_wxMemoryDC",0},
5744 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
5745 { "_wxMenuBar","_class_wxMenuBar",0},
5746 { "_wxDirDialog","_class_wxDirDialog",0},
5747 { "_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5748 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5749 { "_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5750 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5751 { "_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5752 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5753 { "_wxEvtHandler","_class_wxEvtHandler",0},
5754 { "_wxMenuItem","_class_wxMenuItem",0},
5755 { "_class_wxScrollBar","_wxScrollBar",0},
5756 { "_class_wxColourDialog","_wxColourDialog",0},
5757 { "_class_wxPrintData","_wxPrintData",0},
5758 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5759 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
5760 { "_wxKeyEvent","_class_wxKeyEvent",0},
5761 { "_wxMoveEvent","_class_wxMoveEvent",0},
5762 { "_wxColourData","_class_wxColourData",0},
5763 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
5764 { "_class_wxPalette","_wxPalette",0},
5765 { "_wxFileDataObject","_class_wxFileDataObject",0},
5766 { "_class_wxEraseEvent","_wxEraseEvent",0},
5767 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
5768 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
5769 { "_class_wxFontDialog","_wxFontDialog",0},
5770 { "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5771 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5772 { "_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5773 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5774 { "_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5775 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5776 { "_wxWindow","_class_wxWindow",0},
5777 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5778 { "_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5779 { "_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5780 { "_class_wxFrame","_wxFrame",0},
5783 static PyObject
*SWIG_globals
;
5787 SWIGEXPORT(void) initprintfwc() {
5789 SWIG_globals
= SWIG_newvarlink();
5790 m
= Py_InitModule("printfwc", printfwcMethods
);
5791 d
= PyModule_GetDict(m
);
5793 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
5796 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5797 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);