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 #if PYTHON_API_VERSION >= 1009
111 static char* wxStringErrorMsg
= "String or Unicode type required";
113 static char* wxStringErrorMsg
= "string type is required for parameter";
118 // Since this one would be tough and ugly to do with the Macros...
119 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
122 bool doSave
= wxPyRestoreThread();
123 if (m_myInst
.findCallback("GetPageInfo")) {
124 PyObject
* result
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
125 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
128 val
= PyTuple_GetItem(result
, 0);
129 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
132 val
= PyTuple_GetItem(result
, 1);
133 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
136 val
= PyTuple_GetItem(result
, 2);
137 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
140 val
= PyTuple_GetItem(result
, 3);
141 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
148 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
154 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
156 wxPySaveThread(doSave
);
159 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
160 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
164 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
165 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
166 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
167 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
168 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
169 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
170 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
176 static void *SwigwxPrintDataTowxObject(void *ptr
) {
179 src
= (wxPrintData
*) ptr
;
180 dest
= (wxObject
*) src
;
181 return (void *) dest
;
184 #define new_wxPrintData() (new wxPrintData())
185 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
186 PyObject
* _resultobj
;
187 wxPrintData
* _result
;
188 char *_kwnames
[] = { NULL
};
192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintData",_kwnames
))
195 wxPy_BEGIN_ALLOW_THREADS
;
196 _result
= (wxPrintData
*)new_wxPrintData();
198 wxPy_END_ALLOW_THREADS
;
200 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
201 _resultobj
= Py_BuildValue("s",_ptemp
);
204 _resultobj
= Py_None
;
209 #define delete_wxPrintData(_swigobj) (delete _swigobj)
210 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
211 PyObject
* _resultobj
;
213 PyObject
* _argo0
= 0;
214 char *_kwnames
[] = { "self", NULL
};
217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintData",_kwnames
,&_argo0
))
220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
227 wxPy_BEGIN_ALLOW_THREADS
;
228 delete_wxPrintData(_arg0
);
230 wxPy_END_ALLOW_THREADS
;
231 } Py_INCREF(Py_None
);
232 _resultobj
= Py_None
;
236 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
237 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
238 PyObject
* _resultobj
;
241 PyObject
* _argo0
= 0;
242 char *_kwnames
[] = { "self", NULL
};
245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetNoCopies",_kwnames
,&_argo0
))
248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
255 wxPy_BEGIN_ALLOW_THREADS
;
256 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
258 wxPy_END_ALLOW_THREADS
;
259 } _resultobj
= Py_BuildValue("i",_result
);
263 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
264 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
265 PyObject
* _resultobj
;
268 PyObject
* _argo0
= 0;
269 char *_kwnames
[] = { "self", NULL
};
272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetCollate",_kwnames
,&_argo0
))
275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
282 wxPy_BEGIN_ALLOW_THREADS
;
283 _result
= (bool )wxPrintData_GetCollate(_arg0
);
285 wxPy_END_ALLOW_THREADS
;
286 } _resultobj
= Py_BuildValue("i",_result
);
290 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
291 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
292 PyObject
* _resultobj
;
295 PyObject
* _argo0
= 0;
296 char *_kwnames
[] = { "self", NULL
};
299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetOrientation",_kwnames
,&_argo0
))
302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
309 wxPy_BEGIN_ALLOW_THREADS
;
310 _result
= (int )wxPrintData_GetOrientation(_arg0
);
312 wxPy_END_ALLOW_THREADS
;
313 } _resultobj
= Py_BuildValue("i",_result
);
317 #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName())
318 static PyObject
*_wrap_wxPrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
319 PyObject
* _resultobj
;
322 PyObject
* _argo0
= 0;
323 char *_kwnames
[] = { "self", NULL
};
326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterName",_kwnames
,&_argo0
))
329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p.");
336 wxPy_BEGIN_ALLOW_THREADS
;
337 const wxString
& _result_ref
= wxPrintData_GetPrinterName(_arg0
);
338 _result
= (wxString
*) &_result_ref
;
340 wxPy_END_ALLOW_THREADS
;
342 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
347 #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour())
348 static PyObject
*_wrap_wxPrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
349 PyObject
* _resultobj
;
352 PyObject
* _argo0
= 0;
353 char *_kwnames
[] = { "self", NULL
};
356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetColour",_kwnames
,&_argo0
))
359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p.");
366 wxPy_BEGIN_ALLOW_THREADS
;
367 _result
= (bool )wxPrintData_GetColour(_arg0
);
369 wxPy_END_ALLOW_THREADS
;
370 } _resultobj
= Py_BuildValue("i",_result
);
374 #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex())
375 static PyObject
*_wrap_wxPrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
376 PyObject
* _resultobj
;
377 wxDuplexMode _result
;
379 PyObject
* _argo0
= 0;
380 char *_kwnames
[] = { "self", NULL
};
383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetDuplex",_kwnames
,&_argo0
))
386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p.");
393 wxPy_BEGIN_ALLOW_THREADS
;
394 _result
= (wxDuplexMode
)wxPrintData_GetDuplex(_arg0
);
396 wxPy_END_ALLOW_THREADS
;
397 } _resultobj
= Py_BuildValue("i",_result
);
401 #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
402 static PyObject
*_wrap_wxPrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
403 PyObject
* _resultobj
;
406 PyObject
* _argo0
= 0;
407 char *_kwnames
[] = { "self", NULL
};
410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperId",_kwnames
,&_argo0
))
413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p.");
420 wxPy_BEGIN_ALLOW_THREADS
;
421 _result
= (wxPaperSize
)wxPrintData_GetPaperId(_arg0
);
423 wxPy_END_ALLOW_THREADS
;
424 } _resultobj
= Py_BuildValue("i",_result
);
428 #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
429 static PyObject
*_wrap_wxPrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
430 PyObject
* _resultobj
;
433 PyObject
* _argo0
= 0;
434 char *_kwnames
[] = { "self", NULL
};
438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPaperSize",_kwnames
,&_argo0
))
441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p.");
448 wxPy_BEGIN_ALLOW_THREADS
;
449 const wxSize
& _result_ref
= wxPrintData_GetPaperSize(_arg0
);
450 _result
= (wxSize
*) &_result_ref
;
452 wxPy_END_ALLOW_THREADS
;
454 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
455 _resultobj
= Py_BuildValue("s",_ptemp
);
458 _resultobj
= Py_None
;
463 #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality())
464 static PyObject
*_wrap_wxPrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 PyObject
* _resultobj
;
466 wxPrintQuality _result
;
468 PyObject
* _argo0
= 0;
469 char *_kwnames
[] = { "self", NULL
};
472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetQuality",_kwnames
,&_argo0
))
475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p.");
482 wxPy_BEGIN_ALLOW_THREADS
;
483 _result
= (wxPrintQuality
)wxPrintData_GetQuality(_arg0
);
485 wxPy_END_ALLOW_THREADS
;
486 } _resultobj
= Py_BuildValue("i",_result
);
490 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
491 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
492 PyObject
* _resultobj
;
495 PyObject
* _argo0
= 0;
496 char *_kwnames
[] = { "self","v", NULL
};
499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
509 wxPy_BEGIN_ALLOW_THREADS
;
510 wxPrintData_SetNoCopies(_arg0
,_arg1
);
512 wxPy_END_ALLOW_THREADS
;
513 } Py_INCREF(Py_None
);
514 _resultobj
= Py_None
;
518 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
519 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
523 PyObject
* _argo0
= 0;
525 char *_kwnames
[] = { "self","flag", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
537 _arg1
= (bool ) tempbool1
;
539 wxPy_BEGIN_ALLOW_THREADS
;
540 wxPrintData_SetCollate(_arg0
,_arg1
);
542 wxPy_END_ALLOW_THREADS
;
543 } Py_INCREF(Py_None
);
544 _resultobj
= Py_None
;
548 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
549 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 PyObject
* _resultobj
;
553 PyObject
* _argo0
= 0;
554 char *_kwnames
[] = { "self","orient", NULL
};
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
567 wxPy_BEGIN_ALLOW_THREADS
;
568 wxPrintData_SetOrientation(_arg0
,_arg1
);
570 wxPy_END_ALLOW_THREADS
;
571 } Py_INCREF(Py_None
);
572 _resultobj
= Py_None
;
576 #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0))
577 static PyObject
*_wrap_wxPrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
578 PyObject
* _resultobj
;
581 PyObject
* _argo0
= 0;
582 PyObject
* _obj1
= 0;
583 char *_kwnames
[] = { "self","name", NULL
};
586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterName",_kwnames
,&_argo0
,&_obj1
))
589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p.");
596 #if PYTHON_API_VERSION >= 1009
597 char* tmpPtr
; int tmpSize
;
598 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
599 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
602 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
604 _arg1
= new wxString(tmpPtr
, tmpSize
);
606 if (!PyString_Check(_obj1
)) {
607 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
610 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
614 wxPy_BEGIN_ALLOW_THREADS
;
615 wxPrintData_SetPrinterName(_arg0
,*_arg1
);
617 wxPy_END_ALLOW_THREADS
;
618 } Py_INCREF(Py_None
);
619 _resultobj
= Py_None
;
627 #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
628 static PyObject
*_wrap_wxPrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
629 PyObject
* _resultobj
;
632 PyObject
* _argo0
= 0;
634 char *_kwnames
[] = { "self","colour", NULL
};
637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetColour",_kwnames
,&_argo0
,&tempbool1
))
640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p.");
646 _arg1
= (bool ) tempbool1
;
648 wxPy_BEGIN_ALLOW_THREADS
;
649 wxPrintData_SetColour(_arg0
,_arg1
);
651 wxPy_END_ALLOW_THREADS
;
652 } Py_INCREF(Py_None
);
653 _resultobj
= Py_None
;
657 #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0))
658 static PyObject
*_wrap_wxPrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
662 PyObject
* _argo0
= 0;
663 char *_kwnames
[] = { "self","duplex", NULL
};
666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetDuplex",_kwnames
,&_argo0
,&_arg1
))
669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p.");
676 wxPy_BEGIN_ALLOW_THREADS
;
677 wxPrintData_SetDuplex(_arg0
,_arg1
);
679 wxPy_END_ALLOW_THREADS
;
680 } Py_INCREF(Py_None
);
681 _resultobj
= Py_None
;
685 #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
686 static PyObject
*_wrap_wxPrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
687 PyObject
* _resultobj
;
690 PyObject
* _argo0
= 0;
691 char *_kwnames
[] = { "self","sizeId", NULL
};
694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p.");
704 wxPy_BEGIN_ALLOW_THREADS
;
705 wxPrintData_SetPaperId(_arg0
,_arg1
);
707 wxPy_END_ALLOW_THREADS
;
708 } Py_INCREF(Py_None
);
709 _resultobj
= Py_None
;
713 #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
714 static PyObject
*_wrap_wxPrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
715 PyObject
* _resultobj
;
718 PyObject
* _argo0
= 0;
720 PyObject
* _obj1
= 0;
721 char *_kwnames
[] = { "self","sz", NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p.");
735 if (! wxSize_helper(_obj1
, &_arg1
))
739 wxPy_BEGIN_ALLOW_THREADS
;
740 wxPrintData_SetPaperSize(_arg0
,*_arg1
);
742 wxPy_END_ALLOW_THREADS
;
743 } Py_INCREF(Py_None
);
744 _resultobj
= Py_None
;
748 #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
749 static PyObject
*_wrap_wxPrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
750 PyObject
* _resultobj
;
752 wxPrintQuality _arg1
;
753 PyObject
* _argo0
= 0;
754 char *_kwnames
[] = { "self","quality", NULL
};
757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintData_SetQuality",_kwnames
,&_argo0
,&_arg1
))
760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p.");
767 wxPy_BEGIN_ALLOW_THREADS
;
768 wxPrintData_SetQuality(_arg0
,_arg1
);
770 wxPy_END_ALLOW_THREADS
;
771 } Py_INCREF(Py_None
);
772 _resultobj
= Py_None
;
776 #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand())
777 static PyObject
*_wrap_wxPrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
778 PyObject
* _resultobj
;
781 PyObject
* _argo0
= 0;
782 char *_kwnames
[] = { "self", NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterCommand",_kwnames
,&_argo0
))
788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p.");
795 wxPy_BEGIN_ALLOW_THREADS
;
796 const wxString
& _result_ref
= wxPrintData_GetPrinterCommand(_arg0
);
797 _result
= (wxString
*) &_result_ref
;
799 wxPy_END_ALLOW_THREADS
;
801 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
806 #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions())
807 static PyObject
*_wrap_wxPrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
811 PyObject
* _argo0
= 0;
812 char *_kwnames
[] = { "self", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterOptions",_kwnames
,&_argo0
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p.");
825 wxPy_BEGIN_ALLOW_THREADS
;
826 const wxString
& _result_ref
= wxPrintData_GetPrinterOptions(_arg0
);
827 _result
= (wxString
*) &_result_ref
;
829 wxPy_END_ALLOW_THREADS
;
831 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
836 #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand())
837 static PyObject
*_wrap_wxPrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
838 PyObject
* _resultobj
;
841 PyObject
* _argo0
= 0;
842 char *_kwnames
[] = { "self", NULL
};
845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPreviewCommand",_kwnames
,&_argo0
))
848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p.");
855 wxPy_BEGIN_ALLOW_THREADS
;
856 const wxString
& _result_ref
= wxPrintData_GetPreviewCommand(_arg0
);
857 _result
= (wxString
*) &_result_ref
;
859 wxPy_END_ALLOW_THREADS
;
861 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
866 #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename())
867 static PyObject
*_wrap_wxPrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
868 PyObject
* _resultobj
;
871 PyObject
* _argo0
= 0;
872 char *_kwnames
[] = { "self", NULL
};
875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFilename",_kwnames
,&_argo0
))
878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p.");
885 wxPy_BEGIN_ALLOW_THREADS
;
886 const wxString
& _result_ref
= wxPrintData_GetFilename(_arg0
);
887 _result
= (wxString
*) &_result_ref
;
889 wxPy_END_ALLOW_THREADS
;
891 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
896 #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath())
897 static PyObject
*_wrap_wxPrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
901 PyObject
* _argo0
= 0;
902 char *_kwnames
[] = { "self", NULL
};
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetFontMetricPath",_kwnames
,&_argo0
))
908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p.");
915 wxPy_BEGIN_ALLOW_THREADS
;
916 const wxString
& _result_ref
= wxPrintData_GetFontMetricPath(_arg0
);
917 _result
= (wxString
*) &_result_ref
;
919 wxPy_END_ALLOW_THREADS
;
921 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
926 #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX())
927 static PyObject
*_wrap_wxPrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
928 PyObject
* _resultobj
;
931 PyObject
* _argo0
= 0;
932 char *_kwnames
[] = { "self", NULL
};
935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleX",_kwnames
,&_argo0
))
938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p.");
945 wxPy_BEGIN_ALLOW_THREADS
;
946 _result
= (double )wxPrintData_GetPrinterScaleX(_arg0
);
948 wxPy_END_ALLOW_THREADS
;
949 } _resultobj
= Py_BuildValue("d",_result
);
953 #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY())
954 static PyObject
*_wrap_wxPrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
958 PyObject
* _argo0
= 0;
959 char *_kwnames
[] = { "self", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterScaleY",_kwnames
,&_argo0
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p.");
972 wxPy_BEGIN_ALLOW_THREADS
;
973 _result
= (double )wxPrintData_GetPrinterScaleY(_arg0
);
975 wxPy_END_ALLOW_THREADS
;
976 } _resultobj
= Py_BuildValue("d",_result
);
980 #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX())
981 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 PyObject
* _resultobj
;
985 PyObject
* _argo0
= 0;
986 char *_kwnames
[] = { "self", NULL
};
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateX",_kwnames
,&_argo0
))
992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p.");
999 wxPy_BEGIN_ALLOW_THREADS
;
1000 _result
= (long )wxPrintData_GetPrinterTranslateX(_arg0
);
1002 wxPy_END_ALLOW_THREADS
;
1003 } _resultobj
= Py_BuildValue("l",_result
);
1007 #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY())
1008 static PyObject
*_wrap_wxPrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1011 wxPrintData
* _arg0
;
1012 PyObject
* _argo0
= 0;
1013 char *_kwnames
[] = { "self", NULL
};
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrinterTranslateY",_kwnames
,&_argo0
))
1019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p.");
1026 wxPy_BEGIN_ALLOW_THREADS
;
1027 _result
= (long )wxPrintData_GetPrinterTranslateY(_arg0
);
1029 wxPy_END_ALLOW_THREADS
;
1030 } _resultobj
= Py_BuildValue("l",_result
);
1034 #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1035 static PyObject
*_wrap_wxPrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1036 PyObject
* _resultobj
;
1037 wxPrintMode
* _result
;
1038 wxPrintData
* _arg0
;
1039 PyObject
* _argo0
= 0;
1040 char *_kwnames
[] = { "self", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintData_GetPrintMode",_kwnames
,&_argo0
))
1047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p.");
1054 wxPy_BEGIN_ALLOW_THREADS
;
1055 _result
= new wxPrintMode (wxPrintData_GetPrintMode(_arg0
));
1057 wxPy_END_ALLOW_THREADS
;
1058 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPrintMode_p");
1059 _resultobj
= Py_BuildValue("s",_ptemp
);
1063 #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0))
1064 static PyObject
*_wrap_wxPrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1066 wxPrintData
* _arg0
;
1068 PyObject
* _argo0
= 0;
1069 PyObject
* _obj1
= 0;
1070 char *_kwnames
[] = { "self","command", NULL
};
1073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterCommand",_kwnames
,&_argo0
,&_obj1
))
1076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p.");
1083 #if PYTHON_API_VERSION >= 1009
1084 char* tmpPtr
; int tmpSize
;
1085 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1086 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1089 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1091 _arg1
= new wxString(tmpPtr
, tmpSize
);
1093 if (!PyString_Check(_obj1
)) {
1094 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1097 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1101 wxPy_BEGIN_ALLOW_THREADS
;
1102 wxPrintData_SetPrinterCommand(_arg0
,*_arg1
);
1104 wxPy_END_ALLOW_THREADS
;
1105 } Py_INCREF(Py_None
);
1106 _resultobj
= Py_None
;
1114 #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0))
1115 static PyObject
*_wrap_wxPrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1117 wxPrintData
* _arg0
;
1119 PyObject
* _argo0
= 0;
1120 PyObject
* _obj1
= 0;
1121 char *_kwnames
[] = { "self","options", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrinterOptions",_kwnames
,&_argo0
,&_obj1
))
1127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p.");
1134 #if PYTHON_API_VERSION >= 1009
1135 char* tmpPtr
; int tmpSize
;
1136 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1140 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1142 _arg1
= new wxString(tmpPtr
, tmpSize
);
1144 if (!PyString_Check(_obj1
)) {
1145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1148 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1152 wxPy_BEGIN_ALLOW_THREADS
;
1153 wxPrintData_SetPrinterOptions(_arg0
,*_arg1
);
1155 wxPy_END_ALLOW_THREADS
;
1156 } Py_INCREF(Py_None
);
1157 _resultobj
= Py_None
;
1165 #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0))
1166 static PyObject
*_wrap_wxPrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
* _resultobj
;
1168 wxPrintData
* _arg0
;
1170 PyObject
* _argo0
= 0;
1171 PyObject
* _obj1
= 0;
1172 char *_kwnames
[] = { "self","command", NULL
};
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPreviewCommand",_kwnames
,&_argo0
,&_obj1
))
1178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p.");
1185 #if PYTHON_API_VERSION >= 1009
1186 char* tmpPtr
; int tmpSize
;
1187 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1188 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1191 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1193 _arg1
= new wxString(tmpPtr
, tmpSize
);
1195 if (!PyString_Check(_obj1
)) {
1196 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1199 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1203 wxPy_BEGIN_ALLOW_THREADS
;
1204 wxPrintData_SetPreviewCommand(_arg0
,*_arg1
);
1206 wxPy_END_ALLOW_THREADS
;
1207 } Py_INCREF(Py_None
);
1208 _resultobj
= Py_None
;
1216 #define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1217 static PyObject
*_wrap_wxPrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1219 wxPrintData
* _arg0
;
1221 PyObject
* _argo0
= 0;
1222 PyObject
* _obj1
= 0;
1223 char *_kwnames
[] = { "self","filename", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p.");
1236 #if PYTHON_API_VERSION >= 1009
1237 char* tmpPtr
; int tmpSize
;
1238 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1239 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1242 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1244 _arg1
= new wxString(tmpPtr
, tmpSize
);
1246 if (!PyString_Check(_obj1
)) {
1247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1250 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1254 wxPy_BEGIN_ALLOW_THREADS
;
1255 wxPrintData_SetFilename(_arg0
,*_arg1
);
1257 wxPy_END_ALLOW_THREADS
;
1258 } Py_INCREF(Py_None
);
1259 _resultobj
= Py_None
;
1267 #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0))
1268 static PyObject
*_wrap_wxPrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
* _resultobj
;
1270 wxPrintData
* _arg0
;
1272 PyObject
* _argo0
= 0;
1273 PyObject
* _obj1
= 0;
1274 char *_kwnames
[] = { "self","path", NULL
};
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetFontMetricPath",_kwnames
,&_argo0
,&_obj1
))
1280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p.");
1287 #if PYTHON_API_VERSION >= 1009
1288 char* tmpPtr
; int tmpSize
;
1289 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1290 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1293 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1295 _arg1
= new wxString(tmpPtr
, tmpSize
);
1297 if (!PyString_Check(_obj1
)) {
1298 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1301 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1305 wxPy_BEGIN_ALLOW_THREADS
;
1306 wxPrintData_SetFontMetricPath(_arg0
,*_arg1
);
1308 wxPy_END_ALLOW_THREADS
;
1309 } Py_INCREF(Py_None
);
1310 _resultobj
= Py_None
;
1318 #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0))
1319 static PyObject
*_wrap_wxPrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1321 wxPrintData
* _arg0
;
1323 PyObject
* _argo0
= 0;
1324 char *_kwnames
[] = { "self","x", NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleX",_kwnames
,&_argo0
,&_arg1
))
1330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p.");
1337 wxPy_BEGIN_ALLOW_THREADS
;
1338 wxPrintData_SetPrinterScaleX(_arg0
,_arg1
);
1340 wxPy_END_ALLOW_THREADS
;
1341 } Py_INCREF(Py_None
);
1342 _resultobj
= Py_None
;
1346 #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0))
1347 static PyObject
*_wrap_wxPrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
* _resultobj
;
1349 wxPrintData
* _arg0
;
1351 PyObject
* _argo0
= 0;
1352 char *_kwnames
[] = { "self","y", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPrintData_SetPrinterScaleY",_kwnames
,&_argo0
,&_arg1
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p.");
1365 wxPy_BEGIN_ALLOW_THREADS
;
1366 wxPrintData_SetPrinterScaleY(_arg0
,_arg1
);
1368 wxPy_END_ALLOW_THREADS
;
1369 } Py_INCREF(Py_None
);
1370 _resultobj
= Py_None
;
1374 #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1))
1375 static PyObject
*_wrap_wxPrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
* _resultobj
;
1377 wxPrintData
* _arg0
;
1380 PyObject
* _argo0
= 0;
1381 char *_kwnames
[] = { "self","x","y", NULL
};
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPrintData_SetPrinterScaling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterScaling. Expected _wxPrintData_p.");
1394 wxPy_BEGIN_ALLOW_THREADS
;
1395 wxPrintData_SetPrinterScaling(_arg0
,_arg1
,_arg2
);
1397 wxPy_END_ALLOW_THREADS
;
1398 } Py_INCREF(Py_None
);
1399 _resultobj
= Py_None
;
1403 #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0))
1404 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1406 wxPrintData
* _arg0
;
1408 PyObject
* _argo0
= 0;
1409 char *_kwnames
[] = { "self","x", NULL
};
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames
,&_argo0
,&_arg1
))
1415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p.");
1422 wxPy_BEGIN_ALLOW_THREADS
;
1423 wxPrintData_SetPrinterTranslateX(_arg0
,_arg1
);
1425 wxPy_END_ALLOW_THREADS
;
1426 } Py_INCREF(Py_None
);
1427 _resultobj
= Py_None
;
1431 #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0))
1432 static PyObject
*_wrap_wxPrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1434 wxPrintData
* _arg0
;
1436 PyObject
* _argo0
= 0;
1437 char *_kwnames
[] = { "self","y", NULL
};
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames
,&_argo0
,&_arg1
))
1443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p.");
1450 wxPy_BEGIN_ALLOW_THREADS
;
1451 wxPrintData_SetPrinterTranslateY(_arg0
,_arg1
);
1453 wxPy_END_ALLOW_THREADS
;
1454 } Py_INCREF(Py_None
);
1455 _resultobj
= Py_None
;
1459 #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1))
1460 static PyObject
*_wrap_wxPrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
* _resultobj
;
1462 wxPrintData
* _arg0
;
1465 PyObject
* _argo0
= 0;
1466 char *_kwnames
[] = { "self","x","y", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPrintData_SetPrinterTranslation",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrinterTranslation. Expected _wxPrintData_p.");
1479 wxPy_BEGIN_ALLOW_THREADS
;
1480 wxPrintData_SetPrinterTranslation(_arg0
,_arg1
,_arg2
);
1482 wxPy_END_ALLOW_THREADS
;
1483 } Py_INCREF(Py_None
);
1484 _resultobj
= Py_None
;
1488 #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1489 static PyObject
*_wrap_wxPrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
* _resultobj
;
1491 wxPrintData
* _arg0
;
1492 wxPrintMode
* _arg1
;
1493 PyObject
* _argo0
= 0;
1494 PyObject
* _argo1
= 0;
1495 char *_kwnames
[] = { "self","printMode", NULL
};
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintData_SetPrintMode",_kwnames
,&_argo0
,&_argo1
))
1501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintData_p")) {
1503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p.");
1508 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1509 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintMode_p")) {
1510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintData_SetPrintMode. Expected _wxPrintMode_p.");
1515 wxPy_BEGIN_ALLOW_THREADS
;
1516 wxPrintData_SetPrintMode(_arg0
,*_arg1
);
1518 wxPy_END_ALLOW_THREADS
;
1519 } Py_INCREF(Py_None
);
1520 _resultobj
= Py_None
;
1524 static void *SwigwxPageSetupDialogDataTowxObject(void *ptr
) {
1525 wxPageSetupDialogData
*src
;
1527 src
= (wxPageSetupDialogData
*) ptr
;
1528 dest
= (wxObject
*) src
;
1529 return (void *) dest
;
1532 #define new_wxPageSetupDialogData() (new wxPageSetupDialogData())
1533 static PyObject
*_wrap_new_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
* _resultobj
;
1535 wxPageSetupDialogData
* _result
;
1536 char *_kwnames
[] = { NULL
};
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPageSetupDialogData",_kwnames
))
1543 wxPy_BEGIN_ALLOW_THREADS
;
1544 _result
= (wxPageSetupDialogData
*)new_wxPageSetupDialogData();
1546 wxPy_END_ALLOW_THREADS
;
1548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
1549 _resultobj
= Py_BuildValue("s",_ptemp
);
1552 _resultobj
= Py_None
;
1557 #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj)
1558 static PyObject
*_wrap_delete_wxPageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
* _resultobj
;
1560 wxPageSetupDialogData
* _arg0
;
1561 PyObject
* _argo0
= 0;
1562 char *_kwnames
[] = { "self", NULL
};
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPageSetupDialogData",_kwnames
,&_argo0
))
1568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p.");
1575 wxPy_BEGIN_ALLOW_THREADS
;
1576 delete_wxPageSetupDialogData(_arg0
);
1578 wxPy_END_ALLOW_THREADS
;
1579 } Py_INCREF(Py_None
);
1580 _resultobj
= Py_None
;
1584 #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1585 static PyObject
*_wrap_wxPageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1587 wxPageSetupDialogData
* _arg0
;
1589 PyObject
* _argo0
= 0;
1591 char *_kwnames
[] = { "self","flag", NULL
};
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
1597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p.");
1603 _arg1
= (bool ) tempbool1
;
1605 wxPy_BEGIN_ALLOW_THREADS
;
1606 wxPageSetupDialogData_EnableHelp(_arg0
,_arg1
);
1608 wxPy_END_ALLOW_THREADS
;
1609 } Py_INCREF(Py_None
);
1610 _resultobj
= Py_None
;
1614 #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1615 static PyObject
*_wrap_wxPageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1617 wxPageSetupDialogData
* _arg0
;
1619 PyObject
* _argo0
= 0;
1621 char *_kwnames
[] = { "self","flag", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames
,&_argo0
,&tempbool1
))
1627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p.");
1633 _arg1
= (bool ) tempbool1
;
1635 wxPy_BEGIN_ALLOW_THREADS
;
1636 wxPageSetupDialogData_EnableMargins(_arg0
,_arg1
);
1638 wxPy_END_ALLOW_THREADS
;
1639 } Py_INCREF(Py_None
);
1640 _resultobj
= Py_None
;
1644 #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
1645 static PyObject
*_wrap_wxPageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
* _resultobj
;
1647 wxPageSetupDialogData
* _arg0
;
1649 PyObject
* _argo0
= 0;
1651 char *_kwnames
[] = { "self","flag", NULL
};
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames
,&_argo0
,&tempbool1
))
1657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p.");
1663 _arg1
= (bool ) tempbool1
;
1665 wxPy_BEGIN_ALLOW_THREADS
;
1666 wxPageSetupDialogData_EnableOrientation(_arg0
,_arg1
);
1668 wxPy_END_ALLOW_THREADS
;
1669 } Py_INCREF(Py_None
);
1670 _resultobj
= Py_None
;
1674 #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
1675 static PyObject
*_wrap_wxPageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1676 PyObject
* _resultobj
;
1677 wxPageSetupDialogData
* _arg0
;
1679 PyObject
* _argo0
= 0;
1681 char *_kwnames
[] = { "self","flag", NULL
};
1684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames
,&_argo0
,&tempbool1
))
1687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p.");
1693 _arg1
= (bool ) tempbool1
;
1695 wxPy_BEGIN_ALLOW_THREADS
;
1696 wxPageSetupDialogData_EnablePaper(_arg0
,_arg1
);
1698 wxPy_END_ALLOW_THREADS
;
1699 } Py_INCREF(Py_None
);
1700 _resultobj
= Py_None
;
1704 #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
1705 static PyObject
*_wrap_wxPageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
* _resultobj
;
1707 wxPageSetupDialogData
* _arg0
;
1709 PyObject
* _argo0
= 0;
1711 char *_kwnames
[] = { "self","flag", NULL
};
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames
,&_argo0
,&tempbool1
))
1717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p.");
1723 _arg1
= (bool ) tempbool1
;
1725 wxPy_BEGIN_ALLOW_THREADS
;
1726 wxPageSetupDialogData_EnablePrinter(_arg0
,_arg1
);
1728 wxPy_END_ALLOW_THREADS
;
1729 } Py_INCREF(Py_None
);
1730 _resultobj
= Py_None
;
1734 #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
1735 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1738 wxPageSetupDialogData
* _arg0
;
1739 PyObject
* _argo0
= 0;
1740 char *_kwnames
[] = { "self", NULL
};
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames
,&_argo0
))
1746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
1753 wxPy_BEGIN_ALLOW_THREADS
;
1754 _result
= (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0
);
1756 wxPy_END_ALLOW_THREADS
;
1757 } _resultobj
= Py_BuildValue("i",_result
);
1761 #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
1762 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
* _resultobj
;
1765 wxPageSetupDialogData
* _arg0
;
1766 PyObject
* _argo0
= 0;
1767 char *_kwnames
[] = { "self", NULL
};
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames
,&_argo0
))
1773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p.");
1780 wxPy_BEGIN_ALLOW_THREADS
;
1781 _result
= (bool )wxPageSetupDialogData_GetEnableMargins(_arg0
);
1783 wxPy_END_ALLOW_THREADS
;
1784 } _resultobj
= Py_BuildValue("i",_result
);
1788 #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
1789 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
* _resultobj
;
1792 wxPageSetupDialogData
* _arg0
;
1793 PyObject
* _argo0
= 0;
1794 char *_kwnames
[] = { "self", NULL
};
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames
,&_argo0
))
1800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p.");
1807 wxPy_BEGIN_ALLOW_THREADS
;
1808 _result
= (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0
);
1810 wxPy_END_ALLOW_THREADS
;
1811 } _resultobj
= Py_BuildValue("i",_result
);
1815 #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
1816 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
* _resultobj
;
1819 wxPageSetupDialogData
* _arg0
;
1820 PyObject
* _argo0
= 0;
1821 char *_kwnames
[] = { "self", NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames
,&_argo0
))
1827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p.");
1834 wxPy_BEGIN_ALLOW_THREADS
;
1835 _result
= (bool )wxPageSetupDialogData_GetEnablePaper(_arg0
);
1837 wxPy_END_ALLOW_THREADS
;
1838 } _resultobj
= Py_BuildValue("i",_result
);
1842 #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
1843 static PyObject
*_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
* _resultobj
;
1846 wxPageSetupDialogData
* _arg0
;
1847 PyObject
* _argo0
= 0;
1848 char *_kwnames
[] = { "self", NULL
};
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames
,&_argo0
))
1854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p.");
1861 wxPy_BEGIN_ALLOW_THREADS
;
1862 _result
= (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0
);
1864 wxPy_END_ALLOW_THREADS
;
1865 } _resultobj
= Py_BuildValue("i",_result
);
1869 #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
1870 static PyObject
*_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
* _resultobj
;
1873 wxPageSetupDialogData
* _arg0
;
1874 PyObject
* _argo0
= 0;
1875 char *_kwnames
[] = { "self", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames
,&_argo0
))
1881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p.");
1888 wxPy_BEGIN_ALLOW_THREADS
;
1889 _result
= (bool )wxPageSetupDialogData_GetEnableHelp(_arg0
);
1891 wxPy_END_ALLOW_THREADS
;
1892 } _resultobj
= Py_BuildValue("i",_result
);
1896 #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
1897 static PyObject
*_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1900 wxPageSetupDialogData
* _arg0
;
1901 PyObject
* _argo0
= 0;
1902 char *_kwnames
[] = { "self", NULL
};
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames
,&_argo0
))
1908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p.");
1915 wxPy_BEGIN_ALLOW_THREADS
;
1916 _result
= (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0
);
1918 wxPy_END_ALLOW_THREADS
;
1919 } _resultobj
= Py_BuildValue("i",_result
);
1923 #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
1924 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
* _resultobj
;
1927 wxPageSetupDialogData
* _arg0
;
1928 PyObject
* _argo0
= 0;
1929 char *_kwnames
[] = { "self", NULL
};
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames
,&_argo0
))
1936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
1943 wxPy_BEGIN_ALLOW_THREADS
;
1944 _result
= new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0
));
1946 wxPy_END_ALLOW_THREADS
;
1947 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1948 _resultobj
= Py_BuildValue("s",_ptemp
);
1952 #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
1953 static PyObject
*_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
* _resultobj
;
1956 wxPageSetupDialogData
* _arg0
;
1957 PyObject
* _argo0
= 0;
1958 char *_kwnames
[] = { "self", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames
,&_argo0
))
1965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
1972 wxPy_BEGIN_ALLOW_THREADS
;
1973 _result
= new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0
));
1975 wxPy_END_ALLOW_THREADS
;
1976 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1977 _resultobj
= Py_BuildValue("s",_ptemp
);
1981 #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
1982 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
* _resultobj
;
1985 wxPageSetupDialogData
* _arg0
;
1986 PyObject
* _argo0
= 0;
1987 char *_kwnames
[] = { "self", NULL
};
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames
,&_argo0
))
1994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
1996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2001 wxPy_BEGIN_ALLOW_THREADS
;
2002 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0
));
2004 wxPy_END_ALLOW_THREADS
;
2005 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2006 _resultobj
= Py_BuildValue("s",_ptemp
);
2010 #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2011 static PyObject
*_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
* _resultobj
;
2014 wxPageSetupDialogData
* _arg0
;
2015 PyObject
* _argo0
= 0;
2016 char *_kwnames
[] = { "self", NULL
};
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames
,&_argo0
))
2023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2030 wxPy_BEGIN_ALLOW_THREADS
;
2031 _result
= new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0
));
2033 wxPy_END_ALLOW_THREADS
;
2034 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2035 _resultobj
= Py_BuildValue("s",_ptemp
);
2039 #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId())
2040 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
* _resultobj
;
2042 wxPaperSize _result
;
2043 wxPageSetupDialogData
* _arg0
;
2044 PyObject
* _argo0
= 0;
2045 char *_kwnames
[] = { "self", NULL
};
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperId",_kwnames
,&_argo0
))
2051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p.");
2058 wxPy_BEGIN_ALLOW_THREADS
;
2059 _result
= (wxPaperSize
)wxPageSetupDialogData_GetPaperId(_arg0
);
2061 wxPy_END_ALLOW_THREADS
;
2062 } _resultobj
= Py_BuildValue("i",_result
);
2066 #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2067 static PyObject
*_wrap_wxPageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
* _resultobj
;
2070 wxPageSetupDialogData
* _arg0
;
2071 PyObject
* _argo0
= 0;
2072 char *_kwnames
[] = { "self", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPaperSize",_kwnames
,&_argo0
))
2079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p.");
2086 wxPy_BEGIN_ALLOW_THREADS
;
2087 _result
= new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0
));
2089 wxPy_END_ALLOW_THREADS
;
2090 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2091 _resultobj
= Py_BuildValue("s",_ptemp
);
2095 static wxPrintData
* wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData
*self
) {
2096 return new wxPrintData(self
->GetPrintData()); // force a copy
2098 static PyObject
*_wrap_wxPageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
* _resultobj
;
2100 wxPrintData
* _result
;
2101 wxPageSetupDialogData
* _arg0
;
2102 PyObject
* _argo0
= 0;
2103 char *_kwnames
[] = { "self", NULL
};
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialogData_GetPrintData",_kwnames
,&_argo0
))
2110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p.");
2117 wxPy_BEGIN_ALLOW_THREADS
;
2118 _result
= (wxPrintData
*)wxPageSetupDialogData_GetPrintData(_arg0
);
2120 wxPy_END_ALLOW_THREADS
;
2122 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2123 _resultobj
= Py_BuildValue("s",_ptemp
);
2126 _resultobj
= Py_None
;
2131 #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2132 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2134 wxPageSetupDialogData
* _arg0
;
2136 PyObject
* _argo0
= 0;
2138 char *_kwnames
[] = { "self","flag", NULL
};
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames
,&_argo0
,&tempbool1
))
2144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p.");
2150 _arg1
= (bool ) tempbool1
;
2152 wxPy_BEGIN_ALLOW_THREADS
;
2153 wxPageSetupDialogData_SetDefaultInfo(_arg0
,_arg1
);
2155 wxPy_END_ALLOW_THREADS
;
2156 } Py_INCREF(Py_None
);
2157 _resultobj
= Py_None
;
2161 #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2162 static PyObject
*_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
* _resultobj
;
2164 wxPageSetupDialogData
* _arg0
;
2166 PyObject
* _argo0
= 0;
2168 char *_kwnames
[] = { "self","flag", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames
,&_argo0
,&tempbool1
))
2174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p.");
2180 _arg1
= (bool ) tempbool1
;
2182 wxPy_BEGIN_ALLOW_THREADS
;
2183 wxPageSetupDialogData_SetDefaultMinMargins(_arg0
,_arg1
);
2185 wxPy_END_ALLOW_THREADS
;
2186 } Py_INCREF(Py_None
);
2187 _resultobj
= Py_None
;
2191 #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2192 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2194 wxPageSetupDialogData
* _arg0
;
2196 PyObject
* _argo0
= 0;
2198 PyObject
* _obj1
= 0;
2199 char *_kwnames
[] = { "self","pt", NULL
};
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2213 if (! wxPoint_helper(_obj1
, &_arg1
))
2217 wxPy_BEGIN_ALLOW_THREADS
;
2218 wxPageSetupDialogData_SetMarginTopLeft(_arg0
,*_arg1
);
2220 wxPy_END_ALLOW_THREADS
;
2221 } Py_INCREF(Py_None
);
2222 _resultobj
= Py_None
;
2226 #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2227 static PyObject
*_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
* _resultobj
;
2229 wxPageSetupDialogData
* _arg0
;
2231 PyObject
* _argo0
= 0;
2233 PyObject
* _obj1
= 0;
2234 char *_kwnames
[] = { "self","pt", NULL
};
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2248 if (! wxPoint_helper(_obj1
, &_arg1
))
2252 wxPy_BEGIN_ALLOW_THREADS
;
2253 wxPageSetupDialogData_SetMarginBottomRight(_arg0
,*_arg1
);
2255 wxPy_END_ALLOW_THREADS
;
2256 } Py_INCREF(Py_None
);
2257 _resultobj
= Py_None
;
2261 #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2262 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
* _resultobj
;
2264 wxPageSetupDialogData
* _arg0
;
2266 PyObject
* _argo0
= 0;
2268 PyObject
* _obj1
= 0;
2269 char *_kwnames
[] = { "self","pt", NULL
};
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames
,&_argo0
,&_obj1
))
2275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p.");
2283 if (! wxPoint_helper(_obj1
, &_arg1
))
2287 wxPy_BEGIN_ALLOW_THREADS
;
2288 wxPageSetupDialogData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2290 wxPy_END_ALLOW_THREADS
;
2291 } Py_INCREF(Py_None
);
2292 _resultobj
= Py_None
;
2296 #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2297 static PyObject
*_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
* _resultobj
;
2299 wxPageSetupDialogData
* _arg0
;
2301 PyObject
* _argo0
= 0;
2303 PyObject
* _obj1
= 0;
2304 char *_kwnames
[] = { "self","pt", NULL
};
2307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames
,&_argo0
,&_obj1
))
2310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p.");
2318 if (! wxPoint_helper(_obj1
, &_arg1
))
2322 wxPy_BEGIN_ALLOW_THREADS
;
2323 wxPageSetupDialogData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2325 wxPy_END_ALLOW_THREADS
;
2326 } Py_INCREF(Py_None
);
2327 _resultobj
= Py_None
;
2331 #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0))
2332 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
* _resultobj
;
2334 wxPageSetupDialogData
* _arg0
;
2336 PyObject
* _argo0
= 0;
2337 char *_kwnames
[] = { "self","id", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames
,&_argo0
,&_arg1
))
2343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p.");
2350 wxPy_BEGIN_ALLOW_THREADS
;
2351 wxPageSetupDialogData_SetPaperId(_arg0
,_arg1
);
2353 wxPy_END_ALLOW_THREADS
;
2354 } Py_INCREF(Py_None
);
2355 _resultobj
= Py_None
;
2359 #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2360 static PyObject
*_wrap_wxPageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
* _resultobj
;
2362 wxPageSetupDialogData
* _arg0
;
2364 PyObject
* _argo0
= 0;
2366 PyObject
* _obj1
= 0;
2367 char *_kwnames
[] = { "self","size", NULL
};
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames
,&_argo0
,&_obj1
))
2373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p.");
2381 if (! wxSize_helper(_obj1
, &_arg1
))
2385 wxPy_BEGIN_ALLOW_THREADS
;
2386 wxPageSetupDialogData_SetPaperSize(_arg0
,*_arg1
);
2388 wxPy_END_ALLOW_THREADS
;
2389 } Py_INCREF(Py_None
);
2390 _resultobj
= Py_None
;
2394 #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
2395 static PyObject
*_wrap_wxPageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
* _resultobj
;
2397 wxPageSetupDialogData
* _arg0
;
2398 wxPrintData
* _arg1
;
2399 PyObject
* _argo0
= 0;
2400 PyObject
* _argo1
= 0;
2401 char *_kwnames
[] = { "self","printData", NULL
};
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPageSetupDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
2407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialogData_p")) {
2409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p.");
2414 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2415 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
2416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p.");
2421 wxPy_BEGIN_ALLOW_THREADS
;
2422 wxPageSetupDialogData_SetPrintData(_arg0
,*_arg1
);
2424 wxPy_END_ALLOW_THREADS
;
2425 } Py_INCREF(Py_None
);
2426 _resultobj
= Py_None
;
2430 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2431 wxPageSetupDialog
*src
;
2433 src
= (wxPageSetupDialog
*) ptr
;
2434 dest
= (wxDialog
*) src
;
2435 return (void *) dest
;
2438 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
2439 wxPageSetupDialog
*src
;
2441 src
= (wxPageSetupDialog
*) ptr
;
2442 dest
= (wxPanel
*) src
;
2443 return (void *) dest
;
2446 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2447 wxPageSetupDialog
*src
;
2449 src
= (wxPageSetupDialog
*) ptr
;
2450 dest
= (wxWindow
*) src
;
2451 return (void *) dest
;
2454 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2455 wxPageSetupDialog
*src
;
2457 src
= (wxPageSetupDialog
*) ptr
;
2458 dest
= (wxEvtHandler
*) src
;
2459 return (void *) dest
;
2462 static void *SwigwxPageSetupDialogTowxObject(void *ptr
) {
2463 wxPageSetupDialog
*src
;
2465 src
= (wxPageSetupDialog
*) ptr
;
2466 dest
= (wxObject
*) src
;
2467 return (void *) dest
;
2470 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2471 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
* _resultobj
;
2473 wxPageSetupDialog
* _result
;
2475 wxPageSetupDialogData
* _arg1
= (wxPageSetupDialogData
*) NULL
;
2476 PyObject
* _argo0
= 0;
2477 PyObject
* _argo1
= 0;
2478 char *_kwnames
[] = { "parent","data", NULL
};
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPageSetupDialog",_kwnames
,&_argo0
,&_argo1
))
2485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2492 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2493 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPageSetupDialogData_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p.");
2499 wxPy_BEGIN_ALLOW_THREADS
;
2500 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2502 wxPy_END_ALLOW_THREADS
;
2504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2505 _resultobj
= Py_BuildValue("s",_ptemp
);
2508 _resultobj
= Py_None
;
2513 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2514 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2516 wxPageSetupDialogData
* _result
;
2517 wxPageSetupDialog
* _arg0
;
2518 PyObject
* _argo0
= 0;
2519 char *_kwnames
[] = { "self", NULL
};
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_GetPageSetupData",_kwnames
,&_argo0
))
2526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2533 wxPy_BEGIN_ALLOW_THREADS
;
2534 wxPageSetupDialogData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2535 _result
= (wxPageSetupDialogData
*) &_result_ref
;
2537 wxPy_END_ALLOW_THREADS
;
2539 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
2540 _resultobj
= Py_BuildValue("s",_ptemp
);
2543 _resultobj
= Py_None
;
2548 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2549 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
* _resultobj
;
2552 wxPageSetupDialog
* _arg0
;
2553 PyObject
* _argo0
= 0;
2554 char *_kwnames
[] = { "self", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPageSetupDialog_ShowModal",_kwnames
,&_argo0
))
2560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2567 wxPy_BEGIN_ALLOW_THREADS
;
2568 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
2570 wxPy_END_ALLOW_THREADS
;
2571 } _resultobj
= Py_BuildValue("i",_result
);
2575 static void *SwigwxPrintDialogDataTowxObject(void *ptr
) {
2576 wxPrintDialogData
*src
;
2578 src
= (wxPrintDialogData
*) ptr
;
2579 dest
= (wxObject
*) src
;
2580 return (void *) dest
;
2583 #define new_wxPrintDialogData() (new wxPrintDialogData())
2584 static PyObject
*_wrap_new_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2586 wxPrintDialogData
* _result
;
2587 char *_kwnames
[] = { NULL
};
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrintDialogData",_kwnames
))
2594 wxPy_BEGIN_ALLOW_THREADS
;
2595 _result
= (wxPrintDialogData
*)new_wxPrintDialogData();
2597 wxPy_END_ALLOW_THREADS
;
2599 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
2600 _resultobj
= Py_BuildValue("s",_ptemp
);
2603 _resultobj
= Py_None
;
2608 #define delete_wxPrintDialogData(_swigobj) (delete _swigobj)
2609 static PyObject
*_wrap_delete_wxPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
* _resultobj
;
2611 wxPrintDialogData
* _arg0
;
2612 PyObject
* _argo0
= 0;
2613 char *_kwnames
[] = { "self", NULL
};
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrintDialogData",_kwnames
,&_argo0
))
2619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p.");
2626 wxPy_BEGIN_ALLOW_THREADS
;
2627 delete_wxPrintDialogData(_arg0
);
2629 wxPy_END_ALLOW_THREADS
;
2630 } Py_INCREF(Py_None
);
2631 _resultobj
= Py_None
;
2635 #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
2636 static PyObject
*_wrap_wxPrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
* _resultobj
;
2638 wxPrintDialogData
* _arg0
;
2640 PyObject
* _argo0
= 0;
2642 char *_kwnames
[] = { "self","flag", NULL
};
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableHelp",_kwnames
,&_argo0
,&tempbool1
))
2648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p.");
2654 _arg1
= (bool ) tempbool1
;
2656 wxPy_BEGIN_ALLOW_THREADS
;
2657 wxPrintDialogData_EnableHelp(_arg0
,_arg1
);
2659 wxPy_END_ALLOW_THREADS
;
2660 } Py_INCREF(Py_None
);
2661 _resultobj
= Py_None
;
2665 #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
2666 static PyObject
*_wrap_wxPrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
* _resultobj
;
2668 wxPrintDialogData
* _arg0
;
2670 PyObject
* _argo0
= 0;
2672 char *_kwnames
[] = { "self","flag", NULL
};
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames
,&_argo0
,&tempbool1
))
2678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p.");
2684 _arg1
= (bool ) tempbool1
;
2686 wxPy_BEGIN_ALLOW_THREADS
;
2687 wxPrintDialogData_EnablePageNumbers(_arg0
,_arg1
);
2689 wxPy_END_ALLOW_THREADS
;
2690 } Py_INCREF(Py_None
);
2691 _resultobj
= Py_None
;
2695 #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
2696 static PyObject
*_wrap_wxPrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
* _resultobj
;
2698 wxPrintDialogData
* _arg0
;
2700 PyObject
* _argo0
= 0;
2702 char *_kwnames
[] = { "self","flag", NULL
};
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames
,&_argo0
,&tempbool1
))
2708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p.");
2714 _arg1
= (bool ) tempbool1
;
2716 wxPy_BEGIN_ALLOW_THREADS
;
2717 wxPrintDialogData_EnablePrintToFile(_arg0
,_arg1
);
2719 wxPy_END_ALLOW_THREADS
;
2720 } Py_INCREF(Py_None
);
2721 _resultobj
= Py_None
;
2725 #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
2726 static PyObject
*_wrap_wxPrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
* _resultobj
;
2728 wxPrintDialogData
* _arg0
;
2730 PyObject
* _argo0
= 0;
2732 char *_kwnames
[] = { "self","flag", NULL
};
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_EnableSelection",_kwnames
,&_argo0
,&tempbool1
))
2738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p.");
2744 _arg1
= (bool ) tempbool1
;
2746 wxPy_BEGIN_ALLOW_THREADS
;
2747 wxPrintDialogData_EnableSelection(_arg0
,_arg1
);
2749 wxPy_END_ALLOW_THREADS
;
2750 } Py_INCREF(Py_None
);
2751 _resultobj
= Py_None
;
2755 #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
2756 static PyObject
*_wrap_wxPrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
* _resultobj
;
2759 wxPrintDialogData
* _arg0
;
2760 PyObject
* _argo0
= 0;
2761 char *_kwnames
[] = { "self", NULL
};
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetAllPages",_kwnames
,&_argo0
))
2767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p.");
2774 wxPy_BEGIN_ALLOW_THREADS
;
2775 _result
= (bool )wxPrintDialogData_GetAllPages(_arg0
);
2777 wxPy_END_ALLOW_THREADS
;
2778 } _resultobj
= Py_BuildValue("i",_result
);
2782 #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate())
2783 static PyObject
*_wrap_wxPrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
* _resultobj
;
2786 wxPrintDialogData
* _arg0
;
2787 PyObject
* _argo0
= 0;
2788 char *_kwnames
[] = { "self", NULL
};
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetCollate",_kwnames
,&_argo0
))
2794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p.");
2801 wxPy_BEGIN_ALLOW_THREADS
;
2802 _result
= (bool )wxPrintDialogData_GetCollate(_arg0
);
2804 wxPy_END_ALLOW_THREADS
;
2805 } _resultobj
= Py_BuildValue("i",_result
);
2809 #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
2810 static PyObject
*_wrap_wxPrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2813 wxPrintDialogData
* _arg0
;
2814 PyObject
* _argo0
= 0;
2815 char *_kwnames
[] = { "self", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetFromPage",_kwnames
,&_argo0
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p.");
2828 wxPy_BEGIN_ALLOW_THREADS
;
2829 _result
= (int )wxPrintDialogData_GetFromPage(_arg0
);
2831 wxPy_END_ALLOW_THREADS
;
2832 } _resultobj
= Py_BuildValue("i",_result
);
2836 #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
2837 static PyObject
*_wrap_wxPrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
* _resultobj
;
2840 wxPrintDialogData
* _arg0
;
2841 PyObject
* _argo0
= 0;
2842 char *_kwnames
[] = { "self", NULL
};
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMaxPage",_kwnames
,&_argo0
))
2848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p.");
2855 wxPy_BEGIN_ALLOW_THREADS
;
2856 _result
= (int )wxPrintDialogData_GetMaxPage(_arg0
);
2858 wxPy_END_ALLOW_THREADS
;
2859 } _resultobj
= Py_BuildValue("i",_result
);
2863 #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
2864 static PyObject
*_wrap_wxPrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
* _resultobj
;
2867 wxPrintDialogData
* _arg0
;
2868 PyObject
* _argo0
= 0;
2869 char *_kwnames
[] = { "self", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetMinPage",_kwnames
,&_argo0
))
2875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p.");
2882 wxPy_BEGIN_ALLOW_THREADS
;
2883 _result
= (int )wxPrintDialogData_GetMinPage(_arg0
);
2885 wxPy_END_ALLOW_THREADS
;
2886 } _resultobj
= Py_BuildValue("i",_result
);
2890 #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
2891 static PyObject
*_wrap_wxPrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
* _resultobj
;
2894 wxPrintDialogData
* _arg0
;
2895 PyObject
* _argo0
= 0;
2896 char *_kwnames
[] = { "self", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetNoCopies",_kwnames
,&_argo0
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p.");
2909 wxPy_BEGIN_ALLOW_THREADS
;
2910 _result
= (int )wxPrintDialogData_GetNoCopies(_arg0
);
2912 wxPy_END_ALLOW_THREADS
;
2913 } _resultobj
= Py_BuildValue("i",_result
);
2917 static wxPrintData
* wxPrintDialogData_GetPrintData(wxPrintDialogData
*self
) {
2918 return new wxPrintData(self
->GetPrintData()); // force a copy
2920 static PyObject
*_wrap_wxPrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
* _resultobj
;
2922 wxPrintData
* _result
;
2923 wxPrintDialogData
* _arg0
;
2924 PyObject
* _argo0
= 0;
2925 char *_kwnames
[] = { "self", NULL
};
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintData",_kwnames
,&_argo0
))
2932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p.");
2939 wxPy_BEGIN_ALLOW_THREADS
;
2940 _result
= (wxPrintData
*)wxPrintDialogData_GetPrintData(_arg0
);
2942 wxPy_END_ALLOW_THREADS
;
2944 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2945 _resultobj
= Py_BuildValue("s",_ptemp
);
2948 _resultobj
= Py_None
;
2953 #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile())
2954 static PyObject
*_wrap_wxPrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
* _resultobj
;
2957 wxPrintDialogData
* _arg0
;
2958 PyObject
* _argo0
= 0;
2959 char *_kwnames
[] = { "self", NULL
};
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetPrintToFile",_kwnames
,&_argo0
))
2965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p.");
2972 wxPy_BEGIN_ALLOW_THREADS
;
2973 _result
= (bool )wxPrintDialogData_GetPrintToFile(_arg0
);
2975 wxPy_END_ALLOW_THREADS
;
2976 } _resultobj
= Py_BuildValue("i",_result
);
2980 #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage())
2981 static PyObject
*_wrap_wxPrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
* _resultobj
;
2984 wxPrintDialogData
* _arg0
;
2985 PyObject
* _argo0
= 0;
2986 char *_kwnames
[] = { "self", NULL
};
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialogData_GetToPage",_kwnames
,&_argo0
))
2992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p.");
2999 wxPy_BEGIN_ALLOW_THREADS
;
3000 _result
= (int )wxPrintDialogData_GetToPage(_arg0
);
3002 wxPy_END_ALLOW_THREADS
;
3003 } _resultobj
= Py_BuildValue("i",_result
);
3007 #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
3008 static PyObject
*_wrap_wxPrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
* _resultobj
;
3010 wxPrintDialogData
* _arg0
;
3012 PyObject
* _argo0
= 0;
3014 char *_kwnames
[] = { "self","flag", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetCollate",_kwnames
,&_argo0
,&tempbool1
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p.");
3026 _arg1
= (bool ) tempbool1
;
3028 wxPy_BEGIN_ALLOW_THREADS
;
3029 wxPrintDialogData_SetCollate(_arg0
,_arg1
);
3031 wxPy_END_ALLOW_THREADS
;
3032 } Py_INCREF(Py_None
);
3033 _resultobj
= Py_None
;
3037 #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3038 static PyObject
*_wrap_wxPrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
* _resultobj
;
3040 wxPrintDialogData
* _arg0
;
3042 PyObject
* _argo0
= 0;
3043 char *_kwnames
[] = { "self","page", NULL
};
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetFromPage",_kwnames
,&_argo0
,&_arg1
))
3049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p.");
3056 wxPy_BEGIN_ALLOW_THREADS
;
3057 wxPrintDialogData_SetFromPage(_arg0
,_arg1
);
3059 wxPy_END_ALLOW_THREADS
;
3060 } Py_INCREF(Py_None
);
3061 _resultobj
= Py_None
;
3065 #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3066 static PyObject
*_wrap_wxPrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
* _resultobj
;
3068 wxPrintDialogData
* _arg0
;
3070 PyObject
* _argo0
= 0;
3071 char *_kwnames
[] = { "self","page", NULL
};
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMaxPage",_kwnames
,&_argo0
,&_arg1
))
3077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p.");
3084 wxPy_BEGIN_ALLOW_THREADS
;
3085 wxPrintDialogData_SetMaxPage(_arg0
,_arg1
);
3087 wxPy_END_ALLOW_THREADS
;
3088 } Py_INCREF(Py_None
);
3089 _resultobj
= Py_None
;
3093 #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3094 static PyObject
*_wrap_wxPrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
* _resultobj
;
3096 wxPrintDialogData
* _arg0
;
3098 PyObject
* _argo0
= 0;
3099 char *_kwnames
[] = { "self","page", NULL
};
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetMinPage",_kwnames
,&_argo0
,&_arg1
))
3105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p.");
3112 wxPy_BEGIN_ALLOW_THREADS
;
3113 wxPrintDialogData_SetMinPage(_arg0
,_arg1
);
3115 wxPy_END_ALLOW_THREADS
;
3116 } Py_INCREF(Py_None
);
3117 _resultobj
= Py_None
;
3121 #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3122 static PyObject
*_wrap_wxPrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
* _resultobj
;
3124 wxPrintDialogData
* _arg0
;
3126 PyObject
* _argo0
= 0;
3127 char *_kwnames
[] = { "self","n", NULL
};
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetNoCopies",_kwnames
,&_argo0
,&_arg1
))
3133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p.");
3140 wxPy_BEGIN_ALLOW_THREADS
;
3141 wxPrintDialogData_SetNoCopies(_arg0
,_arg1
);
3143 wxPy_END_ALLOW_THREADS
;
3144 } Py_INCREF(Py_None
);
3145 _resultobj
= Py_None
;
3149 #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0))
3150 static PyObject
*_wrap_wxPrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3152 wxPrintDialogData
* _arg0
;
3153 wxPrintData
* _arg1
;
3154 PyObject
* _argo0
= 0;
3155 PyObject
* _argo1
= 0;
3156 char *_kwnames
[] = { "self","printData", NULL
};
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintDialogData_SetPrintData",_kwnames
,&_argo0
,&_argo1
))
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_SetPrintData. Expected _wxPrintDialogData_p.");
3169 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3170 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintData_p")) {
3171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p.");
3176 wxPy_BEGIN_ALLOW_THREADS
;
3177 wxPrintDialogData_SetPrintData(_arg0
,*_arg1
);
3179 wxPy_END_ALLOW_THREADS
;
3180 } Py_INCREF(Py_None
);
3181 _resultobj
= Py_None
;
3185 #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3186 static PyObject
*_wrap_wxPrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
* _resultobj
;
3188 wxPrintDialogData
* _arg0
;
3190 PyObject
* _argo0
= 0;
3192 char *_kwnames
[] = { "self","flag", NULL
};
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames
,&_argo0
,&tempbool1
))
3198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p.");
3204 _arg1
= (bool ) tempbool1
;
3206 wxPy_BEGIN_ALLOW_THREADS
;
3207 wxPrintDialogData_SetPrintToFile(_arg0
,_arg1
);
3209 wxPy_END_ALLOW_THREADS
;
3210 } Py_INCREF(Py_None
);
3211 _resultobj
= Py_None
;
3215 #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3216 static PyObject
*_wrap_wxPrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
* _resultobj
;
3218 wxPrintDialogData
* _arg0
;
3220 PyObject
* _argo0
= 0;
3222 char *_kwnames
[] = { "self","flag", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames
,&_argo0
,&tempbool1
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p.");
3234 _arg1
= (bool ) tempbool1
;
3236 wxPy_BEGIN_ALLOW_THREADS
;
3237 wxPrintDialogData_SetSetupDialog(_arg0
,_arg1
);
3239 wxPy_END_ALLOW_THREADS
;
3240 } Py_INCREF(Py_None
);
3241 _resultobj
= Py_None
;
3245 #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3246 static PyObject
*_wrap_wxPrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3248 wxPrintDialogData
* _arg0
;
3250 PyObject
* _argo0
= 0;
3251 char *_kwnames
[] = { "self","page", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintDialogData_SetToPage",_kwnames
,&_argo0
,&_arg1
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p.");
3264 wxPy_BEGIN_ALLOW_THREADS
;
3265 wxPrintDialogData_SetToPage(_arg0
,_arg1
);
3267 wxPy_END_ALLOW_THREADS
;
3268 } Py_INCREF(Py_None
);
3269 _resultobj
= Py_None
;
3273 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3276 src
= (wxPrintDialog
*) ptr
;
3277 dest
= (wxDialog
*) src
;
3278 return (void *) dest
;
3281 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
3284 src
= (wxPrintDialog
*) ptr
;
3285 dest
= (wxPanel
*) src
;
3286 return (void *) dest
;
3289 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3292 src
= (wxPrintDialog
*) ptr
;
3293 dest
= (wxWindow
*) src
;
3294 return (void *) dest
;
3297 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3300 src
= (wxPrintDialog
*) ptr
;
3301 dest
= (wxEvtHandler
*) src
;
3302 return (void *) dest
;
3305 static void *SwigwxPrintDialogTowxObject(void *ptr
) {
3308 src
= (wxPrintDialog
*) ptr
;
3309 dest
= (wxObject
*) src
;
3310 return (void *) dest
;
3313 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3314 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
* _resultobj
;
3316 wxPrintDialog
* _result
;
3318 wxPrintDialogData
* _arg1
= (wxPrintDialogData
*) NULL
;
3319 PyObject
* _argo0
= 0;
3320 PyObject
* _argo1
= 0;
3321 char *_kwnames
[] = { "parent","data", NULL
};
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxPrintDialog",_kwnames
,&_argo0
,&_argo1
))
3328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3335 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPrintDialogData_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p.");
3342 wxPy_BEGIN_ALLOW_THREADS
;
3343 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3345 wxPy_END_ALLOW_THREADS
;
3347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3348 _resultobj
= Py_BuildValue("s",_ptemp
);
3351 _resultobj
= Py_None
;
3356 #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
3357 static PyObject
*_wrap_wxPrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
* _resultobj
;
3359 wxPrintDialogData
* _result
;
3360 wxPrintDialog
* _arg0
;
3361 PyObject
* _argo0
= 0;
3362 char *_kwnames
[] = { "self", NULL
};
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDialogData",_kwnames
,&_argo0
))
3369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p.");
3376 wxPy_BEGIN_ALLOW_THREADS
;
3377 wxPrintDialogData
& _result_ref
= wxPrintDialog_GetPrintDialogData(_arg0
);
3378 _result
= (wxPrintDialogData
*) &_result_ref
;
3380 wxPy_END_ALLOW_THREADS
;
3382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
3383 _resultobj
= Py_BuildValue("s",_ptemp
);
3386 _resultobj
= Py_None
;
3391 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3392 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
* _resultobj
;
3395 wxPrintDialog
* _arg0
;
3396 PyObject
* _argo0
= 0;
3397 char *_kwnames
[] = { "self", NULL
};
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_GetPrintDC",_kwnames
,&_argo0
))
3403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3410 wxPy_BEGIN_ALLOW_THREADS
;
3411 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
3413 wxPy_END_ALLOW_THREADS
;
3414 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3418 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3419 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
* _resultobj
;
3422 wxPrintDialog
* _arg0
;
3423 PyObject
* _argo0
= 0;
3424 char *_kwnames
[] = { "self", NULL
};
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintDialog_ShowModal",_kwnames
,&_argo0
))
3430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3437 wxPy_BEGIN_ALLOW_THREADS
;
3438 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
3440 wxPy_END_ALLOW_THREADS
;
3441 } _resultobj
= Py_BuildValue("i",_result
);
3445 static void *SwigwxPyPrintoutTowxObject(void *ptr
) {
3448 src
= (wxPyPrintout
*) ptr
;
3449 dest
= (wxObject
*) src
;
3450 return (void *) dest
;
3453 #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0))
3454 static PyObject
*_wrap_new_wxPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
* _resultobj
;
3456 wxPyPrintout
* _result
;
3457 char * _arg0
= (char *) "Printout";
3458 char *_kwnames
[] = { "title", NULL
};
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxPrintout",_kwnames
,&_arg0
))
3465 wxPy_BEGIN_ALLOW_THREADS
;
3466 _result
= (wxPyPrintout
*)new_wxPrintout(_arg0
);
3468 wxPy_END_ALLOW_THREADS
;
3470 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPrintout_p");
3471 _resultobj
= Py_BuildValue("s",_ptemp
);
3474 _resultobj
= Py_None
;
3479 #define wxPrintout__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3480 static PyObject
*_wrap_wxPrintout__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
* _resultobj
;
3482 wxPyPrintout
* _arg0
;
3485 PyObject
* _argo0
= 0;
3486 PyObject
* _obj1
= 0;
3487 PyObject
* _obj2
= 0;
3488 char *_kwnames
[] = { "self","self","_class", NULL
};
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrintout__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p.");
3507 wxPy_BEGIN_ALLOW_THREADS
;
3508 wxPrintout__setSelf(_arg0
,_arg1
,_arg2
);
3510 wxPy_END_ALLOW_THREADS
;
3511 } Py_INCREF(Py_None
);
3512 _resultobj
= Py_None
;
3516 static void wxPyPrintout_Destroy(wxPyPrintout
*self
) { delete self
; }
3517 static PyObject
*_wrap_wxPrintout_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
* _resultobj
;
3519 wxPyPrintout
* _arg0
;
3520 PyObject
* _argo0
= 0;
3521 char *_kwnames
[] = { "self", NULL
};
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_Destroy",_kwnames
,&_argo0
))
3527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p.");
3534 wxPy_BEGIN_ALLOW_THREADS
;
3535 wxPyPrintout_Destroy(_arg0
);
3537 wxPy_END_ALLOW_THREADS
;
3538 } Py_INCREF(Py_None
);
3539 _resultobj
= Py_None
;
3543 #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC())
3544 static PyObject
*_wrap_wxPrintout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
* _resultobj
;
3547 wxPyPrintout
* _arg0
;
3548 PyObject
* _argo0
= 0;
3549 char *_kwnames
[] = { "self", NULL
};
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetDC",_kwnames
,&_argo0
))
3555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p.");
3562 wxPy_BEGIN_ALLOW_THREADS
;
3563 _result
= (wxDC
*)wxPrintout_GetDC(_arg0
);
3565 wxPy_END_ALLOW_THREADS
;
3566 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3570 #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1))
3571 static PyObject
*_wrap_wxPrintout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
* _resultobj
;
3573 wxPyPrintout
* _arg0
;
3578 PyObject
* _argo0
= 0;
3579 char *_kwnames
[] = { "self", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizeMM",_kwnames
,&_argo0
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p.");
3598 wxPy_BEGIN_ALLOW_THREADS
;
3599 wxPrintout_GetPageSizeMM(_arg0
,_arg1
,_arg2
);
3601 wxPy_END_ALLOW_THREADS
;
3602 } Py_INCREF(Py_None
);
3603 _resultobj
= Py_None
;
3606 o
= PyInt_FromLong((long) (*_arg1
));
3607 _resultobj
= t_output_helper(_resultobj
, o
);
3611 o
= PyInt_FromLong((long) (*_arg2
));
3612 _resultobj
= t_output_helper(_resultobj
, o
);
3617 #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1))
3618 static PyObject
*_wrap_wxPrintout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
* _resultobj
;
3620 wxPyPrintout
* _arg0
;
3625 PyObject
* _argo0
= 0;
3626 char *_kwnames
[] = { "self", NULL
};
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPageSizePixels",_kwnames
,&_argo0
))
3638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p.");
3645 wxPy_BEGIN_ALLOW_THREADS
;
3646 wxPrintout_GetPageSizePixels(_arg0
,_arg1
,_arg2
);
3648 wxPy_END_ALLOW_THREADS
;
3649 } Py_INCREF(Py_None
);
3650 _resultobj
= Py_None
;
3653 o
= PyInt_FromLong((long) (*_arg1
));
3654 _resultobj
= t_output_helper(_resultobj
, o
);
3658 o
= PyInt_FromLong((long) (*_arg2
));
3659 _resultobj
= t_output_helper(_resultobj
, o
);
3664 #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1))
3665 static PyObject
*_wrap_wxPrintout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3667 wxPyPrintout
* _arg0
;
3672 PyObject
* _argo0
= 0;
3673 char *_kwnames
[] = { "self", NULL
};
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIPrinter",_kwnames
,&_argo0
))
3685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p.");
3692 wxPy_BEGIN_ALLOW_THREADS
;
3693 wxPrintout_GetPPIPrinter(_arg0
,_arg1
,_arg2
);
3695 wxPy_END_ALLOW_THREADS
;
3696 } Py_INCREF(Py_None
);
3697 _resultobj
= Py_None
;
3700 o
= PyInt_FromLong((long) (*_arg1
));
3701 _resultobj
= t_output_helper(_resultobj
, o
);
3705 o
= PyInt_FromLong((long) (*_arg2
));
3706 _resultobj
= t_output_helper(_resultobj
, o
);
3711 #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1))
3712 static PyObject
*_wrap_wxPrintout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
* _resultobj
;
3714 wxPyPrintout
* _arg0
;
3719 PyObject
* _argo0
= 0;
3720 char *_kwnames
[] = { "self", NULL
};
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_GetPPIScreen",_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_GetPPIScreen. Expected _wxPyPrintout_p.");
3739 wxPy_BEGIN_ALLOW_THREADS
;
3740 wxPrintout_GetPPIScreen(_arg0
,_arg1
,_arg2
);
3742 wxPy_END_ALLOW_THREADS
;
3743 } Py_INCREF(Py_None
);
3744 _resultobj
= Py_None
;
3747 o
= PyInt_FromLong((long) (*_arg1
));
3748 _resultobj
= t_output_helper(_resultobj
, o
);
3752 o
= PyInt_FromLong((long) (*_arg2
));
3753 _resultobj
= t_output_helper(_resultobj
, o
);
3758 #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview())
3759 static PyObject
*_wrap_wxPrintout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
* _resultobj
;
3762 wxPyPrintout
* _arg0
;
3763 PyObject
* _argo0
= 0;
3764 char *_kwnames
[] = { "self", NULL
};
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_IsPreview",_kwnames
,&_argo0
))
3770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p.");
3777 wxPy_BEGIN_ALLOW_THREADS
;
3778 _result
= (bool )wxPrintout_IsPreview(_arg0
);
3780 wxPy_END_ALLOW_THREADS
;
3781 } _resultobj
= Py_BuildValue("i",_result
);
3785 #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1))
3786 static PyObject
*_wrap_wxPrintout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
* _resultobj
;
3789 wxPyPrintout
* _arg0
;
3792 PyObject
* _argo0
= 0;
3793 char *_kwnames
[] = { "self","startPage","endPage", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPrintout_base_OnBeginDocument",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p.");
3806 wxPy_BEGIN_ALLOW_THREADS
;
3807 _result
= (bool )wxPrintout_base_OnBeginDocument(_arg0
,_arg1
,_arg2
);
3809 wxPy_END_ALLOW_THREADS
;
3810 } _resultobj
= Py_BuildValue("i",_result
);
3814 #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument())
3815 static PyObject
*_wrap_wxPrintout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
* _resultobj
;
3817 wxPyPrintout
* _arg0
;
3818 PyObject
* _argo0
= 0;
3819 char *_kwnames
[] = { "self", NULL
};
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndDocument",_kwnames
,&_argo0
))
3825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p.");
3832 wxPy_BEGIN_ALLOW_THREADS
;
3833 wxPrintout_base_OnEndDocument(_arg0
);
3835 wxPy_END_ALLOW_THREADS
;
3836 } Py_INCREF(Py_None
);
3837 _resultobj
= Py_None
;
3841 #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting())
3842 static PyObject
*_wrap_wxPrintout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
* _resultobj
;
3844 wxPyPrintout
* _arg0
;
3845 PyObject
* _argo0
= 0;
3846 char *_kwnames
[] = { "self", NULL
};
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnBeginPrinting",_kwnames
,&_argo0
))
3852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p.");
3859 wxPy_BEGIN_ALLOW_THREADS
;
3860 wxPrintout_base_OnBeginPrinting(_arg0
);
3862 wxPy_END_ALLOW_THREADS
;
3863 } Py_INCREF(Py_None
);
3864 _resultobj
= Py_None
;
3868 #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting())
3869 static PyObject
*_wrap_wxPrintout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
* _resultobj
;
3871 wxPyPrintout
* _arg0
;
3872 PyObject
* _argo0
= 0;
3873 char *_kwnames
[] = { "self", NULL
};
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnEndPrinting",_kwnames
,&_argo0
))
3879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p.");
3886 wxPy_BEGIN_ALLOW_THREADS
;
3887 wxPrintout_base_OnEndPrinting(_arg0
);
3889 wxPy_END_ALLOW_THREADS
;
3890 } Py_INCREF(Py_None
);
3891 _resultobj
= Py_None
;
3895 #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting())
3896 static PyObject
*_wrap_wxPrintout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
* _resultobj
;
3898 wxPyPrintout
* _arg0
;
3899 PyObject
* _argo0
= 0;
3900 char *_kwnames
[] = { "self", NULL
};
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_OnPreparePrinting",_kwnames
,&_argo0
))
3906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p.");
3913 wxPy_BEGIN_ALLOW_THREADS
;
3914 wxPrintout_base_OnPreparePrinting(_arg0
);
3916 wxPy_END_ALLOW_THREADS
;
3917 } Py_INCREF(Py_None
);
3918 _resultobj
= Py_None
;
3922 #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3923 static PyObject
*_wrap_wxPrintout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
* _resultobj
;
3925 wxPyPrintout
* _arg0
;
3934 PyObject
* _argo0
= 0;
3935 char *_kwnames
[] = { "self", NULL
};
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintout_base_GetPageInfo",_kwnames
,&_argo0
))
3953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p.");
3960 wxPy_BEGIN_ALLOW_THREADS
;
3961 wxPrintout_base_GetPageInfo(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3963 wxPy_END_ALLOW_THREADS
;
3964 } Py_INCREF(Py_None
);
3965 _resultobj
= Py_None
;
3968 o
= PyInt_FromLong((long) (*_arg1
));
3969 _resultobj
= t_output_helper(_resultobj
, o
);
3973 o
= PyInt_FromLong((long) (*_arg2
));
3974 _resultobj
= t_output_helper(_resultobj
, o
);
3978 o
= PyInt_FromLong((long) (*_arg3
));
3979 _resultobj
= t_output_helper(_resultobj
, o
);
3983 o
= PyInt_FromLong((long) (*_arg4
));
3984 _resultobj
= t_output_helper(_resultobj
, o
);
3989 #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0))
3990 static PyObject
*_wrap_wxPrintout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
* _resultobj
;
3993 wxPyPrintout
* _arg0
;
3995 PyObject
* _argo0
= 0;
3996 char *_kwnames
[] = { "self","page", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintout_base_HasPage",_kwnames
,&_argo0
,&_arg1
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p.");
4009 wxPy_BEGIN_ALLOW_THREADS
;
4010 _result
= (bool )wxPrintout_base_HasPage(_arg0
,_arg1
);
4012 wxPy_END_ALLOW_THREADS
;
4013 } _resultobj
= Py_BuildValue("i",_result
);
4017 static void *SwigwxPrinterTowxObject(void *ptr
) {
4020 src
= (wxPrinter
*) ptr
;
4021 dest
= (wxObject
*) src
;
4022 return (void *) dest
;
4025 #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0))
4026 static PyObject
*_wrap_new_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
* _resultobj
;
4028 wxPrinter
* _result
;
4029 wxPrintDialogData
* _arg0
= (wxPrintDialogData
*) NULL
;
4030 PyObject
* _argo0
= 0;
4031 char *_kwnames
[] = { "data", NULL
};
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPrinter",_kwnames
,&_argo0
))
4038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintDialogData_p")) {
4040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p.");
4045 wxPy_BEGIN_ALLOW_THREADS
;
4046 _result
= (wxPrinter
*)new_wxPrinter(_arg0
);
4048 wxPy_END_ALLOW_THREADS
;
4050 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinter_p");
4051 _resultobj
= Py_BuildValue("s",_ptemp
);
4054 _resultobj
= Py_None
;
4059 #define delete_wxPrinter(_swigobj) (delete _swigobj)
4060 static PyObject
*_wrap_delete_wxPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
* _resultobj
;
4063 PyObject
* _argo0
= 0;
4064 char *_kwnames
[] = { "self", NULL
};
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPrinter",_kwnames
,&_argo0
))
4070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p.");
4077 wxPy_BEGIN_ALLOW_THREADS
;
4078 delete_wxPrinter(_arg0
);
4080 wxPy_END_ALLOW_THREADS
;
4081 } Py_INCREF(Py_None
);
4082 _resultobj
= Py_None
;
4086 #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1))
4087 static PyObject
*_wrap_wxPrinter_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
* _resultobj
;
4091 wxPyPrintout
* _arg2
;
4092 PyObject
* _argo0
= 0;
4093 PyObject
* _argo1
= 0;
4094 PyObject
* _argo2
= 0;
4095 char *_kwnames
[] = { "self","parent","printout", NULL
};
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPrinter_CreateAbortWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p.");
4108 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4109 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p.");
4115 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p.");
4122 wxPy_BEGIN_ALLOW_THREADS
;
4123 wxPrinter_CreateAbortWindow(_arg0
,_arg1
,_arg2
);
4125 wxPy_END_ALLOW_THREADS
;
4126 } Py_INCREF(Py_None
);
4127 _resultobj
= Py_None
;
4131 #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4132 static PyObject
*_wrap_wxPrinter_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4134 wxPrintDialogData
* _result
;
4136 PyObject
* _argo0
= 0;
4137 char *_kwnames
[] = { "self", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrinter_GetPrintDialogData",_kwnames
,&_argo0
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p.");
4151 wxPy_BEGIN_ALLOW_THREADS
;
4152 wxPrintDialogData
& _result_ref
= wxPrinter_GetPrintDialogData(_arg0
);
4153 _result
= (wxPrintDialogData
*) &_result_ref
;
4155 wxPy_END_ALLOW_THREADS
;
4157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4158 _resultobj
= Py_BuildValue("s",_ptemp
);
4161 _resultobj
= Py_None
;
4166 #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2))
4167 static PyObject
*_wrap_wxPrinter_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
* _resultobj
;
4172 wxPyPrintout
* _arg2
;
4173 int _arg3
= (int ) TRUE
;
4174 PyObject
* _argo0
= 0;
4175 PyObject
* _argo1
= 0;
4176 PyObject
* _argo2
= 0;
4177 char *_kwnames
[] = { "self","parent","printout","prompt", NULL
};
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPrinter_Print",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p.");
4190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p.");
4197 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4198 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p.");
4204 wxPy_BEGIN_ALLOW_THREADS
;
4205 _result
= (bool )wxPrinter_Print(_arg0
,_arg1
,_arg2
,_arg3
);
4207 wxPy_END_ALLOW_THREADS
;
4208 } _resultobj
= Py_BuildValue("i",_result
);
4212 #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0))
4213 static PyObject
*_wrap_wxPrinter_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
* _resultobj
;
4218 PyObject
* _argo0
= 0;
4219 PyObject
* _argo1
= 0;
4220 char *_kwnames
[] = { "self","parent", NULL
};
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_PrintDialog",_kwnames
,&_argo0
,&_argo1
))
4226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p.");
4233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p.");
4240 wxPy_BEGIN_ALLOW_THREADS
;
4241 _result
= (wxDC
*)wxPrinter_PrintDialog(_arg0
,_arg1
);
4243 wxPy_END_ALLOW_THREADS
;
4244 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4248 #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2))
4249 static PyObject
*_wrap_wxPrinter_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
* _resultobj
;
4253 wxPyPrintout
* _arg2
;
4255 PyObject
* _argo0
= 0;
4256 PyObject
* _argo1
= 0;
4257 PyObject
* _argo2
= 0;
4258 char *_kwnames
[] = { "self","parent","printout","message", NULL
};
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOs:wxPrinter_ReportError",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p.");
4271 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4272 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p.");
4278 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4279 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyPrintout_p")) {
4280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p.");
4285 wxPy_BEGIN_ALLOW_THREADS
;
4286 wxPrinter_ReportError(_arg0
,_arg1
,_arg2
,_arg3
);
4288 wxPy_END_ALLOW_THREADS
;
4289 } Py_INCREF(Py_None
);
4290 _resultobj
= Py_None
;
4294 #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0))
4295 static PyObject
*_wrap_wxPrinter_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
* _resultobj
;
4300 PyObject
* _argo0
= 0;
4301 PyObject
* _argo1
= 0;
4302 char *_kwnames
[] = { "self","parent", NULL
};
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrinter_Setup",_kwnames
,&_argo0
,&_argo1
))
4308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrinter_p")) {
4310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p.");
4315 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4316 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p.");
4322 wxPy_BEGIN_ALLOW_THREADS
;
4323 _result
= (bool )wxPrinter_Setup(_arg0
,_arg1
);
4325 wxPy_END_ALLOW_THREADS
;
4326 } _resultobj
= Py_BuildValue("i",_result
);
4330 static void *SwigwxPrintPreviewTowxObject(void *ptr
) {
4331 wxPrintPreview
*src
;
4333 src
= (wxPrintPreview
*) ptr
;
4334 dest
= (wxObject
*) src
;
4335 return (void *) dest
;
4338 #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2))
4339 static PyObject
*_wrap_new_wxPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
* _resultobj
;
4341 wxPrintPreview
* _result
;
4342 wxPyPrintout
* _arg0
;
4343 wxPyPrintout
* _arg1
;
4344 wxPrintData
* _arg2
= (wxPrintData
*) NULL
;
4345 PyObject
* _argo0
= 0;
4346 PyObject
* _argo1
= 0;
4347 PyObject
* _argo2
= 0;
4348 char *_kwnames
[] = { "printout","printoutForPrinting","data", NULL
};
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:new_wxPrintPreview",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPrintout_p")) {
4357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4362 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4363 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p.");
4369 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4370 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPrintData_p")) {
4371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p.");
4376 wxPy_BEGIN_ALLOW_THREADS
;
4377 _result
= (wxPrintPreview
*)new_wxPrintPreview(_arg0
,_arg1
,_arg2
);
4379 wxPy_END_ALLOW_THREADS
;
4381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintPreview_p");
4382 _resultobj
= Py_BuildValue("s",_ptemp
);
4385 _resultobj
= Py_None
;
4390 #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas())
4391 static PyObject
*_wrap_wxPrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
* _resultobj
;
4394 wxPrintPreview
* _arg0
;
4395 PyObject
* _argo0
= 0;
4396 char *_kwnames
[] = { "self", NULL
};
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCanvas",_kwnames
,&_argo0
))
4402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p.");
4409 wxPy_BEGIN_ALLOW_THREADS
;
4410 _result
= (wxWindow
*)wxPrintPreview_GetCanvas(_arg0
);
4412 wxPy_END_ALLOW_THREADS
;
4413 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4417 #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage())
4418 static PyObject
*_wrap_wxPrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
* _resultobj
;
4421 wxPrintPreview
* _arg0
;
4422 PyObject
* _argo0
= 0;
4423 char *_kwnames
[] = { "self", NULL
};
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetCurrentPage",_kwnames
,&_argo0
))
4429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p.");
4436 wxPy_BEGIN_ALLOW_THREADS
;
4437 _result
= (int )wxPrintPreview_GetCurrentPage(_arg0
);
4439 wxPy_END_ALLOW_THREADS
;
4440 } _resultobj
= Py_BuildValue("i",_result
);
4444 #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame())
4445 static PyObject
*_wrap_wxPrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
* _resultobj
;
4448 wxPrintPreview
* _arg0
;
4449 PyObject
* _argo0
= 0;
4450 char *_kwnames
[] = { "self", NULL
};
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetFrame",_kwnames
,&_argo0
))
4456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p.");
4463 wxPy_BEGIN_ALLOW_THREADS
;
4464 _result
= (wxFrame
*)wxPrintPreview_GetFrame(_arg0
);
4466 wxPy_END_ALLOW_THREADS
;
4467 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4471 #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
4472 static PyObject
*_wrap_wxPrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
* _resultobj
;
4475 wxPrintPreview
* _arg0
;
4476 PyObject
* _argo0
= 0;
4477 char *_kwnames
[] = { "self", NULL
};
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMaxPage",_kwnames
,&_argo0
))
4483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p.");
4490 wxPy_BEGIN_ALLOW_THREADS
;
4491 _result
= (int )wxPrintPreview_GetMaxPage(_arg0
);
4493 wxPy_END_ALLOW_THREADS
;
4494 } _resultobj
= Py_BuildValue("i",_result
);
4498 #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage())
4499 static PyObject
*_wrap_wxPrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
* _resultobj
;
4502 wxPrintPreview
* _arg0
;
4503 PyObject
* _argo0
= 0;
4504 char *_kwnames
[] = { "self", NULL
};
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetMinPage",_kwnames
,&_argo0
))
4510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p.");
4517 wxPy_BEGIN_ALLOW_THREADS
;
4518 _result
= (int )wxPrintPreview_GetMinPage(_arg0
);
4520 wxPy_END_ALLOW_THREADS
;
4521 } _resultobj
= Py_BuildValue("i",_result
);
4525 #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData())
4526 static PyObject
*_wrap_wxPrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
* _resultobj
;
4528 wxPrintDialogData
* _result
;
4529 wxPrintPreview
* _arg0
;
4530 PyObject
* _argo0
= 0;
4531 char *_kwnames
[] = { "self", NULL
};
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintDialogData",_kwnames
,&_argo0
))
4538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p.");
4545 wxPy_BEGIN_ALLOW_THREADS
;
4546 wxPrintDialogData
& _result_ref
= wxPrintPreview_GetPrintDialogData(_arg0
);
4547 _result
= (wxPrintDialogData
*) &_result_ref
;
4549 wxPy_END_ALLOW_THREADS
;
4551 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialogData_p");
4552 _resultobj
= Py_BuildValue("s",_ptemp
);
4555 _resultobj
= Py_None
;
4560 #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout())
4561 static PyObject
*_wrap_wxPrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
* _resultobj
;
4563 wxPyPrintout
* _result
;
4564 wxPrintPreview
* _arg0
;
4565 PyObject
* _argo0
= 0;
4566 char *_kwnames
[] = { "self", NULL
};
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintout",_kwnames
,&_argo0
))
4572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p.");
4579 wxPy_BEGIN_ALLOW_THREADS
;
4580 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintout(_arg0
);
4582 wxPy_END_ALLOW_THREADS
;
4583 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4587 #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting())
4588 static PyObject
*_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
* _resultobj
;
4590 wxPyPrintout
* _result
;
4591 wxPrintPreview
* _arg0
;
4592 PyObject
* _argo0
= 0;
4593 char *_kwnames
[] = { "self", NULL
};
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames
,&_argo0
))
4599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p.");
4606 wxPy_BEGIN_ALLOW_THREADS
;
4607 _result
= (wxPyPrintout
*)wxPrintPreview_GetPrintoutForPrinting(_arg0
);
4609 wxPy_END_ALLOW_THREADS
;
4610 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4614 #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom())
4615 static PyObject
*_wrap_wxPrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
* _resultobj
;
4618 wxPrintPreview
* _arg0
;
4619 PyObject
* _argo0
= 0;
4620 char *_kwnames
[] = { "self", NULL
};
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_GetZoom",_kwnames
,&_argo0
))
4626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p.");
4633 wxPy_BEGIN_ALLOW_THREADS
;
4634 _result
= (int )wxPrintPreview_GetZoom(_arg0
);
4636 wxPy_END_ALLOW_THREADS
;
4637 } _resultobj
= Py_BuildValue("i",_result
);
4641 #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok())
4642 static PyObject
*_wrap_wxPrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
* _resultobj
;
4645 wxPrintPreview
* _arg0
;
4646 PyObject
* _argo0
= 0;
4647 char *_kwnames
[] = { "self", NULL
};
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPrintPreview_Ok",_kwnames
,&_argo0
))
4653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p.");
4660 wxPy_BEGIN_ALLOW_THREADS
;
4661 _result
= (bool )wxPrintPreview_Ok(_arg0
);
4663 wxPy_END_ALLOW_THREADS
;
4664 } _resultobj
= Py_BuildValue("i",_result
);
4668 #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0))
4669 static PyObject
*_wrap_wxPrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
* _resultobj
;
4672 wxPrintPreview
* _arg0
;
4674 PyObject
* _argo0
= 0;
4676 char *_kwnames
[] = { "self","prompt", NULL
};
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_Print",_kwnames
,&_argo0
,&tempbool1
))
4682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p.");
4688 _arg1
= (bool ) tempbool1
;
4690 wxPy_BEGIN_ALLOW_THREADS
;
4691 _result
= (bool )wxPrintPreview_Print(_arg0
,_arg1
);
4693 wxPy_END_ALLOW_THREADS
;
4694 } _resultobj
= Py_BuildValue("i",_result
);
4698 #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
4699 static PyObject
*_wrap_wxPrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
* _resultobj
;
4701 wxPrintPreview
* _arg0
;
4703 PyObject
* _argo0
= 0;
4704 PyObject
* _argo1
= 0;
4705 char *_kwnames
[] = { "self","window", NULL
};
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
4711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p.");
4718 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4719 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p.");
4725 wxPy_BEGIN_ALLOW_THREADS
;
4726 wxPrintPreview_SetCanvas(_arg0
,_arg1
);
4728 wxPy_END_ALLOW_THREADS
;
4729 } Py_INCREF(Py_None
);
4730 _resultobj
= Py_None
;
4734 #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0))
4735 static PyObject
*_wrap_wxPrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
* _resultobj
;
4737 wxPrintPreview
* _arg0
;
4739 PyObject
* _argo0
= 0;
4740 char *_kwnames
[] = { "self","pageNum", NULL
};
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetCurrentPage",_kwnames
,&_argo0
,&_arg1
))
4746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p.");
4753 wxPy_BEGIN_ALLOW_THREADS
;
4754 wxPrintPreview_SetCurrentPage(_arg0
,_arg1
);
4756 wxPy_END_ALLOW_THREADS
;
4757 } Py_INCREF(Py_None
);
4758 _resultobj
= Py_None
;
4762 #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0))
4763 static PyObject
*_wrap_wxPrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
* _resultobj
;
4765 wxPrintPreview
* _arg0
;
4767 PyObject
* _argo0
= 0;
4768 PyObject
* _argo1
= 0;
4769 char *_kwnames
[] = { "self","frame", NULL
};
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetFrame",_kwnames
,&_argo0
,&_argo1
))
4775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p.");
4782 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4783 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p.");
4789 wxPy_BEGIN_ALLOW_THREADS
;
4790 wxPrintPreview_SetFrame(_arg0
,_arg1
);
4792 wxPy_END_ALLOW_THREADS
;
4793 } Py_INCREF(Py_None
);
4794 _resultobj
= Py_None
;
4798 #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0))
4799 static PyObject
*_wrap_wxPrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
* _resultobj
;
4801 wxPrintPreview
* _arg0
;
4802 wxPyPrintout
* _arg1
;
4803 PyObject
* _argo0
= 0;
4804 PyObject
* _argo1
= 0;
4805 char *_kwnames
[] = { "self","printout", NULL
};
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPrintPreview_SetPrintout",_kwnames
,&_argo0
,&_argo1
))
4811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p.");
4818 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4819 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyPrintout_p")) {
4820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p.");
4825 wxPy_BEGIN_ALLOW_THREADS
;
4826 wxPrintPreview_SetPrintout(_arg0
,_arg1
);
4828 wxPy_END_ALLOW_THREADS
;
4829 } Py_INCREF(Py_None
);
4830 _resultobj
= Py_None
;
4834 #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
4835 static PyObject
*_wrap_wxPrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
* _resultobj
;
4837 wxPrintPreview
* _arg0
;
4839 PyObject
* _argo0
= 0;
4840 char *_kwnames
[] = { "self","percent", NULL
};
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPrintPreview_SetZoom",_kwnames
,&_argo0
,&_arg1
))
4846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p.");
4853 wxPy_BEGIN_ALLOW_THREADS
;
4854 wxPrintPreview_SetZoom(_arg0
,_arg1
);
4856 wxPy_END_ALLOW_THREADS
;
4857 } Py_INCREF(Py_None
);
4858 _resultobj
= Py_None
;
4862 static void *SwigwxPreviewFrameTowxFrame(void *ptr
) {
4863 wxPreviewFrame
*src
;
4865 src
= (wxPreviewFrame
*) ptr
;
4866 dest
= (wxFrame
*) src
;
4867 return (void *) dest
;
4870 static void *SwigwxPreviewFrameTowxWindow(void *ptr
) {
4871 wxPreviewFrame
*src
;
4873 src
= (wxPreviewFrame
*) ptr
;
4874 dest
= (wxWindow
*) src
;
4875 return (void *) dest
;
4878 static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr
) {
4879 wxPreviewFrame
*src
;
4881 src
= (wxPreviewFrame
*) ptr
;
4882 dest
= (wxEvtHandler
*) src
;
4883 return (void *) dest
;
4886 static void *SwigwxPreviewFrameTowxObject(void *ptr
) {
4887 wxPreviewFrame
*src
;
4889 src
= (wxPreviewFrame
*) ptr
;
4890 dest
= (wxObject
*) src
;
4891 return (void *) dest
;
4894 #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4895 static PyObject
*_wrap_new_wxPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
* _resultobj
;
4897 wxPreviewFrame
* _result
;
4898 wxPrintPreview
* _arg0
;
4901 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4902 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4903 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
4904 char * _arg6
= (char *) "frame";
4905 PyObject
* _argo0
= 0;
4906 PyObject
* _argo1
= 0;
4907 PyObject
* _obj2
= 0;
4909 PyObject
* _obj3
= 0;
4911 PyObject
* _obj4
= 0;
4912 char *_kwnames
[] = { "preview","parent","title","pos","size","style","name", NULL
};
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|OOls:new_wxPreviewFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPrintPreview_p")) {
4921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p.");
4926 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4927 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p.");
4933 #if PYTHON_API_VERSION >= 1009
4934 char* tmpPtr
; int tmpSize
;
4935 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4936 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4939 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4941 _arg2
= new wxString(tmpPtr
, tmpSize
);
4943 if (!PyString_Check(_obj2
)) {
4944 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4947 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4953 if (! wxPoint_helper(_obj3
, &_arg3
))
4959 if (! wxSize_helper(_obj4
, &_arg4
))
4963 wxPy_BEGIN_ALLOW_THREADS
;
4964 _result
= (wxPreviewFrame
*)new_wxPreviewFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4966 wxPy_END_ALLOW_THREADS
;
4968 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPreviewFrame_p");
4969 _resultobj
= Py_BuildValue("s",_ptemp
);
4972 _resultobj
= Py_None
;
4981 #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize())
4982 static PyObject
*_wrap_wxPreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
* _resultobj
;
4984 wxPreviewFrame
* _arg0
;
4985 PyObject
* _argo0
= 0;
4986 char *_kwnames
[] = { "self", NULL
};
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPreviewFrame_Initialize",_kwnames
,&_argo0
))
4992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPreviewFrame_p")) {
4994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p.");
4999 wxPy_BEGIN_ALLOW_THREADS
;
5000 wxPreviewFrame_Initialize(_arg0
);
5002 wxPy_END_ALLOW_THREADS
;
5003 } Py_INCREF(Py_None
);
5004 _resultobj
= Py_None
;
5008 static PyMethodDef printfwcMethods
[] = {
5009 { "wxPreviewFrame_Initialize", (PyCFunction
) _wrap_wxPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5010 { "new_wxPreviewFrame", (PyCFunction
) _wrap_new_wxPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
5011 { "wxPrintPreview_SetZoom", (PyCFunction
) _wrap_wxPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5012 { "wxPrintPreview_SetPrintout", (PyCFunction
) _wrap_wxPrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5013 { "wxPrintPreview_SetFrame", (PyCFunction
) _wrap_wxPrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5014 { "wxPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5015 { "wxPrintPreview_SetCanvas", (PyCFunction
) _wrap_wxPrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5016 { "wxPrintPreview_Print", (PyCFunction
) _wrap_wxPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
5017 { "wxPrintPreview_Ok", (PyCFunction
) _wrap_wxPrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
5018 { "wxPrintPreview_GetZoom", (PyCFunction
) _wrap_wxPrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
5019 { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_wxPrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5020 { "wxPrintPreview_GetPrintout", (PyCFunction
) _wrap_wxPrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5021 { "wxPrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5022 { "wxPrintPreview_GetMinPage", (PyCFunction
) _wrap_wxPrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5023 { "wxPrintPreview_GetMaxPage", (PyCFunction
) _wrap_wxPrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5024 { "wxPrintPreview_GetFrame", (PyCFunction
) _wrap_wxPrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5025 { "wxPrintPreview_GetCurrentPage", (PyCFunction
) _wrap_wxPrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
5026 { "wxPrintPreview_GetCanvas", (PyCFunction
) _wrap_wxPrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
5027 { "new_wxPrintPreview", (PyCFunction
) _wrap_new_wxPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
5028 { "wxPrinter_Setup", (PyCFunction
) _wrap_wxPrinter_Setup
, METH_VARARGS
| METH_KEYWORDS
},
5029 { "wxPrinter_ReportError", (PyCFunction
) _wrap_wxPrinter_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
5030 { "wxPrinter_PrintDialog", (PyCFunction
) _wrap_wxPrinter_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5031 { "wxPrinter_Print", (PyCFunction
) _wrap_wxPrinter_Print
, METH_VARARGS
| METH_KEYWORDS
},
5032 { "wxPrinter_GetPrintDialogData", (PyCFunction
) _wrap_wxPrinter_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5033 { "wxPrinter_CreateAbortWindow", (PyCFunction
) _wrap_wxPrinter_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
5034 { "delete_wxPrinter", (PyCFunction
) _wrap_delete_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5035 { "new_wxPrinter", (PyCFunction
) _wrap_new_wxPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5036 { "wxPrintout_base_HasPage", (PyCFunction
) _wrap_wxPrintout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
5037 { "wxPrintout_base_GetPageInfo", (PyCFunction
) _wrap_wxPrintout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
5038 { "wxPrintout_base_OnPreparePrinting", (PyCFunction
) _wrap_wxPrintout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
5039 { "wxPrintout_base_OnEndPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5040 { "wxPrintout_base_OnBeginPrinting", (PyCFunction
) _wrap_wxPrintout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
5041 { "wxPrintout_base_OnEndDocument", (PyCFunction
) _wrap_wxPrintout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
5042 { "wxPrintout_base_OnBeginDocument", (PyCFunction
) _wrap_wxPrintout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
5043 { "wxPrintout_IsPreview", (PyCFunction
) _wrap_wxPrintout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
5044 { "wxPrintout_GetPPIScreen", (PyCFunction
) _wrap_wxPrintout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
5045 { "wxPrintout_GetPPIPrinter", (PyCFunction
) _wrap_wxPrintout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
5046 { "wxPrintout_GetPageSizePixels", (PyCFunction
) _wrap_wxPrintout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
5047 { "wxPrintout_GetPageSizeMM", (PyCFunction
) _wrap_wxPrintout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
5048 { "wxPrintout_GetDC", (PyCFunction
) _wrap_wxPrintout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
5049 { "wxPrintout_Destroy", (PyCFunction
) _wrap_wxPrintout_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5050 { "wxPrintout__setSelf", (PyCFunction
) _wrap_wxPrintout__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
5051 { "new_wxPrintout", (PyCFunction
) _wrap_new_wxPrintout
, METH_VARARGS
| METH_KEYWORDS
},
5052 { "wxPrintDialog_ShowModal", (PyCFunction
) _wrap_wxPrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5053 { "wxPrintDialog_GetPrintDC", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
5054 { "wxPrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_wxPrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5055 { "new_wxPrintDialog", (PyCFunction
) _wrap_new_wxPrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
5056 { "wxPrintDialogData_SetToPage", (PyCFunction
) _wrap_wxPrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5057 { "wxPrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_wxPrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5058 { "wxPrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5059 { "wxPrintDialogData_SetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5060 { "wxPrintDialogData_SetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5061 { "wxPrintDialogData_SetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5062 { "wxPrintDialogData_SetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5063 { "wxPrintDialogData_SetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5064 { "wxPrintDialogData_SetCollate", (PyCFunction
) _wrap_wxPrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5065 { "wxPrintDialogData_GetToPage", (PyCFunction
) _wrap_wxPrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
5066 { "wxPrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5067 { "wxPrintDialogData_GetPrintData", (PyCFunction
) _wrap_wxPrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5068 { "wxPrintDialogData_GetNoCopies", (PyCFunction
) _wrap_wxPrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5069 { "wxPrintDialogData_GetMinPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
5070 { "wxPrintDialogData_GetMaxPage", (PyCFunction
) _wrap_wxPrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
5071 { "wxPrintDialogData_GetFromPage", (PyCFunction
) _wrap_wxPrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5072 { "wxPrintDialogData_GetCollate", (PyCFunction
) _wrap_wxPrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5073 { "wxPrintDialogData_GetAllPages", (PyCFunction
) _wrap_wxPrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5074 { "wxPrintDialogData_EnableSelection", (PyCFunction
) _wrap_wxPrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
5075 { "wxPrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_wxPrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
5076 { "wxPrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_wxPrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
5077 { "wxPrintDialogData_EnableHelp", (PyCFunction
) _wrap_wxPrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5078 { "delete_wxPrintDialogData", (PyCFunction
) _wrap_delete_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5079 { "new_wxPrintDialogData", (PyCFunction
) _wrap_new_wxPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5080 { "wxPageSetupDialog_ShowModal", (PyCFunction
) _wrap_wxPageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5081 { "wxPageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_wxPageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
5082 { "new_wxPageSetupDialog", (PyCFunction
) _wrap_new_wxPageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
5083 { "wxPageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5084 { "wxPageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5085 { "wxPageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5086 { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5087 { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5088 { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5089 { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5090 { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5091 { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5092 { "wxPageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5093 { "wxPageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5094 { "wxPageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_wxPageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5095 { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5096 { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5097 { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
5098 { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_wxPageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
5099 { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
5100 { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5101 { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5102 { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5103 { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5104 { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5105 { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
5106 { "wxPageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
5107 { "wxPageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_wxPageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
5108 { "wxPageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5109 { "wxPageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
5110 { "wxPageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_wxPageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
5111 { "delete_wxPageSetupDialogData", (PyCFunction
) _wrap_delete_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5112 { "new_wxPageSetupDialogData", (PyCFunction
) _wrap_new_wxPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
5113 { "wxPrintData_SetPrintMode", (PyCFunction
) _wrap_wxPrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5114 { "wxPrintData_SetPrinterTranslation", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
5115 { "wxPrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5116 { "wxPrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5117 { "wxPrintData_SetPrinterScaling", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
5118 { "wxPrintData_SetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5119 { "wxPrintData_SetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5120 { "wxPrintData_SetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5121 { "wxPrintData_SetFilename", (PyCFunction
) _wrap_wxPrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5122 { "wxPrintData_SetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5123 { "wxPrintData_SetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5124 { "wxPrintData_SetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5125 { "wxPrintData_GetPrintMode", (PyCFunction
) _wrap_wxPrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
5126 { "wxPrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
5127 { "wxPrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_wxPrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
5128 { "wxPrintData_GetPrinterScaleY", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
5129 { "wxPrintData_GetPrinterScaleX", (PyCFunction
) _wrap_wxPrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
5130 { "wxPrintData_GetFontMetricPath", (PyCFunction
) _wrap_wxPrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
5131 { "wxPrintData_GetFilename", (PyCFunction
) _wrap_wxPrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
5132 { "wxPrintData_GetPreviewCommand", (PyCFunction
) _wrap_wxPrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
5133 { "wxPrintData_GetPrinterOptions", (PyCFunction
) _wrap_wxPrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
5134 { "wxPrintData_GetPrinterCommand", (PyCFunction
) _wrap_wxPrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
5135 { "wxPrintData_SetQuality", (PyCFunction
) _wrap_wxPrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5136 { "wxPrintData_SetPaperSize", (PyCFunction
) _wrap_wxPrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5137 { "wxPrintData_SetPaperId", (PyCFunction
) _wrap_wxPrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5138 { "wxPrintData_SetDuplex", (PyCFunction
) _wrap_wxPrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5139 { "wxPrintData_SetColour", (PyCFunction
) _wrap_wxPrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
5140 { "wxPrintData_SetPrinterName", (PyCFunction
) _wrap_wxPrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5141 { "wxPrintData_SetOrientation", (PyCFunction
) _wrap_wxPrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5142 { "wxPrintData_SetCollate", (PyCFunction
) _wrap_wxPrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5143 { "wxPrintData_SetNoCopies", (PyCFunction
) _wrap_wxPrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5144 { "wxPrintData_GetQuality", (PyCFunction
) _wrap_wxPrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
5145 { "wxPrintData_GetPaperSize", (PyCFunction
) _wrap_wxPrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
5146 { "wxPrintData_GetPaperId", (PyCFunction
) _wrap_wxPrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
5147 { "wxPrintData_GetDuplex", (PyCFunction
) _wrap_wxPrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
5148 { "wxPrintData_GetColour", (PyCFunction
) _wrap_wxPrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
5149 { "wxPrintData_GetPrinterName", (PyCFunction
) _wrap_wxPrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
5150 { "wxPrintData_GetOrientation", (PyCFunction
) _wrap_wxPrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5151 { "wxPrintData_GetCollate", (PyCFunction
) _wrap_wxPrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
5152 { "wxPrintData_GetNoCopies", (PyCFunction
) _wrap_wxPrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
5153 { "delete_wxPrintData", (PyCFunction
) _wrap_delete_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5154 { "new_wxPrintData", (PyCFunction
) _wrap_new_wxPrintData
, METH_VARARGS
| METH_KEYWORDS
},
5161 * This table is used by the pointer type-checker
5163 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5164 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5165 { "_wxEvent","_class_wxEvent",0},
5166 { "_class_wxActivateEvent","_wxActivateEvent",0},
5167 { "_signed_long","_long",0},
5168 { "_wxMenuEvent","_class_wxMenuEvent",0},
5169 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
5170 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
5171 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5172 { "_wxPrintQuality","_wxCoord",0},
5173 { "_wxPrintQuality","_int",0},
5174 { "_wxPrintQuality","_signed_int",0},
5175 { "_wxPrintQuality","_unsigned_int",0},
5176 { "_wxPrintQuality","_wxWindowID",0},
5177 { "_wxPrintQuality","_uint",0},
5178 { "_wxPrintQuality","_EBool",0},
5179 { "_wxPrintQuality","_size_t",0},
5180 { "_wxPrintQuality","_time_t",0},
5181 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
5182 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
5183 { "_wxFontData","_class_wxFontData",0},
5184 { "_class_wxRegionIterator","_wxRegionIterator",0},
5185 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
5186 { "_class_wxMenuBar","_wxMenuBar",0},
5187 { "_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5188 { "_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5189 { "_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5190 { "_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5191 { "_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5192 { "_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5193 { "_class_wxEvtHandler","_wxEvtHandler",0},
5194 { "_wxPaintEvent","_class_wxPaintEvent",0},
5195 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5196 { "_wxCursor","_class_wxCursor",0},
5197 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5198 { "_class_wxToolBarBase","_wxToolBarBase",0},
5199 { "_wxMask","_class_wxMask",0},
5200 { "_class_wxColourData","_wxColourData",0},
5201 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
5202 { "_wxPrinter","_class_wxPrinter",0},
5203 { "_wxPen","_class_wxPen",0},
5204 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5205 { "_byte","_unsigned_char",0},
5206 { "_wxDataObject","_class_wxDataObject",0},
5207 { "_wxStaticBox","_class_wxStaticBox",0},
5208 { "_wxColourDatabase","_class_wxColourDatabase",0},
5209 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
5210 { "_wxPyDropSource","_class_wxPyDropSource",0},
5211 { "_wxChoice","_class_wxChoice",0},
5212 { "_wxSlider","_class_wxSlider",0},
5213 { "_wxPyPrintout","_class_wxPyPrintout",0},
5214 { "_long","_unsigned_long",0},
5215 { "_long","_signed_long",0},
5216 { "_wxImageList","_class_wxImageList",0},
5217 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
5218 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5219 { "_wxBitmapButton","_class_wxBitmapButton",0},
5220 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
5221 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5222 { "_class_wxClipboard","_wxClipboard",0},
5223 { "_class_wxGauge","_wxGauge",0},
5224 { "_wxGDIObject","_class_wxGDIObject",0},
5225 { "_wxDC","_class_wxDC",0},
5226 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
5227 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
5228 { "_wxProgressDialog","_class_wxProgressDialog",0},
5229 { "_wxPrintPreview","_class_wxPrintPreview",0},
5230 { "_class_wxObject","_class_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
5231 { "_class_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
5232 { "_class_wxObject","_class_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
5233 { "_class_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
5234 { "_class_wxObject","_class_wxPrinter",SwigwxPrinterTowxObject
},
5235 { "_class_wxObject","_wxPrinter",SwigwxPrinterTowxObject
},
5236 { "_class_wxObject","_class_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
5237 { "_class_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
5238 { "_class_wxObject","_class_wxPrintDialog",SwigwxPrintDialogTowxObject
},
5239 { "_class_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject
},
5240 { "_class_wxObject","_class_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
5241 { "_class_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
5242 { "_class_wxObject","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
5243 { "_class_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
5244 { "_class_wxObject","_class_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
5245 { "_class_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
5246 { "_class_wxObject","_class_wxPrintData",SwigwxPrintDataTowxObject
},
5247 { "_class_wxObject","_wxPrintData",SwigwxPrintDataTowxObject
},
5248 { "_class_wxObject","_wxObject",0},
5249 { "_wxSpinEvent","_class_wxSpinEvent",0},
5250 { "_size_t","_wxCoord",0},
5251 { "_size_t","_wxPrintQuality",0},
5252 { "_size_t","_time_t",0},
5253 { "_size_t","_unsigned_int",0},
5254 { "_size_t","_int",0},
5255 { "_size_t","_wxWindowID",0},
5256 { "_size_t","_uint",0},
5257 { "_class_wxRealPoint","_wxRealPoint",0},
5258 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5259 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5260 { "_class_wxMenuItem","_wxMenuItem",0},
5261 { "_class_wxPaintEvent","_wxPaintEvent",0},
5262 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5263 { "_class_wxStatusBar","_wxStatusBar",0},
5264 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5265 { "_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5266 { "_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5267 { "_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5268 { "_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5269 { "_wxPanel","_class_wxPanel",0},
5270 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5271 { "_wxCheckBox","_class_wxCheckBox",0},
5272 { "_wxPyEvent","_class_wxPyEvent",0},
5273 { "_wxTextCtrl","_class_wxTextCtrl",0},
5274 { "_class_wxMask","_wxMask",0},
5275 { "_wxTextDataObject","_class_wxTextDataObject",0},
5276 { "_class_wxKeyEvent","_wxKeyEvent",0},
5277 { "_wxColour","_class_wxColour",0},
5278 { "_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5279 { "_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5280 { "_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5281 { "_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5282 { "_class_wxDialog","_wxDialog",0},
5283 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
5284 { "_class_wxPrinter","_wxPrinter",0},
5285 { "_class_wxFileDataObject","_wxFileDataObject",0},
5286 { "_wxIdleEvent","_class_wxIdleEvent",0},
5287 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5288 { "_wxToolBar","_class_wxToolBar",0},
5289 { "_class_wxDataObject","_wxDataObject",0},
5290 { "_wxStaticLine","_class_wxStaticLine",0},
5291 { "_wxBrush","_class_wxBrush",0},
5292 { "_wxToggleButton","_class_wxToggleButton",0},
5293 { "_wxMiniFrame","_class_wxMiniFrame",0},
5294 { "_class_wxPyPrintout","_wxPyPrintout",0},
5295 { "_wxDataFormat","_class_wxDataFormat",0},
5296 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
5297 { "_wxShowEvent","_class_wxShowEvent",0},
5298 { "_uint","_wxCoord",0},
5299 { "_uint","_wxPrintQuality",0},
5300 { "_uint","_time_t",0},
5301 { "_uint","_size_t",0},
5302 { "_uint","_unsigned_int",0},
5303 { "_uint","_int",0},
5304 { "_uint","_wxWindowID",0},
5305 { "_wxChar","_char",0},
5306 { "_wxPyValidator","_class_wxPyValidator",0},
5307 { "_class_wxEvent","_wxEvent",0},
5308 { "_wxCheckListBox","_class_wxCheckListBox",0},
5309 { "_wxRect","_class_wxRect",0},
5310 { "_wxCommandEvent","_class_wxCommandEvent",0},
5311 { "_wxSizeEvent","_class_wxSizeEvent",0},
5312 { "_wxPoint","_class_wxPoint",0},
5313 { "_class_wxButton","_wxButton",0},
5314 { "_wxRadioBox","_class_wxRadioBox",0},
5315 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
5316 { "_class_wxFontData","_wxFontData",0},
5317 { "_char","_wxChar",0},
5318 { "_wxBitmap","_class_wxBitmap",0},
5319 { "_wxPenList","_class_wxPenList",0},
5320 { "_wxPrintDialog","_class_wxPrintDialog",0},
5321 { "_wxWindowDC","_class_wxWindowDC",0},
5322 { "_wxTimerEvent","_class_wxTimerEvent",0},
5323 { "_wxScrollBar","_class_wxScrollBar",0},
5324 { "_wxSpinButton","_class_wxSpinButton",0},
5325 { "_wxColourDialog","_class_wxColourDialog",0},
5326 { "_wxPrintData","_class_wxPrintData",0},
5327 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5328 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5329 { "_wxMessageDialog","_class_wxMessageDialog",0},
5330 { "_class_wxValidator","_wxValidator",0},
5331 { "_class_wxPyEvent","_wxPyEvent",0},
5332 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
5333 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5334 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5335 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
5336 { "_class_wxToolBar","_wxToolBar",0},
5337 { "_wxDropTarget","_class_wxDropTarget",0},
5338 { "_class_wxStaticLine","_wxStaticLine",0},
5339 { "_class_wxColourDatabase","_wxColourDatabase",0},
5340 { "_wxScrollEvent","_class_wxScrollEvent",0},
5341 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
5342 { "_EBool","_wxCoord",0},
5343 { "_EBool","_wxPrintQuality",0},
5344 { "_EBool","_signed_int",0},
5345 { "_EBool","_int",0},
5346 { "_EBool","_wxWindowID",0},
5347 { "_class_wxRegion","_wxRegion",0},
5348 { "_class_wxDataFormat","_wxDataFormat",0},
5349 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5350 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5351 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
5352 { "_wxStaticText","_class_wxStaticText",0},
5353 { "_wxFont","_class_wxFont",0},
5354 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
5355 { "_wxCloseEvent","_class_wxCloseEvent",0},
5356 { "_unsigned_long","_long",0},
5357 { "_class_wxRect","_wxRect",0},
5358 { "_class_wxDC","_wxDC",0},
5359 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5360 { "_class_wxProgressDialog","_wxProgressDialog",0},
5361 { "_class_wxBrushList","_wxBrushList",0},
5362 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5363 { "_class_wxPenList","_wxPenList",0},
5364 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5365 { "_class_wxDirDialog","_wxDirDialog",0},
5366 { "_wxFocusEvent","_class_wxFocusEvent",0},
5367 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5368 { "_class_wxTimerEvent","_wxTimerEvent",0},
5369 { "_class_wxSpinButton","_wxSpinButton",0},
5370 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5371 { "_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5372 { "_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
},
5373 { "_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5374 { "_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
},
5375 { "_class_wxPanel","_wxPanel",0},
5376 { "_class_wxCheckBox","_wxCheckBox",0},
5377 { "_wxComboBox","_class_wxComboBox",0},
5378 { "_wxRadioButton","_class_wxRadioButton",0},
5379 { "_class_wxMessageDialog","_wxMessageDialog",0},
5380 { "_signed_int","_wxCoord",0},
5381 { "_signed_int","_wxPrintQuality",0},
5382 { "_signed_int","_EBool",0},
5383 { "_signed_int","_wxWindowID",0},
5384 { "_signed_int","_int",0},
5385 { "_class_wxTextCtrl","_wxTextCtrl",0},
5386 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5387 { "_class_wxTextDataObject","_wxTextDataObject",0},
5388 { "_wxMenu","_class_wxMenu",0},
5389 { "_class_wxMoveEvent","_wxMoveEvent",0},
5390 { "_wxListBox","_class_wxListBox",0},
5391 { "_wxScreenDC","_class_wxScreenDC",0},
5392 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
5393 { "_WXTYPE","_short",0},
5394 { "_WXTYPE","_signed_short",0},
5395 { "_WXTYPE","_unsigned_short",0},
5396 { "_wxFileDialog","_class_wxFileDialog",0},
5397 { "_class_wxDropTarget","_wxDropTarget",0},
5398 { "_class_wxBrush","_wxBrush",0},
5399 { "_unsigned_short","_WXTYPE",0},
5400 { "_unsigned_short","_short",0},
5401 { "_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5402 { "_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5403 { "_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5404 { "_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5405 { "_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5406 { "_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5407 { "_class_wxWindow","_wxWindow",0},
5408 { "_class_wxStaticText","_wxStaticText",0},
5409 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
5410 { "_class_wxFont","_wxFont",0},
5411 { "_wxClipboard","_class_wxClipboard",0},
5412 { "_class_wxPyValidator","_wxPyValidator",0},
5413 { "_class_wxCloseEvent","_wxCloseEvent",0},
5414 { "_wxBusyInfo","_class_wxBusyInfo",0},
5415 { "_wxFontList","_class_wxFontList",0},
5416 { "_class_wxMenuEvent","_wxMenuEvent",0},
5417 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5418 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
5419 { "_wxClientDC","_class_wxClientDC",0},
5420 { "_wxMouseEvent","_class_wxMouseEvent",0},
5421 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
5422 { "_wxObject","_class_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
5423 { "_wxObject","_wxPreviewFrame",SwigwxPreviewFrameTowxObject
},
5424 { "_wxObject","_class_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
5425 { "_wxObject","_wxPrintPreview",SwigwxPrintPreviewTowxObject
},
5426 { "_wxObject","_class_wxPrinter",SwigwxPrinterTowxObject
},
5427 { "_wxObject","_wxPrinter",SwigwxPrinterTowxObject
},
5428 { "_wxObject","_class_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
5429 { "_wxObject","_wxPyPrintout",SwigwxPyPrintoutTowxObject
},
5430 { "_wxObject","_class_wxPrintDialog",SwigwxPrintDialogTowxObject
},
5431 { "_wxObject","_wxPrintDialog",SwigwxPrintDialogTowxObject
},
5432 { "_wxObject","_class_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
5433 { "_wxObject","_wxPrintDialogData",SwigwxPrintDialogDataTowxObject
},
5434 { "_wxObject","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
5435 { "_wxObject","_wxPageSetupDialog",SwigwxPageSetupDialogTowxObject
},
5436 { "_wxObject","_class_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
5437 { "_wxObject","_wxPageSetupDialogData",SwigwxPageSetupDialogDataTowxObject
},
5438 { "_wxObject","_class_wxPrintData",SwigwxPrintDataTowxObject
},
5439 { "_wxObject","_wxPrintData",SwigwxPrintDataTowxObject
},
5440 { "_wxObject","_class_wxObject",0},
5441 { "_class_wxPoint","_wxPoint",0},
5442 { "_wxRealPoint","_class_wxRealPoint",0},
5443 { "_class_wxRadioBox","_wxRadioBox",0},
5444 { "_signed_short","_WXTYPE",0},
5445 { "_signed_short","_short",0},
5446 { "_wxMemoryDC","_class_wxMemoryDC",0},
5447 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
5448 { "_class_wxPrintDialog","_wxPrintDialog",0},
5449 { "_wxPaintDC","_class_wxPaintDC",0},
5450 { "_class_wxWindowDC","_wxWindowDC",0},
5451 { "_class_wxFocusEvent","_wxFocusEvent",0},
5452 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5453 { "_wxStatusBar","_class_wxStatusBar",0},
5454 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5455 { "_class_wxCursor","_wxCursor",0},
5456 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5457 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
5458 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5459 { "_unsigned_char","_byte",0},
5460 { "_class_wxMenu","_wxMenu",0},
5461 { "_wxControl","_class_wxControl",0},
5462 { "_class_wxListBox","_wxListBox",0},
5463 { "_unsigned_int","_wxCoord",0},
5464 { "_unsigned_int","_wxPrintQuality",0},
5465 { "_unsigned_int","_time_t",0},
5466 { "_unsigned_int","_size_t",0},
5467 { "_unsigned_int","_uint",0},
5468 { "_unsigned_int","_wxWindowID",0},
5469 { "_unsigned_int","_int",0},
5470 { "_wxIcon","_class_wxIcon",0},
5471 { "_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5472 { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
},
5473 { "_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5474 { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
},
5475 { "_wxDialog","_class_wxDialog",0},
5476 { "_class_wxPen","_wxPen",0},
5477 { "_class_wxFileDialog","_wxFileDialog",0},
5478 { "_short","_WXTYPE",0},
5479 { "_short","_unsigned_short",0},
5480 { "_short","_signed_short",0},
5481 { "_class_wxStaticBox","_wxStaticBox",0},
5482 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
5483 { "_class_wxPyDropSource","_wxPyDropSource",0},
5484 { "_class_wxScrollEvent","_wxScrollEvent",0},
5485 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5486 { "_class_wxChoice","_wxChoice",0},
5487 { "_class_wxSlider","_wxSlider",0},
5488 { "_class_wxImageList","_wxImageList",0},
5489 { "_class_wxBitmapButton","_wxBitmapButton",0},
5490 { "_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5491 { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5492 { "_wxFrame","_class_wxFrame",0},
5493 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5494 { "_wxWindowID","_wxCoord",0},
5495 { "_wxWindowID","_wxPrintQuality",0},
5496 { "_wxWindowID","_time_t",0},
5497 { "_wxWindowID","_size_t",0},
5498 { "_wxWindowID","_EBool",0},
5499 { "_wxWindowID","_uint",0},
5500 { "_wxWindowID","_int",0},
5501 { "_wxWindowID","_signed_int",0},
5502 { "_wxWindowID","_unsigned_int",0},
5503 { "_class_wxGDIObject","_wxGDIObject",0},
5504 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5505 { "_int","_wxCoord",0},
5506 { "_int","_wxPrintQuality",0},
5507 { "_int","_time_t",0},
5508 { "_int","_size_t",0},
5509 { "_int","_EBool",0},
5510 { "_int","_uint",0},
5511 { "_int","_wxWindowID",0},
5512 { "_int","_unsigned_int",0},
5513 { "_int","_signed_int",0},
5514 { "_class_wxMouseEvent","_wxMouseEvent",0},
5515 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5516 { "_class_wxPrintPreview","_wxPrintPreview",0},
5517 { "_class_wxSpinEvent","_wxSpinEvent",0},
5518 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5519 { "_time_t","_wxCoord",0},
5520 { "_time_t","_wxPrintQuality",0},
5521 { "_time_t","_unsigned_int",0},
5522 { "_time_t","_int",0},
5523 { "_time_t","_wxWindowID",0},
5524 { "_time_t","_uint",0},
5525 { "_time_t","_size_t",0},
5526 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5527 { "_wxButton","_class_wxButton",0},
5528 { "_wxSize","_class_wxSize",0},
5529 { "_wxRegionIterator","_class_wxRegionIterator",0},
5530 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
5531 { "_class_wxPaintDC","_wxPaintDC",0},
5532 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5533 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
5534 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5535 { "_class_wxComboBox","_wxComboBox",0},
5536 { "_class_wxRadioButton","_wxRadioButton",0},
5537 { "_wxValidator","_class_wxValidator",0},
5538 { "_wxToolBarBase","_class_wxToolBarBase",0},
5539 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5540 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5541 { "_class_wxControl","_wxControl",0},
5542 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5543 { "_class_wxIcon","_wxIcon",0},
5544 { "_class_wxColour","_wxColour",0},
5545 { "_class_wxScreenDC","_wxScreenDC",0},
5546 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
5547 { "_wxPalette","_class_wxPalette",0},
5548 { "_class_wxIdleEvent","_wxIdleEvent",0},
5549 { "_wxCoord","_int",0},
5550 { "_wxCoord","_signed_int",0},
5551 { "_wxCoord","_unsigned_int",0},
5552 { "_wxCoord","_wxWindowID",0},
5553 { "_wxCoord","_uint",0},
5554 { "_wxCoord","_EBool",0},
5555 { "_wxCoord","_size_t",0},
5556 { "_wxCoord","_time_t",0},
5557 { "_wxCoord","_wxPrintQuality",0},
5558 { "_wxEraseEvent","_class_wxEraseEvent",0},
5559 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
5560 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5561 { "_class_wxToggleButton","_wxToggleButton",0},
5562 { "_class_wxMiniFrame","_wxMiniFrame",0},
5563 { "_wxFontDialog","_class_wxFontDialog",0},
5564 { "_wxRegion","_class_wxRegion",0},
5565 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
5566 { "_class_wxShowEvent","_wxShowEvent",0},
5567 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
5568 { "_wxActivateEvent","_class_wxActivateEvent",0},
5569 { "_wxGauge","_class_wxGauge",0},
5570 { "_class_wxCheckListBox","_wxCheckListBox",0},
5571 { "_class_wxBusyInfo","_wxBusyInfo",0},
5572 { "_class_wxFontList","_wxFontList",0},
5573 { "_class_wxCommandEvent","_wxCommandEvent",0},
5574 { "_class_wxClientDC","_wxClientDC",0},
5575 { "_class_wxSizeEvent","_wxSizeEvent",0},
5576 { "_wxBrushList","_class_wxBrushList",0},
5577 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
5578 { "_class_wxSize","_wxSize",0},
5579 { "_class_wxBitmap","_wxBitmap",0},
5580 { "_class_wxMemoryDC","_wxMemoryDC",0},
5581 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
5582 { "_wxMenuBar","_class_wxMenuBar",0},
5583 { "_wxDirDialog","_class_wxDirDialog",0},
5584 { "_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5585 { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler
},
5586 { "_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5587 { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
},
5588 { "_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5589 { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
},
5590 { "_wxEvtHandler","_class_wxEvtHandler",0},
5591 { "_wxMenuItem","_class_wxMenuItem",0},
5592 { "_class_wxScrollBar","_wxScrollBar",0},
5593 { "_class_wxColourDialog","_wxColourDialog",0},
5594 { "_class_wxPrintData","_wxPrintData",0},
5595 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5596 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
5597 { "_wxKeyEvent","_class_wxKeyEvent",0},
5598 { "_wxMoveEvent","_class_wxMoveEvent",0},
5599 { "_wxColourData","_class_wxColourData",0},
5600 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
5601 { "_class_wxPalette","_wxPalette",0},
5602 { "_wxFileDataObject","_class_wxFileDataObject",0},
5603 { "_class_wxEraseEvent","_wxEraseEvent",0},
5604 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
5605 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
5606 { "_class_wxFontDialog","_wxFontDialog",0},
5607 { "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5608 { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow
},
5609 { "_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5610 { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
},
5611 { "_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5612 { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
},
5613 { "_wxWindow","_class_wxWindow",0},
5614 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5615 { "_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5616 { "_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame
},
5617 { "_class_wxFrame","_wxFrame",0},
5620 static PyObject
*SWIG_globals
;
5624 SWIGEXPORT(void) initprintfwc() {
5626 SWIG_globals
= SWIG_newvarlink();
5627 m
= Py_InitModule("printfwc", printfwcMethods
);
5628 d
= PyModule_GetDict(m
);
5630 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
5633 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5634 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);