2 * FILE : src/gtk/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 static char* wxStringErrorMsg
= "string type is required for parameter";
114 // Since this one would be tough and ugly to do with the Macros...
115 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
118 bool doSave
= wxPyRestoreThread();
119 if (m_myInst
.findCallback("GetPageInfo")) {
120 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
121 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
124 val
= PyTuple_GetItem(result
, 0);
125 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
128 val
= PyTuple_GetItem(result
, 1);
129 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
132 val
= PyTuple_GetItem(result
, 2);
133 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
136 val
= PyTuple_GetItem(result
, 3);
137 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
144 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
150 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
152 wxPySaveThread(doSave
);
155 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
156 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
160 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
161 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
162 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
163 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
164 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
165 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
166 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
172 #define new_wxPrintData() (new wxPrintData())
173 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
174 PyObject
* _resultobj
;
175 wxPrintData
* _result
;
176 char *_kwnames
[] = { NULL
};
180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
183 wxPy_BEGIN_ALLOW_THREADS
;
184 _result
= (wxPrintData
*)new_wxPrintData();
186 wxPy_END_ALLOW_THREADS
;
188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
189 _resultobj
= Py_BuildValue("s",_ptemp
);
192 _resultobj
= Py_None
;
197 #define delete_wxPrintData(_swigobj) (delete _swigobj)
198 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
201 PyObject
* _argo0
= 0;
202 char *_kwnames
[] = { "self", NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
215 wxPy_BEGIN_ALLOW_THREADS
;
216 delete_wxPrintData(_arg0
);
218 wxPy_END_ALLOW_THREADS
;
219 } Py_INCREF(Py_None
);
220 _resultobj
= Py_None
;
224 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
225 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
229 PyObject
* _argo0
= 0;
230 char *_kwnames
[] = { "self", NULL
};
233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
243 wxPy_BEGIN_ALLOW_THREADS
;
244 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
246 wxPy_END_ALLOW_THREADS
;
247 } _resultobj
= Py_BuildValue("i",_result
);
251 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
252 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
253 PyObject
* _resultobj
;
256 PyObject
* _argo0
= 0;
257 char *_kwnames
[] = { "self", NULL
};
260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
270 wxPy_BEGIN_ALLOW_THREADS
;
271 _result
= (bool )wxPrintData_GetCollate(_arg0
);
273 wxPy_END_ALLOW_THREADS
;
274 } _resultobj
= Py_BuildValue("i",_result
);
278 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
279 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
280 PyObject
* _resultobj
;
283 PyObject
* _argo0
= 0;
284 char *_kwnames
[] = { "self", NULL
};
287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
297 wxPy_BEGIN_ALLOW_THREADS
;
298 _result
= (int )wxPrintData_GetOrientation(_arg0
);
300 wxPy_END_ALLOW_THREADS
;
301 } _resultobj
= Py_BuildValue("i",_result
);
305 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
306 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
310 PyObject
* _argo0
= 0;
311 char *_kwnames
[] = { "self", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
324 wxPy_BEGIN_ALLOW_THREADS
;
325 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
326 _result
= (wxString
*) &_result_ref
;
328 wxPy_END_ALLOW_THREADS
;
330 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
335 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
336 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
337 PyObject
* _resultobj
;
340 PyObject
* _argo0
= 0;
341 char *_kwnames
[] = { "self", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
354 wxPy_BEGIN_ALLOW_THREADS
;
355 _result
= (bool )wxPrintData_GetColour(_arg0
);
357 wxPy_END_ALLOW_THREADS
;
358 } _resultobj
= Py_BuildValue("i",_result
);
362 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
363 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
364 PyObject
* _resultobj
;
365 wxDuplexMode _result
;
367 PyObject
* _argo0
= 0;
368 char *_kwnames
[] = { "self", NULL
};
371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
381 wxPy_BEGIN_ALLOW_THREADS
;
382 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
384 wxPy_END_ALLOW_THREADS
;
385 } _resultobj
= Py_BuildValue("i",_result
);
389 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
390 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
391 PyObject
* _resultobj
;
394 PyObject
* _argo0
= 0;
395 char *_kwnames
[] = { "self", NULL
};
398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
408 wxPy_BEGIN_ALLOW_THREADS
;
409 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
411 wxPy_END_ALLOW_THREADS
;
412 } _resultobj
= Py_BuildValue("i",_result
);
416 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
417 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
421 PyObject
* _argo0
= 0;
422 char *_kwnames
[] = { "self", NULL
};
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
436 wxPy_BEGIN_ALLOW_THREADS
;
437 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
438 _result
= (wxSize
*) &_result_ref
;
440 wxPy_END_ALLOW_THREADS
;
442 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
443 _resultobj
= Py_BuildValue("s",_ptemp
);
446 _resultobj
= Py_None
;
451 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
452 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
454 wxPrintQuality _result
;
456 PyObject
* _argo0
= 0;
457 char *_kwnames
[] = { "self", NULL
};
460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
470 wxPy_BEGIN_ALLOW_THREADS
;
471 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
473 wxPy_END_ALLOW_THREADS
;
474 } _resultobj
= Py_BuildValue("i",_result
);
478 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
479 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
483 PyObject
* _argo0
= 0;
484 char *_kwnames
[] = { "self","v", NULL
};
487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
497 wxPy_BEGIN_ALLOW_THREADS
;
498 wxPrintData_SetNoCopies(_arg0
,_arg1
);
500 wxPy_END_ALLOW_THREADS
;
501 } Py_INCREF(Py_None
);
502 _resultobj
= Py_None
;
506 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
507 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
508 PyObject
* _resultobj
;
511 PyObject
* _argo0
= 0;
513 char *_kwnames
[] = { "self","flag", NULL
};
516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
525 _arg1
= (bool ) tempbool1
;
527 wxPy_BEGIN_ALLOW_THREADS
;
528 wxPrintData_SetCollate(_arg0
,_arg1
);
530 wxPy_END_ALLOW_THREADS
;
531 } Py_INCREF(Py_None
);
532 _resultobj
= Py_None
;
536 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
537 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
538 PyObject
* _resultobj
;
541 PyObject
* _argo0
= 0;
542 char *_kwnames
[] = { "self","orient", NULL
};
545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
555 wxPy_BEGIN_ALLOW_THREADS
;
556 wxPrintData_SetOrientation(_arg0
,_arg1
);
558 wxPy_END_ALLOW_THREADS
;
559 } Py_INCREF(Py_None
);
560 _resultobj
= Py_None
;
564 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
565 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
566 PyObject
* _resultobj
;
569 PyObject
* _argo0
= 0;
570 PyObject
* _obj1
= 0;
571 char *_kwnames
[] = { "self","name", NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
584 #if PYTHON_API_VERSION >= 1009
585 char* tmpPtr
; int tmpSize
;
586 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
587 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
590 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
592 _arg1
= new wxString(tmpPtr
, tmpSize
);
594 if (!PyString_Check(_obj1
)) {
595 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
598 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
602 wxPy_BEGIN_ALLOW_THREADS
;
603 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
605 wxPy_END_ALLOW_THREADS
;
606 } Py_INCREF(Py_None
);
607 _resultobj
= Py_None
;
615 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
616 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 PyObject
* _resultobj
;
620 PyObject
* _argo0
= 0;
622 char *_kwnames
[] = { "self","colour", NULL
};
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
634 _arg1
= (bool ) tempbool1
;
636 wxPy_BEGIN_ALLOW_THREADS
;
637 wxPrintData_SetColour(_arg0
,_arg1
);
639 wxPy_END_ALLOW_THREADS
;
640 } Py_INCREF(Py_None
);
641 _resultobj
= Py_None
;
645 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
646 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
647 PyObject
* _resultobj
;
650 PyObject
* _argo0
= 0;
651 char *_kwnames
[] = { "self","duplex", NULL
};
654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
664 wxPy_BEGIN_ALLOW_THREADS
;
665 wxPrintData_SetDuplex(_arg0
,_arg1
);
667 wxPy_END_ALLOW_THREADS
;
668 } Py_INCREF(Py_None
);
669 _resultobj
= Py_None
;
673 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
674 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
675 PyObject
* _resultobj
;
678 PyObject
* _argo0
= 0;
679 char *_kwnames
[] = { "self","sizeId", NULL
};
682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
692 wxPy_BEGIN_ALLOW_THREADS
;
693 wxPrintData_SetPaperId(_arg0
,_arg1
);
695 wxPy_END_ALLOW_THREADS
;
696 } Py_INCREF(Py_None
);
697 _resultobj
= Py_None
;
701 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
702 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 PyObject
* _resultobj
;
706 PyObject
* _argo0
= 0;
708 PyObject
* _obj1
= 0;
709 char *_kwnames
[] = { "self","sz", NULL
};
712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
723 if (! wxSize_helper(_obj1
, &_arg1
))
727 wxPy_BEGIN_ALLOW_THREADS
;
728 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
730 wxPy_END_ALLOW_THREADS
;
731 } Py_INCREF(Py_None
);
732 _resultobj
= Py_None
;
736 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
737 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
740 wxPrintQuality _arg1
;
741 PyObject
* _argo0
= 0;
742 char *_kwnames
[] = { "self","quality", NULL
};
745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
755 wxPy_BEGIN_ALLOW_THREADS
;
756 wxPrintData_SetQuality(_arg0
,_arg1
);
758 wxPy_END_ALLOW_THREADS
;
759 } Py_INCREF(Py_None
);
760 _resultobj
= Py_None
;
764 #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
765 static PyObject
*_wrap_wxPrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
766 PyObject
* _resultobj
;
769 PyObject
* _argo0
= 0;
770 char *_kwnames
[] = { "self", NULL
};
773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterCommand",_kwnames
,&_argo0
))
776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
783 wxPy_BEGIN_ALLOW_THREADS
;
784 const wxString
& _result_ref
= wxPrintData_GetPrinterCommand(_arg0
);
785 _result
= (wxString
*) &_result_ref
;
787 wxPy_END_ALLOW_THREADS
;
789 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
794 #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
795 static PyObject
*_wrap_wxPrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
799 PyObject
* _argo0
= 0;
800 char *_kwnames
[] = { "self", NULL
};
803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterOptions",_kwnames
,&_argo0
))
806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
813 wxPy_BEGIN_ALLOW_THREADS
;
814 const wxString
& _result_ref
= wxPrintData_GetPrinterOptions(_arg0
);
815 _result
= (wxString
*) &_result_ref
;
817 wxPy_END_ALLOW_THREADS
;
819 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
824 #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
825 static PyObject
*_wrap_wxPrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
826 PyObject
* _resultobj
;
829 PyObject
* _argo0
= 0;
830 char *_kwnames
[] = { "self", NULL
};
833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPreviewCommand",_kwnames
,&_argo0
))
836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
843 wxPy_BEGIN_ALLOW_THREADS
;
844 const wxString
& _result_ref
= wxPrintData_GetPreviewCommand(_arg0
);
845 _result
= (wxString
*) &_result_ref
;
847 wxPy_END_ALLOW_THREADS
;
849 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
854 #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
855 static PyObject
*_wrap_wxPrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
856 PyObject
* _resultobj
;
859 PyObject
* _argo0
= 0;
860 char *_kwnames
[] = { "self", NULL
};
863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFilename",_kwnames
,&_argo0
))
866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p.");
873 wxPy_BEGIN_ALLOW_THREADS
;
874 const wxString
& _result_ref
= wxPrintData_GetFilename(_arg0
);
875 _result
= (wxString
*) &_result_ref
;
877 wxPy_END_ALLOW_THREADS
;
879 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
884 #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
885 static PyObject
*_wrap_wxPrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
886 PyObject
* _resultobj
;
889 PyObject
* _argo0
= 0;
890 char *_kwnames
[] = { "self", NULL
};
893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFontMetricPath",_kwnames
,&_argo0
))
896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
903 wxPy_BEGIN_ALLOW_THREADS
;
904 const wxString
& _result_ref
= wxPrintData_GetFontMetricPath(_arg0
);
905 _result
= (wxString
*) &_result_ref
;
907 wxPy_END_ALLOW_THREADS
;
909 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
914 #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
915 static PyObject
*_wrap_wxPrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
919 PyObject
* _argo0
= 0;
920 char *_kwnames
[] = { "self", NULL
};
923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleX",_kwnames
,&_argo0
))
926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
933 wxPy_BEGIN_ALLOW_THREADS
;
934 _result
= (double )wxPrintData_GetPrinterScaleX(_arg0
);
936 wxPy_END_ALLOW_THREADS
;
937 } _resultobj
= Py_BuildValue("d",_result
);
941 #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
942 static PyObject
*_wrap_wxPrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
943 PyObject
* _resultobj
;
946 PyObject
* _argo0
= 0;
947 char *_kwnames
[] = { "self", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleY",_kwnames
,&_argo0
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
960 wxPy_BEGIN_ALLOW_THREADS
;
961 _result
= (double )wxPrintData_GetPrinterScaleY(_arg0
);
963 wxPy_END_ALLOW_THREADS
;
964 } _resultobj
= Py_BuildValue("d",_result
);
968 #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
969 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
970 PyObject
* _resultobj
;
973 PyObject
* _argo0
= 0;
974 char *_kwnames
[] = { "self", NULL
};
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateX",_kwnames
,&_argo0
))
980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
987 wxPy_BEGIN_ALLOW_THREADS
;
988 _result
= (long )wxPrintData_GetPrinterTranslateX(_arg0
);
990 wxPy_END_ALLOW_THREADS
;
991 } _resultobj
= Py_BuildValue("l",_result
);
995 #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
996 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
997 PyObject
* _resultobj
;
1000 PyObject
* _argo0
= 0;
1001 char *_kwnames
[] = { "self", NULL
};
1004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateY",_kwnames
,&_argo0
))
1007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1014 wxPy_BEGIN_ALLOW_THREADS
;
1015 _result
= (long )wxPrintData_GetPrinterTranslateY(_arg0
);
1017 wxPy_END_ALLOW_THREADS
;
1018 } _resultobj
= Py_BuildValue("l",_result
);
1022 #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1023 static PyObject
*_wrap_wxPrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1025 wxPrintMode
* _result
;
1026 wxPrintData
* _arg0
;
1027 PyObject
* _argo0
= 0;
1028 char *_kwnames
[] = { "self", NULL
};
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrintMode",_kwnames
,&_argo0
))
1035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1042 wxPy_BEGIN_ALLOW_THREADS
;
1043 _result
= new wxPrintMode (wxPrintData_GetPrintMode(_arg0
));
1045 wxPy_END_ALLOW_THREADS
;
1046 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPrintMode_p");
1047 _resultobj
= Py_BuildValue("s",_ptemp
);
1051 #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1052 static PyObject
*_wrap_wxPrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1053 PyObject
* _resultobj
;
1054 wxPrintData
* _arg0
;
1056 PyObject
* _argo0
= 0;
1057 PyObject
* _obj1
= 0;
1058 char *_kwnames
[] = { "self","command", NULL
};
1061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterCommand",_kwnames
,&_argo0
,&_obj1
))
1064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1071 #if PYTHON_API_VERSION >= 1009
1072 char* tmpPtr
; int tmpSize
;
1073 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1074 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1077 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1079 _arg1
= new wxString(tmpPtr
, tmpSize
);
1081 if (!PyString_Check(_obj1
)) {
1082 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1085 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1089 wxPy_BEGIN_ALLOW_THREADS
;
1090 wxPrintData_SetPrinterCommand(_arg0
,*_arg1
);
1092 wxPy_END_ALLOW_THREADS
;
1093 } Py_INCREF(Py_None
);
1094 _resultobj
= Py_None
;
1102 #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1103 static PyObject
*_wrap_wxPrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1104 PyObject
* _resultobj
;
1105 wxPrintData
* _arg0
;
1107 PyObject
* _argo0
= 0;
1108 PyObject
* _obj1
= 0;
1109 char *_kwnames
[] = { "self","options", NULL
};
1112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterOptions",_kwnames
,&_argo0
,&_obj1
))
1115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1122 #if PYTHON_API_VERSION >= 1009
1123 char* tmpPtr
; int tmpSize
;
1124 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1125 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1128 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1130 _arg1
= new wxString(tmpPtr
, tmpSize
);
1132 if (!PyString_Check(_obj1
)) {
1133 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1136 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1140 wxPy_BEGIN_ALLOW_THREADS
;
1141 wxPrintData_SetPrinterOptions(_arg0
,*_arg1
);
1143 wxPy_END_ALLOW_THREADS
;
1144 } Py_INCREF(Py_None
);
1145 _resultobj
= Py_None
;
1153 #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1154 static PyObject
*_wrap_wxPrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1156 wxPrintData
* _arg0
;
1158 PyObject
* _argo0
= 0;
1159 PyObject
* _obj1
= 0;
1160 char *_kwnames
[] = { "self","command", NULL
};
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPreviewCommand",_kwnames
,&_argo0
,&_obj1
))
1166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1173 #if PYTHON_API_VERSION >= 1009
1174 char* tmpPtr
; int tmpSize
;
1175 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1176 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1179 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1181 _arg1
= new wxString(tmpPtr
, tmpSize
);
1183 if (!PyString_Check(_obj1
)) {
1184 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1187 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1191 wxPy_BEGIN_ALLOW_THREADS
;
1192 wxPrintData_SetPreviewCommand(_arg0
,*_arg1
);
1194 wxPy_END_ALLOW_THREADS
;
1195 } Py_INCREF(Py_None
);
1196 _resultobj
= Py_None
;
1204 #define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1205 static PyObject
*_wrap_wxPrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1206 PyObject
* _resultobj
;
1207 wxPrintData
* _arg0
;
1209 PyObject
* _argo0
= 0;
1210 PyObject
* _obj1
= 0;
1211 char *_kwnames
[] = { "self","filename", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p.");
1224 #if PYTHON_API_VERSION >= 1009
1225 char* tmpPtr
; int tmpSize
;
1226 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1227 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1230 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1232 _arg1
= new wxString(tmpPtr
, tmpSize
);
1234 if (!PyString_Check(_obj1
)) {
1235 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1238 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1242 wxPy_BEGIN_ALLOW_THREADS
;
1243 wxPrintData_SetFilename(_arg0
,*_arg1
);
1245 wxPy_END_ALLOW_THREADS
;
1246 } Py_INCREF(Py_None
);
1247 _resultobj
= Py_None
;
1255 #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1256 static PyObject
*_wrap_wxPrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
* _resultobj
;
1258 wxPrintData
* _arg0
;
1260 PyObject
* _argo0
= 0;
1261 PyObject
* _obj1
= 0;
1262 char *_kwnames
[] = { "self","path", NULL
};
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFontMetricPath",_kwnames
,&_argo0
,&_obj1
))
1268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1275 #if PYTHON_API_VERSION >= 1009
1276 char* tmpPtr
; int tmpSize
;
1277 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1278 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1281 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1283 _arg1
= new wxString(tmpPtr
, tmpSize
);
1285 if (!PyString_Check(_obj1
)) {
1286 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1289 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1293 wxPy_BEGIN_ALLOW_THREADS
;
1294 wxPrintData_SetFontMetricPath(_arg0
,*_arg1
);
1296 wxPy_END_ALLOW_THREADS
;
1297 } Py_INCREF(Py_None
);
1298 _resultobj
= Py_None
;
1306 #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1307 static PyObject
*_wrap_wxPrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
* _resultobj
;
1309 wxPrintData
* _arg0
;
1311 PyObject
* _argo0
= 0;
1312 char *_kwnames
[] = { "self","x", NULL
};
1315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleX",_kwnames
,&_argo0
,&_arg1
))
1318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p.");
1325 wxPy_BEGIN_ALLOW_THREADS
;
1326 wxPrintData_SetPrinterScaleX(_arg0
,_arg1
);
1328 wxPy_END_ALLOW_THREADS
;
1329 } Py_INCREF(Py_None
);
1330 _resultobj
= Py_None
;
1334 #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1335 static PyObject
*_wrap_wxPrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1337 wxPrintData
* _arg0
;
1339 PyObject
* _argo0
= 0;
1340 char *_kwnames
[] = { "self","y", NULL
};
1343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleY",_kwnames
,&_argo0
,&_arg1
))
1346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p.");
1353 wxPy_BEGIN_ALLOW_THREADS
;
1354 wxPrintData_SetPrinterScaleY(_arg0
,_arg1
);
1356 wxPy_END_ALLOW_THREADS
;
1357 } Py_INCREF(Py_None
);
1358 _resultobj
= Py_None
;
1362 #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1363 static PyObject
*_wrap_wxPrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
* _resultobj
;
1365 wxPrintData
* _arg0
;
1368 PyObject
* _argo0
= 0;
1369 char *_kwnames
[] = { "self","x","y", NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPrintData_SetPrinterScaling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaling. Expected _wxPrintData_p.");
1382 wxPy_BEGIN_ALLOW_THREADS
;
1383 wxPrintData_SetPrinterScaling(_arg0
,_arg1
,_arg2
);
1385 wxPy_END_ALLOW_THREADS
;
1386 } Py_INCREF(Py_None
);
1387 _resultobj
= Py_None
;
1391 #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1392 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
* _resultobj
;
1394 wxPrintData
* _arg0
;
1396 PyObject
* _argo0
= 0;
1397 char *_kwnames
[] = { "self","x", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames
,&_argo0
,&_arg1
))
1403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p.");
1410 wxPy_BEGIN_ALLOW_THREADS
;
1411 wxPrintData_SetPrinterTranslateX(_arg0
,_arg1
);
1413 wxPy_END_ALLOW_THREADS
;
1414 } Py_INCREF(Py_None
);
1415 _resultobj
= Py_None
;
1419 #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1420 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
* _resultobj
;
1422 wxPrintData
* _arg0
;
1424 PyObject
* _argo0
= 0;
1425 char *_kwnames
[] = { "self","y", NULL
};
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames
,&_argo0
,&_arg1
))
1431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1438 wxPy_BEGIN_ALLOW_THREADS
;
1439 wxPrintData_SetPrinterTranslateY(_arg0
,_arg1
);
1441 wxPy_END_ALLOW_THREADS
;
1442 } Py_INCREF(Py_None
);
1443 _resultobj
= Py_None
;
1447 #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1448 static PyObject
*_wrap_wxPrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1450 wxPrintData
* _arg0
;
1453 PyObject
* _argo0
= 0;
1454 char *_kwnames
[] = { "self","x","y", NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPrintData_SetPrinterTranslation",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslation. Expected _wxPrintData_p.");
1467 wxPy_BEGIN_ALLOW_THREADS
;
1468 wxPrintData_SetPrinterTranslation(_arg0
,_arg1
,_arg2
);
1470 wxPy_END_ALLOW_THREADS
;
1471 } Py_INCREF(Py_None
);
1472 _resultobj
= Py_None
;
1476 #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1477 static PyObject
*_wrap_wxPrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1479 wxPrintData
* _arg0
;
1480 wxPrintMode
* _arg1
;
1481 PyObject
* _argo0
= 0;
1482 PyObject
* _argo1
= 0;
1483 char *_kwnames
[] = { "self","printMode", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrintMode",_kwnames
,&_argo0
,&_argo1
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1496 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintMode_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPrintMode. Expected _wxPrintMode_p.");
1503 wxPy_BEGIN_ALLOW_THREADS
;
1504 wxPrintData_SetPrintMode(_arg0
,*_arg1
);
1506 wxPy_END_ALLOW_THREADS
;
1507 } Py_INCREF(Py_None
);
1508 _resultobj
= Py_None
;
1512 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1513 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
* _resultobj
;
1515 wxPageSetupDialogData
* _result
;
1516 char *_kwnames
[] = { NULL
};
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1523 wxPy_BEGIN_ALLOW_THREADS
;
1524 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1526 wxPy_END_ALLOW_THREADS
;
1528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1529 _resultobj
= Py_BuildValue("s",_ptemp
);
1532 _resultobj
= Py_None
;
1537 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1538 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
* _resultobj
;
1540 wxPageSetupDialogData
* _arg0
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1555 wxPy_BEGIN_ALLOW_THREADS
;
1556 delete_wxPageSetupDialogData(_arg0
);
1558 wxPy_END_ALLOW_THREADS
;
1559 } Py_INCREF(Py_None
);
1560 _resultobj
= Py_None
;
1564 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1565 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1567 wxPageSetupDialogData
* _arg0
;
1569 PyObject
* _argo0
= 0;
1571 char *_kwnames
[] = { "self","flag", NULL
};
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1583 _arg1
= (bool ) tempbool1
;
1585 wxPy_BEGIN_ALLOW_THREADS
;
1586 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
1588 wxPy_END_ALLOW_THREADS
;
1589 } Py_INCREF(Py_None
);
1590 _resultobj
= Py_None
;
1594 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1595 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
* _resultobj
;
1597 wxPageSetupDialogData
* _arg0
;
1599 PyObject
* _argo0
= 0;
1601 char *_kwnames
[] = { "self","flag", NULL
};
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
1607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1613 _arg1
= (bool ) tempbool1
;
1615 wxPy_BEGIN_ALLOW_THREADS
;
1616 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
1618 wxPy_END_ALLOW_THREADS
;
1619 } Py_INCREF(Py_None
);
1620 _resultobj
= Py_None
;
1624 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1625 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
* _resultobj
;
1627 wxPageSetupDialogData
* _arg0
;
1629 PyObject
* _argo0
= 0;
1631 char *_kwnames
[] = { "self","flag", NULL
};
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
1637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1643 _arg1
= (bool ) tempbool1
;
1645 wxPy_BEGIN_ALLOW_THREADS
;
1646 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
1648 wxPy_END_ALLOW_THREADS
;
1649 } Py_INCREF(Py_None
);
1650 _resultobj
= Py_None
;
1654 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1655 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
* _resultobj
;
1657 wxPageSetupDialogData
* _arg0
;
1659 PyObject
* _argo0
= 0;
1661 char *_kwnames
[] = { "self","flag", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
1667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1673 _arg1
= (bool ) tempbool1
;
1675 wxPy_BEGIN_ALLOW_THREADS
;
1676 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
1678 wxPy_END_ALLOW_THREADS
;
1679 } Py_INCREF(Py_None
);
1680 _resultobj
= Py_None
;
1684 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1685 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
* _resultobj
;
1687 wxPageSetupDialogData
* _arg0
;
1689 PyObject
* _argo0
= 0;
1691 char *_kwnames
[] = { "self","flag", NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
1697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
1703 _arg1
= (bool ) tempbool1
;
1705 wxPy_BEGIN_ALLOW_THREADS
;
1706 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
1708 wxPy_END_ALLOW_THREADS
;
1709 } Py_INCREF(Py_None
);
1710 _resultobj
= Py_None
;
1714 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
1715 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1718 wxPageSetupDialogData
* _arg0
;
1719 PyObject
* _argo0
= 0;
1720 char *_kwnames
[] = { "self", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1733 wxPy_BEGIN_ALLOW_THREADS
;
1734 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
1736 wxPy_END_ALLOW_THREADS
;
1737 } _resultobj
= Py_BuildValue("i",_result
);
1741 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
1742 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
* _resultobj
;
1745 wxPageSetupDialogData
* _arg0
;
1746 PyObject
* _argo0
= 0;
1747 char *_kwnames
[] = { "self", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
1753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1760 wxPy_BEGIN_ALLOW_THREADS
;
1761 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1763 wxPy_END_ALLOW_THREADS
;
1764 } _resultobj
= Py_BuildValue("i",_result
);
1768 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
1769 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
* _resultobj
;
1772 wxPageSetupDialogData
* _arg0
;
1773 PyObject
* _argo0
= 0;
1774 char *_kwnames
[] = { "self", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1787 wxPy_BEGIN_ALLOW_THREADS
;
1788 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1790 wxPy_END_ALLOW_THREADS
;
1791 } _resultobj
= Py_BuildValue("i",_result
);
1795 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
1796 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
* _resultobj
;
1799 wxPageSetupDialogData
* _arg0
;
1800 PyObject
* _argo0
= 0;
1801 char *_kwnames
[] = { "self", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
1814 wxPy_BEGIN_ALLOW_THREADS
;
1815 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
1817 wxPy_END_ALLOW_THREADS
;
1818 } _resultobj
= Py_BuildValue("i",_result
);
1822 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
1823 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1826 wxPageSetupDialogData
* _arg0
;
1827 PyObject
* _argo0
= 0;
1828 char *_kwnames
[] = { "self", NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
1834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
1841 wxPy_BEGIN_ALLOW_THREADS
;
1842 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
1844 wxPy_END_ALLOW_THREADS
;
1845 } _resultobj
= Py_BuildValue("i",_result
);
1849 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
1850 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1853 wxPageSetupDialogData
* _arg0
;
1854 PyObject
* _argo0
= 0;
1855 char *_kwnames
[] = { "self", NULL
};
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
1861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
1868 wxPy_BEGIN_ALLOW_THREADS
;
1869 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
1871 wxPy_END_ALLOW_THREADS
;
1872 } _resultobj
= Py_BuildValue("i",_result
);
1876 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
1877 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
* _resultobj
;
1880 wxPageSetupDialogData
* _arg0
;
1881 PyObject
* _argo0
= 0;
1882 char *_kwnames
[] = { "self", NULL
};
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
1888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1895 wxPy_BEGIN_ALLOW_THREADS
;
1896 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
1898 wxPy_END_ALLOW_THREADS
;
1899 } _resultobj
= Py_BuildValue("i",_result
);
1903 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
1904 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
* _resultobj
;
1907 wxPageSetupDialogData
* _arg0
;
1908 PyObject
* _argo0
= 0;
1909 char *_kwnames
[] = { "self", NULL
};
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
1916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1923 wxPy_BEGIN_ALLOW_THREADS
;
1924 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
1926 wxPy_END_ALLOW_THREADS
;
1927 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1928 _resultobj
= Py_BuildValue("s",_ptemp
);
1932 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
1933 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
* _resultobj
;
1936 wxPageSetupDialogData
* _arg0
;
1937 PyObject
* _argo0
= 0;
1938 char *_kwnames
[] = { "self", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
1945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1952 wxPy_BEGIN_ALLOW_THREADS
;
1953 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
1955 wxPy_END_ALLOW_THREADS
;
1956 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1957 _resultobj
= Py_BuildValue("s",_ptemp
);
1961 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
1962 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
* _resultobj
;
1965 wxPageSetupDialogData
* _arg0
;
1966 PyObject
* _argo0
= 0;
1967 char *_kwnames
[] = { "self", NULL
};
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
1974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1981 wxPy_BEGIN_ALLOW_THREADS
;
1982 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
1984 wxPy_END_ALLOW_THREADS
;
1985 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1986 _resultobj
= Py_BuildValue("s",_ptemp
);
1990 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
1991 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1994 wxPageSetupDialogData
* _arg0
;
1995 PyObject
* _argo0
= 0;
1996 char *_kwnames
[] = { "self", NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2010 wxPy_BEGIN_ALLOW_THREADS
;
2011 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2013 wxPy_END_ALLOW_THREADS
;
2014 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2015 _resultobj
= Py_BuildValue("s",_ptemp
);
2019 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2020 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
* _resultobj
;
2022 wxPaperSize _result
;
2023 wxPageSetupDialogData
* _arg0
;
2024 PyObject
* _argo0
= 0;
2025 char *_kwnames
[] = { "self", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2038 wxPy_BEGIN_ALLOW_THREADS
;
2039 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2041 wxPy_END_ALLOW_THREADS
;
2042 } _resultobj
= Py_BuildValue("i",_result
);
2046 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2047 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
* _resultobj
;
2050 wxPageSetupDialogData
* _arg0
;
2051 PyObject
* _argo0
= 0;
2052 char *_kwnames
[] = { "self", NULL
};
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_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_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2066 wxPy_BEGIN_ALLOW_THREADS
;
2067 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2069 wxPy_END_ALLOW_THREADS
;
2070 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2071 _resultobj
= Py_BuildValue("s",_ptemp
);
2075 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2076 return new wxPrintData(self
->GetPrintData()); // force a copy
2078 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2079 PyObject
* _resultobj
;
2080 wxPrintData
* _result
;
2081 wxPageSetupDialogData
* _arg0
;
2082 PyObject
* _argo0
= 0;
2083 char *_kwnames
[] = { "self", NULL
};
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2097 wxPy_BEGIN_ALLOW_THREADS
;
2098 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2100 wxPy_END_ALLOW_THREADS
;
2102 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2103 _resultobj
= Py_BuildValue("s",_ptemp
);
2106 _resultobj
= Py_None
;
2111 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2112 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
* _resultobj
;
2114 wxPageSetupDialogData
* _arg0
;
2116 PyObject
* _argo0
= 0;
2118 char *_kwnames
[] = { "self","flag", NULL
};
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2130 _arg1
= (bool ) tempbool1
;
2132 wxPy_BEGIN_ALLOW_THREADS
;
2133 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2135 wxPy_END_ALLOW_THREADS
;
2136 } Py_INCREF(Py_None
);
2137 _resultobj
= Py_None
;
2141 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2142 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
* _resultobj
;
2144 wxPageSetupDialogData
* _arg0
;
2146 PyObject
* _argo0
= 0;
2148 char *_kwnames
[] = { "self","flag", NULL
};
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2160 _arg1
= (bool ) tempbool1
;
2162 wxPy_BEGIN_ALLOW_THREADS
;
2163 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2165 wxPy_END_ALLOW_THREADS
;
2166 } Py_INCREF(Py_None
);
2167 _resultobj
= Py_None
;
2171 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2172 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
* _resultobj
;
2174 wxPageSetupDialogData
* _arg0
;
2176 PyObject
* _argo0
= 0;
2178 PyObject
* _obj1
= 0;
2179 char *_kwnames
[] = { "self","pt", NULL
};
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2193 if (! wxPoint_helper(_obj1
, &_arg1
))
2197 wxPy_BEGIN_ALLOW_THREADS
;
2198 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2200 wxPy_END_ALLOW_THREADS
;
2201 } Py_INCREF(Py_None
);
2202 _resultobj
= Py_None
;
2206 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2207 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
* _resultobj
;
2209 wxPageSetupDialogData
* _arg0
;
2211 PyObject
* _argo0
= 0;
2213 PyObject
* _obj1
= 0;
2214 char *_kwnames
[] = { "self","pt", NULL
};
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2228 if (! wxPoint_helper(_obj1
, &_arg1
))
2232 wxPy_BEGIN_ALLOW_THREADS
;
2233 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2235 wxPy_END_ALLOW_THREADS
;
2236 } Py_INCREF(Py_None
);
2237 _resultobj
= Py_None
;
2241 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2242 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
* _resultobj
;
2244 wxPageSetupDialogData
* _arg0
;
2246 PyObject
* _argo0
= 0;
2248 PyObject
* _obj1
= 0;
2249 char *_kwnames
[] = { "self","pt", NULL
};
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2263 if (! wxPoint_helper(_obj1
, &_arg1
))
2267 wxPy_BEGIN_ALLOW_THREADS
;
2268 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2270 wxPy_END_ALLOW_THREADS
;
2271 } Py_INCREF(Py_None
);
2272 _resultobj
= Py_None
;
2276 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2277 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2279 wxPageSetupDialogData
* _arg0
;
2281 PyObject
* _argo0
= 0;
2283 PyObject
* _obj1
= 0;
2284 char *_kwnames
[] = { "self","pt", NULL
};
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2298 if (! wxPoint_helper(_obj1
, &_arg1
))
2302 wxPy_BEGIN_ALLOW_THREADS
;
2303 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2305 wxPy_END_ALLOW_THREADS
;
2306 } Py_INCREF(Py_None
);
2307 _resultobj
= Py_None
;
2311 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2312 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
* _resultobj
;
2314 wxPageSetupDialogData
* _arg0
;
2316 PyObject
* _argo0
= 0;
2317 char *_kwnames
[] = { "self","id", NULL
};
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2330 wxPy_BEGIN_ALLOW_THREADS
;
2331 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2333 wxPy_END_ALLOW_THREADS
;
2334 } Py_INCREF(Py_None
);
2335 _resultobj
= Py_None
;
2339 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2340 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2342 wxPageSetupDialogData
* _arg0
;
2344 PyObject
* _argo0
= 0;
2346 PyObject
* _obj1
= 0;
2347 char *_kwnames
[] = { "self","size", NULL
};
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2361 if (! wxSize_helper(_obj1
, &_arg1
))
2365 wxPy_BEGIN_ALLOW_THREADS
;
2366 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2368 wxPy_END_ALLOW_THREADS
;
2369 } Py_INCREF(Py_None
);
2370 _resultobj
= Py_None
;
2374 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2375 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
* _resultobj
;
2377 wxPageSetupDialogData
* _arg0
;
2378 wxPrintData
* _arg1
;
2379 PyObject
* _argo0
= 0;
2380 PyObject
* _argo1
= 0;
2381 char *_kwnames
[] = { "self","printData", NULL
};
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2394 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2395 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2401 wxPy_BEGIN_ALLOW_THREADS
;
2402 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2404 wxPy_END_ALLOW_THREADS
;
2405 } Py_INCREF(Py_None
);
2406 _resultobj
= Py_None
;
2410 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2411 wxPageSetupDialog
*src
;
2413 src
= (wxPageSetupDialog
*) ptr
;
2414 dest
= (wxDialog
*) src
;
2415 return (void *) dest
;
2418 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
2419 wxPageSetupDialog
*src
;
2421 src
= (wxPageSetupDialog
*) ptr
;
2422 dest
= (wxPanel
*) src
;
2423 return (void *) dest
;
2426 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2427 wxPageSetupDialog
*src
;
2429 src
= (wxPageSetupDialog
*) ptr
;
2430 dest
= (wxWindow
*) src
;
2431 return (void *) dest
;
2434 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2435 wxPageSetupDialog
*src
;
2437 src
= (wxPageSetupDialog
*) ptr
;
2438 dest
= (wxEvtHandler
*) src
;
2439 return (void *) dest
;
2442 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2443 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
* _resultobj
;
2445 wxPageSetupDialog
* _result
;
2447 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2448 PyObject
* _argo0
= 0;
2449 PyObject
* _argo1
= 0;
2450 char *_kwnames
[] = { "parent","data", NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2464 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2465 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2471 wxPy_BEGIN_ALLOW_THREADS
;
2472 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2474 wxPy_END_ALLOW_THREADS
;
2476 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2477 _resultobj
= Py_BuildValue("s",_ptemp
);
2480 _resultobj
= Py_None
;
2485 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2486 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
* _resultobj
;
2488 wxPageSetupDialogData
* _result
;
2489 wxPageSetupDialog
* _arg0
;
2490 PyObject
* _argo0
= 0;
2491 char *_kwnames
[] = { "self", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2505 wxPy_BEGIN_ALLOW_THREADS
;
2506 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2507 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2509 wxPy_END_ALLOW_THREADS
;
2511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2512 _resultobj
= Py_BuildValue("s",_ptemp
);
2515 _resultobj
= Py_None
;
2520 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2521 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
* _resultobj
;
2524 wxPageSetupDialog
* _arg0
;
2525 PyObject
* _argo0
= 0;
2526 char *_kwnames
[] = { "self", NULL
};
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
2532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2539 wxPy_BEGIN_ALLOW_THREADS
;
2540 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
2542 wxPy_END_ALLOW_THREADS
;
2543 } _resultobj
= Py_BuildValue("i",_result
);
2547 #define new_wxPrintDialogData() (new wxPrintDialogData())
2548 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
* _resultobj
;
2550 wxPrintDialogData
* _result
;
2551 char *_kwnames
[] = { NULL
};
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
2558 wxPy_BEGIN_ALLOW_THREADS
;
2559 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
2561 wxPy_END_ALLOW_THREADS
;
2563 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2564 _resultobj
= Py_BuildValue("s",_ptemp
);
2567 _resultobj
= Py_None
;
2572 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2573 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
* _resultobj
;
2575 wxPrintDialogData
* _arg0
;
2576 PyObject
* _argo0
= 0;
2577 char *_kwnames
[] = { "self", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
2590 wxPy_BEGIN_ALLOW_THREADS
;
2591 delete_wxPrintDialogData(_arg0
);
2593 wxPy_END_ALLOW_THREADS
;
2594 } Py_INCREF(Py_None
);
2595 _resultobj
= Py_None
;
2599 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
2600 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
* _resultobj
;
2602 wxPrintDialogData
* _arg0
;
2604 PyObject
* _argo0
= 0;
2606 char *_kwnames
[] = { "self","flag", NULL
};
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
2612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
2618 _arg1
= (bool ) tempbool1
;
2620 wxPy_BEGIN_ALLOW_THREADS
;
2621 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
2623 wxPy_END_ALLOW_THREADS
;
2624 } Py_INCREF(Py_None
);
2625 _resultobj
= Py_None
;
2629 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
2630 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
* _resultobj
;
2632 wxPrintDialogData
* _arg0
;
2634 PyObject
* _argo0
= 0;
2636 char *_kwnames
[] = { "self","flag", NULL
};
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
2642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
2648 _arg1
= (bool ) tempbool1
;
2650 wxPy_BEGIN_ALLOW_THREADS
;
2651 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
2653 wxPy_END_ALLOW_THREADS
;
2654 } Py_INCREF(Py_None
);
2655 _resultobj
= Py_None
;
2659 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
2660 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2662 wxPrintDialogData
* _arg0
;
2664 PyObject
* _argo0
= 0;
2666 char *_kwnames
[] = { "self","flag", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
2678 _arg1
= (bool ) tempbool1
;
2680 wxPy_BEGIN_ALLOW_THREADS
;
2681 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
2683 wxPy_END_ALLOW_THREADS
;
2684 } Py_INCREF(Py_None
);
2685 _resultobj
= Py_None
;
2689 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
2690 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
* _resultobj
;
2692 wxPrintDialogData
* _arg0
;
2694 PyObject
* _argo0
= 0;
2696 char *_kwnames
[] = { "self","flag", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
2702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
2708 _arg1
= (bool ) tempbool1
;
2710 wxPy_BEGIN_ALLOW_THREADS
;
2711 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
2713 wxPy_END_ALLOW_THREADS
;
2714 } Py_INCREF(Py_None
);
2715 _resultobj
= Py_None
;
2719 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
2720 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2723 wxPrintDialogData
* _arg0
;
2724 PyObject
* _argo0
= 0;
2725 char *_kwnames
[] = { "self", NULL
};
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
2731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
2738 wxPy_BEGIN_ALLOW_THREADS
;
2739 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
2741 wxPy_END_ALLOW_THREADS
;
2742 } _resultobj
= Py_BuildValue("i",_result
);
2746 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
2747 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
* _resultobj
;
2750 wxPrintDialogData
* _arg0
;
2751 PyObject
* _argo0
= 0;
2752 char *_kwnames
[] = { "self", NULL
};
2755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
2758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
2765 wxPy_BEGIN_ALLOW_THREADS
;
2766 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
2768 wxPy_END_ALLOW_THREADS
;
2769 } _resultobj
= Py_BuildValue("i",_result
);
2773 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
2774 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
* _resultobj
;
2777 wxPrintDialogData
* _arg0
;
2778 PyObject
* _argo0
= 0;
2779 char *_kwnames
[] = { "self", NULL
};
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
2785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
2792 wxPy_BEGIN_ALLOW_THREADS
;
2793 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
2795 wxPy_END_ALLOW_THREADS
;
2796 } _resultobj
= Py_BuildValue("i",_result
);
2800 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
2801 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
* _resultobj
;
2804 wxPrintDialogData
* _arg0
;
2805 PyObject
* _argo0
= 0;
2806 char *_kwnames
[] = { "self", NULL
};
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
2812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
2819 wxPy_BEGIN_ALLOW_THREADS
;
2820 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
2822 wxPy_END_ALLOW_THREADS
;
2823 } _resultobj
= Py_BuildValue("i",_result
);
2827 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
2828 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2831 wxPrintDialogData
* _arg0
;
2832 PyObject
* _argo0
= 0;
2833 char *_kwnames
[] = { "self", NULL
};
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
2839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
2846 wxPy_BEGIN_ALLOW_THREADS
;
2847 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
2849 wxPy_END_ALLOW_THREADS
;
2850 } _resultobj
= Py_BuildValue("i",_result
);
2854 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
2855 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
* _resultobj
;
2858 wxPrintDialogData
* _arg0
;
2859 PyObject
* _argo0
= 0;
2860 char *_kwnames
[] = { "self", NULL
};
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
2866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
2873 wxPy_BEGIN_ALLOW_THREADS
;
2874 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
2876 wxPy_END_ALLOW_THREADS
;
2877 } _resultobj
= Py_BuildValue("i",_result
);
2881 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
2882 return new wxPrintData(self
->GetPrintData()); // force a copy
2884 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
* _resultobj
;
2886 wxPrintData
* _result
;
2887 wxPrintDialogData
* _arg0
;
2888 PyObject
* _argo0
= 0;
2889 char *_kwnames
[] = { "self", NULL
};
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
2896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
2903 wxPy_BEGIN_ALLOW_THREADS
;
2904 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
2906 wxPy_END_ALLOW_THREADS
;
2908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2909 _resultobj
= Py_BuildValue("s",_ptemp
);
2912 _resultobj
= Py_None
;
2917 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
2918 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2921 wxPrintDialogData
* _arg0
;
2922 PyObject
* _argo0
= 0;
2923 char *_kwnames
[] = { "self", NULL
};
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
2929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
2936 wxPy_BEGIN_ALLOW_THREADS
;
2937 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
2939 wxPy_END_ALLOW_THREADS
;
2940 } _resultobj
= Py_BuildValue("i",_result
);
2944 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
2945 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2948 wxPrintDialogData
* _arg0
;
2949 PyObject
* _argo0
= 0;
2950 char *_kwnames
[] = { "self", NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
2956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
2963 wxPy_BEGIN_ALLOW_THREADS
;
2964 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
2966 wxPy_END_ALLOW_THREADS
;
2967 } _resultobj
= Py_BuildValue("i",_result
);
2971 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
2972 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2974 wxPrintDialogData
* _arg0
;
2976 PyObject
* _argo0
= 0;
2978 char *_kwnames
[] = { "self","flag", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
2990 _arg1
= (bool ) tempbool1
;
2992 wxPy_BEGIN_ALLOW_THREADS
;
2993 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
2995 wxPy_END_ALLOW_THREADS
;
2996 } Py_INCREF(Py_None
);
2997 _resultobj
= Py_None
;
3001 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3002 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
* _resultobj
;
3004 wxPrintDialogData
* _arg0
;
3006 PyObject
* _argo0
= 0;
3007 char *_kwnames
[] = { "self","page", NULL
};
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
3013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3020 wxPy_BEGIN_ALLOW_THREADS
;
3021 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3023 wxPy_END_ALLOW_THREADS
;
3024 } Py_INCREF(Py_None
);
3025 _resultobj
= Py_None
;
3029 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3030 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
* _resultobj
;
3032 wxPrintDialogData
* _arg0
;
3034 PyObject
* _argo0
= 0;
3035 char *_kwnames
[] = { "self","page", NULL
};
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
3041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3048 wxPy_BEGIN_ALLOW_THREADS
;
3049 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3051 wxPy_END_ALLOW_THREADS
;
3052 } Py_INCREF(Py_None
);
3053 _resultobj
= Py_None
;
3057 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3058 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
* _resultobj
;
3060 wxPrintDialogData
* _arg0
;
3062 PyObject
* _argo0
= 0;
3063 char *_kwnames
[] = { "self","page", NULL
};
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3076 wxPy_BEGIN_ALLOW_THREADS
;
3077 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3079 wxPy_END_ALLOW_THREADS
;
3080 } Py_INCREF(Py_None
);
3081 _resultobj
= Py_None
;
3085 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3086 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
* _resultobj
;
3088 wxPrintDialogData
* _arg0
;
3090 PyObject
* _argo0
= 0;
3091 char *_kwnames
[] = { "self","n", NULL
};
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
3097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3104 wxPy_BEGIN_ALLOW_THREADS
;
3105 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3107 wxPy_END_ALLOW_THREADS
;
3108 } Py_INCREF(Py_None
);
3109 _resultobj
= Py_None
;
3113 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3114 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
* _resultobj
;
3116 wxPrintDialogData
* _arg0
;
3117 wxPrintData
* _arg1
;
3118 PyObject
* _argo0
= 0;
3119 PyObject
* _argo1
= 0;
3120 char *_kwnames
[] = { "self","printData", NULL
};
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
3126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p.");
3133 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3134 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3140 wxPy_BEGIN_ALLOW_THREADS
;
3141 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3143 wxPy_END_ALLOW_THREADS
;
3144 } Py_INCREF(Py_None
);
3145 _resultobj
= Py_None
;
3149 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3150 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3152 wxPrintDialogData
* _arg0
;
3154 PyObject
* _argo0
= 0;
3156 char *_kwnames
[] = { "self","flag", NULL
};
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3168 _arg1
= (bool ) tempbool1
;
3170 wxPy_BEGIN_ALLOW_THREADS
;
3171 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3173 wxPy_END_ALLOW_THREADS
;
3174 } Py_INCREF(Py_None
);
3175 _resultobj
= Py_None
;
3179 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3180 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
* _resultobj
;
3182 wxPrintDialogData
* _arg0
;
3184 PyObject
* _argo0
= 0;
3186 char *_kwnames
[] = { "self","flag", NULL
};
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3198 _arg1
= (bool ) tempbool1
;
3200 wxPy_BEGIN_ALLOW_THREADS
;
3201 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3203 wxPy_END_ALLOW_THREADS
;
3204 } Py_INCREF(Py_None
);
3205 _resultobj
= Py_None
;
3209 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3210 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
* _resultobj
;
3212 wxPrintDialogData
* _arg0
;
3214 PyObject
* _argo0
= 0;
3215 char *_kwnames
[] = { "self","page", NULL
};
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3228 wxPy_BEGIN_ALLOW_THREADS
;
3229 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3231 wxPy_END_ALLOW_THREADS
;
3232 } Py_INCREF(Py_None
);
3233 _resultobj
= Py_None
;
3237 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3240 src
= (wxPrintDialog
*) ptr
;
3241 dest
= (wxDialog
*) src
;
3242 return (void *) dest
;
3245 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
3248 src
= (wxPrintDialog
*) ptr
;
3249 dest
= (wxPanel
*) src
;
3250 return (void *) dest
;
3253 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3256 src
= (wxPrintDialog
*) ptr
;
3257 dest
= (wxWindow
*) src
;
3258 return (void *) dest
;
3261 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3264 src
= (wxPrintDialog
*) ptr
;
3265 dest
= (wxEvtHandler
*) src
;
3266 return (void *) dest
;
3269 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3270 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
* _resultobj
;
3272 wxPrintDialog
* _result
;
3274 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
3275 PyObject
* _argo0
= 0;
3276 PyObject
* _argo1
= 0;
3277 char *_kwnames
[] = { "parent","data", NULL
};
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
3284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
3293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3298 wxPy_BEGIN_ALLOW_THREADS
;
3299 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3301 wxPy_END_ALLOW_THREADS
;
3303 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3304 _resultobj
= Py_BuildValue("s",_ptemp
);
3307 _resultobj
= Py_None
;
3312 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3313 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
* _resultobj
;
3315 wxPrintDialogData
* _result
;
3316 wxPrintDialog
* _arg0
;
3317 PyObject
* _argo0
= 0;
3318 char *_kwnames
[] = { "self", NULL
};
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
3325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3332 wxPy_BEGIN_ALLOW_THREADS
;
3333 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
3334 _result
= (wxPrintDialogData
*) &_result_ref
;
3336 wxPy_END_ALLOW_THREADS
;
3338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3339 _resultobj
= Py_BuildValue("s",_ptemp
);
3342 _resultobj
= Py_None
;
3347 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3348 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
* _resultobj
;
3351 wxPrintDialog
* _arg0
;
3352 PyObject
* _argo0
= 0;
3353 char *_kwnames
[] = { "self", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3367 wxPy_BEGIN_ALLOW_THREADS
;
3368 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
3370 wxPy_END_ALLOW_THREADS
;
3372 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3373 _resultobj
= Py_BuildValue("s",_ptemp
);
3376 _resultobj
= Py_None
;
3381 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3382 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
* _resultobj
;
3385 wxPrintDialog
* _arg0
;
3386 PyObject
* _argo0
= 0;
3387 char *_kwnames
[] = { "self", NULL
};
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
3393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3400 wxPy_BEGIN_ALLOW_THREADS
;
3401 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
3403 wxPy_END_ALLOW_THREADS
;
3404 } _resultobj
= Py_BuildValue("i",_result
);
3408 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
3409 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
* _resultobj
;
3411 wxPyPrintout
* _result
;
3412 char * _arg0
= (char *) "Printout";
3413 char *_kwnames
[] = { "title", NULL
};
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
3420 wxPy_BEGIN_ALLOW_THREADS
;
3421 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
3423 wxPy_END_ALLOW_THREADS
;
3425 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3426 _resultobj
= Py_BuildValue("s",_ptemp
);
3429 _resultobj
= Py_None
;
3434 #define wxPrintout__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3435 static PyObject
*_wrap_wxPrintout__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
* _resultobj
;
3437 wxPyPrintout
* _arg0
;
3440 PyObject
* _argo0
= 0;
3441 PyObject
* _obj1
= 0;
3442 PyObject
* _obj2
= 0;
3443 char *_kwnames
[] = { "self","self","_class", NULL
};
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
3462 wxPy_BEGIN_ALLOW_THREADS
;
3463 wxPrintout__setSelf(_arg0
,_arg1
,_arg2
);
3465 wxPy_END_ALLOW_THREADS
;
3466 } Py_INCREF(Py_None
);
3467 _resultobj
= Py_None
;
3471 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
3472 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
* _resultobj
;
3474 wxPyPrintout
* _arg0
;
3475 PyObject
* _argo0
= 0;
3476 char *_kwnames
[] = { "self", NULL
};
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
3482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
3489 wxPy_BEGIN_ALLOW_THREADS
;
3490 wxPyPrintout_Destroy(_arg0
);
3492 wxPy_END_ALLOW_THREADS
;
3493 } Py_INCREF(Py_None
);
3494 _resultobj
= Py_None
;
3498 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
3499 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
* _resultobj
;
3502 wxPyPrintout
* _arg0
;
3503 PyObject
* _argo0
= 0;
3504 char *_kwnames
[] = { "self", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
3518 wxPy_BEGIN_ALLOW_THREADS
;
3519 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
3521 wxPy_END_ALLOW_THREADS
;
3523 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3524 _resultobj
= Py_BuildValue("s",_ptemp
);
3527 _resultobj
= Py_None
;
3532 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
3533 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
* _resultobj
;
3535 wxPyPrintout
* _arg0
;
3540 PyObject
* _argo0
= 0;
3541 char *_kwnames
[] = { "self", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
3553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
3560 wxPy_BEGIN_ALLOW_THREADS
;
3561 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
3563 wxPy_END_ALLOW_THREADS
;
3564 } Py_INCREF(Py_None
);
3565 _resultobj
= Py_None
;
3568 o
= PyInt_FromLong((long) (*_arg1
));
3569 _resultobj
= t_output_helper(_resultobj
, o
);
3573 o
= PyInt_FromLong((long) (*_arg2
));
3574 _resultobj
= t_output_helper(_resultobj
, o
);
3579 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
3580 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
* _resultobj
;
3582 wxPyPrintout
* _arg0
;
3587 PyObject
* _argo0
= 0;
3588 char *_kwnames
[] = { "self", NULL
};
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
3600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
3607 wxPy_BEGIN_ALLOW_THREADS
;
3608 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
3610 wxPy_END_ALLOW_THREADS
;
3611 } Py_INCREF(Py_None
);
3612 _resultobj
= Py_None
;
3615 o
= PyInt_FromLong((long) (*_arg1
));
3616 _resultobj
= t_output_helper(_resultobj
, o
);
3620 o
= PyInt_FromLong((long) (*_arg2
));
3621 _resultobj
= t_output_helper(_resultobj
, o
);
3626 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
3627 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
* _resultobj
;
3629 wxPyPrintout
* _arg0
;
3634 PyObject
* _argo0
= 0;
3635 char *_kwnames
[] = { "self", NULL
};
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
3647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
3654 wxPy_BEGIN_ALLOW_THREADS
;
3655 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
3657 wxPy_END_ALLOW_THREADS
;
3658 } Py_INCREF(Py_None
);
3659 _resultobj
= Py_None
;
3662 o
= PyInt_FromLong((long) (*_arg1
));
3663 _resultobj
= t_output_helper(_resultobj
, o
);
3667 o
= PyInt_FromLong((long) (*_arg2
));
3668 _resultobj
= t_output_helper(_resultobj
, o
);
3673 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
3674 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
* _resultobj
;
3676 wxPyPrintout
* _arg0
;
3681 PyObject
* _argo0
= 0;
3682 char *_kwnames
[] = { "self", NULL
};
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_kwnames
,&_argo0
))
3694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p.");
3701 wxPy_BEGIN_ALLOW_THREADS
;
3702 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
3704 wxPy_END_ALLOW_THREADS
;
3705 } Py_INCREF(Py_None
);
3706 _resultobj
= Py_None
;
3709 o
= PyInt_FromLong((long) (*_arg1
));
3710 _resultobj
= t_output_helper(_resultobj
, o
);
3714 o
= PyInt_FromLong((long) (*_arg2
));
3715 _resultobj
= t_output_helper(_resultobj
, o
);
3720 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
3721 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
* _resultobj
;
3724 wxPyPrintout
* _arg0
;
3725 PyObject
* _argo0
= 0;
3726 char *_kwnames
[] = { "self", NULL
};
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
3732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
3739 wxPy_BEGIN_ALLOW_THREADS
;
3740 _result
= (bool )wxPrintout_IsPreview(_arg0
);
3742 wxPy_END_ALLOW_THREADS
;
3743 } _resultobj
= Py_BuildValue("i",_result
);
3747 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
3748 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
* _resultobj
;
3751 wxPyPrintout
* _arg0
;
3754 PyObject
* _argo0
= 0;
3755 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
3768 wxPy_BEGIN_ALLOW_THREADS
;
3769 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
3771 wxPy_END_ALLOW_THREADS
;
3772 } _resultobj
= Py_BuildValue("i",_result
);
3776 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
3777 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
* _resultobj
;
3779 wxPyPrintout
* _arg0
;
3780 PyObject
* _argo0
= 0;
3781 char *_kwnames
[] = { "self", NULL
};
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
3787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
3794 wxPy_BEGIN_ALLOW_THREADS
;
3795 wxPrintout_base_OnEndDocument(_arg0
);
3797 wxPy_END_ALLOW_THREADS
;
3798 } Py_INCREF(Py_None
);
3799 _resultobj
= Py_None
;
3803 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
3804 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
* _resultobj
;
3806 wxPyPrintout
* _arg0
;
3807 PyObject
* _argo0
= 0;
3808 char *_kwnames
[] = { "self", NULL
};
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
3814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
3821 wxPy_BEGIN_ALLOW_THREADS
;
3822 wxPrintout_base_OnBeginPrinting(_arg0
);
3824 wxPy_END_ALLOW_THREADS
;
3825 } Py_INCREF(Py_None
);
3826 _resultobj
= Py_None
;
3830 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
3831 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3833 wxPyPrintout
* _arg0
;
3834 PyObject
* _argo0
= 0;
3835 char *_kwnames
[] = { "self", NULL
};
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
3841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
3848 wxPy_BEGIN_ALLOW_THREADS
;
3849 wxPrintout_base_OnEndPrinting(_arg0
);
3851 wxPy_END_ALLOW_THREADS
;
3852 } Py_INCREF(Py_None
);
3853 _resultobj
= Py_None
;
3857 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
3858 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3860 wxPyPrintout
* _arg0
;
3861 PyObject
* _argo0
= 0;
3862 char *_kwnames
[] = { "self", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
3868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
3875 wxPy_BEGIN_ALLOW_THREADS
;
3876 wxPrintout_base_OnPreparePrinting(_arg0
);
3878 wxPy_END_ALLOW_THREADS
;
3879 } Py_INCREF(Py_None
);
3880 _resultobj
= Py_None
;
3884 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3885 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
* _resultobj
;
3887 wxPyPrintout
* _arg0
;
3896 PyObject
* _argo0
= 0;
3897 char *_kwnames
[] = { "self", NULL
};
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
3915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
3922 wxPy_BEGIN_ALLOW_THREADS
;
3923 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3925 wxPy_END_ALLOW_THREADS
;
3926 } Py_INCREF(Py_None
);
3927 _resultobj
= Py_None
;
3930 o
= PyInt_FromLong((long) (*_arg1
));
3931 _resultobj
= t_output_helper(_resultobj
, o
);
3935 o
= PyInt_FromLong((long) (*_arg2
));
3936 _resultobj
= t_output_helper(_resultobj
, o
);
3940 o
= PyInt_FromLong((long) (*_arg3
));
3941 _resultobj
= t_output_helper(_resultobj
, o
);
3945 o
= PyInt_FromLong((long) (*_arg4
));
3946 _resultobj
= t_output_helper(_resultobj
, o
);
3951 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
3952 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
* _resultobj
;
3955 wxPyPrintout
* _arg0
;
3957 PyObject
* _argo0
= 0;
3958 char *_kwnames
[] = { "self","page", NULL
};
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
3964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
3971 wxPy_BEGIN_ALLOW_THREADS
;
3972 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
3974 wxPy_END_ALLOW_THREADS
;
3975 } _resultobj
= Py_BuildValue("i",_result
);
3979 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
3980 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
* _resultobj
;
3982 wxPrinter
* _result
;
3983 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
3984 PyObject
* _argo0
= 0;
3985 char *_kwnames
[] = { "data", NULL
};
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
3992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
3999 wxPy_BEGIN_ALLOW_THREADS
;
4000 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4002 wxPy_END_ALLOW_THREADS
;
4004 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4005 _resultobj
= Py_BuildValue("s",_ptemp
);
4008 _resultobj
= Py_None
;
4013 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4014 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
* _resultobj
;
4017 PyObject
* _argo0
= 0;
4018 char *_kwnames
[] = { "self", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4031 wxPy_BEGIN_ALLOW_THREADS
;
4032 delete_wxPrinter(_arg0
);
4034 wxPy_END_ALLOW_THREADS
;
4035 } Py_INCREF(Py_None
);
4036 _resultobj
= Py_None
;
4040 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4041 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
* _resultobj
;
4045 wxPyPrintout
* _arg2
;
4046 PyObject
* _argo0
= 0;
4047 PyObject
* _argo1
= 0;
4048 PyObject
* _argo2
= 0;
4049 char *_kwnames
[] = { "self","parent","printout", NULL
};
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4062 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4063 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4069 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4070 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4076 wxPy_BEGIN_ALLOW_THREADS
;
4077 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4079 wxPy_END_ALLOW_THREADS
;
4080 } Py_INCREF(Py_None
);
4081 _resultobj
= Py_None
;
4085 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4086 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
* _resultobj
;
4088 wxPrintDialogData
* _result
;
4090 PyObject
* _argo0
= 0;
4091 char *_kwnames
[] = { "self", NULL
};
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4105 wxPy_BEGIN_ALLOW_THREADS
;
4106 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4107 _result
= (wxPrintDialogData
*) &_result_ref
;
4109 wxPy_END_ALLOW_THREADS
;
4111 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4112 _resultobj
= Py_BuildValue("s",_ptemp
);
4115 _resultobj
= Py_None
;
4120 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4121 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
* _resultobj
;
4126 wxPyPrintout
* _arg2
;
4127 int _arg3
= (int ) TRUE
;
4128 PyObject
* _argo0
= 0;
4129 PyObject
* _argo1
= 0;
4130 PyObject
* _argo2
= 0;
4131 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4144 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4151 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4152 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4158 wxPy_BEGIN_ALLOW_THREADS
;
4159 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4161 wxPy_END_ALLOW_THREADS
;
4162 } _resultobj
= Py_BuildValue("i",_result
);
4166 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4167 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
* _resultobj
;
4172 PyObject
* _argo0
= 0;
4173 PyObject
* _argo1
= 0;
4174 char *_kwnames
[] = { "self","parent", NULL
};
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4188 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4189 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4195 wxPy_BEGIN_ALLOW_THREADS
;
4196 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
4198 wxPy_END_ALLOW_THREADS
;
4200 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
4201 _resultobj
= Py_BuildValue("s",_ptemp
);
4204 _resultobj
= Py_None
;
4209 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4210 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
* _resultobj
;
4214 wxPyPrintout
* _arg2
;
4216 PyObject
* _argo0
= 0;
4217 PyObject
* _argo1
= 0;
4218 PyObject
* _argo2
= 0;
4219 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4232 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4233 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4239 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4246 wxPy_BEGIN_ALLOW_THREADS
;
4247 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
4249 wxPy_END_ALLOW_THREADS
;
4250 } Py_INCREF(Py_None
);
4251 _resultobj
= Py_None
;
4255 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4256 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4261 PyObject
* _argo0
= 0;
4262 PyObject
* _argo1
= 0;
4263 char *_kwnames
[] = { "self","parent", NULL
};
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
4269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4283 wxPy_BEGIN_ALLOW_THREADS
;
4284 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
4286 wxPy_END_ALLOW_THREADS
;
4287 } _resultobj
= Py_BuildValue("i",_result
);
4291 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
4292 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
* _resultobj
;
4294 wxPrintPreview
* _result
;
4295 wxPyPrintout
* _arg0
;
4296 wxPyPrintout
* _arg1
;
4297 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
4298 PyObject
* _argo0
= 0;
4299 PyObject
* _argo1
= 0;
4300 PyObject
* _argo2
= 0;
4301 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4315 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4316 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4322 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4323 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
4324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
4329 wxPy_BEGIN_ALLOW_THREADS
;
4330 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
4332 wxPy_END_ALLOW_THREADS
;
4334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
4335 _resultobj
= Py_BuildValue("s",_ptemp
);
4338 _resultobj
= Py_None
;
4343 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
4344 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
* _resultobj
;
4347 wxPrintPreview
* _arg0
;
4348 PyObject
* _argo0
= 0;
4349 char *_kwnames
[] = { "self", NULL
};
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
4356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
4363 wxPy_BEGIN_ALLOW_THREADS
;
4364 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
4366 wxPy_END_ALLOW_THREADS
;
4368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4369 _resultobj
= Py_BuildValue("s",_ptemp
);
4372 _resultobj
= Py_None
;
4377 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
4378 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
* _resultobj
;
4381 wxPrintPreview
* _arg0
;
4382 PyObject
* _argo0
= 0;
4383 char *_kwnames
[] = { "self", NULL
};
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
4389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
4396 wxPy_BEGIN_ALLOW_THREADS
;
4397 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
4399 wxPy_END_ALLOW_THREADS
;
4400 } _resultobj
= Py_BuildValue("i",_result
);
4404 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
4405 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
* _resultobj
;
4408 wxPrintPreview
* _arg0
;
4409 PyObject
* _argo0
= 0;
4410 char *_kwnames
[] = { "self", NULL
};
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
4417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
4424 wxPy_BEGIN_ALLOW_THREADS
;
4425 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
4427 wxPy_END_ALLOW_THREADS
;
4429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
4430 _resultobj
= Py_BuildValue("s",_ptemp
);
4433 _resultobj
= Py_None
;
4438 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
4439 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4442 wxPrintPreview
* _arg0
;
4443 PyObject
* _argo0
= 0;
4444 char *_kwnames
[] = { "self", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
4457 wxPy_BEGIN_ALLOW_THREADS
;
4458 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
4460 wxPy_END_ALLOW_THREADS
;
4461 } _resultobj
= Py_BuildValue("i",_result
);
4465 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
4466 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
* _resultobj
;
4469 wxPrintPreview
* _arg0
;
4470 PyObject
* _argo0
= 0;
4471 char *_kwnames
[] = { "self", NULL
};
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
4477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
4484 wxPy_BEGIN_ALLOW_THREADS
;
4485 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
4487 wxPy_END_ALLOW_THREADS
;
4488 } _resultobj
= Py_BuildValue("i",_result
);
4492 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4493 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
* _resultobj
;
4495 wxPrintDialogData
* _result
;
4496 wxPrintPreview
* _arg0
;
4497 PyObject
* _argo0
= 0;
4498 char *_kwnames
[] = { "self", NULL
};
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
4505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
4512 wxPy_BEGIN_ALLOW_THREADS
;
4513 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
4514 _result
= (wxPrintDialogData
*) &_result_ref
;
4516 wxPy_END_ALLOW_THREADS
;
4518 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4519 _resultobj
= Py_BuildValue("s",_ptemp
);
4522 _resultobj
= Py_None
;
4527 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
4528 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
* _resultobj
;
4530 wxPyPrintout
* _result
;
4531 wxPrintPreview
* _arg0
;
4532 PyObject
* _argo0
= 0;
4533 char *_kwnames
[] = { "self", NULL
};
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
4540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
4547 wxPy_BEGIN_ALLOW_THREADS
;
4548 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
4550 wxPy_END_ALLOW_THREADS
;
4552 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
4553 _resultobj
= Py_BuildValue("s",_ptemp
);
4556 _resultobj
= Py_None
;
4561 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
4562 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
* _resultobj
;
4564 wxPyPrintout
* _result
;
4565 wxPrintPreview
* _arg0
;
4566 PyObject
* _argo0
= 0;
4567 char *_kwnames
[] = { "self", NULL
};
4571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
4574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
4581 wxPy_BEGIN_ALLOW_THREADS
;
4582 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
4584 wxPy_END_ALLOW_THREADS
;
4586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
4587 _resultobj
= Py_BuildValue("s",_ptemp
);
4590 _resultobj
= Py_None
;
4595 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
4596 static PyObject
*_wrap_wxPrintPreview_GetZoom(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_GetZoom",_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_GetZoom. Expected _wxPrintPreview_p.");
4614 wxPy_BEGIN_ALLOW_THREADS
;
4615 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
4617 wxPy_END_ALLOW_THREADS
;
4618 } _resultobj
= Py_BuildValue("i",_result
);
4622 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
4623 static PyObject
*_wrap_wxPrintPreview_Ok(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_Ok",_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_Ok. Expected _wxPrintPreview_p.");
4641 wxPy_BEGIN_ALLOW_THREADS
;
4642 _result
= (bool )wxPrintPreview_Ok(_arg0
);
4644 wxPy_END_ALLOW_THREADS
;
4645 } _resultobj
= Py_BuildValue("i",_result
);
4649 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
4650 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
* _resultobj
;
4653 wxPrintPreview
* _arg0
;
4655 PyObject
* _argo0
= 0;
4657 char *_kwnames
[] = { "self","prompt", NULL
};
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
4663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
4669 _arg1
= (bool ) tempbool1
;
4671 wxPy_BEGIN_ALLOW_THREADS
;
4672 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
4674 wxPy_END_ALLOW_THREADS
;
4675 } _resultobj
= Py_BuildValue("i",_result
);
4679 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
4680 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
* _resultobj
;
4682 wxPrintPreview
* _arg0
;
4684 PyObject
* _argo0
= 0;
4685 PyObject
* _argo1
= 0;
4686 char *_kwnames
[] = { "self","window", NULL
};
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
4692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
4699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
4706 wxPy_BEGIN_ALLOW_THREADS
;
4707 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
4709 wxPy_END_ALLOW_THREADS
;
4710 } Py_INCREF(Py_None
);
4711 _resultobj
= Py_None
;
4715 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
4716 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
* _resultobj
;
4718 wxPrintPreview
* _arg0
;
4720 PyObject
* _argo0
= 0;
4721 char *_kwnames
[] = { "self","pageNum", NULL
};
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
4727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
4734 wxPy_BEGIN_ALLOW_THREADS
;
4735 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
4737 wxPy_END_ALLOW_THREADS
;
4738 } Py_INCREF(Py_None
);
4739 _resultobj
= Py_None
;
4743 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
4744 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
* _resultobj
;
4746 wxPrintPreview
* _arg0
;
4748 PyObject
* _argo0
= 0;
4749 PyObject
* _argo1
= 0;
4750 char *_kwnames
[] = { "self","frame", NULL
};
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
4756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
4763 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4764 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
4770 wxPy_BEGIN_ALLOW_THREADS
;
4771 wxPrintPreview_SetFrame(_arg0
,_arg1
);
4773 wxPy_END_ALLOW_THREADS
;
4774 } Py_INCREF(Py_None
);
4775 _resultobj
= Py_None
;
4779 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
4780 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
* _resultobj
;
4782 wxPrintPreview
* _arg0
;
4783 wxPyPrintout
* _arg1
;
4784 PyObject
* _argo0
= 0;
4785 PyObject
* _argo1
= 0;
4786 char *_kwnames
[] = { "self","printout", NULL
};
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
4792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
4799 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4800 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
4806 wxPy_BEGIN_ALLOW_THREADS
;
4807 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
4809 wxPy_END_ALLOW_THREADS
;
4810 } Py_INCREF(Py_None
);
4811 _resultobj
= Py_None
;
4815 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
4816 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
* _resultobj
;
4818 wxPrintPreview
* _arg0
;
4820 PyObject
* _argo0
= 0;
4821 char *_kwnames
[] = { "self","percent", NULL
};
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
4827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
4834 wxPy_BEGIN_ALLOW_THREADS
;
4835 wxPrintPreview_SetZoom(_arg0
,_arg1
);
4837 wxPy_END_ALLOW_THREADS
;
4838 } Py_INCREF(Py_None
);
4839 _resultobj
= Py_None
;
4843 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
4844 wxPreviewFrame
*src
;
4846 src
= (wxPreviewFrame
*) ptr
;
4847 dest
= (wxFrame
*) src
;
4848 return (void *) dest
;
4851 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
4852 wxPreviewFrame
*src
;
4854 src
= (wxPreviewFrame
*) ptr
;
4855 dest
= (wxWindow
*) src
;
4856 return (void *) dest
;
4859 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
4860 wxPreviewFrame
*src
;
4862 src
= (wxPreviewFrame
*) ptr
;
4863 dest
= (wxEvtHandler
*) src
;
4864 return (void *) dest
;
4867 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4868 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
* _resultobj
;
4870 wxPreviewFrame
* _result
;
4871 wxPrintPreview
* _arg0
;
4874 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4875 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4876 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
4877 char * _arg6
= (char *) "frame";
4878 PyObject
* _argo0
= 0;
4879 PyObject
* _argo1
= 0;
4880 PyObject
* _obj2
= 0;
4882 PyObject
* _obj3
= 0;
4884 PyObject
* _obj4
= 0;
4885 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
4899 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4900 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
4906 #if PYTHON_API_VERSION >= 1009
4907 char* tmpPtr
; int tmpSize
;
4908 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4909 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4912 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4914 _arg2
= new wxString(tmpPtr
, tmpSize
);
4916 if (!PyString_Check(_obj2
)) {
4917 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4920 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4926 if (! wxPoint_helper(_obj3
, &_arg3
))
4932 if (! wxSize_helper(_obj4
, &_arg4
))
4936 wxPy_BEGIN_ALLOW_THREADS
;
4937 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4939 wxPy_END_ALLOW_THREADS
;
4941 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
4942 _resultobj
= Py_BuildValue("s",_ptemp
);
4945 _resultobj
= Py_None
;
4954 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
4955 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
* _resultobj
;
4957 wxPreviewFrame
* _arg0
;
4958 PyObject
* _argo0
= 0;
4959 char *_kwnames
[] = { "self", NULL
};
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
4965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
4967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
4972 wxPy_BEGIN_ALLOW_THREADS
;
4973 wxPreviewFrame_Initialize(_arg0
);
4975 wxPy_END_ALLOW_THREADS
;
4976 } Py_INCREF(Py_None
);
4977 _resultobj
= Py_None
;
4981 static PyMethodDef printfwcMethods
[] = {
4982 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4983 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
4984 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4985 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4986 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4987 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4988 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
4989 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
4990 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
4991 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
4992 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
4993 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
4994 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
4995 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
4996 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
4997 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4998 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
4999 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5000 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
5001 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
5002 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
5003 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5004 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
5005 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5006 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
5007 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5008 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5009 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
5010 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
5011 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
5012 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5013 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5014 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
5015 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
5016 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
5017 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
5018 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5019 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
5020 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
5021 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
5022 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5023 { "wxPrintout__setSelf", (PyCFunction
) _wrap_wxPrintout__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
5024 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5025 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5026 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
5027 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5028 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5029 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5030 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5031 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5032 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5033 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5034 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5035 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5036 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5037 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5038 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5039 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5040 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5041 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5042 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5043 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5044 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5045 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5046 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5047 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
5048 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5049 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
5050 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5051 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5052 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5053 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5054 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
5055 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5056 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5057 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5058 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5059 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5060 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5061 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5062 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5063 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5064 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5065 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5066 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5067 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5068 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5069 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5070 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5071 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5072 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5073 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5074 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5075 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5076 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5077 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5078 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5079 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5080 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5081 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5082 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5083 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5084 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5085 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5086 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5087 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
5088 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5089 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5090 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
5091 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5092 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5093 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5094 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5095 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5096 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5097 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5098 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5099 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5100 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5101 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5102 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5103 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5104 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5105 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5106 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5107 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5108 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5109 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5110 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5111 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5112 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
5113 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5114 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5115 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5116 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5117 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5118 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5119 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5120 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5121 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
5122 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5123 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5124 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5125 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5126 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5127 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5134 * This table is used by the pointer type-checker
5136 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5137 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5138 { "_wxEvent","_class_wxEvent",0},
5139 { "_class_wxActivateEvent","_wxActivateEvent",0},
5140 { "_signed_long","_long",0},
5141 { "_wxMenuEvent","_class_wxMenuEvent",0},
5142 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
5143 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
5144 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5145 { "_wxPrintQuality","_wxCoord",0},
5146 { "_wxPrintQuality","_int",0},
5147 { "_wxPrintQuality","_signed_int",0},
5148 { "_wxPrintQuality","_unsigned_int",0},
5149 { "_wxPrintQuality","_wxWindowID",0},
5150 { "_wxPrintQuality","_uint",0},
5151 { "_wxPrintQuality","_EBool",0},
5152 { "_wxPrintQuality","_size_t",0},
5153 { "_wxPrintQuality","_time_t",0},
5154 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
5155 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
5156 { "_wxFontData","_class_wxFontData",0},
5157 { "_class_wxRegionIterator","_wxRegionIterator",0},
5158 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
5159 { "_class_wxMenuBar","_wxMenuBar",0},
5160 { "_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5161 { "_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5162 { "_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5163 { "_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5164 { "_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5165 { "_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5166 { "_class_wxEvtHandler","_wxEvtHandler",0},
5167 { "_wxPaintEvent","_class_wxPaintEvent",0},
5168 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5169 { "_wxCursor","_class_wxCursor",0},
5170 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5171 { "_class_wxToolBarBase","_wxToolBarBase",0},
5172 { "_wxMask","_class_wxMask",0},
5173 { "_class_wxColourData","_wxColourData",0},
5174 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
5175 { "_wxPrinter","_class_wxPrinter",0},
5176 { "_wxPen","_class_wxPen",0},
5177 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5178 { "_byte","_unsigned_char",0},
5179 { "_wxDataObject","_class_wxDataObject",0},
5180 { "_wxStaticBox","_class_wxStaticBox",0},
5181 { "_wxColourDatabase","_class_wxColourDatabase",0},
5182 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
5183 { "_wxPyDropSource","_class_wxPyDropSource",0},
5184 { "_wxChoice","_class_wxChoice",0},
5185 { "_wxSlider","_class_wxSlider",0},
5186 { "_wxPyPrintout","_class_wxPyPrintout",0},
5187 { "_long","_unsigned_long",0},
5188 { "_long","_signed_long",0},
5189 { "_wxImageList","_class_wxImageList",0},
5190 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
5191 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5192 { "_wxBitmapButton","_class_wxBitmapButton",0},
5193 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
5194 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5195 { "_class_wxClipboard","_wxClipboard",0},
5196 { "_class_wxGauge","_wxGauge",0},
5197 { "_wxDC","_class_wxDC",0},
5198 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
5199 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
5200 { "_wxProgressDialog","_class_wxProgressDialog",0},
5201 { "_wxPrintPreview","_class_wxPrintPreview",0},
5202 { "_wxSpinEvent","_class_wxSpinEvent",0},
5203 { "_size_t","_wxCoord",0},
5204 { "_size_t","_wxPrintQuality",0},
5205 { "_size_t","_time_t",0},
5206 { "_size_t","_unsigned_int",0},
5207 { "_size_t","_int",0},
5208 { "_size_t","_wxWindowID",0},
5209 { "_size_t","_uint",0},
5210 { "_class_wxRealPoint","_wxRealPoint",0},
5211 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5212 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5213 { "_class_wxMenuItem","_wxMenuItem",0},
5214 { "_class_wxPaintEvent","_wxPaintEvent",0},
5215 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5216 { "_class_wxStatusBar","_wxStatusBar",0},
5217 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5218 { "_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5219 { "_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5220 { "_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5221 { "_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5222 { "_wxPanel","_class_wxPanel",0},
5223 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5224 { "_wxCheckBox","_class_wxCheckBox",0},
5225 { "_wxPyEvent","_class_wxPyEvent",0},
5226 { "_wxTextCtrl","_class_wxTextCtrl",0},
5227 { "_class_wxMask","_wxMask",0},
5228 { "_wxTextDataObject","_class_wxTextDataObject",0},
5229 { "_class_wxKeyEvent","_wxKeyEvent",0},
5230 { "_wxColour","_class_wxColour",0},
5231 { "_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5232 { "_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5233 { "_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5234 { "_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5235 { "_class_wxDialog","_wxDialog",0},
5236 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
5237 { "_class_wxPrinter","_wxPrinter",0},
5238 { "_class_wxFileDataObject","_wxFileDataObject",0},
5239 { "_wxIdleEvent","_class_wxIdleEvent",0},
5240 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5241 { "_wxToolBar","_class_wxToolBar",0},
5242 { "_class_wxDataObject","_wxDataObject",0},
5243 { "_wxStaticLine","_class_wxStaticLine",0},
5244 { "_wxBrush","_class_wxBrush",0},
5245 { "_wxMiniFrame","_class_wxMiniFrame",0},
5246 { "_class_wxPyPrintout","_wxPyPrintout",0},
5247 { "_wxDataFormat","_class_wxDataFormat",0},
5248 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
5249 { "_wxShowEvent","_class_wxShowEvent",0},
5250 { "_uint","_wxCoord",0},
5251 { "_uint","_wxPrintQuality",0},
5252 { "_uint","_time_t",0},
5253 { "_uint","_size_t",0},
5254 { "_uint","_unsigned_int",0},
5255 { "_uint","_int",0},
5256 { "_uint","_wxWindowID",0},
5257 { "_wxChar","_char",0},
5258 { "_wxPyValidator","_class_wxPyValidator",0},
5259 { "_class_wxEvent","_wxEvent",0},
5260 { "_wxCheckListBox","_class_wxCheckListBox",0},
5261 { "_wxRect","_class_wxRect",0},
5262 { "_wxCommandEvent","_class_wxCommandEvent",0},
5263 { "_wxSizeEvent","_class_wxSizeEvent",0},
5264 { "_wxPoint","_class_wxPoint",0},
5265 { "_class_wxButton","_wxButton",0},
5266 { "_wxRadioBox","_class_wxRadioBox",0},
5267 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
5268 { "_class_wxFontData","_wxFontData",0},
5269 { "_char","_wxChar",0},
5270 { "_wxBitmap","_class_wxBitmap",0},
5271 { "_wxPenList","_class_wxPenList",0},
5272 { "_wxPrintDialog","_class_wxPrintDialog",0},
5273 { "_wxWindowDC","_class_wxWindowDC",0},
5274 { "_wxTimerEvent","_class_wxTimerEvent",0},
5275 { "_wxScrollBar","_class_wxScrollBar",0},
5276 { "_wxSpinButton","_class_wxSpinButton",0},
5277 { "_wxColourDialog","_class_wxColourDialog",0},
5278 { "_wxPrintData","_class_wxPrintData",0},
5279 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5280 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5281 { "_wxMessageDialog","_class_wxMessageDialog",0},
5282 { "_class_wxValidator","_wxValidator",0},
5283 { "_class_wxPyEvent","_wxPyEvent",0},
5284 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
5285 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5286 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5287 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
5288 { "_class_wxToolBar","_wxToolBar",0},
5289 { "_wxDropTarget","_class_wxDropTarget",0},
5290 { "_class_wxStaticLine","_wxStaticLine",0},
5291 { "_class_wxColourDatabase","_wxColourDatabase",0},
5292 { "_wxScrollEvent","_class_wxScrollEvent",0},
5293 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
5294 { "_EBool","_wxCoord",0},
5295 { "_EBool","_wxPrintQuality",0},
5296 { "_EBool","_signed_int",0},
5297 { "_EBool","_int",0},
5298 { "_EBool","_wxWindowID",0},
5299 { "_class_wxRegion","_wxRegion",0},
5300 { "_class_wxDataFormat","_wxDataFormat",0},
5301 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5302 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5303 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
5304 { "_wxStaticText","_class_wxStaticText",0},
5305 { "_wxFont","_class_wxFont",0},
5306 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
5307 { "_wxCloseEvent","_class_wxCloseEvent",0},
5308 { "_unsigned_long","_long",0},
5309 { "_class_wxRect","_wxRect",0},
5310 { "_class_wxDC","_wxDC",0},
5311 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5312 { "_class_wxProgressDialog","_wxProgressDialog",0},
5313 { "_class_wxBrushList","_wxBrushList",0},
5314 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5315 { "_class_wxPenList","_wxPenList",0},
5316 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5317 { "_class_wxDirDialog","_wxDirDialog",0},
5318 { "_wxFocusEvent","_class_wxFocusEvent",0},
5319 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5320 { "_class_wxTimerEvent","_wxTimerEvent",0},
5321 { "_class_wxSpinButton","_wxSpinButton",0},
5322 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5323 { "_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5324 { "_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5325 { "_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5326 { "_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5327 { "_class_wxPanel","_wxPanel",0},
5328 { "_class_wxCheckBox","_wxCheckBox",0},
5329 { "_wxComboBox","_class_wxComboBox",0},
5330 { "_wxRadioButton","_class_wxRadioButton",0},
5331 { "_class_wxMessageDialog","_wxMessageDialog",0},
5332 { "_signed_int","_wxCoord",0},
5333 { "_signed_int","_wxPrintQuality",0},
5334 { "_signed_int","_EBool",0},
5335 { "_signed_int","_wxWindowID",0},
5336 { "_signed_int","_int",0},
5337 { "_class_wxTextCtrl","_wxTextCtrl",0},
5338 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5339 { "_class_wxTextDataObject","_wxTextDataObject",0},
5340 { "_wxMenu","_class_wxMenu",0},
5341 { "_class_wxMoveEvent","_wxMoveEvent",0},
5342 { "_wxListBox","_class_wxListBox",0},
5343 { "_wxScreenDC","_class_wxScreenDC",0},
5344 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
5345 { "_WXTYPE","_short",0},
5346 { "_WXTYPE","_signed_short",0},
5347 { "_WXTYPE","_unsigned_short",0},
5348 { "_wxFileDialog","_class_wxFileDialog",0},
5349 { "_class_wxDropTarget","_wxDropTarget",0},
5350 { "_class_wxBrush","_wxBrush",0},
5351 { "_unsigned_short","_WXTYPE",0},
5352 { "_unsigned_short","_short",0},
5353 { "_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5354 { "_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5355 { "_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5356 { "_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5357 { "_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5358 { "_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5359 { "_class_wxWindow","_wxWindow",0},
5360 { "_class_wxStaticText","_wxStaticText",0},
5361 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
5362 { "_class_wxFont","_wxFont",0},
5363 { "_wxClipboard","_class_wxClipboard",0},
5364 { "_class_wxPyValidator","_wxPyValidator",0},
5365 { "_class_wxCloseEvent","_wxCloseEvent",0},
5366 { "_wxBusyInfo","_class_wxBusyInfo",0},
5367 { "_wxFontList","_class_wxFontList",0},
5368 { "_class_wxMenuEvent","_wxMenuEvent",0},
5369 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5370 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
5371 { "_wxClientDC","_class_wxClientDC",0},
5372 { "_wxMouseEvent","_class_wxMouseEvent",0},
5373 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
5374 { "_class_wxPoint","_wxPoint",0},
5375 { "_wxRealPoint","_class_wxRealPoint",0},
5376 { "_class_wxRadioBox","_wxRadioBox",0},
5377 { "_signed_short","_WXTYPE",0},
5378 { "_signed_short","_short",0},
5379 { "_wxMemoryDC","_class_wxMemoryDC",0},
5380 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
5381 { "_class_wxPrintDialog","_wxPrintDialog",0},
5382 { "_wxPaintDC","_class_wxPaintDC",0},
5383 { "_class_wxWindowDC","_wxWindowDC",0},
5384 { "_class_wxFocusEvent","_wxFocusEvent",0},
5385 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5386 { "_wxStatusBar","_class_wxStatusBar",0},
5387 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5388 { "_class_wxCursor","_wxCursor",0},
5389 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5390 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
5391 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5392 { "_unsigned_char","_byte",0},
5393 { "_class_wxMenu","_wxMenu",0},
5394 { "_wxControl","_class_wxControl",0},
5395 { "_class_wxListBox","_wxListBox",0},
5396 { "_unsigned_int","_wxCoord",0},
5397 { "_unsigned_int","_wxPrintQuality",0},
5398 { "_unsigned_int","_time_t",0},
5399 { "_unsigned_int","_size_t",0},
5400 { "_unsigned_int","_uint",0},
5401 { "_unsigned_int","_wxWindowID",0},
5402 { "_unsigned_int","_int",0},
5403 { "_wxIcon","_class_wxIcon",0},
5404 { "_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5405 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5406 { "_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5407 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5408 { "_wxDialog","_class_wxDialog",0},
5409 { "_class_wxPen","_wxPen",0},
5410 { "_class_wxFileDialog","_wxFileDialog",0},
5411 { "_short","_WXTYPE",0},
5412 { "_short","_unsigned_short",0},
5413 { "_short","_signed_short",0},
5414 { "_class_wxStaticBox","_wxStaticBox",0},
5415 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
5416 { "_class_wxPyDropSource","_wxPyDropSource",0},
5417 { "_class_wxScrollEvent","_wxScrollEvent",0},
5418 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5419 { "_class_wxChoice","_wxChoice",0},
5420 { "_class_wxSlider","_wxSlider",0},
5421 { "_class_wxImageList","_wxImageList",0},
5422 { "_class_wxBitmapButton","_wxBitmapButton",0},
5423 { "_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5424 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5425 { "_wxFrame","_class_wxFrame",0},
5426 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5427 { "_wxWindowID","_wxCoord",0},
5428 { "_wxWindowID","_wxPrintQuality",0},
5429 { "_wxWindowID","_time_t",0},
5430 { "_wxWindowID","_size_t",0},
5431 { "_wxWindowID","_EBool",0},
5432 { "_wxWindowID","_uint",0},
5433 { "_wxWindowID","_int",0},
5434 { "_wxWindowID","_signed_int",0},
5435 { "_wxWindowID","_unsigned_int",0},
5436 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5437 { "_int","_wxCoord",0},
5438 { "_int","_wxPrintQuality",0},
5439 { "_int","_time_t",0},
5440 { "_int","_size_t",0},
5441 { "_int","_EBool",0},
5442 { "_int","_uint",0},
5443 { "_int","_wxWindowID",0},
5444 { "_int","_unsigned_int",0},
5445 { "_int","_signed_int",0},
5446 { "_class_wxMouseEvent","_wxMouseEvent",0},
5447 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5448 { "_class_wxPrintPreview","_wxPrintPreview",0},
5449 { "_class_wxSpinEvent","_wxSpinEvent",0},
5450 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5451 { "_time_t","_wxCoord",0},
5452 { "_time_t","_wxPrintQuality",0},
5453 { "_time_t","_unsigned_int",0},
5454 { "_time_t","_int",0},
5455 { "_time_t","_wxWindowID",0},
5456 { "_time_t","_uint",0},
5457 { "_time_t","_size_t",0},
5458 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5459 { "_wxButton","_class_wxButton",0},
5460 { "_wxSize","_class_wxSize",0},
5461 { "_wxRegionIterator","_class_wxRegionIterator",0},
5462 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
5463 { "_class_wxPaintDC","_wxPaintDC",0},
5464 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5465 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
5466 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5467 { "_class_wxComboBox","_wxComboBox",0},
5468 { "_class_wxRadioButton","_wxRadioButton",0},
5469 { "_wxValidator","_class_wxValidator",0},
5470 { "_wxToolBarBase","_class_wxToolBarBase",0},
5471 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5472 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5473 { "_class_wxControl","_wxControl",0},
5474 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5475 { "_class_wxIcon","_wxIcon",0},
5476 { "_class_wxColour","_wxColour",0},
5477 { "_class_wxScreenDC","_wxScreenDC",0},
5478 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
5479 { "_wxPalette","_class_wxPalette",0},
5480 { "_class_wxIdleEvent","_wxIdleEvent",0},
5481 { "_wxCoord","_int",0},
5482 { "_wxCoord","_signed_int",0},
5483 { "_wxCoord","_unsigned_int",0},
5484 { "_wxCoord","_wxWindowID",0},
5485 { "_wxCoord","_uint",0},
5486 { "_wxCoord","_EBool",0},
5487 { "_wxCoord","_size_t",0},
5488 { "_wxCoord","_time_t",0},
5489 { "_wxCoord","_wxPrintQuality",0},
5490 { "_wxEraseEvent","_class_wxEraseEvent",0},
5491 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
5492 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5493 { "_class_wxMiniFrame","_wxMiniFrame",0},
5494 { "_wxFontDialog","_class_wxFontDialog",0},
5495 { "_wxRegion","_class_wxRegion",0},
5496 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
5497 { "_class_wxShowEvent","_wxShowEvent",0},
5498 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
5499 { "_wxActivateEvent","_class_wxActivateEvent",0},
5500 { "_wxGauge","_class_wxGauge",0},
5501 { "_class_wxCheckListBox","_wxCheckListBox",0},
5502 { "_class_wxBusyInfo","_wxBusyInfo",0},
5503 { "_class_wxFontList","_wxFontList",0},
5504 { "_class_wxCommandEvent","_wxCommandEvent",0},
5505 { "_class_wxClientDC","_wxClientDC",0},
5506 { "_class_wxSizeEvent","_wxSizeEvent",0},
5507 { "_wxBrushList","_class_wxBrushList",0},
5508 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
5509 { "_class_wxSize","_wxSize",0},
5510 { "_class_wxBitmap","_wxBitmap",0},
5511 { "_class_wxMemoryDC","_wxMemoryDC",0},
5512 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
5513 { "_wxMenuBar","_class_wxMenuBar",0},
5514 { "_wxDirDialog","_class_wxDirDialog",0},
5515 { "_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5516 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5517 { "_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5518 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5519 { "_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5520 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5521 { "_wxEvtHandler","_class_wxEvtHandler",0},
5522 { "_wxMenuItem","_class_wxMenuItem",0},
5523 { "_class_wxScrollBar","_wxScrollBar",0},
5524 { "_class_wxColourDialog","_wxColourDialog",0},
5525 { "_class_wxPrintData","_wxPrintData",0},
5526 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5527 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
5528 { "_wxKeyEvent","_class_wxKeyEvent",0},
5529 { "_wxMoveEvent","_class_wxMoveEvent",0},
5530 { "_wxColourData","_class_wxColourData",0},
5531 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
5532 { "_class_wxPalette","_wxPalette",0},
5533 { "_wxFileDataObject","_class_wxFileDataObject",0},
5534 { "_class_wxEraseEvent","_wxEraseEvent",0},
5535 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
5536 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
5537 { "_class_wxFontDialog","_wxFontDialog",0},
5538 { "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5539 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5540 { "_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5541 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5542 { "_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5543 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5544 { "_wxWindow","_class_wxWindow",0},
5545 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5546 { "_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5547 { "_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5548 { "_class_wxFrame","_wxFrame",0},
5551 static PyObject
*SWIG_globals
;
5555 SWIGEXPORT(void) initprintfwc() {
5557 SWIG_globals
= SWIG_newvarlink();
5558 m
= Py_InitModule("printfwc", printfwcMethods
);
5559 d
= PyModule_GetDict(m
);
5562 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5563 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);