]>
Commit | Line | Data |
---|---|---|
d24a34bb | 1 | /* |
2cd2fac8 | 2 | * FILE : src/gtk/printfw.cpp |
d24a34bb RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
2cd2fac8 | 6 | * Version 1.1 (Build 883) |
d24a34bb RD |
7 | * |
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. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
2d091820 | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
d24a34bb RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
1c09ae54 | 30 | # define SWIGEXPORT(a) a _export |
d24a34bb | 31 | # else |
1c09ae54 | 32 | # define SWIGEXPORT(a) a |
d24a34bb RD |
33 | # endif |
34 | # endif | |
35 | #else | |
1c09ae54 | 36 | # define SWIGEXPORT(a) a |
d24a34bb RD |
37 | #endif |
38 | ||
1c09ae54 RD |
39 | #include "Python.h" |
40 | ||
d24a34bb RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
1c09ae54 | 44 | |
d24a34bb RD |
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 *); | |
2d091820 | 48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
d24a34bb RD |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
d24a34bb RD |
54 | #define SWIG_init initprintfwc |
55 | ||
56 | #define SWIG_name "printfwc" | |
57 | ||
58 | #include "helpers.h" | |
59 | #include <wx/print.h> | |
60 | #include <wx/printdlg.h> | |
61 | ||
4120ef2b RD |
62 | #include "printfw.h" |
63 | ||
d24a34bb RD |
64 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { |
65 | PyObject* o2; | |
1c09ae54 | 66 | if (!target) { |
d24a34bb | 67 | target = o; |
1c09ae54 | 68 | } else if (target == Py_None) { |
d24a34bb RD |
69 | Py_DECREF(Py_None); |
70 | target = o; | |
1c09ae54 | 71 | } else { |
d24a34bb RD |
72 | if (!PyList_Check(target)) { |
73 | o2 = target; | |
74 | target = PyList_New(0); | |
75 | PyList_Append(target, o2); | |
76 | Py_XDECREF(o2); | |
77 | } | |
78 | PyList_Append(target,o); | |
79 | Py_XDECREF(o); | |
80 | } | |
81 | return target; | |
82 | } | |
83 | ||
84 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
85 | PyObject* o2; | |
86 | PyObject* o3; | |
87 | ||
1c09ae54 | 88 | if (!target) { |
d24a34bb | 89 | target = o; |
1c09ae54 | 90 | } else if (target == Py_None) { |
d24a34bb RD |
91 | Py_DECREF(Py_None); |
92 | target = o; | |
1c09ae54 | 93 | } else { |
d24a34bb RD |
94 | if (!PyTuple_Check(target)) { |
95 | o2 = target; | |
96 | target = PyTuple_New(1); | |
97 | PyTuple_SetItem(target, 0, o2); | |
98 | } | |
1c09ae54 RD |
99 | o3 = PyTuple_New(1); |
100 | PyTuple_SetItem(o3, 0, o); | |
d24a34bb RD |
101 | |
102 | o2 = target; | |
1c09ae54 RD |
103 | target = PySequence_Concat(o2, o3); |
104 | Py_DECREF(o2); | |
d24a34bb RD |
105 | Py_DECREF(o3); |
106 | } | |
107 | return target; | |
108 | } | |
109 | ||
d24a34bb RD |
110 | static char* wxStringErrorMsg = "string type is required for parameter"; |
111 | ||
4120ef2b RD |
112 | |
113 | ||
114 | // Since this one would be tough and ugly to do with the Macros... | |
115 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
54b96882 | 116 | bool hadErr = FALSE; |
4120ef2b RD |
117 | |
118 | bool doSave = wxPyRestoreThread(); | |
119 | if (m_myInst.findCallback("GetPageInfo")) { | |
120 | PyObject* result = m_myInst.callCallbackObj(Py_BuildValue("()")); | |
121 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
122 | PyObject* val; | |
123 | ||
124 | val = PyTuple_GetItem(result, 0); | |
125 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
54b96882 | 126 | else hadErr = TRUE; |
4120ef2b RD |
127 | |
128 | val = PyTuple_GetItem(result, 1); | |
129 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
54b96882 | 130 | else hadErr = TRUE; |
4120ef2b RD |
131 | |
132 | val = PyTuple_GetItem(result, 2); | |
133 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
54b96882 | 134 | else hadErr = TRUE; |
4120ef2b RD |
135 | |
136 | val = PyTuple_GetItem(result, 3); | |
137 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
54b96882 | 138 | else hadErr = TRUE; |
d24a34bb RD |
139 | } |
140 | else | |
54b96882 | 141 | hadErr = TRUE; |
9cce9de1 | 142 | |
4120ef2b RD |
143 | if (hadErr) { |
144 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
145 | PyErr_Print(); | |
146 | } | |
147 | Py_DECREF(result); | |
d24a34bb | 148 | } |
4120ef2b | 149 | else |
d24a34bb | 150 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); |
d24a34bb | 151 | |
4120ef2b RD |
152 | wxPySaveThread(doSave); |
153 | } | |
154 | ||
155 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
156 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
157 | } | |
158 | ||
9cce9de1 RD |
159 | |
160 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
161 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
162 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
163 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
164 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
165 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
166 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
167 | ||
168 | ||
2d091820 RD |
169 | #ifdef __cplusplus |
170 | extern "C" { | |
171 | #endif | |
d24a34bb | 172 | #define new_wxPrintData() (new wxPrintData()) |
107e4716 | 173 | static PyObject *_wrap_new_wxPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
174 | PyObject * _resultobj; |
175 | wxPrintData * _result; | |
107e4716 | 176 | char *_kwnames[] = { NULL }; |
d24a34bb RD |
177 | char _ptemp[128]; |
178 | ||
179 | self = self; | |
107e4716 | 180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrintData",_kwnames)) |
d24a34bb RD |
181 | return NULL; |
182 | { | |
183 | wxPy_BEGIN_ALLOW_THREADS; | |
184 | _result = (wxPrintData *)new_wxPrintData(); | |
185 | ||
186 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
187 | } if (_result) { |
188 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p"); | |
189 | _resultobj = Py_BuildValue("s",_ptemp); | |
190 | } else { | |
191 | Py_INCREF(Py_None); | |
192 | _resultobj = Py_None; | |
193 | } | |
d24a34bb RD |
194 | return _resultobj; |
195 | } | |
196 | ||
197 | #define delete_wxPrintData(_swigobj) (delete _swigobj) | |
107e4716 | 198 | static PyObject *_wrap_delete_wxPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
199 | PyObject * _resultobj; |
200 | wxPrintData * _arg0; | |
2d091820 | 201 | PyObject * _argo0 = 0; |
107e4716 | 202 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
203 | |
204 | self = self; | |
107e4716 | 205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPrintData",_kwnames,&_argo0)) |
d24a34bb | 206 | return NULL; |
2d091820 RD |
207 | if (_argo0) { |
208 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
209 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
210 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p."); |
211 | return NULL; | |
212 | } | |
213 | } | |
214 | { | |
215 | wxPy_BEGIN_ALLOW_THREADS; | |
216 | delete_wxPrintData(_arg0); | |
217 | ||
218 | wxPy_END_ALLOW_THREADS; | |
219 | } Py_INCREF(Py_None); | |
220 | _resultobj = Py_None; | |
221 | return _resultobj; | |
222 | } | |
223 | ||
224 | #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies()) | |
107e4716 | 225 | static PyObject *_wrap_wxPrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
226 | PyObject * _resultobj; |
227 | int _result; | |
228 | wxPrintData * _arg0; | |
2d091820 | 229 | PyObject * _argo0 = 0; |
107e4716 | 230 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
231 | |
232 | self = self; | |
107e4716 | 233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetNoCopies",_kwnames,&_argo0)) |
d24a34bb | 234 | return NULL; |
2d091820 RD |
235 | if (_argo0) { |
236 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
237 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
238 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p."); |
239 | return NULL; | |
240 | } | |
241 | } | |
242 | { | |
243 | wxPy_BEGIN_ALLOW_THREADS; | |
244 | _result = (int )wxPrintData_GetNoCopies(_arg0); | |
245 | ||
246 | wxPy_END_ALLOW_THREADS; | |
247 | } _resultobj = Py_BuildValue("i",_result); | |
248 | return _resultobj; | |
249 | } | |
250 | ||
251 | #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate()) | |
107e4716 | 252 | static PyObject *_wrap_wxPrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
253 | PyObject * _resultobj; |
254 | bool _result; | |
255 | wxPrintData * _arg0; | |
2d091820 | 256 | PyObject * _argo0 = 0; |
107e4716 | 257 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
258 | |
259 | self = self; | |
107e4716 | 260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetCollate",_kwnames,&_argo0)) |
d24a34bb | 261 | return NULL; |
2d091820 RD |
262 | if (_argo0) { |
263 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
264 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
265 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p."); |
266 | return NULL; | |
267 | } | |
268 | } | |
269 | { | |
270 | wxPy_BEGIN_ALLOW_THREADS; | |
271 | _result = (bool )wxPrintData_GetCollate(_arg0); | |
272 | ||
273 | wxPy_END_ALLOW_THREADS; | |
274 | } _resultobj = Py_BuildValue("i",_result); | |
275 | return _resultobj; | |
276 | } | |
277 | ||
278 | #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation()) | |
107e4716 | 279 | static PyObject *_wrap_wxPrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
280 | PyObject * _resultobj; |
281 | int _result; | |
282 | wxPrintData * _arg0; | |
2d091820 | 283 | PyObject * _argo0 = 0; |
107e4716 | 284 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
285 | |
286 | self = self; | |
107e4716 | 287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetOrientation",_kwnames,&_argo0)) |
d24a34bb | 288 | return NULL; |
2d091820 RD |
289 | if (_argo0) { |
290 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
291 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
292 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p."); |
293 | return NULL; | |
294 | } | |
295 | } | |
296 | { | |
297 | wxPy_BEGIN_ALLOW_THREADS; | |
298 | _result = (int )wxPrintData_GetOrientation(_arg0); | |
299 | ||
300 | wxPy_END_ALLOW_THREADS; | |
301 | } _resultobj = Py_BuildValue("i",_result); | |
302 | return _resultobj; | |
303 | } | |
304 | ||
305 | #define wxPrintData_GetPrinterName(_swigobj) (_swigobj->GetPrinterName()) | |
107e4716 | 306 | static PyObject *_wrap_wxPrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
307 | PyObject * _resultobj; |
308 | wxString * _result; | |
309 | wxPrintData * _arg0; | |
2d091820 | 310 | PyObject * _argo0 = 0; |
107e4716 | 311 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
312 | |
313 | self = self; | |
107e4716 | 314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterName",_kwnames,&_argo0)) |
d24a34bb | 315 | return NULL; |
2d091820 RD |
316 | if (_argo0) { |
317 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
318 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
319 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterName. Expected _wxPrintData_p."); |
320 | return NULL; | |
321 | } | |
322 | } | |
323 | { | |
324 | wxPy_BEGIN_ALLOW_THREADS; | |
325 | const wxString & _result_ref = wxPrintData_GetPrinterName(_arg0); | |
326 | _result = (wxString *) &_result_ref; | |
327 | ||
328 | wxPy_END_ALLOW_THREADS; | |
329 | }{ | |
e02c03a4 | 330 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
d24a34bb RD |
331 | } |
332 | return _resultobj; | |
333 | } | |
334 | ||
335 | #define wxPrintData_GetColour(_swigobj) (_swigobj->GetColour()) | |
107e4716 | 336 | static PyObject *_wrap_wxPrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
337 | PyObject * _resultobj; |
338 | bool _result; | |
339 | wxPrintData * _arg0; | |
2d091820 | 340 | PyObject * _argo0 = 0; |
107e4716 | 341 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
342 | |
343 | self = self; | |
107e4716 | 344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetColour",_kwnames,&_argo0)) |
d24a34bb | 345 | return NULL; |
2d091820 RD |
346 | if (_argo0) { |
347 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
348 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
349 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetColour. Expected _wxPrintData_p."); |
350 | return NULL; | |
351 | } | |
352 | } | |
353 | { | |
354 | wxPy_BEGIN_ALLOW_THREADS; | |
355 | _result = (bool )wxPrintData_GetColour(_arg0); | |
356 | ||
357 | wxPy_END_ALLOW_THREADS; | |
358 | } _resultobj = Py_BuildValue("i",_result); | |
359 | return _resultobj; | |
360 | } | |
361 | ||
362 | #define wxPrintData_GetDuplex(_swigobj) (_swigobj->GetDuplex()) | |
107e4716 | 363 | static PyObject *_wrap_wxPrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
364 | PyObject * _resultobj; |
365 | wxDuplexMode _result; | |
366 | wxPrintData * _arg0; | |
2d091820 | 367 | PyObject * _argo0 = 0; |
107e4716 | 368 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
369 | |
370 | self = self; | |
107e4716 | 371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetDuplex",_kwnames,&_argo0)) |
d24a34bb | 372 | return NULL; |
2d091820 RD |
373 | if (_argo0) { |
374 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
375 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
376 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetDuplex. Expected _wxPrintData_p."); |
377 | return NULL; | |
378 | } | |
379 | } | |
380 | { | |
381 | wxPy_BEGIN_ALLOW_THREADS; | |
382 | _result = (wxDuplexMode )wxPrintData_GetDuplex(_arg0); | |
383 | ||
384 | wxPy_END_ALLOW_THREADS; | |
385 | } _resultobj = Py_BuildValue("i",_result); | |
386 | return _resultobj; | |
387 | } | |
388 | ||
389 | #define wxPrintData_GetPaperId(_swigobj) (_swigobj->GetPaperId()) | |
107e4716 | 390 | static PyObject *_wrap_wxPrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
391 | PyObject * _resultobj; |
392 | wxPaperSize _result; | |
393 | wxPrintData * _arg0; | |
2d091820 | 394 | PyObject * _argo0 = 0; |
107e4716 | 395 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
396 | |
397 | self = self; | |
107e4716 | 398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPaperId",_kwnames,&_argo0)) |
d24a34bb | 399 | return NULL; |
2d091820 RD |
400 | if (_argo0) { |
401 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
402 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
403 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPaperId. Expected _wxPrintData_p."); |
404 | return NULL; | |
405 | } | |
406 | } | |
407 | { | |
408 | wxPy_BEGIN_ALLOW_THREADS; | |
409 | _result = (wxPaperSize )wxPrintData_GetPaperId(_arg0); | |
410 | ||
411 | wxPy_END_ALLOW_THREADS; | |
412 | } _resultobj = Py_BuildValue("i",_result); | |
413 | return _resultobj; | |
414 | } | |
415 | ||
416 | #define wxPrintData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize()) | |
107e4716 | 417 | static PyObject *_wrap_wxPrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
418 | PyObject * _resultobj; |
419 | wxSize * _result; | |
420 | wxPrintData * _arg0; | |
2d091820 | 421 | PyObject * _argo0 = 0; |
107e4716 | 422 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
423 | char _ptemp[128]; |
424 | ||
425 | self = self; | |
107e4716 | 426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPaperSize",_kwnames,&_argo0)) |
d24a34bb | 427 | return NULL; |
2d091820 RD |
428 | if (_argo0) { |
429 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
430 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
431 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPaperSize. Expected _wxPrintData_p."); |
432 | return NULL; | |
433 | } | |
434 | } | |
435 | { | |
436 | wxPy_BEGIN_ALLOW_THREADS; | |
437 | const wxSize & _result_ref = wxPrintData_GetPaperSize(_arg0); | |
438 | _result = (wxSize *) &_result_ref; | |
439 | ||
440 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
441 | } if (_result) { |
442 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSize_p"); | |
443 | _resultobj = Py_BuildValue("s",_ptemp); | |
444 | } else { | |
445 | Py_INCREF(Py_None); | |
446 | _resultobj = Py_None; | |
447 | } | |
d24a34bb RD |
448 | return _resultobj; |
449 | } | |
450 | ||
451 | #define wxPrintData_GetQuality(_swigobj) (_swigobj->GetQuality()) | |
107e4716 | 452 | static PyObject *_wrap_wxPrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
453 | PyObject * _resultobj; |
454 | wxPrintQuality _result; | |
455 | wxPrintData * _arg0; | |
2d091820 | 456 | PyObject * _argo0 = 0; |
107e4716 | 457 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
458 | |
459 | self = self; | |
107e4716 | 460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetQuality",_kwnames,&_argo0)) |
d24a34bb | 461 | return NULL; |
2d091820 RD |
462 | if (_argo0) { |
463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetQuality. Expected _wxPrintData_p."); |
466 | return NULL; | |
467 | } | |
468 | } | |
469 | { | |
470 | wxPy_BEGIN_ALLOW_THREADS; | |
471 | _result = (wxPrintQuality )wxPrintData_GetQuality(_arg0); | |
472 | ||
473 | wxPy_END_ALLOW_THREADS; | |
474 | } _resultobj = Py_BuildValue("i",_result); | |
475 | return _resultobj; | |
476 | } | |
477 | ||
478 | #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0)) | |
107e4716 | 479 | static PyObject *_wrap_wxPrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
480 | PyObject * _resultobj; |
481 | wxPrintData * _arg0; | |
482 | int _arg1; | |
2d091820 | 483 | PyObject * _argo0 = 0; |
107e4716 | 484 | char *_kwnames[] = { "self","v", NULL }; |
d24a34bb RD |
485 | |
486 | self = self; | |
107e4716 | 487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetNoCopies",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 488 | return NULL; |
2d091820 RD |
489 | if (_argo0) { |
490 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
491 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
492 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p."); |
493 | return NULL; | |
494 | } | |
495 | } | |
496 | { | |
497 | wxPy_BEGIN_ALLOW_THREADS; | |
498 | wxPrintData_SetNoCopies(_arg0,_arg1); | |
499 | ||
500 | wxPy_END_ALLOW_THREADS; | |
501 | } Py_INCREF(Py_None); | |
502 | _resultobj = Py_None; | |
503 | return _resultobj; | |
504 | } | |
505 | ||
506 | #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0)) | |
107e4716 | 507 | static PyObject *_wrap_wxPrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
508 | PyObject * _resultobj; |
509 | wxPrintData * _arg0; | |
510 | bool _arg1; | |
2d091820 | 511 | PyObject * _argo0 = 0; |
d24a34bb | 512 | int tempbool1; |
107e4716 | 513 | char *_kwnames[] = { "self","flag", NULL }; |
d24a34bb RD |
514 | |
515 | self = self; | |
107e4716 | 516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetCollate",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 517 | return NULL; |
2d091820 RD |
518 | if (_argo0) { |
519 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
520 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
521 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p."); |
522 | return NULL; | |
523 | } | |
524 | } | |
525 | _arg1 = (bool ) tempbool1; | |
526 | { | |
527 | wxPy_BEGIN_ALLOW_THREADS; | |
528 | wxPrintData_SetCollate(_arg0,_arg1); | |
529 | ||
530 | wxPy_END_ALLOW_THREADS; | |
531 | } Py_INCREF(Py_None); | |
532 | _resultobj = Py_None; | |
533 | return _resultobj; | |
534 | } | |
535 | ||
536 | #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0)) | |
107e4716 | 537 | static PyObject *_wrap_wxPrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
538 | PyObject * _resultobj; |
539 | wxPrintData * _arg0; | |
540 | int _arg1; | |
2d091820 | 541 | PyObject * _argo0 = 0; |
107e4716 | 542 | char *_kwnames[] = { "self","orient", NULL }; |
d24a34bb RD |
543 | |
544 | self = self; | |
107e4716 | 545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetOrientation",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 546 | return NULL; |
2d091820 RD |
547 | if (_argo0) { |
548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p."); |
551 | return NULL; | |
552 | } | |
553 | } | |
554 | { | |
555 | wxPy_BEGIN_ALLOW_THREADS; | |
556 | wxPrintData_SetOrientation(_arg0,_arg1); | |
557 | ||
558 | wxPy_END_ALLOW_THREADS; | |
559 | } Py_INCREF(Py_None); | |
560 | _resultobj = Py_None; | |
561 | return _resultobj; | |
562 | } | |
563 | ||
564 | #define wxPrintData_SetPrinterName(_swigobj,_swigarg0) (_swigobj->SetPrinterName(_swigarg0)) | |
107e4716 | 565 | static PyObject *_wrap_wxPrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
566 | PyObject * _resultobj; |
567 | wxPrintData * _arg0; | |
568 | wxString * _arg1; | |
2d091820 | 569 | PyObject * _argo0 = 0; |
d24a34bb | 570 | PyObject * _obj1 = 0; |
107e4716 | 571 | char *_kwnames[] = { "self","name", NULL }; |
d24a34bb RD |
572 | |
573 | self = self; | |
107e4716 | 574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPrinterName",_kwnames,&_argo0,&_obj1)) |
d24a34bb | 575 | return NULL; |
2d091820 RD |
576 | if (_argo0) { |
577 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
578 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterName. Expected _wxPrintData_p."); |
580 | return NULL; | |
581 | } | |
582 | } | |
583 | { | |
2cd2fac8 RD |
584 | #if PYTHON_API_VERSION >= 1009 |
585 | char* tmpPtr; int tmpSize; | |
586 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
587 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
588 | return NULL; | |
589 | } | |
590 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
591 | return NULL; | |
592 | _arg1 = new wxString(tmpPtr, tmpSize); | |
593 | #else | |
d24a34bb RD |
594 | if (!PyString_Check(_obj1)) { |
595 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
596 | return NULL; | |
597 | } | |
2cd2fac8 RD |
598 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
599 | #endif | |
d24a34bb RD |
600 | } |
601 | { | |
602 | wxPy_BEGIN_ALLOW_THREADS; | |
603 | wxPrintData_SetPrinterName(_arg0,*_arg1); | |
604 | ||
605 | wxPy_END_ALLOW_THREADS; | |
606 | } Py_INCREF(Py_None); | |
607 | _resultobj = Py_None; | |
608 | { | |
609 | if (_obj1) | |
610 | delete _arg1; | |
611 | } | |
612 | return _resultobj; | |
613 | } | |
614 | ||
615 | #define wxPrintData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0)) | |
107e4716 | 616 | static PyObject *_wrap_wxPrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
617 | PyObject * _resultobj; |
618 | wxPrintData * _arg0; | |
619 | bool _arg1; | |
2d091820 | 620 | PyObject * _argo0 = 0; |
d24a34bb | 621 | int tempbool1; |
107e4716 | 622 | char *_kwnames[] = { "self","colour", NULL }; |
d24a34bb RD |
623 | |
624 | self = self; | |
107e4716 | 625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetColour",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 626 | return NULL; |
2d091820 RD |
627 | if (_argo0) { |
628 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
629 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetColour. Expected _wxPrintData_p."); |
631 | return NULL; | |
632 | } | |
633 | } | |
634 | _arg1 = (bool ) tempbool1; | |
635 | { | |
636 | wxPy_BEGIN_ALLOW_THREADS; | |
637 | wxPrintData_SetColour(_arg0,_arg1); | |
638 | ||
639 | wxPy_END_ALLOW_THREADS; | |
640 | } Py_INCREF(Py_None); | |
641 | _resultobj = Py_None; | |
642 | return _resultobj; | |
643 | } | |
644 | ||
645 | #define wxPrintData_SetDuplex(_swigobj,_swigarg0) (_swigobj->SetDuplex(_swigarg0)) | |
107e4716 | 646 | static PyObject *_wrap_wxPrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
647 | PyObject * _resultobj; |
648 | wxPrintData * _arg0; | |
649 | wxDuplexMode _arg1; | |
2d091820 | 650 | PyObject * _argo0 = 0; |
107e4716 | 651 | char *_kwnames[] = { "self","duplex", NULL }; |
d24a34bb RD |
652 | |
653 | self = self; | |
107e4716 | 654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetDuplex",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 655 | return NULL; |
2d091820 RD |
656 | if (_argo0) { |
657 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
658 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
659 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetDuplex. Expected _wxPrintData_p."); |
660 | return NULL; | |
661 | } | |
662 | } | |
663 | { | |
664 | wxPy_BEGIN_ALLOW_THREADS; | |
665 | wxPrintData_SetDuplex(_arg0,_arg1); | |
666 | ||
667 | wxPy_END_ALLOW_THREADS; | |
668 | } Py_INCREF(Py_None); | |
669 | _resultobj = Py_None; | |
670 | return _resultobj; | |
671 | } | |
672 | ||
673 | #define wxPrintData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0)) | |
107e4716 | 674 | static PyObject *_wrap_wxPrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
675 | PyObject * _resultobj; |
676 | wxPrintData * _arg0; | |
677 | wxPaperSize _arg1; | |
2d091820 | 678 | PyObject * _argo0 = 0; |
107e4716 | 679 | char *_kwnames[] = { "self","sizeId", NULL }; |
d24a34bb RD |
680 | |
681 | self = self; | |
107e4716 | 682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetPaperId",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 683 | return NULL; |
2d091820 RD |
684 | if (_argo0) { |
685 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
686 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
687 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPaperId. Expected _wxPrintData_p."); |
688 | return NULL; | |
689 | } | |
690 | } | |
691 | { | |
692 | wxPy_BEGIN_ALLOW_THREADS; | |
693 | wxPrintData_SetPaperId(_arg0,_arg1); | |
694 | ||
695 | wxPy_END_ALLOW_THREADS; | |
696 | } Py_INCREF(Py_None); | |
697 | _resultobj = Py_None; | |
698 | return _resultobj; | |
699 | } | |
700 | ||
701 | #define wxPrintData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0)) | |
107e4716 | 702 | static PyObject *_wrap_wxPrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
703 | PyObject * _resultobj; |
704 | wxPrintData * _arg0; | |
705 | wxSize * _arg1; | |
2d091820 | 706 | PyObject * _argo0 = 0; |
37f6a977 RD |
707 | wxSize temp; |
708 | PyObject * _obj1 = 0; | |
107e4716 | 709 | char *_kwnames[] = { "self","sz", NULL }; |
d24a34bb RD |
710 | |
711 | self = self; | |
37f6a977 | 712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPaperSize",_kwnames,&_argo0,&_obj1)) |
d24a34bb | 713 | return NULL; |
2d091820 RD |
714 | if (_argo0) { |
715 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
716 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPaperSize. Expected _wxPrintData_p."); |
718 | return NULL; | |
719 | } | |
720 | } | |
37f6a977 RD |
721 | { |
722 | _arg1 = &temp; | |
723 | if (! wxSize_helper(_obj1, &_arg1)) | |
d24a34bb | 724 | return NULL; |
37f6a977 | 725 | } |
d24a34bb RD |
726 | { |
727 | wxPy_BEGIN_ALLOW_THREADS; | |
728 | wxPrintData_SetPaperSize(_arg0,*_arg1); | |
729 | ||
730 | wxPy_END_ALLOW_THREADS; | |
731 | } Py_INCREF(Py_None); | |
732 | _resultobj = Py_None; | |
733 | return _resultobj; | |
734 | } | |
735 | ||
736 | #define wxPrintData_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0)) | |
107e4716 | 737 | static PyObject *_wrap_wxPrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
738 | PyObject * _resultobj; |
739 | wxPrintData * _arg0; | |
740 | wxPrintQuality _arg1; | |
2d091820 | 741 | PyObject * _argo0 = 0; |
107e4716 | 742 | char *_kwnames[] = { "self","quality", NULL }; |
d24a34bb RD |
743 | |
744 | self = self; | |
107e4716 | 745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintData_SetQuality",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 746 | return NULL; |
2d091820 RD |
747 | if (_argo0) { |
748 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
749 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
d24a34bb RD |
750 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetQuality. Expected _wxPrintData_p."); |
751 | return NULL; | |
752 | } | |
753 | } | |
754 | { | |
755 | wxPy_BEGIN_ALLOW_THREADS; | |
756 | wxPrintData_SetQuality(_arg0,_arg1); | |
757 | ||
758 | wxPy_END_ALLOW_THREADS; | |
759 | } Py_INCREF(Py_None); | |
760 | _resultobj = Py_None; | |
761 | return _resultobj; | |
762 | } | |
763 | ||
9e689c06 RD |
764 | #define wxPrintData_GetPrinterCommand(_swigobj) (_swigobj->GetPrinterCommand()) |
765 | static PyObject *_wrap_wxPrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
766 | PyObject * _resultobj; | |
767 | wxString * _result; | |
768 | wxPrintData * _arg0; | |
769 | PyObject * _argo0 = 0; | |
770 | char *_kwnames[] = { "self", NULL }; | |
771 | ||
772 | self = self; | |
773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterCommand",_kwnames,&_argo0)) | |
774 | return NULL; | |
775 | if (_argo0) { | |
776 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
777 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterCommand. Expected _wxPrintData_p."); | |
779 | return NULL; | |
780 | } | |
781 | } | |
782 | { | |
783 | wxPy_BEGIN_ALLOW_THREADS; | |
784 | const wxString & _result_ref = wxPrintData_GetPrinterCommand(_arg0); | |
785 | _result = (wxString *) &_result_ref; | |
786 | ||
787 | wxPy_END_ALLOW_THREADS; | |
788 | }{ | |
789 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
790 | } | |
791 | return _resultobj; | |
792 | } | |
793 | ||
794 | #define wxPrintData_GetPrinterOptions(_swigobj) (_swigobj->GetPrinterOptions()) | |
795 | static PyObject *_wrap_wxPrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
796 | PyObject * _resultobj; | |
797 | wxString * _result; | |
798 | wxPrintData * _arg0; | |
799 | PyObject * _argo0 = 0; | |
800 | char *_kwnames[] = { "self", NULL }; | |
801 | ||
802 | self = self; | |
803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterOptions",_kwnames,&_argo0)) | |
804 | return NULL; | |
805 | if (_argo0) { | |
806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterOptions. Expected _wxPrintData_p."); | |
809 | return NULL; | |
810 | } | |
811 | } | |
812 | { | |
813 | wxPy_BEGIN_ALLOW_THREADS; | |
814 | const wxString & _result_ref = wxPrintData_GetPrinterOptions(_arg0); | |
815 | _result = (wxString *) &_result_ref; | |
816 | ||
817 | wxPy_END_ALLOW_THREADS; | |
818 | }{ | |
819 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
820 | } | |
821 | return _resultobj; | |
822 | } | |
823 | ||
824 | #define wxPrintData_GetPreviewCommand(_swigobj) (_swigobj->GetPreviewCommand()) | |
825 | static PyObject *_wrap_wxPrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
826 | PyObject * _resultobj; | |
827 | wxString * _result; | |
828 | wxPrintData * _arg0; | |
829 | PyObject * _argo0 = 0; | |
830 | char *_kwnames[] = { "self", NULL }; | |
831 | ||
832 | self = self; | |
833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPreviewCommand",_kwnames,&_argo0)) | |
834 | return NULL; | |
835 | if (_argo0) { | |
836 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
837 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
838 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPreviewCommand. Expected _wxPrintData_p."); | |
839 | return NULL; | |
840 | } | |
841 | } | |
842 | { | |
843 | wxPy_BEGIN_ALLOW_THREADS; | |
844 | const wxString & _result_ref = wxPrintData_GetPreviewCommand(_arg0); | |
845 | _result = (wxString *) &_result_ref; | |
846 | ||
847 | wxPy_END_ALLOW_THREADS; | |
848 | }{ | |
849 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
850 | } | |
851 | return _resultobj; | |
852 | } | |
853 | ||
854 | #define wxPrintData_GetFilename(_swigobj) (_swigobj->GetFilename()) | |
855 | static PyObject *_wrap_wxPrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
856 | PyObject * _resultobj; | |
857 | wxString * _result; | |
858 | wxPrintData * _arg0; | |
859 | PyObject * _argo0 = 0; | |
860 | char *_kwnames[] = { "self", NULL }; | |
861 | ||
862 | self = self; | |
863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetFilename",_kwnames,&_argo0)) | |
864 | return NULL; | |
865 | if (_argo0) { | |
866 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
867 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetFilename. Expected _wxPrintData_p."); | |
869 | return NULL; | |
870 | } | |
871 | } | |
872 | { | |
873 | wxPy_BEGIN_ALLOW_THREADS; | |
874 | const wxString & _result_ref = wxPrintData_GetFilename(_arg0); | |
875 | _result = (wxString *) &_result_ref; | |
876 | ||
877 | wxPy_END_ALLOW_THREADS; | |
878 | }{ | |
879 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
880 | } | |
881 | return _resultobj; | |
882 | } | |
883 | ||
884 | #define wxPrintData_GetFontMetricPath(_swigobj) (_swigobj->GetFontMetricPath()) | |
885 | static PyObject *_wrap_wxPrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
886 | PyObject * _resultobj; | |
887 | wxString * _result; | |
888 | wxPrintData * _arg0; | |
889 | PyObject * _argo0 = 0; | |
890 | char *_kwnames[] = { "self", NULL }; | |
891 | ||
892 | self = self; | |
893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetFontMetricPath",_kwnames,&_argo0)) | |
894 | return NULL; | |
895 | if (_argo0) { | |
896 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
897 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetFontMetricPath. Expected _wxPrintData_p."); | |
899 | return NULL; | |
900 | } | |
901 | } | |
902 | { | |
903 | wxPy_BEGIN_ALLOW_THREADS; | |
904 | const wxString & _result_ref = wxPrintData_GetFontMetricPath(_arg0); | |
905 | _result = (wxString *) &_result_ref; | |
906 | ||
907 | wxPy_END_ALLOW_THREADS; | |
908 | }{ | |
909 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
910 | } | |
911 | return _resultobj; | |
912 | } | |
913 | ||
914 | #define wxPrintData_GetPrinterScaleX(_swigobj) (_swigobj->GetPrinterScaleX()) | |
915 | static PyObject *_wrap_wxPrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
916 | PyObject * _resultobj; | |
917 | double _result; | |
918 | wxPrintData * _arg0; | |
919 | PyObject * _argo0 = 0; | |
920 | char *_kwnames[] = { "self", NULL }; | |
921 | ||
922 | self = self; | |
923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterScaleX",_kwnames,&_argo0)) | |
924 | return NULL; | |
925 | if (_argo0) { | |
926 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
927 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterScaleX. Expected _wxPrintData_p."); | |
929 | return NULL; | |
930 | } | |
931 | } | |
932 | { | |
933 | wxPy_BEGIN_ALLOW_THREADS; | |
934 | _result = (double )wxPrintData_GetPrinterScaleX(_arg0); | |
935 | ||
936 | wxPy_END_ALLOW_THREADS; | |
937 | } _resultobj = Py_BuildValue("d",_result); | |
938 | return _resultobj; | |
939 | } | |
940 | ||
941 | #define wxPrintData_GetPrinterScaleY(_swigobj) (_swigobj->GetPrinterScaleY()) | |
942 | static PyObject *_wrap_wxPrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
943 | PyObject * _resultobj; | |
944 | double _result; | |
945 | wxPrintData * _arg0; | |
946 | PyObject * _argo0 = 0; | |
947 | char *_kwnames[] = { "self", NULL }; | |
948 | ||
949 | self = self; | |
950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterScaleY",_kwnames,&_argo0)) | |
951 | return NULL; | |
952 | if (_argo0) { | |
953 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
954 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
955 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterScaleY. Expected _wxPrintData_p."); | |
956 | return NULL; | |
957 | } | |
958 | } | |
959 | { | |
960 | wxPy_BEGIN_ALLOW_THREADS; | |
961 | _result = (double )wxPrintData_GetPrinterScaleY(_arg0); | |
962 | ||
963 | wxPy_END_ALLOW_THREADS; | |
964 | } _resultobj = Py_BuildValue("d",_result); | |
965 | return _resultobj; | |
966 | } | |
967 | ||
968 | #define wxPrintData_GetPrinterTranslateX(_swigobj) (_swigobj->GetPrinterTranslateX()) | |
969 | static PyObject *_wrap_wxPrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
970 | PyObject * _resultobj; | |
971 | long _result; | |
972 | wxPrintData * _arg0; | |
973 | PyObject * _argo0 = 0; | |
974 | char *_kwnames[] = { "self", NULL }; | |
975 | ||
976 | self = self; | |
977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterTranslateX",_kwnames,&_argo0)) | |
978 | return NULL; | |
979 | if (_argo0) { | |
980 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
981 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterTranslateX. Expected _wxPrintData_p."); | |
983 | return NULL; | |
984 | } | |
985 | } | |
986 | { | |
987 | wxPy_BEGIN_ALLOW_THREADS; | |
988 | _result = (long )wxPrintData_GetPrinterTranslateX(_arg0); | |
989 | ||
990 | wxPy_END_ALLOW_THREADS; | |
991 | } _resultobj = Py_BuildValue("l",_result); | |
992 | return _resultobj; | |
993 | } | |
994 | ||
995 | #define wxPrintData_GetPrinterTranslateY(_swigobj) (_swigobj->GetPrinterTranslateY()) | |
996 | static PyObject *_wrap_wxPrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
997 | PyObject * _resultobj; | |
998 | long _result; | |
999 | wxPrintData * _arg0; | |
1000 | PyObject * _argo0 = 0; | |
1001 | char *_kwnames[] = { "self", NULL }; | |
1002 | ||
1003 | self = self; | |
1004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrinterTranslateY",_kwnames,&_argo0)) | |
1005 | return NULL; | |
1006 | if (_argo0) { | |
1007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
1009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrinterTranslateY. Expected _wxPrintData_p."); | |
1010 | return NULL; | |
1011 | } | |
1012 | } | |
1013 | { | |
1014 | wxPy_BEGIN_ALLOW_THREADS; | |
1015 | _result = (long )wxPrintData_GetPrinterTranslateY(_arg0); | |
1016 | ||
1017 | wxPy_END_ALLOW_THREADS; | |
1018 | } _resultobj = Py_BuildValue("l",_result); | |
1019 | return _resultobj; | |
1020 | } | |
1021 | ||
1022 | #define wxPrintData_GetPrintMode(_swigobj) (_swigobj->GetPrintMode()) | |
1023 | static PyObject *_wrap_wxPrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1024 | PyObject * _resultobj; | |
1025 | wxPrintMode * _result; | |
1026 | wxPrintData * _arg0; | |
1027 | PyObject * _argo0 = 0; | |
1028 | char *_kwnames[] = { "self", NULL }; | |
1029 | char _ptemp[128]; | |
1030 | ||
1031 | self = self; | |
1032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintData_GetPrintMode",_kwnames,&_argo0)) | |
1033 | return NULL; | |
1034 | if (_argo0) { | |
1035 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1036 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
1037 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_GetPrintMode. Expected _wxPrintData_p."); | |
1038 | return NULL; | |
1039 | } | |
1040 | } | |
1041 | { | |
1042 | wxPy_BEGIN_ALLOW_THREADS; | |
1043 | _result = new wxPrintMode (wxPrintData_GetPrintMode(_arg0)); | |
1044 | ||
1045 | wxPy_END_ALLOW_THREADS; | |
1046 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPrintMode_p"); | |
1047 | _resultobj = Py_BuildValue("s",_ptemp); | |
1048 | return _resultobj; | |
1049 | } | |
1050 | ||
1051 | #define wxPrintData_SetPrinterCommand(_swigobj,_swigarg0) (_swigobj->SetPrinterCommand(_swigarg0)) | |
1052 | static PyObject *_wrap_wxPrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1053 | PyObject * _resultobj; | |
1054 | wxPrintData * _arg0; | |
1055 | wxString * _arg1; | |
1056 | PyObject * _argo0 = 0; | |
1057 | PyObject * _obj1 = 0; | |
1058 | char *_kwnames[] = { "self","command", NULL }; | |
1059 | ||
1060 | self = self; | |
1061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPrinterCommand",_kwnames,&_argo0,&_obj1)) | |
1062 | return NULL; | |
1063 | if (_argo0) { | |
1064 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1065 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
1066 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterCommand. Expected _wxPrintData_p."); | |
1067 | return NULL; | |
1068 | } | |
1069 | } | |
1070 | { | |
1071 | #if PYTHON_API_VERSION >= 1009 | |
1072 | char* tmpPtr; int tmpSize; | |
1073 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
1074 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
1075 | return NULL; | |
1076 | } | |
1077 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
1078 | return NULL; | |
1079 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1080 | #else | |
1081 | if (!PyString_Check(_obj1)) { | |
1082 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1083 | return NULL; | |
1084 | } | |
1085 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); | |
1086 | #endif | |
1087 | } | |
1088 | { | |
1089 | wxPy_BEGIN_ALLOW_THREADS; | |
1090 | wxPrintData_SetPrinterCommand(_arg0,*_arg1); | |
1091 | ||
1092 | wxPy_END_ALLOW_THREADS; | |
1093 | } Py_INCREF(Py_None); | |
1094 | _resultobj = Py_None; | |
1095 | { | |
1096 | if (_obj1) | |
1097 | delete _arg1; | |
1098 | } | |
1099 | return _resultobj; | |
1100 | } | |
1101 | ||
1102 | #define wxPrintData_SetPrinterOptions(_swigobj,_swigarg0) (_swigobj->SetPrinterOptions(_swigarg0)) | |
1103 | static PyObject *_wrap_wxPrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1104 | PyObject * _resultobj; | |
1105 | wxPrintData * _arg0; | |
1106 | wxString * _arg1; | |
1107 | PyObject * _argo0 = 0; | |
1108 | PyObject * _obj1 = 0; | |
1109 | char *_kwnames[] = { "self","options", NULL }; | |
1110 | ||
1111 | self = self; | |
1112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPrinterOptions",_kwnames,&_argo0,&_obj1)) | |
1113 | return NULL; | |
1114 | if (_argo0) { | |
1115 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1116 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
1117 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterOptions. Expected _wxPrintData_p."); | |
1118 | return NULL; | |
1119 | } | |
1120 | } | |
1121 | { | |
1122 | #if PYTHON_API_VERSION >= 1009 | |
1123 | char* tmpPtr; int tmpSize; | |
1124 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
1125 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
1126 | return NULL; | |
1127 | } | |
1128 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
1129 | return NULL; | |
1130 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1131 | #else | |
1132 | if (!PyString_Check(_obj1)) { | |
1133 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1134 | return NULL; | |
1135 | } | |
1136 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); | |
1137 | #endif | |
1138 | } | |
1139 | { | |
1140 | wxPy_BEGIN_ALLOW_THREADS; | |
1141 | wxPrintData_SetPrinterOptions(_arg0,*_arg1); | |
1142 | ||
1143 | wxPy_END_ALLOW_THREADS; | |
1144 | } Py_INCREF(Py_None); | |
1145 | _resultobj = Py_None; | |
1146 | { | |
1147 | if (_obj1) | |
1148 | delete _arg1; | |
1149 | } | |
1150 | return _resultobj; | |
1151 | } | |
1152 | ||
1153 | #define wxPrintData_SetPreviewCommand(_swigobj,_swigarg0) (_swigobj->SetPreviewCommand(_swigarg0)) | |
1154 | static PyObject *_wrap_wxPrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1155 | PyObject * _resultobj; | |
1156 | wxPrintData * _arg0; | |
1157 | wxString * _arg1; | |
1158 | PyObject * _argo0 = 0; | |
1159 | PyObject * _obj1 = 0; | |
1160 | char *_kwnames[] = { "self","command", NULL }; | |
1161 | ||
1162 | self = self; | |
1163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPreviewCommand",_kwnames,&_argo0,&_obj1)) | |
1164 | return NULL; | |
1165 | if (_argo0) { | |
1166 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1167 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
1168 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPreviewCommand. Expected _wxPrintData_p."); | |
1169 | return NULL; | |
1170 | } | |
1171 | } | |
1172 | { | |
1173 | #if PYTHON_API_VERSION >= 1009 | |
1174 | char* tmpPtr; int tmpSize; | |
1175 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
1176 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
1177 | return NULL; | |
1178 | } | |
1179 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
1180 | return NULL; | |
1181 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1182 | #else | |
1183 | if (!PyString_Check(_obj1)) { | |
1184 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1185 | return NULL; | |
1186 | } | |
1187 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); | |
1188 | #endif | |
1189 | } | |
1190 | { | |
1191 | wxPy_BEGIN_ALLOW_THREADS; | |
1192 | wxPrintData_SetPreviewCommand(_arg0,*_arg1); | |
1193 | ||
1194 | wxPy_END_ALLOW_THREADS; | |
1195 | } Py_INCREF(Py_None); | |
1196 | _resultobj = Py_None; | |
1197 | { | |
1198 | if (_obj1) | |
1199 | delete _arg1; | |
1200 | } | |
1201 | return _resultobj; | |
1202 | } | |
1203 | ||
1204 | #define wxPrintData_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0)) | |
1205 | static PyObject *_wrap_wxPrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1206 | PyObject * _resultobj; | |
1207 | wxPrintData * _arg0; | |
1208 | wxString * _arg1; | |
1209 | PyObject * _argo0 = 0; | |
1210 | PyObject * _obj1 = 0; | |
1211 | char *_kwnames[] = { "self","filename", NULL }; | |
1212 | ||
1213 | self = self; | |
1214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetFilename",_kwnames,&_argo0,&_obj1)) | |
1215 | return NULL; | |
1216 | if (_argo0) { | |
1217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
1219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetFilename. Expected _wxPrintData_p."); | |
1220 | return NULL; | |
1221 | } | |
1222 | } | |
1223 | { | |
1224 | #if PYTHON_API_VERSION >= 1009 | |
1225 | char* tmpPtr; int tmpSize; | |
1226 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
1227 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
1228 | return NULL; | |
1229 | } | |
1230 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
1231 | return NULL; | |
1232 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1233 | #else | |
1234 | if (!PyString_Check(_obj1)) { | |
1235 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1236 | return NULL; | |
1237 | } | |
1238 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); | |
1239 | #endif | |
1240 | } | |
1241 | { | |
1242 | wxPy_BEGIN_ALLOW_THREADS; | |
1243 | wxPrintData_SetFilename(_arg0,*_arg1); | |
1244 | ||
1245 | wxPy_END_ALLOW_THREADS; | |
1246 | } Py_INCREF(Py_None); | |
1247 | _resultobj = Py_None; | |
1248 | { | |
1249 | if (_obj1) | |
1250 | delete _arg1; | |
1251 | } | |
1252 | return _resultobj; | |
1253 | } | |
1254 | ||
1255 | #define wxPrintData_SetFontMetricPath(_swigobj,_swigarg0) (_swigobj->SetFontMetricPath(_swigarg0)) | |
1256 | static PyObject *_wrap_wxPrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1257 | PyObject * _resultobj; | |
1258 | wxPrintData * _arg0; | |
1259 | wxString * _arg1; | |
1260 | PyObject * _argo0 = 0; | |
1261 | PyObject * _obj1 = 0; | |
1262 | char *_kwnames[] = { "self","path", NULL }; | |
1263 | ||
1264 | self = self; | |
1265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetFontMetricPath",_kwnames,&_argo0,&_obj1)) | |
1266 | return NULL; | |
1267 | if (_argo0) { | |
1268 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1269 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
1270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetFontMetricPath. Expected _wxPrintData_p."); | |
1271 | return NULL; | |
1272 | } | |
1273 | } | |
1274 | { | |
1275 | #if PYTHON_API_VERSION >= 1009 | |
1276 | char* tmpPtr; int tmpSize; | |
1277 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
1278 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
1279 | return NULL; | |
1280 | } | |
1281 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
1282 | return NULL; | |
1283 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1284 | #else | |
1285 | if (!PyString_Check(_obj1)) { | |
1286 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1287 | return NULL; | |
1288 | } | |
1289 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); | |
1290 | #endif | |
1291 | } | |
1292 | { | |
1293 | wxPy_BEGIN_ALLOW_THREADS; | |
1294 | wxPrintData_SetFontMetricPath(_arg0,*_arg1); | |
1295 | ||
1296 | wxPy_END_ALLOW_THREADS; | |
1297 | } Py_INCREF(Py_None); | |
1298 | _resultobj = Py_None; | |
1299 | { | |
1300 | if (_obj1) | |
1301 | delete _arg1; | |
1302 | } | |
1303 | return _resultobj; | |
1304 | } | |
1305 | ||
1306 | #define wxPrintData_SetPrinterScaleX(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleX(_swigarg0)) | |
1307 | static PyObject *_wrap_wxPrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1308 | PyObject * _resultobj; | |
1309 | wxPrintData * _arg0; | |
1310 | double _arg1; | |
1311 | PyObject * _argo0 = 0; | |
1312 | char *_kwnames[] = { "self","x", NULL }; | |
1313 | ||
1314 | self = self; | |
1315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPrintData_SetPrinterScaleX",_kwnames,&_argo0,&_arg1)) | |
1316 | return NULL; | |
1317 | if (_argo0) { | |
1318 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1319 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
1320 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterScaleX. Expected _wxPrintData_p."); | |
1321 | return NULL; | |
1322 | } | |
1323 | } | |
1324 | { | |
1325 | wxPy_BEGIN_ALLOW_THREADS; | |
1326 | wxPrintData_SetPrinterScaleX(_arg0,_arg1); | |
1327 | ||
1328 | wxPy_END_ALLOW_THREADS; | |
1329 | } Py_INCREF(Py_None); | |
1330 | _resultobj = Py_None; | |
1331 | return _resultobj; | |
1332 | } | |
1333 | ||
1334 | #define wxPrintData_SetPrinterScaleY(_swigobj,_swigarg0) (_swigobj->SetPrinterScaleY(_swigarg0)) | |
1335 | static PyObject *_wrap_wxPrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1336 | PyObject * _resultobj; | |
1337 | wxPrintData * _arg0; | |
1338 | double _arg1; | |
1339 | PyObject * _argo0 = 0; | |
1340 | char *_kwnames[] = { "self","y", NULL }; | |
1341 | ||
1342 | self = self; | |
1343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPrintData_SetPrinterScaleY",_kwnames,&_argo0,&_arg1)) | |
1344 | return NULL; | |
1345 | if (_argo0) { | |
1346 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1347 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
1348 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterScaleY. Expected _wxPrintData_p."); | |
1349 | return NULL; | |
1350 | } | |
1351 | } | |
1352 | { | |
1353 | wxPy_BEGIN_ALLOW_THREADS; | |
1354 | wxPrintData_SetPrinterScaleY(_arg0,_arg1); | |
1355 | ||
1356 | wxPy_END_ALLOW_THREADS; | |
1357 | } Py_INCREF(Py_None); | |
1358 | _resultobj = Py_None; | |
1359 | return _resultobj; | |
1360 | } | |
1361 | ||
1362 | #define wxPrintData_SetPrinterScaling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterScaling(_swigarg0,_swigarg1)) | |
1363 | static PyObject *_wrap_wxPrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1364 | PyObject * _resultobj; | |
1365 | wxPrintData * _arg0; | |
1366 | double _arg1; | |
1367 | double _arg2; | |
1368 | PyObject * _argo0 = 0; | |
1369 | char *_kwnames[] = { "self","x","y", NULL }; | |
1370 | ||
1371 | self = self; | |
1372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPrintData_SetPrinterScaling",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1373 | return NULL; | |
1374 | if (_argo0) { | |
1375 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1376 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
1377 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterScaling. Expected _wxPrintData_p."); | |
1378 | return NULL; | |
1379 | } | |
1380 | } | |
1381 | { | |
1382 | wxPy_BEGIN_ALLOW_THREADS; | |
1383 | wxPrintData_SetPrinterScaling(_arg0,_arg1,_arg2); | |
1384 | ||
1385 | wxPy_END_ALLOW_THREADS; | |
1386 | } Py_INCREF(Py_None); | |
1387 | _resultobj = Py_None; | |
1388 | return _resultobj; | |
1389 | } | |
1390 | ||
1391 | #define wxPrintData_SetPrinterTranslateX(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateX(_swigarg0)) | |
1392 | static PyObject *_wrap_wxPrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1393 | PyObject * _resultobj; | |
1394 | wxPrintData * _arg0; | |
1395 | long _arg1; | |
1396 | PyObject * _argo0 = 0; | |
1397 | char *_kwnames[] = { "self","x", NULL }; | |
1398 | ||
1399 | self = self; | |
1400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPrintData_SetPrinterTranslateX",_kwnames,&_argo0,&_arg1)) | |
1401 | return NULL; | |
1402 | if (_argo0) { | |
1403 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1404 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
1405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterTranslateX. Expected _wxPrintData_p."); | |
1406 | return NULL; | |
1407 | } | |
1408 | } | |
1409 | { | |
1410 | wxPy_BEGIN_ALLOW_THREADS; | |
1411 | wxPrintData_SetPrinterTranslateX(_arg0,_arg1); | |
1412 | ||
1413 | wxPy_END_ALLOW_THREADS; | |
1414 | } Py_INCREF(Py_None); | |
1415 | _resultobj = Py_None; | |
1416 | return _resultobj; | |
1417 | } | |
1418 | ||
1419 | #define wxPrintData_SetPrinterTranslateY(_swigobj,_swigarg0) (_swigobj->SetPrinterTranslateY(_swigarg0)) | |
1420 | static PyObject *_wrap_wxPrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1421 | PyObject * _resultobj; | |
1422 | wxPrintData * _arg0; | |
1423 | long _arg1; | |
1424 | PyObject * _argo0 = 0; | |
1425 | char *_kwnames[] = { "self","y", NULL }; | |
1426 | ||
1427 | self = self; | |
1428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPrintData_SetPrinterTranslateY",_kwnames,&_argo0,&_arg1)) | |
1429 | return NULL; | |
1430 | if (_argo0) { | |
1431 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1432 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
1433 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterTranslateY. Expected _wxPrintData_p."); | |
1434 | return NULL; | |
1435 | } | |
1436 | } | |
1437 | { | |
1438 | wxPy_BEGIN_ALLOW_THREADS; | |
1439 | wxPrintData_SetPrinterTranslateY(_arg0,_arg1); | |
1440 | ||
1441 | wxPy_END_ALLOW_THREADS; | |
1442 | } Py_INCREF(Py_None); | |
1443 | _resultobj = Py_None; | |
1444 | return _resultobj; | |
1445 | } | |
1446 | ||
1447 | #define wxPrintData_SetPrinterTranslation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPrinterTranslation(_swigarg0,_swigarg1)) | |
1448 | static PyObject *_wrap_wxPrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1449 | PyObject * _resultobj; | |
1450 | wxPrintData * _arg0; | |
1451 | long _arg1; | |
1452 | long _arg2; | |
1453 | PyObject * _argo0 = 0; | |
1454 | char *_kwnames[] = { "self","x","y", NULL }; | |
1455 | ||
1456 | self = self; | |
1457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxPrintData_SetPrinterTranslation",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1458 | return NULL; | |
1459 | if (_argo0) { | |
1460 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1461 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
1462 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrinterTranslation. Expected _wxPrintData_p."); | |
1463 | return NULL; | |
1464 | } | |
1465 | } | |
1466 | { | |
1467 | wxPy_BEGIN_ALLOW_THREADS; | |
1468 | wxPrintData_SetPrinterTranslation(_arg0,_arg1,_arg2); | |
1469 | ||
1470 | wxPy_END_ALLOW_THREADS; | |
1471 | } Py_INCREF(Py_None); | |
1472 | _resultobj = Py_None; | |
1473 | return _resultobj; | |
1474 | } | |
1475 | ||
1476 | #define wxPrintData_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0)) | |
1477 | static PyObject *_wrap_wxPrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1478 | PyObject * _resultobj; | |
1479 | wxPrintData * _arg0; | |
1480 | wxPrintMode * _arg1; | |
1481 | PyObject * _argo0 = 0; | |
1482 | PyObject * _argo1 = 0; | |
1483 | char *_kwnames[] = { "self","printMode", NULL }; | |
1484 | ||
1485 | self = self; | |
1486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPrintMode",_kwnames,&_argo0,&_argo1)) | |
1487 | return NULL; | |
1488 | if (_argo0) { | |
1489 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1490 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintData_p")) { | |
1491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintData_SetPrintMode. Expected _wxPrintData_p."); | |
1492 | return NULL; | |
1493 | } | |
1494 | } | |
1495 | if (_argo1) { | |
1496 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1497 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintMode_p")) { | |
1498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintData_SetPrintMode. Expected _wxPrintMode_p."); | |
1499 | return NULL; | |
1500 | } | |
1501 | } | |
1502 | { | |
1503 | wxPy_BEGIN_ALLOW_THREADS; | |
1504 | wxPrintData_SetPrintMode(_arg0,*_arg1); | |
1505 | ||
1506 | wxPy_END_ALLOW_THREADS; | |
1507 | } Py_INCREF(Py_None); | |
1508 | _resultobj = Py_None; | |
1509 | return _resultobj; | |
1510 | } | |
1511 | ||
d24a34bb | 1512 | #define new_wxPageSetupDialogData() (new wxPageSetupDialogData()) |
107e4716 | 1513 | static PyObject *_wrap_new_wxPageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1514 | PyObject * _resultobj; |
1515 | wxPageSetupDialogData * _result; | |
107e4716 | 1516 | char *_kwnames[] = { NULL }; |
d24a34bb RD |
1517 | char _ptemp[128]; |
1518 | ||
1519 | self = self; | |
107e4716 | 1520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPageSetupDialogData",_kwnames)) |
d24a34bb RD |
1521 | return NULL; |
1522 | { | |
1523 | wxPy_BEGIN_ALLOW_THREADS; | |
1524 | _result = (wxPageSetupDialogData *)new_wxPageSetupDialogData(); | |
1525 | ||
1526 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1527 | } if (_result) { |
1528 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialogData_p"); | |
1529 | _resultobj = Py_BuildValue("s",_ptemp); | |
1530 | } else { | |
1531 | Py_INCREF(Py_None); | |
1532 | _resultobj = Py_None; | |
1533 | } | |
d24a34bb RD |
1534 | return _resultobj; |
1535 | } | |
1536 | ||
1537 | #define delete_wxPageSetupDialogData(_swigobj) (delete _swigobj) | |
107e4716 | 1538 | static PyObject *_wrap_delete_wxPageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1539 | PyObject * _resultobj; |
1540 | wxPageSetupDialogData * _arg0; | |
2d091820 | 1541 | PyObject * _argo0 = 0; |
107e4716 | 1542 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
1543 | |
1544 | self = self; | |
107e4716 | 1545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPageSetupDialogData",_kwnames,&_argo0)) |
d24a34bb | 1546 | return NULL; |
2d091820 RD |
1547 | if (_argo0) { |
1548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPageSetupDialogData. Expected _wxPageSetupDialogData_p."); |
1551 | return NULL; | |
1552 | } | |
1553 | } | |
1554 | { | |
1555 | wxPy_BEGIN_ALLOW_THREADS; | |
1556 | delete_wxPageSetupDialogData(_arg0); | |
1557 | ||
1558 | wxPy_END_ALLOW_THREADS; | |
1559 | } Py_INCREF(Py_None); | |
1560 | _resultobj = Py_None; | |
1561 | return _resultobj; | |
1562 | } | |
1563 | ||
1564 | #define wxPageSetupDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0)) | |
107e4716 | 1565 | static PyObject *_wrap_wxPageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1566 | PyObject * _resultobj; |
1567 | wxPageSetupDialogData * _arg0; | |
1568 | bool _arg1; | |
2d091820 | 1569 | PyObject * _argo0 = 0; |
d24a34bb | 1570 | int tempbool1; |
107e4716 | 1571 | char *_kwnames[] = { "self","flag", NULL }; |
d24a34bb RD |
1572 | |
1573 | self = self; | |
107e4716 | 1574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnableHelp",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 1575 | return NULL; |
2d091820 RD |
1576 | if (_argo0) { |
1577 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1578 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnableHelp. Expected _wxPageSetupDialogData_p."); |
1580 | return NULL; | |
1581 | } | |
1582 | } | |
1583 | _arg1 = (bool ) tempbool1; | |
1584 | { | |
1585 | wxPy_BEGIN_ALLOW_THREADS; | |
1586 | wxPageSetupDialogData_EnableHelp(_arg0,_arg1); | |
1587 | ||
1588 | wxPy_END_ALLOW_THREADS; | |
1589 | } Py_INCREF(Py_None); | |
1590 | _resultobj = Py_None; | |
1591 | return _resultobj; | |
1592 | } | |
1593 | ||
1594 | #define wxPageSetupDialogData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0)) | |
107e4716 | 1595 | static PyObject *_wrap_wxPageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1596 | PyObject * _resultobj; |
1597 | wxPageSetupDialogData * _arg0; | |
1598 | bool _arg1; | |
2d091820 | 1599 | PyObject * _argo0 = 0; |
d24a34bb | 1600 | int tempbool1; |
107e4716 | 1601 | char *_kwnames[] = { "self","flag", NULL }; |
d24a34bb RD |
1602 | |
1603 | self = self; | |
107e4716 | 1604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnableMargins",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 1605 | return NULL; |
2d091820 RD |
1606 | if (_argo0) { |
1607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnableMargins. Expected _wxPageSetupDialogData_p."); |
1610 | return NULL; | |
1611 | } | |
1612 | } | |
1613 | _arg1 = (bool ) tempbool1; | |
1614 | { | |
1615 | wxPy_BEGIN_ALLOW_THREADS; | |
1616 | wxPageSetupDialogData_EnableMargins(_arg0,_arg1); | |
1617 | ||
1618 | wxPy_END_ALLOW_THREADS; | |
1619 | } Py_INCREF(Py_None); | |
1620 | _resultobj = Py_None; | |
1621 | return _resultobj; | |
1622 | } | |
1623 | ||
1624 | #define wxPageSetupDialogData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0)) | |
107e4716 | 1625 | static PyObject *_wrap_wxPageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1626 | PyObject * _resultobj; |
1627 | wxPageSetupDialogData * _arg0; | |
1628 | bool _arg1; | |
2d091820 | 1629 | PyObject * _argo0 = 0; |
d24a34bb | 1630 | int tempbool1; |
107e4716 | 1631 | char *_kwnames[] = { "self","flag", NULL }; |
d24a34bb RD |
1632 | |
1633 | self = self; | |
107e4716 | 1634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnableOrientation",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 1635 | return NULL; |
2d091820 RD |
1636 | if (_argo0) { |
1637 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1638 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnableOrientation. Expected _wxPageSetupDialogData_p."); |
1640 | return NULL; | |
1641 | } | |
1642 | } | |
1643 | _arg1 = (bool ) tempbool1; | |
1644 | { | |
1645 | wxPy_BEGIN_ALLOW_THREADS; | |
1646 | wxPageSetupDialogData_EnableOrientation(_arg0,_arg1); | |
1647 | ||
1648 | wxPy_END_ALLOW_THREADS; | |
1649 | } Py_INCREF(Py_None); | |
1650 | _resultobj = Py_None; | |
1651 | return _resultobj; | |
1652 | } | |
1653 | ||
1654 | #define wxPageSetupDialogData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0)) | |
107e4716 | 1655 | static PyObject *_wrap_wxPageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1656 | PyObject * _resultobj; |
1657 | wxPageSetupDialogData * _arg0; | |
1658 | bool _arg1; | |
2d091820 | 1659 | PyObject * _argo0 = 0; |
d24a34bb | 1660 | int tempbool1; |
107e4716 | 1661 | char *_kwnames[] = { "self","flag", NULL }; |
d24a34bb RD |
1662 | |
1663 | self = self; | |
107e4716 | 1664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnablePaper",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 1665 | return NULL; |
2d091820 RD |
1666 | if (_argo0) { |
1667 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1668 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1669 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnablePaper. Expected _wxPageSetupDialogData_p."); |
1670 | return NULL; | |
1671 | } | |
1672 | } | |
1673 | _arg1 = (bool ) tempbool1; | |
1674 | { | |
1675 | wxPy_BEGIN_ALLOW_THREADS; | |
1676 | wxPageSetupDialogData_EnablePaper(_arg0,_arg1); | |
1677 | ||
1678 | wxPy_END_ALLOW_THREADS; | |
1679 | } Py_INCREF(Py_None); | |
1680 | _resultobj = Py_None; | |
1681 | return _resultobj; | |
1682 | } | |
1683 | ||
1684 | #define wxPageSetupDialogData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0)) | |
107e4716 | 1685 | static PyObject *_wrap_wxPageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1686 | PyObject * _resultobj; |
1687 | wxPageSetupDialogData * _arg0; | |
1688 | bool _arg1; | |
2d091820 | 1689 | PyObject * _argo0 = 0; |
d24a34bb | 1690 | int tempbool1; |
107e4716 | 1691 | char *_kwnames[] = { "self","flag", NULL }; |
d24a34bb RD |
1692 | |
1693 | self = self; | |
107e4716 | 1694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_EnablePrinter",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 1695 | return NULL; |
2d091820 RD |
1696 | if (_argo0) { |
1697 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1698 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1699 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_EnablePrinter. Expected _wxPageSetupDialogData_p."); |
1700 | return NULL; | |
1701 | } | |
1702 | } | |
1703 | _arg1 = (bool ) tempbool1; | |
1704 | { | |
1705 | wxPy_BEGIN_ALLOW_THREADS; | |
1706 | wxPageSetupDialogData_EnablePrinter(_arg0,_arg1); | |
1707 | ||
1708 | wxPy_END_ALLOW_THREADS; | |
1709 | } Py_INCREF(Py_None); | |
1710 | _resultobj = Py_None; | |
1711 | return _resultobj; | |
1712 | } | |
1713 | ||
1714 | #define wxPageSetupDialogData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins()) | |
107e4716 | 1715 | static PyObject *_wrap_wxPageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1716 | PyObject * _resultobj; |
1717 | bool _result; | |
1718 | wxPageSetupDialogData * _arg0; | |
2d091820 | 1719 | PyObject * _argo0 = 0; |
107e4716 | 1720 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
1721 | |
1722 | self = self; | |
107e4716 | 1723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetDefaultMinMargins",_kwnames,&_argo0)) |
d24a34bb | 1724 | return NULL; |
2d091820 RD |
1725 | if (_argo0) { |
1726 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1727 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultMinMargins. Expected _wxPageSetupDialogData_p."); |
1729 | return NULL; | |
1730 | } | |
1731 | } | |
1732 | { | |
1733 | wxPy_BEGIN_ALLOW_THREADS; | |
1734 | _result = (bool )wxPageSetupDialogData_GetDefaultMinMargins(_arg0); | |
1735 | ||
1736 | wxPy_END_ALLOW_THREADS; | |
1737 | } _resultobj = Py_BuildValue("i",_result); | |
1738 | return _resultobj; | |
1739 | } | |
1740 | ||
1741 | #define wxPageSetupDialogData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins()) | |
107e4716 | 1742 | static PyObject *_wrap_wxPageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1743 | PyObject * _resultobj; |
1744 | bool _result; | |
1745 | wxPageSetupDialogData * _arg0; | |
2d091820 | 1746 | PyObject * _argo0 = 0; |
107e4716 | 1747 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
1748 | |
1749 | self = self; | |
107e4716 | 1750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnableMargins",_kwnames,&_argo0)) |
d24a34bb | 1751 | return NULL; |
2d091820 RD |
1752 | if (_argo0) { |
1753 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1754 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnableMargins. Expected _wxPageSetupDialogData_p."); |
1756 | return NULL; | |
1757 | } | |
1758 | } | |
1759 | { | |
1760 | wxPy_BEGIN_ALLOW_THREADS; | |
1761 | _result = (bool )wxPageSetupDialogData_GetEnableMargins(_arg0); | |
1762 | ||
1763 | wxPy_END_ALLOW_THREADS; | |
1764 | } _resultobj = Py_BuildValue("i",_result); | |
1765 | return _resultobj; | |
1766 | } | |
1767 | ||
1768 | #define wxPageSetupDialogData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation()) | |
107e4716 | 1769 | static PyObject *_wrap_wxPageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1770 | PyObject * _resultobj; |
1771 | bool _result; | |
1772 | wxPageSetupDialogData * _arg0; | |
2d091820 | 1773 | PyObject * _argo0 = 0; |
107e4716 | 1774 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
1775 | |
1776 | self = self; | |
107e4716 | 1777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnableOrientation",_kwnames,&_argo0)) |
d24a34bb | 1778 | return NULL; |
2d091820 RD |
1779 | if (_argo0) { |
1780 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1781 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1782 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnableOrientation. Expected _wxPageSetupDialogData_p."); |
1783 | return NULL; | |
1784 | } | |
1785 | } | |
1786 | { | |
1787 | wxPy_BEGIN_ALLOW_THREADS; | |
1788 | _result = (bool )wxPageSetupDialogData_GetEnableOrientation(_arg0); | |
1789 | ||
1790 | wxPy_END_ALLOW_THREADS; | |
1791 | } _resultobj = Py_BuildValue("i",_result); | |
1792 | return _resultobj; | |
1793 | } | |
1794 | ||
1795 | #define wxPageSetupDialogData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper()) | |
107e4716 | 1796 | static PyObject *_wrap_wxPageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1797 | PyObject * _resultobj; |
1798 | bool _result; | |
1799 | wxPageSetupDialogData * _arg0; | |
2d091820 | 1800 | PyObject * _argo0 = 0; |
107e4716 | 1801 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
1802 | |
1803 | self = self; | |
107e4716 | 1804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnablePaper",_kwnames,&_argo0)) |
d24a34bb | 1805 | return NULL; |
2d091820 RD |
1806 | if (_argo0) { |
1807 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1808 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePaper. Expected _wxPageSetupDialogData_p."); |
1810 | return NULL; | |
1811 | } | |
1812 | } | |
1813 | { | |
1814 | wxPy_BEGIN_ALLOW_THREADS; | |
1815 | _result = (bool )wxPageSetupDialogData_GetEnablePaper(_arg0); | |
1816 | ||
1817 | wxPy_END_ALLOW_THREADS; | |
1818 | } _resultobj = Py_BuildValue("i",_result); | |
1819 | return _resultobj; | |
1820 | } | |
1821 | ||
1822 | #define wxPageSetupDialogData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter()) | |
107e4716 | 1823 | static PyObject *_wrap_wxPageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1824 | PyObject * _resultobj; |
1825 | bool _result; | |
1826 | wxPageSetupDialogData * _arg0; | |
2d091820 | 1827 | PyObject * _argo0 = 0; |
107e4716 | 1828 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
1829 | |
1830 | self = self; | |
107e4716 | 1831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnablePrinter",_kwnames,&_argo0)) |
d24a34bb | 1832 | return NULL; |
2d091820 RD |
1833 | if (_argo0) { |
1834 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1835 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1836 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnablePrinter. Expected _wxPageSetupDialogData_p."); |
1837 | return NULL; | |
1838 | } | |
1839 | } | |
1840 | { | |
1841 | wxPy_BEGIN_ALLOW_THREADS; | |
1842 | _result = (bool )wxPageSetupDialogData_GetEnablePrinter(_arg0); | |
1843 | ||
1844 | wxPy_END_ALLOW_THREADS; | |
1845 | } _resultobj = Py_BuildValue("i",_result); | |
1846 | return _resultobj; | |
1847 | } | |
1848 | ||
1849 | #define wxPageSetupDialogData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp()) | |
107e4716 | 1850 | static PyObject *_wrap_wxPageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1851 | PyObject * _resultobj; |
1852 | bool _result; | |
1853 | wxPageSetupDialogData * _arg0; | |
2d091820 | 1854 | PyObject * _argo0 = 0; |
107e4716 | 1855 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
1856 | |
1857 | self = self; | |
107e4716 | 1858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetEnableHelp",_kwnames,&_argo0)) |
d24a34bb | 1859 | return NULL; |
2d091820 RD |
1860 | if (_argo0) { |
1861 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1862 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1863 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetEnableHelp. Expected _wxPageSetupDialogData_p."); |
1864 | return NULL; | |
1865 | } | |
1866 | } | |
1867 | { | |
1868 | wxPy_BEGIN_ALLOW_THREADS; | |
1869 | _result = (bool )wxPageSetupDialogData_GetEnableHelp(_arg0); | |
1870 | ||
1871 | wxPy_END_ALLOW_THREADS; | |
1872 | } _resultobj = Py_BuildValue("i",_result); | |
1873 | return _resultobj; | |
1874 | } | |
1875 | ||
1876 | #define wxPageSetupDialogData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo()) | |
107e4716 | 1877 | static PyObject *_wrap_wxPageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1878 | PyObject * _resultobj; |
1879 | bool _result; | |
1880 | wxPageSetupDialogData * _arg0; | |
2d091820 | 1881 | PyObject * _argo0 = 0; |
107e4716 | 1882 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
1883 | |
1884 | self = self; | |
107e4716 | 1885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetDefaultInfo",_kwnames,&_argo0)) |
d24a34bb | 1886 | return NULL; |
2d091820 RD |
1887 | if (_argo0) { |
1888 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1889 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetDefaultInfo. Expected _wxPageSetupDialogData_p."); |
1891 | return NULL; | |
1892 | } | |
1893 | } | |
1894 | { | |
1895 | wxPy_BEGIN_ALLOW_THREADS; | |
1896 | _result = (bool )wxPageSetupDialogData_GetDefaultInfo(_arg0); | |
1897 | ||
1898 | wxPy_END_ALLOW_THREADS; | |
1899 | } _resultobj = Py_BuildValue("i",_result); | |
1900 | return _resultobj; | |
1901 | } | |
1902 | ||
1903 | #define wxPageSetupDialogData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft()) | |
107e4716 | 1904 | static PyObject *_wrap_wxPageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1905 | PyObject * _resultobj; |
1906 | wxPoint * _result; | |
1907 | wxPageSetupDialogData * _arg0; | |
2d091820 | 1908 | PyObject * _argo0 = 0; |
107e4716 | 1909 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
1910 | char _ptemp[128]; |
1911 | ||
1912 | self = self; | |
107e4716 | 1913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMarginTopLeft",_kwnames,&_argo0)) |
d24a34bb | 1914 | return NULL; |
2d091820 RD |
1915 | if (_argo0) { |
1916 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1917 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMarginTopLeft. Expected _wxPageSetupDialogData_p."); |
1919 | return NULL; | |
1920 | } | |
1921 | } | |
1922 | { | |
1923 | wxPy_BEGIN_ALLOW_THREADS; | |
1924 | _result = new wxPoint (wxPageSetupDialogData_GetMarginTopLeft(_arg0)); | |
1925 | ||
1926 | wxPy_END_ALLOW_THREADS; | |
1927 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
1928 | _resultobj = Py_BuildValue("s",_ptemp); | |
1929 | return _resultobj; | |
1930 | } | |
1931 | ||
1932 | #define wxPageSetupDialogData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight()) | |
107e4716 | 1933 | static PyObject *_wrap_wxPageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1934 | PyObject * _resultobj; |
1935 | wxPoint * _result; | |
1936 | wxPageSetupDialogData * _arg0; | |
2d091820 | 1937 | PyObject * _argo0 = 0; |
107e4716 | 1938 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
1939 | char _ptemp[128]; |
1940 | ||
1941 | self = self; | |
107e4716 | 1942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMarginBottomRight",_kwnames,&_argo0)) |
d24a34bb | 1943 | return NULL; |
2d091820 RD |
1944 | if (_argo0) { |
1945 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1946 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1947 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMarginBottomRight. Expected _wxPageSetupDialogData_p."); |
1948 | return NULL; | |
1949 | } | |
1950 | } | |
1951 | { | |
1952 | wxPy_BEGIN_ALLOW_THREADS; | |
1953 | _result = new wxPoint (wxPageSetupDialogData_GetMarginBottomRight(_arg0)); | |
1954 | ||
1955 | wxPy_END_ALLOW_THREADS; | |
1956 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
1957 | _resultobj = Py_BuildValue("s",_ptemp); | |
1958 | return _resultobj; | |
1959 | } | |
1960 | ||
1961 | #define wxPageSetupDialogData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft()) | |
107e4716 | 1962 | static PyObject *_wrap_wxPageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1963 | PyObject * _resultobj; |
1964 | wxPoint * _result; | |
1965 | wxPageSetupDialogData * _arg0; | |
2d091820 | 1966 | PyObject * _argo0 = 0; |
107e4716 | 1967 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
1968 | char _ptemp[128]; |
1969 | ||
1970 | self = self; | |
107e4716 | 1971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMinMarginTopLeft",_kwnames,&_argo0)) |
d24a34bb | 1972 | return NULL; |
2d091820 RD |
1973 | if (_argo0) { |
1974 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1975 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
1976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginTopLeft. Expected _wxPageSetupDialogData_p."); |
1977 | return NULL; | |
1978 | } | |
1979 | } | |
1980 | { | |
1981 | wxPy_BEGIN_ALLOW_THREADS; | |
1982 | _result = new wxPoint (wxPageSetupDialogData_GetMinMarginTopLeft(_arg0)); | |
1983 | ||
1984 | wxPy_END_ALLOW_THREADS; | |
1985 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
1986 | _resultobj = Py_BuildValue("s",_ptemp); | |
1987 | return _resultobj; | |
1988 | } | |
1989 | ||
1990 | #define wxPageSetupDialogData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight()) | |
107e4716 | 1991 | static PyObject *_wrap_wxPageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1992 | PyObject * _resultobj; |
1993 | wxPoint * _result; | |
1994 | wxPageSetupDialogData * _arg0; | |
2d091820 | 1995 | PyObject * _argo0 = 0; |
107e4716 | 1996 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
1997 | char _ptemp[128]; |
1998 | ||
1999 | self = self; | |
107e4716 | 2000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetMinMarginBottomRight",_kwnames,&_argo0)) |
d24a34bb | 2001 | return NULL; |
2d091820 RD |
2002 | if (_argo0) { |
2003 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2004 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
2005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetMinMarginBottomRight. Expected _wxPageSetupDialogData_p."); |
2006 | return NULL; | |
2007 | } | |
2008 | } | |
2009 | { | |
2010 | wxPy_BEGIN_ALLOW_THREADS; | |
2011 | _result = new wxPoint (wxPageSetupDialogData_GetMinMarginBottomRight(_arg0)); | |
2012 | ||
2013 | wxPy_END_ALLOW_THREADS; | |
2014 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
2015 | _resultobj = Py_BuildValue("s",_ptemp); | |
2016 | return _resultobj; | |
2017 | } | |
2018 | ||
2019 | #define wxPageSetupDialogData_GetPaperId(_swigobj) (_swigobj->GetPaperId()) | |
107e4716 | 2020 | static PyObject *_wrap_wxPageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2021 | PyObject * _resultobj; |
2022 | wxPaperSize _result; | |
2023 | wxPageSetupDialogData * _arg0; | |
2d091820 | 2024 | PyObject * _argo0 = 0; |
107e4716 | 2025 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
2026 | |
2027 | self = self; | |
107e4716 | 2028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetPaperId",_kwnames,&_argo0)) |
d24a34bb | 2029 | return NULL; |
2d091820 RD |
2030 | if (_argo0) { |
2031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
2033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetPaperId. Expected _wxPageSetupDialogData_p."); |
2034 | return NULL; | |
2035 | } | |
2036 | } | |
2037 | { | |
2038 | wxPy_BEGIN_ALLOW_THREADS; | |
2039 | _result = (wxPaperSize )wxPageSetupDialogData_GetPaperId(_arg0); | |
2040 | ||
2041 | wxPy_END_ALLOW_THREADS; | |
2042 | } _resultobj = Py_BuildValue("i",_result); | |
2043 | return _resultobj; | |
2044 | } | |
2045 | ||
2046 | #define wxPageSetupDialogData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize()) | |
107e4716 | 2047 | static PyObject *_wrap_wxPageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2048 | PyObject * _resultobj; |
2049 | wxSize * _result; | |
2050 | wxPageSetupDialogData * _arg0; | |
2d091820 | 2051 | PyObject * _argo0 = 0; |
107e4716 | 2052 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
2053 | char _ptemp[128]; |
2054 | ||
2055 | self = self; | |
107e4716 | 2056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetPaperSize",_kwnames,&_argo0)) |
d24a34bb | 2057 | return NULL; |
2d091820 RD |
2058 | if (_argo0) { |
2059 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2060 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
2061 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetPaperSize. Expected _wxPageSetupDialogData_p."); |
2062 | return NULL; | |
2063 | } | |
2064 | } | |
2065 | { | |
2066 | wxPy_BEGIN_ALLOW_THREADS; | |
2067 | _result = new wxSize (wxPageSetupDialogData_GetPaperSize(_arg0)); | |
2068 | ||
2069 | wxPy_END_ALLOW_THREADS; | |
2070 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
2071 | _resultobj = Py_BuildValue("s",_ptemp); | |
2072 | return _resultobj; | |
2073 | } | |
2074 | ||
2075 | static wxPrintData * wxPageSetupDialogData_GetPrintData(wxPageSetupDialogData *self) { | |
2076 | return new wxPrintData(self->GetPrintData()); // force a copy | |
2077 | } | |
107e4716 | 2078 | static PyObject *_wrap_wxPageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2079 | PyObject * _resultobj; |
2080 | wxPrintData * _result; | |
2081 | wxPageSetupDialogData * _arg0; | |
2d091820 | 2082 | PyObject * _argo0 = 0; |
107e4716 | 2083 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
2084 | char _ptemp[128]; |
2085 | ||
2086 | self = self; | |
107e4716 | 2087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialogData_GetPrintData",_kwnames,&_argo0)) |
d24a34bb | 2088 | return NULL; |
2d091820 RD |
2089 | if (_argo0) { |
2090 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2091 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
2092 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_GetPrintData. Expected _wxPageSetupDialogData_p."); |
2093 | return NULL; | |
2094 | } | |
2095 | } | |
2096 | { | |
2097 | wxPy_BEGIN_ALLOW_THREADS; | |
2098 | _result = (wxPrintData *)wxPageSetupDialogData_GetPrintData(_arg0); | |
2099 | ||
2100 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
2101 | } if (_result) { |
2102 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p"); | |
2103 | _resultobj = Py_BuildValue("s",_ptemp); | |
2104 | } else { | |
2105 | Py_INCREF(Py_None); | |
2106 | _resultobj = Py_None; | |
2107 | } | |
d24a34bb RD |
2108 | return _resultobj; |
2109 | } | |
2110 | ||
2111 | #define wxPageSetupDialogData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0)) | |
107e4716 | 2112 | static PyObject *_wrap_wxPageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2113 | PyObject * _resultobj; |
2114 | wxPageSetupDialogData * _arg0; | |
2115 | bool _arg1; | |
2d091820 | 2116 | PyObject * _argo0 = 0; |
d24a34bb | 2117 | int tempbool1; |
107e4716 | 2118 | char *_kwnames[] = { "self","flag", NULL }; |
d24a34bb RD |
2119 | |
2120 | self = self; | |
107e4716 | 2121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_SetDefaultInfo",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 2122 | return NULL; |
2d091820 RD |
2123 | if (_argo0) { |
2124 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2125 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
2126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultInfo. Expected _wxPageSetupDialogData_p."); |
2127 | return NULL; | |
2128 | } | |
2129 | } | |
2130 | _arg1 = (bool ) tempbool1; | |
2131 | { | |
2132 | wxPy_BEGIN_ALLOW_THREADS; | |
2133 | wxPageSetupDialogData_SetDefaultInfo(_arg0,_arg1); | |
2134 | ||
2135 | wxPy_END_ALLOW_THREADS; | |
2136 | } Py_INCREF(Py_None); | |
2137 | _resultobj = Py_None; | |
2138 | return _resultobj; | |
2139 | } | |
2140 | ||
2141 | #define wxPageSetupDialogData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0)) | |
107e4716 | 2142 | static PyObject *_wrap_wxPageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2143 | PyObject * _resultobj; |
2144 | wxPageSetupDialogData * _arg0; | |
2145 | bool _arg1; | |
2d091820 | 2146 | PyObject * _argo0 = 0; |
d24a34bb | 2147 | int tempbool1; |
107e4716 | 2148 | char *_kwnames[] = { "self","flag", NULL }; |
d24a34bb RD |
2149 | |
2150 | self = self; | |
107e4716 | 2151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_SetDefaultMinMargins",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 2152 | return NULL; |
2d091820 RD |
2153 | if (_argo0) { |
2154 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2155 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
2156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetDefaultMinMargins. Expected _wxPageSetupDialogData_p."); |
2157 | return NULL; | |
2158 | } | |
2159 | } | |
2160 | _arg1 = (bool ) tempbool1; | |
2161 | { | |
2162 | wxPy_BEGIN_ALLOW_THREADS; | |
2163 | wxPageSetupDialogData_SetDefaultMinMargins(_arg0,_arg1); | |
2164 | ||
2165 | wxPy_END_ALLOW_THREADS; | |
2166 | } Py_INCREF(Py_None); | |
2167 | _resultobj = Py_None; | |
2168 | return _resultobj; | |
2169 | } | |
2170 | ||
2171 | #define wxPageSetupDialogData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0)) | |
107e4716 | 2172 | static PyObject *_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2173 | PyObject * _resultobj; |
2174 | wxPageSetupDialogData * _arg0; | |
2175 | wxPoint * _arg1; | |
2d091820 | 2176 | PyObject * _argo0 = 0; |
37f6a977 RD |
2177 | wxPoint temp; |
2178 | PyObject * _obj1 = 0; | |
107e4716 | 2179 | char *_kwnames[] = { "self","pt", NULL }; |
d24a34bb RD |
2180 | |
2181 | self = self; | |
37f6a977 | 2182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames,&_argo0,&_obj1)) |
d24a34bb | 2183 | return NULL; |
2d091820 RD |
2184 | if (_argo0) { |
2185 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2186 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
2187 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPageSetupDialogData_p."); |
2188 | return NULL; | |
2189 | } | |
2190 | } | |
37f6a977 RD |
2191 | { |
2192 | _arg1 = &temp; | |
2193 | if (! wxPoint_helper(_obj1, &_arg1)) | |
d24a34bb | 2194 | return NULL; |
37f6a977 | 2195 | } |
d24a34bb RD |
2196 | { |
2197 | wxPy_BEGIN_ALLOW_THREADS; | |
2198 | wxPageSetupDialogData_SetMarginTopLeft(_arg0,*_arg1); | |
2199 | ||
2200 | wxPy_END_ALLOW_THREADS; | |
2201 | } Py_INCREF(Py_None); | |
2202 | _resultobj = Py_None; | |
2203 | return _resultobj; | |
2204 | } | |
2205 | ||
2206 | #define wxPageSetupDialogData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0)) | |
107e4716 | 2207 | static PyObject *_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2208 | PyObject * _resultobj; |
2209 | wxPageSetupDialogData * _arg0; | |
2210 | wxPoint * _arg1; | |
2d091820 | 2211 | PyObject * _argo0 = 0; |
37f6a977 RD |
2212 | wxPoint temp; |
2213 | PyObject * _obj1 = 0; | |
107e4716 | 2214 | char *_kwnames[] = { "self","pt", NULL }; |
d24a34bb RD |
2215 | |
2216 | self = self; | |
37f6a977 | 2217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames,&_argo0,&_obj1)) |
d24a34bb | 2218 | return NULL; |
2d091820 RD |
2219 | if (_argo0) { |
2220 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2221 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
2222 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPageSetupDialogData_p."); |
2223 | return NULL; | |
2224 | } | |
2225 | } | |
37f6a977 RD |
2226 | { |
2227 | _arg1 = &temp; | |
2228 | if (! wxPoint_helper(_obj1, &_arg1)) | |
d24a34bb | 2229 | return NULL; |
37f6a977 | 2230 | } |
d24a34bb RD |
2231 | { |
2232 | wxPy_BEGIN_ALLOW_THREADS; | |
2233 | wxPageSetupDialogData_SetMarginBottomRight(_arg0,*_arg1); | |
2234 | ||
2235 | wxPy_END_ALLOW_THREADS; | |
2236 | } Py_INCREF(Py_None); | |
2237 | _resultobj = Py_None; | |
2238 | return _resultobj; | |
2239 | } | |
2240 | ||
2241 | #define wxPageSetupDialogData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0)) | |
107e4716 | 2242 | static PyObject *_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2243 | PyObject * _resultobj; |
2244 | wxPageSetupDialogData * _arg0; | |
2245 | wxPoint * _arg1; | |
2d091820 | 2246 | PyObject * _argo0 = 0; |
37f6a977 RD |
2247 | wxPoint temp; |
2248 | PyObject * _obj1 = 0; | |
107e4716 | 2249 | char *_kwnames[] = { "self","pt", NULL }; |
d24a34bb RD |
2250 | |
2251 | self = self; | |
37f6a977 | 2252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames,&_argo0,&_obj1)) |
d24a34bb | 2253 | return NULL; |
2d091820 RD |
2254 | if (_argo0) { |
2255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
2257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPageSetupDialogData_p."); |
2258 | return NULL; | |
2259 | } | |
2260 | } | |
37f6a977 RD |
2261 | { |
2262 | _arg1 = &temp; | |
2263 | if (! wxPoint_helper(_obj1, &_arg1)) | |
d24a34bb | 2264 | return NULL; |
37f6a977 | 2265 | } |
d24a34bb RD |
2266 | { |
2267 | wxPy_BEGIN_ALLOW_THREADS; | |
2268 | wxPageSetupDialogData_SetMinMarginTopLeft(_arg0,*_arg1); | |
2269 | ||
2270 | wxPy_END_ALLOW_THREADS; | |
2271 | } Py_INCREF(Py_None); | |
2272 | _resultobj = Py_None; | |
2273 | return _resultobj; | |
2274 | } | |
2275 | ||
2276 | #define wxPageSetupDialogData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0)) | |
107e4716 | 2277 | static PyObject *_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2278 | PyObject * _resultobj; |
2279 | wxPageSetupDialogData * _arg0; | |
2280 | wxPoint * _arg1; | |
2d091820 | 2281 | PyObject * _argo0 = 0; |
37f6a977 RD |
2282 | wxPoint temp; |
2283 | PyObject * _obj1 = 0; | |
107e4716 | 2284 | char *_kwnames[] = { "self","pt", NULL }; |
d24a34bb RD |
2285 | |
2286 | self = self; | |
37f6a977 | 2287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames,&_argo0,&_obj1)) |
d24a34bb | 2288 | return NULL; |
2d091820 RD |
2289 | if (_argo0) { |
2290 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2291 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
2292 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPageSetupDialogData_p."); |
2293 | return NULL; | |
2294 | } | |
2295 | } | |
37f6a977 RD |
2296 | { |
2297 | _arg1 = &temp; | |
2298 | if (! wxPoint_helper(_obj1, &_arg1)) | |
d24a34bb | 2299 | return NULL; |
37f6a977 | 2300 | } |
d24a34bb RD |
2301 | { |
2302 | wxPy_BEGIN_ALLOW_THREADS; | |
2303 | wxPageSetupDialogData_SetMinMarginBottomRight(_arg0,*_arg1); | |
2304 | ||
2305 | wxPy_END_ALLOW_THREADS; | |
2306 | } Py_INCREF(Py_None); | |
2307 | _resultobj = Py_None; | |
2308 | return _resultobj; | |
2309 | } | |
2310 | ||
2311 | #define wxPageSetupDialogData_SetPaperId(_swigobj,_swigarg0) (_swigobj->SetPaperId(_swigarg0)) | |
107e4716 | 2312 | static PyObject *_wrap_wxPageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2313 | PyObject * _resultobj; |
2314 | wxPageSetupDialogData * _arg0; | |
3ca6a5f0 | 2315 | wxPaperSize _arg1; |
2d091820 | 2316 | PyObject * _argo0 = 0; |
107e4716 | 2317 | char *_kwnames[] = { "self","id", NULL }; |
d24a34bb RD |
2318 | |
2319 | self = self; | |
3ca6a5f0 | 2320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPageSetupDialogData_SetPaperId",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 2321 | return NULL; |
2d091820 RD |
2322 | if (_argo0) { |
2323 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2324 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
2325 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetPaperId. Expected _wxPageSetupDialogData_p."); |
2326 | return NULL; | |
2327 | } | |
2328 | } | |
d24a34bb RD |
2329 | { |
2330 | wxPy_BEGIN_ALLOW_THREADS; | |
3ca6a5f0 | 2331 | wxPageSetupDialogData_SetPaperId(_arg0,_arg1); |
d24a34bb RD |
2332 | |
2333 | wxPy_END_ALLOW_THREADS; | |
2334 | } Py_INCREF(Py_None); | |
2335 | _resultobj = Py_None; | |
2336 | return _resultobj; | |
2337 | } | |
2338 | ||
2339 | #define wxPageSetupDialogData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0)) | |
107e4716 | 2340 | static PyObject *_wrap_wxPageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2341 | PyObject * _resultobj; |
2342 | wxPageSetupDialogData * _arg0; | |
2343 | wxSize * _arg1; | |
2d091820 | 2344 | PyObject * _argo0 = 0; |
37f6a977 RD |
2345 | wxSize temp; |
2346 | PyObject * _obj1 = 0; | |
107e4716 | 2347 | char *_kwnames[] = { "self","size", NULL }; |
d24a34bb RD |
2348 | |
2349 | self = self; | |
37f6a977 | 2350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames,&_argo0,&_obj1)) |
d24a34bb | 2351 | return NULL; |
2d091820 RD |
2352 | if (_argo0) { |
2353 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2354 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
2355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetPaperSize. Expected _wxPageSetupDialogData_p."); |
2356 | return NULL; | |
2357 | } | |
2358 | } | |
37f6a977 RD |
2359 | { |
2360 | _arg1 = &temp; | |
2361 | if (! wxSize_helper(_obj1, &_arg1)) | |
d24a34bb | 2362 | return NULL; |
37f6a977 | 2363 | } |
d24a34bb RD |
2364 | { |
2365 | wxPy_BEGIN_ALLOW_THREADS; | |
2366 | wxPageSetupDialogData_SetPaperSize(_arg0,*_arg1); | |
2367 | ||
2368 | wxPy_END_ALLOW_THREADS; | |
2369 | } Py_INCREF(Py_None); | |
2370 | _resultobj = Py_None; | |
2371 | return _resultobj; | |
2372 | } | |
2373 | ||
2374 | #define wxPageSetupDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0)) | |
107e4716 | 2375 | static PyObject *_wrap_wxPageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2376 | PyObject * _resultobj; |
2377 | wxPageSetupDialogData * _arg0; | |
2378 | wxPrintData * _arg1; | |
2d091820 RD |
2379 | PyObject * _argo0 = 0; |
2380 | PyObject * _argo1 = 0; | |
107e4716 | 2381 | char *_kwnames[] = { "self","printData", NULL }; |
d24a34bb RD |
2382 | |
2383 | self = self; | |
107e4716 | 2384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetPrintData",_kwnames,&_argo0,&_argo1)) |
d24a34bb | 2385 | return NULL; |
2d091820 RD |
2386 | if (_argo0) { |
2387 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2388 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
2389 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialogData_SetPrintData. Expected _wxPageSetupDialogData_p."); |
2390 | return NULL; | |
2391 | } | |
2392 | } | |
2d091820 RD |
2393 | if (_argo1) { |
2394 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2395 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintData_p")) { | |
d24a34bb RD |
2396 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPageSetupDialogData_SetPrintData. Expected _wxPrintData_p."); |
2397 | return NULL; | |
2398 | } | |
2399 | } | |
2400 | { | |
2401 | wxPy_BEGIN_ALLOW_THREADS; | |
2402 | wxPageSetupDialogData_SetPrintData(_arg0,*_arg1); | |
2403 | ||
2404 | wxPy_END_ALLOW_THREADS; | |
2405 | } Py_INCREF(Py_None); | |
2406 | _resultobj = Py_None; | |
2407 | return _resultobj; | |
2408 | } | |
2409 | ||
2410 | static void *SwigwxPageSetupDialogTowxDialog(void *ptr) { | |
2411 | wxPageSetupDialog *src; | |
2412 | wxDialog *dest; | |
2413 | src = (wxPageSetupDialog *) ptr; | |
2414 | dest = (wxDialog *) src; | |
2415 | return (void *) dest; | |
2416 | } | |
2417 | ||
2418 | static void *SwigwxPageSetupDialogTowxPanel(void *ptr) { | |
2419 | wxPageSetupDialog *src; | |
2420 | wxPanel *dest; | |
2421 | src = (wxPageSetupDialog *) ptr; | |
2422 | dest = (wxPanel *) src; | |
2423 | return (void *) dest; | |
2424 | } | |
2425 | ||
2426 | static void *SwigwxPageSetupDialogTowxWindow(void *ptr) { | |
2427 | wxPageSetupDialog *src; | |
2428 | wxWindow *dest; | |
2429 | src = (wxPageSetupDialog *) ptr; | |
2430 | dest = (wxWindow *) src; | |
2431 | return (void *) dest; | |
2432 | } | |
2433 | ||
2434 | static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr) { | |
2435 | wxPageSetupDialog *src; | |
2436 | wxEvtHandler *dest; | |
2437 | src = (wxPageSetupDialog *) ptr; | |
2438 | dest = (wxEvtHandler *) src; | |
2439 | return (void *) dest; | |
2440 | } | |
2441 | ||
2442 | #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1)) | |
107e4716 | 2443 | static PyObject *_wrap_new_wxPageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2444 | PyObject * _resultobj; |
2445 | wxPageSetupDialog * _result; | |
2446 | wxWindow * _arg0; | |
2d091820 RD |
2447 | wxPageSetupDialogData * _arg1 = (wxPageSetupDialogData *) NULL; |
2448 | PyObject * _argo0 = 0; | |
2449 | PyObject * _argo1 = 0; | |
107e4716 | 2450 | char *_kwnames[] = { "parent","data", NULL }; |
d24a34bb RD |
2451 | char _ptemp[128]; |
2452 | ||
2453 | self = self; | |
107e4716 | 2454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxPageSetupDialog",_kwnames,&_argo0,&_argo1)) |
d24a34bb | 2455 | return NULL; |
2d091820 RD |
2456 | if (_argo0) { |
2457 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2458 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
d24a34bb RD |
2459 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p."); |
2460 | return NULL; | |
2461 | } | |
2462 | } | |
2d091820 RD |
2463 | if (_argo1) { |
2464 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2465 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPageSetupDialogData_p")) { | |
d24a34bb RD |
2466 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupDialogData_p."); |
2467 | return NULL; | |
2468 | } | |
2469 | } | |
2470 | { | |
2471 | wxPy_BEGIN_ALLOW_THREADS; | |
2472 | _result = (wxPageSetupDialog *)new_wxPageSetupDialog(_arg0,_arg1); | |
2473 | ||
2474 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
2475 | } if (_result) { |
2476 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialog_p"); | |
2477 | _resultobj = Py_BuildValue("s",_ptemp); | |
2478 | } else { | |
2479 | Py_INCREF(Py_None); | |
2480 | _resultobj = Py_None; | |
2481 | } | |
d24a34bb RD |
2482 | return _resultobj; |
2483 | } | |
2484 | ||
2485 | #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData()) | |
107e4716 | 2486 | static PyObject *_wrap_wxPageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2487 | PyObject * _resultobj; |
2488 | wxPageSetupDialogData * _result; | |
2489 | wxPageSetupDialog * _arg0; | |
2d091820 | 2490 | PyObject * _argo0 = 0; |
107e4716 | 2491 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
2492 | char _ptemp[128]; |
2493 | ||
2494 | self = self; | |
107e4716 | 2495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialog_GetPageSetupData",_kwnames,&_argo0)) |
d24a34bb | 2496 | return NULL; |
2d091820 RD |
2497 | if (_argo0) { |
2498 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2499 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialog_p")) { | |
d24a34bb RD |
2500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p."); |
2501 | return NULL; | |
2502 | } | |
2503 | } | |
2504 | { | |
2505 | wxPy_BEGIN_ALLOW_THREADS; | |
2506 | wxPageSetupDialogData & _result_ref = wxPageSetupDialog_GetPageSetupData(_arg0); | |
2507 | _result = (wxPageSetupDialogData *) &_result_ref; | |
2508 | ||
2509 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
2510 | } if (_result) { |
2511 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialogData_p"); | |
2512 | _resultobj = Py_BuildValue("s",_ptemp); | |
2513 | } else { | |
2514 | Py_INCREF(Py_None); | |
2515 | _resultobj = Py_None; | |
2516 | } | |
d24a34bb RD |
2517 | return _resultobj; |
2518 | } | |
2519 | ||
2520 | #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
107e4716 | 2521 | static PyObject *_wrap_wxPageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2522 | PyObject * _resultobj; |
2523 | int _result; | |
2524 | wxPageSetupDialog * _arg0; | |
2d091820 | 2525 | PyObject * _argo0 = 0; |
107e4716 | 2526 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
2527 | |
2528 | self = self; | |
107e4716 | 2529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPageSetupDialog_ShowModal",_kwnames,&_argo0)) |
d24a34bb | 2530 | return NULL; |
2d091820 RD |
2531 | if (_argo0) { |
2532 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2533 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPageSetupDialog_p")) { | |
d24a34bb RD |
2534 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p."); |
2535 | return NULL; | |
2536 | } | |
2537 | } | |
2538 | { | |
2539 | wxPy_BEGIN_ALLOW_THREADS; | |
2540 | _result = (int )wxPageSetupDialog_ShowModal(_arg0); | |
2541 | ||
2542 | wxPy_END_ALLOW_THREADS; | |
2543 | } _resultobj = Py_BuildValue("i",_result); | |
2544 | return _resultobj; | |
2545 | } | |
2546 | ||
2547 | #define new_wxPrintDialogData() (new wxPrintDialogData()) | |
107e4716 | 2548 | static PyObject *_wrap_new_wxPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2549 | PyObject * _resultobj; |
2550 | wxPrintDialogData * _result; | |
107e4716 | 2551 | char *_kwnames[] = { NULL }; |
d24a34bb RD |
2552 | char _ptemp[128]; |
2553 | ||
2554 | self = self; | |
107e4716 | 2555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrintDialogData",_kwnames)) |
d24a34bb RD |
2556 | return NULL; |
2557 | { | |
2558 | wxPy_BEGIN_ALLOW_THREADS; | |
2559 | _result = (wxPrintDialogData *)new_wxPrintDialogData(); | |
2560 | ||
2561 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
2562 | } if (_result) { |
2563 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p"); | |
2564 | _resultobj = Py_BuildValue("s",_ptemp); | |
2565 | } else { | |
2566 | Py_INCREF(Py_None); | |
2567 | _resultobj = Py_None; | |
2568 | } | |
d24a34bb RD |
2569 | return _resultobj; |
2570 | } | |
2571 | ||
2572 | #define delete_wxPrintDialogData(_swigobj) (delete _swigobj) | |
107e4716 | 2573 | static PyObject *_wrap_delete_wxPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2574 | PyObject * _resultobj; |
2575 | wxPrintDialogData * _arg0; | |
2d091820 | 2576 | PyObject * _argo0 = 0; |
107e4716 | 2577 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
2578 | |
2579 | self = self; | |
107e4716 | 2580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPrintDialogData",_kwnames,&_argo0)) |
d24a34bb | 2581 | return NULL; |
2d091820 RD |
2582 | if (_argo0) { |
2583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
2585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPrintDialogData. Expected _wxPrintDialogData_p."); |
2586 | return NULL; | |
2587 | } | |
2588 | } | |
2589 | { | |
2590 | wxPy_BEGIN_ALLOW_THREADS; | |
2591 | delete_wxPrintDialogData(_arg0); | |
2592 | ||
2593 | wxPy_END_ALLOW_THREADS; | |
2594 | } Py_INCREF(Py_None); | |
2595 | _resultobj = Py_None; | |
2596 | return _resultobj; | |
2597 | } | |
2598 | ||
2599 | #define wxPrintDialogData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0)) | |
107e4716 | 2600 | static PyObject *_wrap_wxPrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2601 | PyObject * _resultobj; |
2602 | wxPrintDialogData * _arg0; | |
2603 | bool _arg1; | |
2d091820 | 2604 | PyObject * _argo0 = 0; |
d24a34bb | 2605 | int tempbool1; |
107e4716 | 2606 | char *_kwnames[] = { "self","flag", NULL }; |
d24a34bb RD |
2607 | |
2608 | self = self; | |
107e4716 | 2609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnableHelp",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 2610 | return NULL; |
2d091820 RD |
2611 | if (_argo0) { |
2612 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2613 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
2614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnableHelp. Expected _wxPrintDialogData_p."); |
2615 | return NULL; | |
2616 | } | |
2617 | } | |
2618 | _arg1 = (bool ) tempbool1; | |
2619 | { | |
2620 | wxPy_BEGIN_ALLOW_THREADS; | |
2621 | wxPrintDialogData_EnableHelp(_arg0,_arg1); | |
2622 | ||
2623 | wxPy_END_ALLOW_THREADS; | |
2624 | } Py_INCREF(Py_None); | |
2625 | _resultobj = Py_None; | |
2626 | return _resultobj; | |
2627 | } | |
2628 | ||
2629 | #define wxPrintDialogData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0)) | |
107e4716 | 2630 | static PyObject *_wrap_wxPrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2631 | PyObject * _resultobj; |
2632 | wxPrintDialogData * _arg0; | |
2633 | bool _arg1; | |
2d091820 | 2634 | PyObject * _argo0 = 0; |
d24a34bb | 2635 | int tempbool1; |
107e4716 | 2636 | char *_kwnames[] = { "self","flag", NULL }; |
d24a34bb RD |
2637 | |
2638 | self = self; | |
107e4716 | 2639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnablePageNumbers",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 2640 | return NULL; |
2d091820 RD |
2641 | if (_argo0) { |
2642 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2643 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
2644 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnablePageNumbers. Expected _wxPrintDialogData_p."); |
2645 | return NULL; | |
2646 | } | |
2647 | } | |
2648 | _arg1 = (bool ) tempbool1; | |
2649 | { | |
2650 | wxPy_BEGIN_ALLOW_THREADS; | |
2651 | wxPrintDialogData_EnablePageNumbers(_arg0,_arg1); | |
2652 | ||
2653 | wxPy_END_ALLOW_THREADS; | |
2654 | } Py_INCREF(Py_None); | |
2655 | _resultobj = Py_None; | |
2656 | return _resultobj; | |
2657 | } | |
2658 | ||
2659 | #define wxPrintDialogData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0)) | |
107e4716 | 2660 | static PyObject *_wrap_wxPrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2661 | PyObject * _resultobj; |
2662 | wxPrintDialogData * _arg0; | |
2663 | bool _arg1; | |
2d091820 | 2664 | PyObject * _argo0 = 0; |
d24a34bb | 2665 | int tempbool1; |
107e4716 | 2666 | char *_kwnames[] = { "self","flag", NULL }; |
d24a34bb RD |
2667 | |
2668 | self = self; | |
107e4716 | 2669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnablePrintToFile",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 2670 | return NULL; |
2d091820 RD |
2671 | if (_argo0) { |
2672 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2673 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
2674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnablePrintToFile. Expected _wxPrintDialogData_p."); |
2675 | return NULL; | |
2676 | } | |
2677 | } | |
2678 | _arg1 = (bool ) tempbool1; | |
2679 | { | |
2680 | wxPy_BEGIN_ALLOW_THREADS; | |
2681 | wxPrintDialogData_EnablePrintToFile(_arg0,_arg1); | |
2682 | ||
2683 | wxPy_END_ALLOW_THREADS; | |
2684 | } Py_INCREF(Py_None); | |
2685 | _resultobj = Py_None; | |
2686 | return _resultobj; | |
2687 | } | |
2688 | ||
2689 | #define wxPrintDialogData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0)) | |
107e4716 | 2690 | static PyObject *_wrap_wxPrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2691 | PyObject * _resultobj; |
2692 | wxPrintDialogData * _arg0; | |
2693 | bool _arg1; | |
2d091820 | 2694 | PyObject * _argo0 = 0; |
d24a34bb | 2695 | int tempbool1; |
107e4716 | 2696 | char *_kwnames[] = { "self","flag", NULL }; |
d24a34bb RD |
2697 | |
2698 | self = self; | |
107e4716 | 2699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_EnableSelection",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 2700 | return NULL; |
2d091820 RD |
2701 | if (_argo0) { |
2702 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2703 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
2704 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_EnableSelection. Expected _wxPrintDialogData_p."); |
2705 | return NULL; | |
2706 | } | |
2707 | } | |
2708 | _arg1 = (bool ) tempbool1; | |
2709 | { | |
2710 | wxPy_BEGIN_ALLOW_THREADS; | |
2711 | wxPrintDialogData_EnableSelection(_arg0,_arg1); | |
2712 | ||
2713 | wxPy_END_ALLOW_THREADS; | |
2714 | } Py_INCREF(Py_None); | |
2715 | _resultobj = Py_None; | |
2716 | return _resultobj; | |
2717 | } | |
2718 | ||
2719 | #define wxPrintDialogData_GetAllPages(_swigobj) (_swigobj->GetAllPages()) | |
107e4716 | 2720 | static PyObject *_wrap_wxPrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2721 | PyObject * _resultobj; |
2722 | bool _result; | |
2723 | wxPrintDialogData * _arg0; | |
2d091820 | 2724 | PyObject * _argo0 = 0; |
107e4716 | 2725 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
2726 | |
2727 | self = self; | |
107e4716 | 2728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetAllPages",_kwnames,&_argo0)) |
d24a34bb | 2729 | return NULL; |
2d091820 RD |
2730 | if (_argo0) { |
2731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
2733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetAllPages. Expected _wxPrintDialogData_p."); |
2734 | return NULL; | |
2735 | } | |
2736 | } | |
2737 | { | |
2738 | wxPy_BEGIN_ALLOW_THREADS; | |
2739 | _result = (bool )wxPrintDialogData_GetAllPages(_arg0); | |
2740 | ||
2741 | wxPy_END_ALLOW_THREADS; | |
2742 | } _resultobj = Py_BuildValue("i",_result); | |
2743 | return _resultobj; | |
2744 | } | |
2745 | ||
2746 | #define wxPrintDialogData_GetCollate(_swigobj) (_swigobj->GetCollate()) | |
107e4716 | 2747 | static PyObject *_wrap_wxPrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2748 | PyObject * _resultobj; |
2749 | bool _result; | |
2750 | wxPrintDialogData * _arg0; | |
2d091820 | 2751 | PyObject * _argo0 = 0; |
107e4716 | 2752 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
2753 | |
2754 | self = self; | |
107e4716 | 2755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetCollate",_kwnames,&_argo0)) |
d24a34bb | 2756 | return NULL; |
2d091820 RD |
2757 | if (_argo0) { |
2758 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2759 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
2760 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetCollate. Expected _wxPrintDialogData_p."); |
2761 | return NULL; | |
2762 | } | |
2763 | } | |
2764 | { | |
2765 | wxPy_BEGIN_ALLOW_THREADS; | |
2766 | _result = (bool )wxPrintDialogData_GetCollate(_arg0); | |
2767 | ||
2768 | wxPy_END_ALLOW_THREADS; | |
2769 | } _resultobj = Py_BuildValue("i",_result); | |
2770 | return _resultobj; | |
2771 | } | |
2772 | ||
2773 | #define wxPrintDialogData_GetFromPage(_swigobj) (_swigobj->GetFromPage()) | |
107e4716 | 2774 | static PyObject *_wrap_wxPrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2775 | PyObject * _resultobj; |
2776 | int _result; | |
2777 | wxPrintDialogData * _arg0; | |
2d091820 | 2778 | PyObject * _argo0 = 0; |
107e4716 | 2779 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
2780 | |
2781 | self = self; | |
107e4716 | 2782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetFromPage",_kwnames,&_argo0)) |
d24a34bb | 2783 | return NULL; |
2d091820 RD |
2784 | if (_argo0) { |
2785 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2786 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
2787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetFromPage. Expected _wxPrintDialogData_p."); |
2788 | return NULL; | |
2789 | } | |
2790 | } | |
2791 | { | |
2792 | wxPy_BEGIN_ALLOW_THREADS; | |
2793 | _result = (int )wxPrintDialogData_GetFromPage(_arg0); | |
2794 | ||
2795 | wxPy_END_ALLOW_THREADS; | |
2796 | } _resultobj = Py_BuildValue("i",_result); | |
2797 | return _resultobj; | |
2798 | } | |
2799 | ||
2800 | #define wxPrintDialogData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage()) | |
107e4716 | 2801 | static PyObject *_wrap_wxPrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2802 | PyObject * _resultobj; |
2803 | int _result; | |
2804 | wxPrintDialogData * _arg0; | |
2d091820 | 2805 | PyObject * _argo0 = 0; |
107e4716 | 2806 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
2807 | |
2808 | self = self; | |
107e4716 | 2809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetMaxPage",_kwnames,&_argo0)) |
d24a34bb | 2810 | return NULL; |
2d091820 RD |
2811 | if (_argo0) { |
2812 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2813 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
2814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetMaxPage. Expected _wxPrintDialogData_p."); |
2815 | return NULL; | |
2816 | } | |
2817 | } | |
2818 | { | |
2819 | wxPy_BEGIN_ALLOW_THREADS; | |
2820 | _result = (int )wxPrintDialogData_GetMaxPage(_arg0); | |
2821 | ||
2822 | wxPy_END_ALLOW_THREADS; | |
2823 | } _resultobj = Py_BuildValue("i",_result); | |
2824 | return _resultobj; | |
2825 | } | |
2826 | ||
2827 | #define wxPrintDialogData_GetMinPage(_swigobj) (_swigobj->GetMinPage()) | |
107e4716 | 2828 | static PyObject *_wrap_wxPrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2829 | PyObject * _resultobj; |
2830 | int _result; | |
2831 | wxPrintDialogData * _arg0; | |
2d091820 | 2832 | PyObject * _argo0 = 0; |
107e4716 | 2833 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
2834 | |
2835 | self = self; | |
107e4716 | 2836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetMinPage",_kwnames,&_argo0)) |
d24a34bb | 2837 | return NULL; |
2d091820 RD |
2838 | if (_argo0) { |
2839 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2840 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
2841 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetMinPage. Expected _wxPrintDialogData_p."); |
2842 | return NULL; | |
2843 | } | |
2844 | } | |
2845 | { | |
2846 | wxPy_BEGIN_ALLOW_THREADS; | |
2847 | _result = (int )wxPrintDialogData_GetMinPage(_arg0); | |
2848 | ||
2849 | wxPy_END_ALLOW_THREADS; | |
2850 | } _resultobj = Py_BuildValue("i",_result); | |
2851 | return _resultobj; | |
2852 | } | |
2853 | ||
2854 | #define wxPrintDialogData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies()) | |
107e4716 | 2855 | static PyObject *_wrap_wxPrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2856 | PyObject * _resultobj; |
2857 | int _result; | |
2858 | wxPrintDialogData * _arg0; | |
2d091820 | 2859 | PyObject * _argo0 = 0; |
107e4716 | 2860 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
2861 | |
2862 | self = self; | |
107e4716 | 2863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetNoCopies",_kwnames,&_argo0)) |
d24a34bb | 2864 | return NULL; |
2d091820 RD |
2865 | if (_argo0) { |
2866 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2867 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
2868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetNoCopies. Expected _wxPrintDialogData_p."); |
2869 | return NULL; | |
2870 | } | |
2871 | } | |
2872 | { | |
2873 | wxPy_BEGIN_ALLOW_THREADS; | |
2874 | _result = (int )wxPrintDialogData_GetNoCopies(_arg0); | |
2875 | ||
2876 | wxPy_END_ALLOW_THREADS; | |
2877 | } _resultobj = Py_BuildValue("i",_result); | |
2878 | return _resultobj; | |
2879 | } | |
2880 | ||
2881 | static wxPrintData * wxPrintDialogData_GetPrintData(wxPrintDialogData *self) { | |
2882 | return new wxPrintData(self->GetPrintData()); // force a copy | |
2883 | } | |
107e4716 | 2884 | static PyObject *_wrap_wxPrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2885 | PyObject * _resultobj; |
2886 | wxPrintData * _result; | |
2887 | wxPrintDialogData * _arg0; | |
2d091820 | 2888 | PyObject * _argo0 = 0; |
107e4716 | 2889 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
2890 | char _ptemp[128]; |
2891 | ||
2892 | self = self; | |
107e4716 | 2893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetPrintData",_kwnames,&_argo0)) |
d24a34bb | 2894 | return NULL; |
2d091820 RD |
2895 | if (_argo0) { |
2896 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2897 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
2898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetPrintData. Expected _wxPrintDialogData_p."); |
2899 | return NULL; | |
2900 | } | |
2901 | } | |
2902 | { | |
2903 | wxPy_BEGIN_ALLOW_THREADS; | |
2904 | _result = (wxPrintData *)wxPrintDialogData_GetPrintData(_arg0); | |
2905 | ||
2906 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
2907 | } if (_result) { |
2908 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p"); | |
2909 | _resultobj = Py_BuildValue("s",_ptemp); | |
2910 | } else { | |
2911 | Py_INCREF(Py_None); | |
2912 | _resultobj = Py_None; | |
2913 | } | |
d24a34bb RD |
2914 | return _resultobj; |
2915 | } | |
2916 | ||
2917 | #define wxPrintDialogData_GetPrintToFile(_swigobj) (_swigobj->GetPrintToFile()) | |
107e4716 | 2918 | static PyObject *_wrap_wxPrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2919 | PyObject * _resultobj; |
2920 | bool _result; | |
2921 | wxPrintDialogData * _arg0; | |
2d091820 | 2922 | PyObject * _argo0 = 0; |
107e4716 | 2923 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
2924 | |
2925 | self = self; | |
107e4716 | 2926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetPrintToFile",_kwnames,&_argo0)) |
d24a34bb | 2927 | return NULL; |
2d091820 RD |
2928 | if (_argo0) { |
2929 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2930 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
2931 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetPrintToFile. Expected _wxPrintDialogData_p."); |
2932 | return NULL; | |
2933 | } | |
2934 | } | |
2935 | { | |
2936 | wxPy_BEGIN_ALLOW_THREADS; | |
2937 | _result = (bool )wxPrintDialogData_GetPrintToFile(_arg0); | |
2938 | ||
2939 | wxPy_END_ALLOW_THREADS; | |
2940 | } _resultobj = Py_BuildValue("i",_result); | |
2941 | return _resultobj; | |
2942 | } | |
2943 | ||
2944 | #define wxPrintDialogData_GetToPage(_swigobj) (_swigobj->GetToPage()) | |
107e4716 | 2945 | static PyObject *_wrap_wxPrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2946 | PyObject * _resultobj; |
2947 | int _result; | |
2948 | wxPrintDialogData * _arg0; | |
2d091820 | 2949 | PyObject * _argo0 = 0; |
107e4716 | 2950 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
2951 | |
2952 | self = self; | |
107e4716 | 2953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialogData_GetToPage",_kwnames,&_argo0)) |
d24a34bb | 2954 | return NULL; |
2d091820 RD |
2955 | if (_argo0) { |
2956 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2957 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
2958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_GetToPage. Expected _wxPrintDialogData_p."); |
2959 | return NULL; | |
2960 | } | |
2961 | } | |
2962 | { | |
2963 | wxPy_BEGIN_ALLOW_THREADS; | |
2964 | _result = (int )wxPrintDialogData_GetToPage(_arg0); | |
2965 | ||
2966 | wxPy_END_ALLOW_THREADS; | |
2967 | } _resultobj = Py_BuildValue("i",_result); | |
2968 | return _resultobj; | |
2969 | } | |
2970 | ||
2971 | #define wxPrintDialogData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0)) | |
107e4716 | 2972 | static PyObject *_wrap_wxPrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
2973 | PyObject * _resultobj; |
2974 | wxPrintDialogData * _arg0; | |
2975 | bool _arg1; | |
2d091820 | 2976 | PyObject * _argo0 = 0; |
d24a34bb | 2977 | int tempbool1; |
107e4716 | 2978 | char *_kwnames[] = { "self","flag", NULL }; |
d24a34bb RD |
2979 | |
2980 | self = self; | |
107e4716 | 2981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetCollate",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 2982 | return NULL; |
2d091820 RD |
2983 | if (_argo0) { |
2984 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2985 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
2986 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetCollate. Expected _wxPrintDialogData_p."); |
2987 | return NULL; | |
2988 | } | |
2989 | } | |
2990 | _arg1 = (bool ) tempbool1; | |
2991 | { | |
2992 | wxPy_BEGIN_ALLOW_THREADS; | |
2993 | wxPrintDialogData_SetCollate(_arg0,_arg1); | |
2994 | ||
2995 | wxPy_END_ALLOW_THREADS; | |
2996 | } Py_INCREF(Py_None); | |
2997 | _resultobj = Py_None; | |
2998 | return _resultobj; | |
2999 | } | |
3000 | ||
3001 | #define wxPrintDialogData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0)) | |
107e4716 | 3002 | static PyObject *_wrap_wxPrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3003 | PyObject * _resultobj; |
3004 | wxPrintDialogData * _arg0; | |
3005 | int _arg1; | |
2d091820 | 3006 | PyObject * _argo0 = 0; |
107e4716 | 3007 | char *_kwnames[] = { "self","page", NULL }; |
d24a34bb RD |
3008 | |
3009 | self = self; | |
107e4716 | 3010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetFromPage",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 3011 | return NULL; |
2d091820 RD |
3012 | if (_argo0) { |
3013 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3014 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
3015 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetFromPage. Expected _wxPrintDialogData_p."); |
3016 | return NULL; | |
3017 | } | |
3018 | } | |
3019 | { | |
3020 | wxPy_BEGIN_ALLOW_THREADS; | |
3021 | wxPrintDialogData_SetFromPage(_arg0,_arg1); | |
3022 | ||
3023 | wxPy_END_ALLOW_THREADS; | |
3024 | } Py_INCREF(Py_None); | |
3025 | _resultobj = Py_None; | |
3026 | return _resultobj; | |
3027 | } | |
3028 | ||
3029 | #define wxPrintDialogData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0)) | |
107e4716 | 3030 | static PyObject *_wrap_wxPrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3031 | PyObject * _resultobj; |
3032 | wxPrintDialogData * _arg0; | |
3033 | int _arg1; | |
2d091820 | 3034 | PyObject * _argo0 = 0; |
107e4716 | 3035 | char *_kwnames[] = { "self","page", NULL }; |
d24a34bb RD |
3036 | |
3037 | self = self; | |
107e4716 | 3038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetMaxPage",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 3039 | return NULL; |
2d091820 RD |
3040 | if (_argo0) { |
3041 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3042 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
3043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetMaxPage. Expected _wxPrintDialogData_p."); |
3044 | return NULL; | |
3045 | } | |
3046 | } | |
3047 | { | |
3048 | wxPy_BEGIN_ALLOW_THREADS; | |
3049 | wxPrintDialogData_SetMaxPage(_arg0,_arg1); | |
3050 | ||
3051 | wxPy_END_ALLOW_THREADS; | |
3052 | } Py_INCREF(Py_None); | |
3053 | _resultobj = Py_None; | |
3054 | return _resultobj; | |
3055 | } | |
3056 | ||
3057 | #define wxPrintDialogData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0)) | |
107e4716 | 3058 | static PyObject *_wrap_wxPrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3059 | PyObject * _resultobj; |
3060 | wxPrintDialogData * _arg0; | |
3061 | int _arg1; | |
2d091820 | 3062 | PyObject * _argo0 = 0; |
107e4716 | 3063 | char *_kwnames[] = { "self","page", NULL }; |
d24a34bb RD |
3064 | |
3065 | self = self; | |
107e4716 | 3066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetMinPage",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 3067 | return NULL; |
2d091820 RD |
3068 | if (_argo0) { |
3069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
3071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetMinPage. Expected _wxPrintDialogData_p."); |
3072 | return NULL; | |
3073 | } | |
3074 | } | |
3075 | { | |
3076 | wxPy_BEGIN_ALLOW_THREADS; | |
3077 | wxPrintDialogData_SetMinPage(_arg0,_arg1); | |
3078 | ||
3079 | wxPy_END_ALLOW_THREADS; | |
3080 | } Py_INCREF(Py_None); | |
3081 | _resultobj = Py_None; | |
3082 | return _resultobj; | |
3083 | } | |
3084 | ||
3085 | #define wxPrintDialogData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0)) | |
107e4716 | 3086 | static PyObject *_wrap_wxPrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3087 | PyObject * _resultobj; |
3088 | wxPrintDialogData * _arg0; | |
3089 | int _arg1; | |
2d091820 | 3090 | PyObject * _argo0 = 0; |
107e4716 | 3091 | char *_kwnames[] = { "self","n", NULL }; |
d24a34bb RD |
3092 | |
3093 | self = self; | |
107e4716 | 3094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetNoCopies",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 3095 | return NULL; |
2d091820 RD |
3096 | if (_argo0) { |
3097 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3098 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
3099 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetNoCopies. Expected _wxPrintDialogData_p."); |
3100 | return NULL; | |
3101 | } | |
3102 | } | |
3103 | { | |
3104 | wxPy_BEGIN_ALLOW_THREADS; | |
3105 | wxPrintDialogData_SetNoCopies(_arg0,_arg1); | |
3106 | ||
3107 | wxPy_END_ALLOW_THREADS; | |
3108 | } Py_INCREF(Py_None); | |
3109 | _resultobj = Py_None; | |
3110 | return _resultobj; | |
3111 | } | |
3112 | ||
3113 | #define wxPrintDialogData_SetPrintData(_swigobj,_swigarg0) (_swigobj->SetPrintData(_swigarg0)) | |
107e4716 | 3114 | static PyObject *_wrap_wxPrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3115 | PyObject * _resultobj; |
3116 | wxPrintDialogData * _arg0; | |
3117 | wxPrintData * _arg1; | |
2d091820 RD |
3118 | PyObject * _argo0 = 0; |
3119 | PyObject * _argo1 = 0; | |
107e4716 | 3120 | char *_kwnames[] = { "self","printData", NULL }; |
d24a34bb RD |
3121 | |
3122 | self = self; | |
107e4716 | 3123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintDialogData_SetPrintData",_kwnames,&_argo0,&_argo1)) |
d24a34bb | 3124 | return NULL; |
2d091820 RD |
3125 | if (_argo0) { |
3126 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3127 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
3128 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetPrintData. Expected _wxPrintDialogData_p."); |
3129 | return NULL; | |
3130 | } | |
3131 | } | |
2d091820 RD |
3132 | if (_argo1) { |
3133 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3134 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintData_p")) { | |
d24a34bb RD |
3135 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintDialogData_SetPrintData. Expected _wxPrintData_p."); |
3136 | return NULL; | |
3137 | } | |
3138 | } | |
3139 | { | |
3140 | wxPy_BEGIN_ALLOW_THREADS; | |
3141 | wxPrintDialogData_SetPrintData(_arg0,*_arg1); | |
3142 | ||
3143 | wxPy_END_ALLOW_THREADS; | |
3144 | } Py_INCREF(Py_None); | |
3145 | _resultobj = Py_None; | |
3146 | return _resultobj; | |
3147 | } | |
3148 | ||
3149 | #define wxPrintDialogData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0)) | |
107e4716 | 3150 | static PyObject *_wrap_wxPrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3151 | PyObject * _resultobj; |
3152 | wxPrintDialogData * _arg0; | |
3153 | bool _arg1; | |
2d091820 | 3154 | PyObject * _argo0 = 0; |
d24a34bb | 3155 | int tempbool1; |
107e4716 | 3156 | char *_kwnames[] = { "self","flag", NULL }; |
d24a34bb RD |
3157 | |
3158 | self = self; | |
107e4716 | 3159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetPrintToFile",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 3160 | return NULL; |
2d091820 RD |
3161 | if (_argo0) { |
3162 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3163 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
3164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetPrintToFile. Expected _wxPrintDialogData_p."); |
3165 | return NULL; | |
3166 | } | |
3167 | } | |
3168 | _arg1 = (bool ) tempbool1; | |
3169 | { | |
3170 | wxPy_BEGIN_ALLOW_THREADS; | |
3171 | wxPrintDialogData_SetPrintToFile(_arg0,_arg1); | |
3172 | ||
3173 | wxPy_END_ALLOW_THREADS; | |
3174 | } Py_INCREF(Py_None); | |
3175 | _resultobj = Py_None; | |
3176 | return _resultobj; | |
3177 | } | |
3178 | ||
3179 | #define wxPrintDialogData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0)) | |
107e4716 | 3180 | static PyObject *_wrap_wxPrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3181 | PyObject * _resultobj; |
3182 | wxPrintDialogData * _arg0; | |
3183 | bool _arg1; | |
2d091820 | 3184 | PyObject * _argo0 = 0; |
d24a34bb | 3185 | int tempbool1; |
107e4716 | 3186 | char *_kwnames[] = { "self","flag", NULL }; |
d24a34bb RD |
3187 | |
3188 | self = self; | |
107e4716 | 3189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetSetupDialog",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 3190 | return NULL; |
2d091820 RD |
3191 | if (_argo0) { |
3192 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3193 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
3194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetSetupDialog. Expected _wxPrintDialogData_p."); |
3195 | return NULL; | |
3196 | } | |
3197 | } | |
3198 | _arg1 = (bool ) tempbool1; | |
3199 | { | |
3200 | wxPy_BEGIN_ALLOW_THREADS; | |
3201 | wxPrintDialogData_SetSetupDialog(_arg0,_arg1); | |
3202 | ||
3203 | wxPy_END_ALLOW_THREADS; | |
3204 | } Py_INCREF(Py_None); | |
3205 | _resultobj = Py_None; | |
3206 | return _resultobj; | |
3207 | } | |
3208 | ||
3209 | #define wxPrintDialogData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0)) | |
107e4716 | 3210 | static PyObject *_wrap_wxPrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3211 | PyObject * _resultobj; |
3212 | wxPrintDialogData * _arg0; | |
3213 | int _arg1; | |
2d091820 | 3214 | PyObject * _argo0 = 0; |
107e4716 | 3215 | char *_kwnames[] = { "self","page", NULL }; |
d24a34bb RD |
3216 | |
3217 | self = self; | |
107e4716 | 3218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintDialogData_SetToPage",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 3219 | return NULL; |
2d091820 RD |
3220 | if (_argo0) { |
3221 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3222 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
3223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialogData_SetToPage. Expected _wxPrintDialogData_p."); |
3224 | return NULL; | |
3225 | } | |
3226 | } | |
3227 | { | |
3228 | wxPy_BEGIN_ALLOW_THREADS; | |
3229 | wxPrintDialogData_SetToPage(_arg0,_arg1); | |
3230 | ||
3231 | wxPy_END_ALLOW_THREADS; | |
3232 | } Py_INCREF(Py_None); | |
3233 | _resultobj = Py_None; | |
3234 | return _resultobj; | |
3235 | } | |
3236 | ||
3237 | static void *SwigwxPrintDialogTowxDialog(void *ptr) { | |
3238 | wxPrintDialog *src; | |
3239 | wxDialog *dest; | |
3240 | src = (wxPrintDialog *) ptr; | |
3241 | dest = (wxDialog *) src; | |
3242 | return (void *) dest; | |
3243 | } | |
3244 | ||
3245 | static void *SwigwxPrintDialogTowxPanel(void *ptr) { | |
3246 | wxPrintDialog *src; | |
3247 | wxPanel *dest; | |
3248 | src = (wxPrintDialog *) ptr; | |
3249 | dest = (wxPanel *) src; | |
3250 | return (void *) dest; | |
3251 | } | |
3252 | ||
3253 | static void *SwigwxPrintDialogTowxWindow(void *ptr) { | |
3254 | wxPrintDialog *src; | |
3255 | wxWindow *dest; | |
3256 | src = (wxPrintDialog *) ptr; | |
3257 | dest = (wxWindow *) src; | |
3258 | return (void *) dest; | |
3259 | } | |
3260 | ||
3261 | static void *SwigwxPrintDialogTowxEvtHandler(void *ptr) { | |
3262 | wxPrintDialog *src; | |
3263 | wxEvtHandler *dest; | |
3264 | src = (wxPrintDialog *) ptr; | |
3265 | dest = (wxEvtHandler *) src; | |
3266 | return (void *) dest; | |
3267 | } | |
3268 | ||
3269 | #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1)) | |
107e4716 | 3270 | static PyObject *_wrap_new_wxPrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3271 | PyObject * _resultobj; |
3272 | wxPrintDialog * _result; | |
3273 | wxWindow * _arg0; | |
2d091820 RD |
3274 | wxPrintDialogData * _arg1 = (wxPrintDialogData *) NULL; |
3275 | PyObject * _argo0 = 0; | |
3276 | PyObject * _argo1 = 0; | |
107e4716 | 3277 | char *_kwnames[] = { "parent","data", NULL }; |
d24a34bb RD |
3278 | char _ptemp[128]; |
3279 | ||
3280 | self = self; | |
107e4716 | 3281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxPrintDialog",_kwnames,&_argo0,&_argo1)) |
d24a34bb | 3282 | return NULL; |
2d091820 RD |
3283 | if (_argo0) { |
3284 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3285 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
d24a34bb RD |
3286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p."); |
3287 | return NULL; | |
3288 | } | |
3289 | } | |
2d091820 RD |
3290 | if (_argo1) { |
3291 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3292 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
3293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintDialogData_p."); |
3294 | return NULL; | |
3295 | } | |
3296 | } | |
3297 | { | |
3298 | wxPy_BEGIN_ALLOW_THREADS; | |
3299 | _result = (wxPrintDialog *)new_wxPrintDialog(_arg0,_arg1); | |
3300 | ||
3301 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
3302 | } if (_result) { |
3303 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialog_p"); | |
3304 | _resultobj = Py_BuildValue("s",_ptemp); | |
3305 | } else { | |
3306 | Py_INCREF(Py_None); | |
3307 | _resultobj = Py_None; | |
3308 | } | |
d24a34bb RD |
3309 | return _resultobj; |
3310 | } | |
3311 | ||
3312 | #define wxPrintDialog_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData()) | |
107e4716 | 3313 | static PyObject *_wrap_wxPrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3314 | PyObject * _resultobj; |
3315 | wxPrintDialogData * _result; | |
3316 | wxPrintDialog * _arg0; | |
2d091820 | 3317 | PyObject * _argo0 = 0; |
107e4716 | 3318 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3319 | char _ptemp[128]; |
3320 | ||
3321 | self = self; | |
107e4716 | 3322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialog_GetPrintDialogData",_kwnames,&_argo0)) |
d24a34bb | 3323 | return NULL; |
2d091820 RD |
3324 | if (_argo0) { |
3325 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3326 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialog_p")) { | |
d24a34bb RD |
3327 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_GetPrintDialogData. Expected _wxPrintDialog_p."); |
3328 | return NULL; | |
3329 | } | |
3330 | } | |
3331 | { | |
3332 | wxPy_BEGIN_ALLOW_THREADS; | |
3333 | wxPrintDialogData & _result_ref = wxPrintDialog_GetPrintDialogData(_arg0); | |
3334 | _result = (wxPrintDialogData *) &_result_ref; | |
3335 | ||
3336 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
3337 | } if (_result) { |
3338 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p"); | |
3339 | _resultobj = Py_BuildValue("s",_ptemp); | |
3340 | } else { | |
3341 | Py_INCREF(Py_None); | |
3342 | _resultobj = Py_None; | |
3343 | } | |
d24a34bb RD |
3344 | return _resultobj; |
3345 | } | |
3346 | ||
3347 | #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC()) | |
107e4716 | 3348 | static PyObject *_wrap_wxPrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3349 | PyObject * _resultobj; |
3350 | wxDC * _result; | |
3351 | wxPrintDialog * _arg0; | |
2d091820 | 3352 | PyObject * _argo0 = 0; |
107e4716 | 3353 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3354 | char _ptemp[128]; |
3355 | ||
3356 | self = self; | |
107e4716 | 3357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialog_GetPrintDC",_kwnames,&_argo0)) |
d24a34bb | 3358 | return NULL; |
2d091820 RD |
3359 | if (_argo0) { |
3360 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3361 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialog_p")) { | |
d24a34bb RD |
3362 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p."); |
3363 | return NULL; | |
3364 | } | |
3365 | } | |
3366 | { | |
3367 | wxPy_BEGIN_ALLOW_THREADS; | |
3368 | _result = (wxDC *)wxPrintDialog_GetPrintDC(_arg0); | |
3369 | ||
3370 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
3371 | } if (_result) { |
3372 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p"); | |
3373 | _resultobj = Py_BuildValue("s",_ptemp); | |
3374 | } else { | |
3375 | Py_INCREF(Py_None); | |
3376 | _resultobj = Py_None; | |
3377 | } | |
d24a34bb RD |
3378 | return _resultobj; |
3379 | } | |
3380 | ||
3381 | #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
107e4716 | 3382 | static PyObject *_wrap_wxPrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3383 | PyObject * _resultobj; |
3384 | int _result; | |
3385 | wxPrintDialog * _arg0; | |
2d091820 | 3386 | PyObject * _argo0 = 0; |
107e4716 | 3387 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3388 | |
3389 | self = self; | |
107e4716 | 3390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintDialog_ShowModal",_kwnames,&_argo0)) |
d24a34bb | 3391 | return NULL; |
2d091820 RD |
3392 | if (_argo0) { |
3393 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3394 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialog_p")) { | |
d24a34bb RD |
3395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p."); |
3396 | return NULL; | |
3397 | } | |
3398 | } | |
3399 | { | |
3400 | wxPy_BEGIN_ALLOW_THREADS; | |
3401 | _result = (int )wxPrintDialog_ShowModal(_arg0); | |
3402 | ||
3403 | wxPy_END_ALLOW_THREADS; | |
3404 | } _resultobj = Py_BuildValue("i",_result); | |
3405 | return _resultobj; | |
3406 | } | |
3407 | ||
3408 | #define new_wxPrintout(_swigarg0) (new wxPyPrintout(_swigarg0)) | |
107e4716 | 3409 | static PyObject *_wrap_new_wxPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3410 | PyObject * _resultobj; |
3411 | wxPyPrintout * _result; | |
2d091820 | 3412 | char * _arg0 = (char *) "Printout"; |
107e4716 | 3413 | char *_kwnames[] = { "title", NULL }; |
d24a34bb RD |
3414 | char _ptemp[128]; |
3415 | ||
3416 | self = self; | |
107e4716 | 3417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|s:new_wxPrintout",_kwnames,&_arg0)) |
d24a34bb RD |
3418 | return NULL; |
3419 | { | |
3420 | wxPy_BEGIN_ALLOW_THREADS; | |
3421 | _result = (wxPyPrintout *)new_wxPrintout(_arg0); | |
3422 | ||
3423 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
3424 | } if (_result) { |
3425 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPrintout_p"); | |
3426 | _resultobj = Py_BuildValue("s",_ptemp); | |
3427 | } else { | |
3428 | Py_INCREF(Py_None); | |
3429 | _resultobj = Py_None; | |
3430 | } | |
d24a34bb RD |
3431 | return _resultobj; |
3432 | } | |
3433 | ||
f6bcfd97 | 3434 | #define wxPrintout__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
107e4716 | 3435 | static PyObject *_wrap_wxPrintout__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3436 | PyObject * _resultobj; |
3437 | wxPyPrintout * _arg0; | |
3438 | PyObject * _arg1; | |
f6bcfd97 | 3439 | PyObject * _arg2; |
2d091820 | 3440 | PyObject * _argo0 = 0; |
d24a34bb | 3441 | PyObject * _obj1 = 0; |
f6bcfd97 BP |
3442 | PyObject * _obj2 = 0; |
3443 | char *_kwnames[] = { "self","self","_class", NULL }; | |
d24a34bb RD |
3444 | |
3445 | self = self; | |
f6bcfd97 | 3446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPrintout__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
d24a34bb | 3447 | return NULL; |
2d091820 RD |
3448 | if (_argo0) { |
3449 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3450 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
3451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout__setSelf. Expected _wxPyPrintout_p."); |
3452 | return NULL; | |
3453 | } | |
3454 | } | |
3455 | { | |
3456 | _arg1 = _obj1; | |
3457 | } | |
f6bcfd97 BP |
3458 | { |
3459 | _arg2 = _obj2; | |
3460 | } | |
d24a34bb RD |
3461 | { |
3462 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 3463 | wxPrintout__setSelf(_arg0,_arg1,_arg2); |
d24a34bb RD |
3464 | |
3465 | wxPy_END_ALLOW_THREADS; | |
3466 | } Py_INCREF(Py_None); | |
3467 | _resultobj = Py_None; | |
3468 | return _resultobj; | |
3469 | } | |
3470 | ||
107e4716 RD |
3471 | static void wxPyPrintout_Destroy(wxPyPrintout *self) { delete self; } |
3472 | static PyObject *_wrap_wxPrintout_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
d24a34bb RD |
3473 | PyObject * _resultobj; |
3474 | wxPyPrintout * _arg0; | |
2d091820 | 3475 | PyObject * _argo0 = 0; |
107e4716 | 3476 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3477 | |
3478 | self = self; | |
107e4716 | 3479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_Destroy",_kwnames,&_argo0)) |
d24a34bb | 3480 | return NULL; |
2d091820 RD |
3481 | if (_argo0) { |
3482 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3483 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
3484 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_Destroy. Expected _wxPyPrintout_p."); |
3485 | return NULL; | |
3486 | } | |
3487 | } | |
3488 | { | |
3489 | wxPy_BEGIN_ALLOW_THREADS; | |
3490 | wxPyPrintout_Destroy(_arg0); | |
3491 | ||
3492 | wxPy_END_ALLOW_THREADS; | |
3493 | } Py_INCREF(Py_None); | |
3494 | _resultobj = Py_None; | |
3495 | return _resultobj; | |
3496 | } | |
3497 | ||
3498 | #define wxPrintout_GetDC(_swigobj) (_swigobj->GetDC()) | |
107e4716 | 3499 | static PyObject *_wrap_wxPrintout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3500 | PyObject * _resultobj; |
3501 | wxDC * _result; | |
3502 | wxPyPrintout * _arg0; | |
2d091820 | 3503 | PyObject * _argo0 = 0; |
107e4716 | 3504 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3505 | char _ptemp[128]; |
3506 | ||
3507 | self = self; | |
107e4716 | 3508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetDC",_kwnames,&_argo0)) |
d24a34bb | 3509 | return NULL; |
2d091820 RD |
3510 | if (_argo0) { |
3511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
3513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetDC. Expected _wxPyPrintout_p."); |
3514 | return NULL; | |
3515 | } | |
3516 | } | |
3517 | { | |
3518 | wxPy_BEGIN_ALLOW_THREADS; | |
3519 | _result = (wxDC *)wxPrintout_GetDC(_arg0); | |
3520 | ||
3521 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
3522 | } if (_result) { |
3523 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p"); | |
3524 | _resultobj = Py_BuildValue("s",_ptemp); | |
3525 | } else { | |
3526 | Py_INCREF(Py_None); | |
3527 | _resultobj = Py_None; | |
3528 | } | |
d24a34bb RD |
3529 | return _resultobj; |
3530 | } | |
3531 | ||
3532 | #define wxPrintout_GetPageSizeMM(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizeMM(_swigarg0,_swigarg1)) | |
107e4716 | 3533 | static PyObject *_wrap_wxPrintout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3534 | PyObject * _resultobj; |
3535 | wxPyPrintout * _arg0; | |
3536 | int * _arg1; | |
3537 | int temp; | |
3538 | int * _arg2; | |
3539 | int temp0; | |
2d091820 | 3540 | PyObject * _argo0 = 0; |
107e4716 | 3541 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3542 | |
3543 | self = self; | |
3544 | { | |
3545 | _arg1 = &temp; | |
3546 | } | |
3547 | { | |
3548 | _arg2 = &temp0; | |
3549 | } | |
107e4716 | 3550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPageSizeMM",_kwnames,&_argo0)) |
d24a34bb | 3551 | return NULL; |
2d091820 RD |
3552 | if (_argo0) { |
3553 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3554 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
3555 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPageSizeMM. Expected _wxPyPrintout_p."); |
3556 | return NULL; | |
3557 | } | |
3558 | } | |
3559 | { | |
3560 | wxPy_BEGIN_ALLOW_THREADS; | |
3561 | wxPrintout_GetPageSizeMM(_arg0,_arg1,_arg2); | |
3562 | ||
3563 | wxPy_END_ALLOW_THREADS; | |
3564 | } Py_INCREF(Py_None); | |
3565 | _resultobj = Py_None; | |
3566 | { | |
3567 | PyObject *o; | |
3568 | o = PyInt_FromLong((long) (*_arg1)); | |
3569 | _resultobj = t_output_helper(_resultobj, o); | |
3570 | } | |
3571 | { | |
3572 | PyObject *o; | |
3573 | o = PyInt_FromLong((long) (*_arg2)); | |
3574 | _resultobj = t_output_helper(_resultobj, o); | |
3575 | } | |
3576 | return _resultobj; | |
3577 | } | |
3578 | ||
3579 | #define wxPrintout_GetPageSizePixels(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPageSizePixels(_swigarg0,_swigarg1)) | |
107e4716 | 3580 | static PyObject *_wrap_wxPrintout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3581 | PyObject * _resultobj; |
3582 | wxPyPrintout * _arg0; | |
3583 | int * _arg1; | |
3584 | int temp; | |
3585 | int * _arg2; | |
3586 | int temp0; | |
2d091820 | 3587 | PyObject * _argo0 = 0; |
107e4716 | 3588 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3589 | |
3590 | self = self; | |
3591 | { | |
3592 | _arg1 = &temp; | |
3593 | } | |
3594 | { | |
3595 | _arg2 = &temp0; | |
3596 | } | |
107e4716 | 3597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPageSizePixels",_kwnames,&_argo0)) |
d24a34bb | 3598 | return NULL; |
2d091820 RD |
3599 | if (_argo0) { |
3600 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3601 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
3602 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPageSizePixels. Expected _wxPyPrintout_p."); |
3603 | return NULL; | |
3604 | } | |
3605 | } | |
3606 | { | |
3607 | wxPy_BEGIN_ALLOW_THREADS; | |
3608 | wxPrintout_GetPageSizePixels(_arg0,_arg1,_arg2); | |
3609 | ||
3610 | wxPy_END_ALLOW_THREADS; | |
3611 | } Py_INCREF(Py_None); | |
3612 | _resultobj = Py_None; | |
3613 | { | |
3614 | PyObject *o; | |
3615 | o = PyInt_FromLong((long) (*_arg1)); | |
3616 | _resultobj = t_output_helper(_resultobj, o); | |
3617 | } | |
3618 | { | |
3619 | PyObject *o; | |
3620 | o = PyInt_FromLong((long) (*_arg2)); | |
3621 | _resultobj = t_output_helper(_resultobj, o); | |
3622 | } | |
3623 | return _resultobj; | |
3624 | } | |
3625 | ||
3626 | #define wxPrintout_GetPPIPrinter(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIPrinter(_swigarg0,_swigarg1)) | |
107e4716 | 3627 | static PyObject *_wrap_wxPrintout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3628 | PyObject * _resultobj; |
3629 | wxPyPrintout * _arg0; | |
3630 | int * _arg1; | |
3631 | int temp; | |
3632 | int * _arg2; | |
3633 | int temp0; | |
2d091820 | 3634 | PyObject * _argo0 = 0; |
107e4716 | 3635 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3636 | |
3637 | self = self; | |
3638 | { | |
3639 | _arg1 = &temp; | |
3640 | } | |
3641 | { | |
3642 | _arg2 = &temp0; | |
3643 | } | |
107e4716 | 3644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPPIPrinter",_kwnames,&_argo0)) |
d24a34bb | 3645 | return NULL; |
2d091820 RD |
3646 | if (_argo0) { |
3647 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3648 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
3649 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPPIPrinter. Expected _wxPyPrintout_p."); |
3650 | return NULL; | |
3651 | } | |
3652 | } | |
3653 | { | |
3654 | wxPy_BEGIN_ALLOW_THREADS; | |
3655 | wxPrintout_GetPPIPrinter(_arg0,_arg1,_arg2); | |
3656 | ||
3657 | wxPy_END_ALLOW_THREADS; | |
3658 | } Py_INCREF(Py_None); | |
3659 | _resultobj = Py_None; | |
3660 | { | |
3661 | PyObject *o; | |
3662 | o = PyInt_FromLong((long) (*_arg1)); | |
3663 | _resultobj = t_output_helper(_resultobj, o); | |
3664 | } | |
3665 | { | |
3666 | PyObject *o; | |
3667 | o = PyInt_FromLong((long) (*_arg2)); | |
3668 | _resultobj = t_output_helper(_resultobj, o); | |
3669 | } | |
3670 | return _resultobj; | |
3671 | } | |
3672 | ||
3673 | #define wxPrintout_GetPPIScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPPIScreen(_swigarg0,_swigarg1)) | |
107e4716 | 3674 | static PyObject *_wrap_wxPrintout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3675 | PyObject * _resultobj; |
3676 | wxPyPrintout * _arg0; | |
3677 | int * _arg1; | |
3678 | int temp; | |
3679 | int * _arg2; | |
3680 | int temp0; | |
2d091820 | 3681 | PyObject * _argo0 = 0; |
107e4716 | 3682 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3683 | |
3684 | self = self; | |
3685 | { | |
3686 | _arg1 = &temp; | |
3687 | } | |
3688 | { | |
3689 | _arg2 = &temp0; | |
3690 | } | |
107e4716 | 3691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_GetPPIScreen",_kwnames,&_argo0)) |
d24a34bb | 3692 | return NULL; |
2d091820 RD |
3693 | if (_argo0) { |
3694 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3695 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
3696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_GetPPIScreen. Expected _wxPyPrintout_p."); |
3697 | return NULL; | |
3698 | } | |
3699 | } | |
3700 | { | |
3701 | wxPy_BEGIN_ALLOW_THREADS; | |
3702 | wxPrintout_GetPPIScreen(_arg0,_arg1,_arg2); | |
3703 | ||
3704 | wxPy_END_ALLOW_THREADS; | |
3705 | } Py_INCREF(Py_None); | |
3706 | _resultobj = Py_None; | |
3707 | { | |
3708 | PyObject *o; | |
3709 | o = PyInt_FromLong((long) (*_arg1)); | |
3710 | _resultobj = t_output_helper(_resultobj, o); | |
3711 | } | |
3712 | { | |
3713 | PyObject *o; | |
3714 | o = PyInt_FromLong((long) (*_arg2)); | |
3715 | _resultobj = t_output_helper(_resultobj, o); | |
3716 | } | |
3717 | return _resultobj; | |
3718 | } | |
3719 | ||
3720 | #define wxPrintout_IsPreview(_swigobj) (_swigobj->IsPreview()) | |
107e4716 | 3721 | static PyObject *_wrap_wxPrintout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3722 | PyObject * _resultobj; |
3723 | bool _result; | |
3724 | wxPyPrintout * _arg0; | |
2d091820 | 3725 | PyObject * _argo0 = 0; |
107e4716 | 3726 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3727 | |
3728 | self = self; | |
107e4716 | 3729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_IsPreview",_kwnames,&_argo0)) |
d24a34bb | 3730 | return NULL; |
2d091820 RD |
3731 | if (_argo0) { |
3732 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3733 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
3734 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_IsPreview. Expected _wxPyPrintout_p."); |
3735 | return NULL; | |
3736 | } | |
3737 | } | |
3738 | { | |
3739 | wxPy_BEGIN_ALLOW_THREADS; | |
3740 | _result = (bool )wxPrintout_IsPreview(_arg0); | |
3741 | ||
3742 | wxPy_END_ALLOW_THREADS; | |
3743 | } _resultobj = Py_BuildValue("i",_result); | |
3744 | return _resultobj; | |
3745 | } | |
3746 | ||
3747 | #define wxPrintout_base_OnBeginDocument(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginDocument(_swigarg0,_swigarg1)) | |
107e4716 | 3748 | static PyObject *_wrap_wxPrintout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3749 | PyObject * _resultobj; |
3750 | bool _result; | |
3751 | wxPyPrintout * _arg0; | |
3752 | int _arg1; | |
3753 | int _arg2; | |
2d091820 | 3754 | PyObject * _argo0 = 0; |
107e4716 | 3755 | char *_kwnames[] = { "self","startPage","endPage", NULL }; |
d24a34bb RD |
3756 | |
3757 | self = self; | |
107e4716 | 3758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPrintout_base_OnBeginDocument",_kwnames,&_argo0,&_arg1,&_arg2)) |
d24a34bb | 3759 | return NULL; |
2d091820 RD |
3760 | if (_argo0) { |
3761 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3762 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
3763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnBeginDocument. Expected _wxPyPrintout_p."); |
3764 | return NULL; | |
3765 | } | |
3766 | } | |
3767 | { | |
3768 | wxPy_BEGIN_ALLOW_THREADS; | |
3769 | _result = (bool )wxPrintout_base_OnBeginDocument(_arg0,_arg1,_arg2); | |
3770 | ||
3771 | wxPy_END_ALLOW_THREADS; | |
3772 | } _resultobj = Py_BuildValue("i",_result); | |
3773 | return _resultobj; | |
3774 | } | |
3775 | ||
3776 | #define wxPrintout_base_OnEndDocument(_swigobj) (_swigobj->base_OnEndDocument()) | |
107e4716 | 3777 | static PyObject *_wrap_wxPrintout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3778 | PyObject * _resultobj; |
3779 | wxPyPrintout * _arg0; | |
2d091820 | 3780 | PyObject * _argo0 = 0; |
107e4716 | 3781 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3782 | |
3783 | self = self; | |
107e4716 | 3784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnEndDocument",_kwnames,&_argo0)) |
d24a34bb | 3785 | return NULL; |
2d091820 RD |
3786 | if (_argo0) { |
3787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
3789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnEndDocument. Expected _wxPyPrintout_p."); |
3790 | return NULL; | |
3791 | } | |
3792 | } | |
3793 | { | |
3794 | wxPy_BEGIN_ALLOW_THREADS; | |
3795 | wxPrintout_base_OnEndDocument(_arg0); | |
3796 | ||
3797 | wxPy_END_ALLOW_THREADS; | |
3798 | } Py_INCREF(Py_None); | |
3799 | _resultobj = Py_None; | |
3800 | return _resultobj; | |
3801 | } | |
3802 | ||
3803 | #define wxPrintout_base_OnBeginPrinting(_swigobj) (_swigobj->base_OnBeginPrinting()) | |
107e4716 | 3804 | static PyObject *_wrap_wxPrintout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3805 | PyObject * _resultobj; |
3806 | wxPyPrintout * _arg0; | |
2d091820 | 3807 | PyObject * _argo0 = 0; |
107e4716 | 3808 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3809 | |
3810 | self = self; | |
107e4716 | 3811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnBeginPrinting",_kwnames,&_argo0)) |
d24a34bb | 3812 | return NULL; |
2d091820 RD |
3813 | if (_argo0) { |
3814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
3816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnBeginPrinting. Expected _wxPyPrintout_p."); |
3817 | return NULL; | |
3818 | } | |
3819 | } | |
3820 | { | |
3821 | wxPy_BEGIN_ALLOW_THREADS; | |
3822 | wxPrintout_base_OnBeginPrinting(_arg0); | |
3823 | ||
3824 | wxPy_END_ALLOW_THREADS; | |
3825 | } Py_INCREF(Py_None); | |
3826 | _resultobj = Py_None; | |
3827 | return _resultobj; | |
3828 | } | |
3829 | ||
3830 | #define wxPrintout_base_OnEndPrinting(_swigobj) (_swigobj->base_OnEndPrinting()) | |
107e4716 | 3831 | static PyObject *_wrap_wxPrintout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3832 | PyObject * _resultobj; |
3833 | wxPyPrintout * _arg0; | |
2d091820 | 3834 | PyObject * _argo0 = 0; |
107e4716 | 3835 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3836 | |
3837 | self = self; | |
107e4716 | 3838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnEndPrinting",_kwnames,&_argo0)) |
d24a34bb | 3839 | return NULL; |
2d091820 RD |
3840 | if (_argo0) { |
3841 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3842 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
3843 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnEndPrinting. Expected _wxPyPrintout_p."); |
3844 | return NULL; | |
3845 | } | |
3846 | } | |
3847 | { | |
3848 | wxPy_BEGIN_ALLOW_THREADS; | |
3849 | wxPrintout_base_OnEndPrinting(_arg0); | |
3850 | ||
3851 | wxPy_END_ALLOW_THREADS; | |
3852 | } Py_INCREF(Py_None); | |
3853 | _resultobj = Py_None; | |
3854 | return _resultobj; | |
3855 | } | |
3856 | ||
3857 | #define wxPrintout_base_OnPreparePrinting(_swigobj) (_swigobj->base_OnPreparePrinting()) | |
107e4716 | 3858 | static PyObject *_wrap_wxPrintout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3859 | PyObject * _resultobj; |
3860 | wxPyPrintout * _arg0; | |
2d091820 | 3861 | PyObject * _argo0 = 0; |
107e4716 | 3862 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3863 | |
3864 | self = self; | |
107e4716 | 3865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_OnPreparePrinting",_kwnames,&_argo0)) |
d24a34bb | 3866 | return NULL; |
2d091820 RD |
3867 | if (_argo0) { |
3868 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3869 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
3870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_OnPreparePrinting. Expected _wxPyPrintout_p."); |
3871 | return NULL; | |
3872 | } | |
3873 | } | |
3874 | { | |
3875 | wxPy_BEGIN_ALLOW_THREADS; | |
3876 | wxPrintout_base_OnPreparePrinting(_arg0); | |
3877 | ||
3878 | wxPy_END_ALLOW_THREADS; | |
3879 | } Py_INCREF(Py_None); | |
3880 | _resultobj = Py_None; | |
3881 | return _resultobj; | |
3882 | } | |
3883 | ||
3884 | #define wxPrintout_base_GetPageInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_GetPageInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
107e4716 | 3885 | static PyObject *_wrap_wxPrintout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3886 | PyObject * _resultobj; |
3887 | wxPyPrintout * _arg0; | |
3888 | int * _arg1; | |
3889 | int temp; | |
3890 | int * _arg2; | |
3891 | int temp0; | |
3892 | int * _arg3; | |
3893 | int temp1; | |
3894 | int * _arg4; | |
3895 | int temp2; | |
2d091820 | 3896 | PyObject * _argo0 = 0; |
107e4716 | 3897 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3898 | |
3899 | self = self; | |
3900 | { | |
3901 | _arg1 = &temp; | |
3902 | } | |
3903 | { | |
3904 | _arg2 = &temp0; | |
3905 | } | |
3906 | { | |
3907 | _arg3 = &temp1; | |
3908 | } | |
3909 | { | |
3910 | _arg4 = &temp2; | |
3911 | } | |
107e4716 | 3912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintout_base_GetPageInfo",_kwnames,&_argo0)) |
d24a34bb | 3913 | return NULL; |
2d091820 RD |
3914 | if (_argo0) { |
3915 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3916 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
3917 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_GetPageInfo. Expected _wxPyPrintout_p."); |
3918 | return NULL; | |
3919 | } | |
3920 | } | |
3921 | { | |
3922 | wxPy_BEGIN_ALLOW_THREADS; | |
3923 | wxPrintout_base_GetPageInfo(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3924 | ||
3925 | wxPy_END_ALLOW_THREADS; | |
3926 | } Py_INCREF(Py_None); | |
3927 | _resultobj = Py_None; | |
3928 | { | |
3929 | PyObject *o; | |
3930 | o = PyInt_FromLong((long) (*_arg1)); | |
3931 | _resultobj = t_output_helper(_resultobj, o); | |
3932 | } | |
3933 | { | |
3934 | PyObject *o; | |
3935 | o = PyInt_FromLong((long) (*_arg2)); | |
3936 | _resultobj = t_output_helper(_resultobj, o); | |
3937 | } | |
3938 | { | |
3939 | PyObject *o; | |
3940 | o = PyInt_FromLong((long) (*_arg3)); | |
3941 | _resultobj = t_output_helper(_resultobj, o); | |
3942 | } | |
3943 | { | |
3944 | PyObject *o; | |
3945 | o = PyInt_FromLong((long) (*_arg4)); | |
3946 | _resultobj = t_output_helper(_resultobj, o); | |
3947 | } | |
3948 | return _resultobj; | |
3949 | } | |
3950 | ||
3951 | #define wxPrintout_base_HasPage(_swigobj,_swigarg0) (_swigobj->base_HasPage(_swigarg0)) | |
107e4716 | 3952 | static PyObject *_wrap_wxPrintout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3953 | PyObject * _resultobj; |
3954 | bool _result; | |
3955 | wxPyPrintout * _arg0; | |
3956 | int _arg1; | |
2d091820 | 3957 | PyObject * _argo0 = 0; |
107e4716 | 3958 | char *_kwnames[] = { "self","page", NULL }; |
d24a34bb RD |
3959 | |
3960 | self = self; | |
107e4716 | 3961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintout_base_HasPage",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 3962 | return NULL; |
2d091820 RD |
3963 | if (_argo0) { |
3964 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3965 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
3966 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintout_base_HasPage. Expected _wxPyPrintout_p."); |
3967 | return NULL; | |
3968 | } | |
3969 | } | |
3970 | { | |
3971 | wxPy_BEGIN_ALLOW_THREADS; | |
3972 | _result = (bool )wxPrintout_base_HasPage(_arg0,_arg1); | |
3973 | ||
3974 | wxPy_END_ALLOW_THREADS; | |
3975 | } _resultobj = Py_BuildValue("i",_result); | |
3976 | return _resultobj; | |
3977 | } | |
3978 | ||
3979 | #define new_wxPrinter(_swigarg0) (new wxPrinter(_swigarg0)) | |
107e4716 | 3980 | static PyObject *_wrap_new_wxPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3981 | PyObject * _resultobj; |
3982 | wxPrinter * _result; | |
2d091820 RD |
3983 | wxPrintDialogData * _arg0 = (wxPrintDialogData *) NULL; |
3984 | PyObject * _argo0 = 0; | |
107e4716 | 3985 | char *_kwnames[] = { "data", NULL }; |
d24a34bb RD |
3986 | char _ptemp[128]; |
3987 | ||
3988 | self = self; | |
107e4716 | 3989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxPrinter",_kwnames,&_argo0)) |
d24a34bb | 3990 | return NULL; |
2d091820 RD |
3991 | if (_argo0) { |
3992 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3993 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintDialogData_p")) { | |
d24a34bb RD |
3994 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrinter. Expected _wxPrintDialogData_p."); |
3995 | return NULL; | |
3996 | } | |
3997 | } | |
3998 | { | |
3999 | wxPy_BEGIN_ALLOW_THREADS; | |
4000 | _result = (wxPrinter *)new_wxPrinter(_arg0); | |
4001 | ||
4002 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4003 | } if (_result) { |
4004 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrinter_p"); | |
4005 | _resultobj = Py_BuildValue("s",_ptemp); | |
4006 | } else { | |
4007 | Py_INCREF(Py_None); | |
4008 | _resultobj = Py_None; | |
4009 | } | |
d24a34bb RD |
4010 | return _resultobj; |
4011 | } | |
4012 | ||
4013 | #define delete_wxPrinter(_swigobj) (delete _swigobj) | |
107e4716 | 4014 | static PyObject *_wrap_delete_wxPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4015 | PyObject * _resultobj; |
4016 | wxPrinter * _arg0; | |
2d091820 | 4017 | PyObject * _argo0 = 0; |
107e4716 | 4018 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4019 | |
4020 | self = self; | |
107e4716 | 4021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPrinter",_kwnames,&_argo0)) |
d24a34bb | 4022 | return NULL; |
2d091820 RD |
4023 | if (_argo0) { |
4024 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4025 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) { | |
d24a34bb RD |
4026 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPrinter. Expected _wxPrinter_p."); |
4027 | return NULL; | |
4028 | } | |
4029 | } | |
4030 | { | |
4031 | wxPy_BEGIN_ALLOW_THREADS; | |
4032 | delete_wxPrinter(_arg0); | |
4033 | ||
4034 | wxPy_END_ALLOW_THREADS; | |
4035 | } Py_INCREF(Py_None); | |
4036 | _resultobj = Py_None; | |
4037 | return _resultobj; | |
4038 | } | |
4039 | ||
4040 | #define wxPrinter_CreateAbortWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateAbortWindow(_swigarg0,_swigarg1)) | |
107e4716 | 4041 | static PyObject *_wrap_wxPrinter_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4042 | PyObject * _resultobj; |
4043 | wxPrinter * _arg0; | |
4044 | wxWindow * _arg1; | |
4045 | wxPyPrintout * _arg2; | |
2d091820 RD |
4046 | PyObject * _argo0 = 0; |
4047 | PyObject * _argo1 = 0; | |
4048 | PyObject * _argo2 = 0; | |
107e4716 | 4049 | char *_kwnames[] = { "self","parent","printout", NULL }; |
d24a34bb RD |
4050 | |
4051 | self = self; | |
107e4716 | 4052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPrinter_CreateAbortWindow",_kwnames,&_argo0,&_argo1,&_argo2)) |
d24a34bb | 4053 | return NULL; |
2d091820 RD |
4054 | if (_argo0) { |
4055 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4056 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) { | |
d24a34bb RD |
4057 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_CreateAbortWindow. Expected _wxPrinter_p."); |
4058 | return NULL; | |
4059 | } | |
4060 | } | |
2d091820 RD |
4061 | if (_argo1) { |
4062 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4063 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
d24a34bb RD |
4064 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_CreateAbortWindow. Expected _wxWindow_p."); |
4065 | return NULL; | |
4066 | } | |
4067 | } | |
2d091820 RD |
4068 | if (_argo2) { |
4069 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4070 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyPrintout_p")) { | |
d24a34bb RD |
4071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrinter_CreateAbortWindow. Expected _wxPyPrintout_p."); |
4072 | return NULL; | |
4073 | } | |
4074 | } | |
4075 | { | |
4076 | wxPy_BEGIN_ALLOW_THREADS; | |
4077 | wxPrinter_CreateAbortWindow(_arg0,_arg1,_arg2); | |
4078 | ||
4079 | wxPy_END_ALLOW_THREADS; | |
4080 | } Py_INCREF(Py_None); | |
4081 | _resultobj = Py_None; | |
4082 | return _resultobj; | |
4083 | } | |
4084 | ||
4085 | #define wxPrinter_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData()) | |
107e4716 | 4086 | static PyObject *_wrap_wxPrinter_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4087 | PyObject * _resultobj; |
4088 | wxPrintDialogData * _result; | |
4089 | wxPrinter * _arg0; | |
2d091820 | 4090 | PyObject * _argo0 = 0; |
107e4716 | 4091 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4092 | char _ptemp[128]; |
4093 | ||
4094 | self = self; | |
107e4716 | 4095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrinter_GetPrintDialogData",_kwnames,&_argo0)) |
d24a34bb | 4096 | return NULL; |
2d091820 RD |
4097 | if (_argo0) { |
4098 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4099 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) { | |
d24a34bb RD |
4100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_GetPrintDialogData. Expected _wxPrinter_p."); |
4101 | return NULL; | |
4102 | } | |
4103 | } | |
4104 | { | |
4105 | wxPy_BEGIN_ALLOW_THREADS; | |
4106 | wxPrintDialogData & _result_ref = wxPrinter_GetPrintDialogData(_arg0); | |
4107 | _result = (wxPrintDialogData *) &_result_ref; | |
4108 | ||
4109 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4110 | } if (_result) { |
4111 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p"); | |
4112 | _resultobj = Py_BuildValue("s",_ptemp); | |
4113 | } else { | |
4114 | Py_INCREF(Py_None); | |
4115 | _resultobj = Py_None; | |
4116 | } | |
d24a34bb RD |
4117 | return _resultobj; |
4118 | } | |
4119 | ||
4120 | #define wxPrinter_Print(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Print(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 4121 | static PyObject *_wrap_wxPrinter_Print(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4122 | PyObject * _resultobj; |
4123 | bool _result; | |
4124 | wxPrinter * _arg0; | |
4125 | wxWindow * _arg1; | |
4126 | wxPyPrintout * _arg2; | |
2d091820 RD |
4127 | int _arg3 = (int ) TRUE; |
4128 | PyObject * _argo0 = 0; | |
4129 | PyObject * _argo1 = 0; | |
4130 | PyObject * _argo2 = 0; | |
107e4716 | 4131 | char *_kwnames[] = { "self","parent","printout","prompt", NULL }; |
d24a34bb RD |
4132 | |
4133 | self = self; | |
107e4716 | 4134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPrinter_Print",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3)) |
d24a34bb | 4135 | return NULL; |
2d091820 RD |
4136 | if (_argo0) { |
4137 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4138 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) { | |
d24a34bb RD |
4139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_Print. Expected _wxPrinter_p."); |
4140 | return NULL; | |
4141 | } | |
4142 | } | |
2d091820 RD |
4143 | if (_argo1) { |
4144 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4145 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
d24a34bb RD |
4146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_Print. Expected _wxWindow_p."); |
4147 | return NULL; | |
4148 | } | |
4149 | } | |
2d091820 RD |
4150 | if (_argo2) { |
4151 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4152 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyPrintout_p")) { | |
d24a34bb RD |
4153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrinter_Print. Expected _wxPyPrintout_p."); |
4154 | return NULL; | |
4155 | } | |
4156 | } | |
4157 | { | |
4158 | wxPy_BEGIN_ALLOW_THREADS; | |
4159 | _result = (bool )wxPrinter_Print(_arg0,_arg1,_arg2,_arg3); | |
4160 | ||
4161 | wxPy_END_ALLOW_THREADS; | |
4162 | } _resultobj = Py_BuildValue("i",_result); | |
4163 | return _resultobj; | |
4164 | } | |
4165 | ||
4166 | #define wxPrinter_PrintDialog(_swigobj,_swigarg0) (_swigobj->PrintDialog(_swigarg0)) | |
107e4716 | 4167 | static PyObject *_wrap_wxPrinter_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4168 | PyObject * _resultobj; |
4169 | wxDC * _result; | |
4170 | wxPrinter * _arg0; | |
4171 | wxWindow * _arg1; | |
2d091820 RD |
4172 | PyObject * _argo0 = 0; |
4173 | PyObject * _argo1 = 0; | |
107e4716 | 4174 | char *_kwnames[] = { "self","parent", NULL }; |
d24a34bb RD |
4175 | char _ptemp[128]; |
4176 | ||
4177 | self = self; | |
107e4716 | 4178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrinter_PrintDialog",_kwnames,&_argo0,&_argo1)) |
d24a34bb | 4179 | return NULL; |
2d091820 RD |
4180 | if (_argo0) { |
4181 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4182 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) { | |
d24a34bb RD |
4183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_PrintDialog. Expected _wxPrinter_p."); |
4184 | return NULL; | |
4185 | } | |
4186 | } | |
2d091820 RD |
4187 | if (_argo1) { |
4188 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4189 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
d24a34bb RD |
4190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_PrintDialog. Expected _wxWindow_p."); |
4191 | return NULL; | |
4192 | } | |
4193 | } | |
4194 | { | |
4195 | wxPy_BEGIN_ALLOW_THREADS; | |
4196 | _result = (wxDC *)wxPrinter_PrintDialog(_arg0,_arg1); | |
4197 | ||
4198 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4199 | } if (_result) { |
4200 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p"); | |
4201 | _resultobj = Py_BuildValue("s",_ptemp); | |
4202 | } else { | |
4203 | Py_INCREF(Py_None); | |
4204 | _resultobj = Py_None; | |
4205 | } | |
d24a34bb RD |
4206 | return _resultobj; |
4207 | } | |
4208 | ||
4209 | #define wxPrinter_ReportError(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ReportError(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 4210 | static PyObject *_wrap_wxPrinter_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4211 | PyObject * _resultobj; |
4212 | wxPrinter * _arg0; | |
4213 | wxWindow * _arg1; | |
4214 | wxPyPrintout * _arg2; | |
4215 | char * _arg3; | |
2d091820 RD |
4216 | PyObject * _argo0 = 0; |
4217 | PyObject * _argo1 = 0; | |
4218 | PyObject * _argo2 = 0; | |
107e4716 | 4219 | char *_kwnames[] = { "self","parent","printout","message", NULL }; |
d24a34bb RD |
4220 | |
4221 | self = self; | |
107e4716 | 4222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOs:wxPrinter_ReportError",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3)) |
d24a34bb | 4223 | return NULL; |
2d091820 RD |
4224 | if (_argo0) { |
4225 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4226 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) { | |
d24a34bb RD |
4227 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_ReportError. Expected _wxPrinter_p."); |
4228 | return NULL; | |
4229 | } | |
4230 | } | |
2d091820 RD |
4231 | if (_argo1) { |
4232 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4233 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
d24a34bb RD |
4234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_ReportError. Expected _wxWindow_p."); |
4235 | return NULL; | |
4236 | } | |
4237 | } | |
2d091820 RD |
4238 | if (_argo2) { |
4239 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4240 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyPrintout_p")) { | |
d24a34bb RD |
4241 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPrinter_ReportError. Expected _wxPyPrintout_p."); |
4242 | return NULL; | |
4243 | } | |
4244 | } | |
4245 | { | |
4246 | wxPy_BEGIN_ALLOW_THREADS; | |
4247 | wxPrinter_ReportError(_arg0,_arg1,_arg2,_arg3); | |
4248 | ||
4249 | wxPy_END_ALLOW_THREADS; | |
4250 | } Py_INCREF(Py_None); | |
4251 | _resultobj = Py_None; | |
4252 | return _resultobj; | |
4253 | } | |
4254 | ||
4255 | #define wxPrinter_Setup(_swigobj,_swigarg0) (_swigobj->Setup(_swigarg0)) | |
107e4716 | 4256 | static PyObject *_wrap_wxPrinter_Setup(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4257 | PyObject * _resultobj; |
4258 | bool _result; | |
4259 | wxPrinter * _arg0; | |
4260 | wxWindow * _arg1; | |
2d091820 RD |
4261 | PyObject * _argo0 = 0; |
4262 | PyObject * _argo1 = 0; | |
107e4716 | 4263 | char *_kwnames[] = { "self","parent", NULL }; |
d24a34bb RD |
4264 | |
4265 | self = self; | |
107e4716 | 4266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrinter_Setup",_kwnames,&_argo0,&_argo1)) |
d24a34bb | 4267 | return NULL; |
2d091820 RD |
4268 | if (_argo0) { |
4269 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4270 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrinter_p")) { | |
d24a34bb RD |
4271 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrinter_Setup. Expected _wxPrinter_p."); |
4272 | return NULL; | |
4273 | } | |
4274 | } | |
2d091820 RD |
4275 | if (_argo1) { |
4276 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4277 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
d24a34bb RD |
4278 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrinter_Setup. Expected _wxWindow_p."); |
4279 | return NULL; | |
4280 | } | |
4281 | } | |
4282 | { | |
4283 | wxPy_BEGIN_ALLOW_THREADS; | |
4284 | _result = (bool )wxPrinter_Setup(_arg0,_arg1); | |
4285 | ||
4286 | wxPy_END_ALLOW_THREADS; | |
4287 | } _resultobj = Py_BuildValue("i",_result); | |
4288 | return _resultobj; | |
4289 | } | |
4290 | ||
4291 | #define new_wxPrintPreview(_swigarg0,_swigarg1,_swigarg2) (new wxPrintPreview(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 4292 | static PyObject *_wrap_new_wxPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4293 | PyObject * _resultobj; |
4294 | wxPrintPreview * _result; | |
4295 | wxPyPrintout * _arg0; | |
4296 | wxPyPrintout * _arg1; | |
2d091820 RD |
4297 | wxPrintData * _arg2 = (wxPrintData *) NULL; |
4298 | PyObject * _argo0 = 0; | |
4299 | PyObject * _argo1 = 0; | |
4300 | PyObject * _argo2 = 0; | |
107e4716 | 4301 | char *_kwnames[] = { "printout","printoutForPrinting","data", NULL }; |
d24a34bb RD |
4302 | char _ptemp[128]; |
4303 | ||
4304 | self = self; | |
107e4716 | 4305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:new_wxPrintPreview",_kwnames,&_argo0,&_argo1,&_argo2)) |
d24a34bb | 4306 | return NULL; |
2d091820 RD |
4307 | if (_argo0) { |
4308 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4309 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPrintout_p")) { | |
d24a34bb RD |
4310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPrintPreview. Expected _wxPyPrintout_p."); |
4311 | return NULL; | |
4312 | } | |
4313 | } | |
2d091820 RD |
4314 | if (_argo1) { |
4315 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4316 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyPrintout_p")) { | |
d24a34bb RD |
4317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPrintPreview. Expected _wxPyPrintout_p."); |
4318 | return NULL; | |
4319 | } | |
4320 | } | |
2d091820 RD |
4321 | if (_argo2) { |
4322 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4323 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPrintData_p")) { | |
d24a34bb RD |
4324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPrintPreview. Expected _wxPrintData_p."); |
4325 | return NULL; | |
4326 | } | |
4327 | } | |
4328 | { | |
4329 | wxPy_BEGIN_ALLOW_THREADS; | |
4330 | _result = (wxPrintPreview *)new_wxPrintPreview(_arg0,_arg1,_arg2); | |
4331 | ||
4332 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4333 | } if (_result) { |
4334 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintPreview_p"); | |
4335 | _resultobj = Py_BuildValue("s",_ptemp); | |
4336 | } else { | |
4337 | Py_INCREF(Py_None); | |
4338 | _resultobj = Py_None; | |
4339 | } | |
d24a34bb RD |
4340 | return _resultobj; |
4341 | } | |
4342 | ||
4343 | #define wxPrintPreview_GetCanvas(_swigobj) (_swigobj->GetCanvas()) | |
107e4716 | 4344 | static PyObject *_wrap_wxPrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4345 | PyObject * _resultobj; |
4346 | wxWindow * _result; | |
4347 | wxPrintPreview * _arg0; | |
2d091820 | 4348 | PyObject * _argo0 = 0; |
107e4716 | 4349 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4350 | char _ptemp[128]; |
4351 | ||
4352 | self = self; | |
107e4716 | 4353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetCanvas",_kwnames,&_argo0)) |
d24a34bb | 4354 | return NULL; |
2d091820 RD |
4355 | if (_argo0) { |
4356 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4357 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4358 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetCanvas. Expected _wxPrintPreview_p."); |
4359 | return NULL; | |
4360 | } | |
4361 | } | |
4362 | { | |
4363 | wxPy_BEGIN_ALLOW_THREADS; | |
4364 | _result = (wxWindow *)wxPrintPreview_GetCanvas(_arg0); | |
4365 | ||
4366 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4367 | } if (_result) { |
4368 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
4369 | _resultobj = Py_BuildValue("s",_ptemp); | |
4370 | } else { | |
4371 | Py_INCREF(Py_None); | |
4372 | _resultobj = Py_None; | |
4373 | } | |
d24a34bb RD |
4374 | return _resultobj; |
4375 | } | |
4376 | ||
4377 | #define wxPrintPreview_GetCurrentPage(_swigobj) (_swigobj->GetCurrentPage()) | |
107e4716 | 4378 | static PyObject *_wrap_wxPrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4379 | PyObject * _resultobj; |
4380 | int _result; | |
4381 | wxPrintPreview * _arg0; | |
2d091820 | 4382 | PyObject * _argo0 = 0; |
107e4716 | 4383 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4384 | |
4385 | self = self; | |
107e4716 | 4386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetCurrentPage",_kwnames,&_argo0)) |
d24a34bb | 4387 | return NULL; |
2d091820 RD |
4388 | if (_argo0) { |
4389 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4390 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetCurrentPage. Expected _wxPrintPreview_p."); |
4392 | return NULL; | |
4393 | } | |
4394 | } | |
4395 | { | |
4396 | wxPy_BEGIN_ALLOW_THREADS; | |
4397 | _result = (int )wxPrintPreview_GetCurrentPage(_arg0); | |
4398 | ||
4399 | wxPy_END_ALLOW_THREADS; | |
4400 | } _resultobj = Py_BuildValue("i",_result); | |
4401 | return _resultobj; | |
4402 | } | |
4403 | ||
4404 | #define wxPrintPreview_GetFrame(_swigobj) (_swigobj->GetFrame()) | |
107e4716 | 4405 | static PyObject *_wrap_wxPrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4406 | PyObject * _resultobj; |
4407 | wxFrame * _result; | |
4408 | wxPrintPreview * _arg0; | |
2d091820 | 4409 | PyObject * _argo0 = 0; |
107e4716 | 4410 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4411 | char _ptemp[128]; |
4412 | ||
4413 | self = self; | |
107e4716 | 4414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetFrame",_kwnames,&_argo0)) |
d24a34bb | 4415 | return NULL; |
2d091820 RD |
4416 | if (_argo0) { |
4417 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4418 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4419 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetFrame. Expected _wxPrintPreview_p."); |
4420 | return NULL; | |
4421 | } | |
4422 | } | |
4423 | { | |
4424 | wxPy_BEGIN_ALLOW_THREADS; | |
4425 | _result = (wxFrame *)wxPrintPreview_GetFrame(_arg0); | |
4426 | ||
4427 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4428 | } if (_result) { |
4429 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p"); | |
4430 | _resultobj = Py_BuildValue("s",_ptemp); | |
4431 | } else { | |
4432 | Py_INCREF(Py_None); | |
4433 | _resultobj = Py_None; | |
4434 | } | |
d24a34bb RD |
4435 | return _resultobj; |
4436 | } | |
4437 | ||
4438 | #define wxPrintPreview_GetMaxPage(_swigobj) (_swigobj->GetMaxPage()) | |
107e4716 | 4439 | static PyObject *_wrap_wxPrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4440 | PyObject * _resultobj; |
4441 | int _result; | |
4442 | wxPrintPreview * _arg0; | |
2d091820 | 4443 | PyObject * _argo0 = 0; |
107e4716 | 4444 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4445 | |
4446 | self = self; | |
107e4716 | 4447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetMaxPage",_kwnames,&_argo0)) |
d24a34bb | 4448 | return NULL; |
2d091820 RD |
4449 | if (_argo0) { |
4450 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4451 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetMaxPage. Expected _wxPrintPreview_p."); |
4453 | return NULL; | |
4454 | } | |
4455 | } | |
4456 | { | |
4457 | wxPy_BEGIN_ALLOW_THREADS; | |
4458 | _result = (int )wxPrintPreview_GetMaxPage(_arg0); | |
4459 | ||
4460 | wxPy_END_ALLOW_THREADS; | |
4461 | } _resultobj = Py_BuildValue("i",_result); | |
4462 | return _resultobj; | |
4463 | } | |
4464 | ||
4465 | #define wxPrintPreview_GetMinPage(_swigobj) (_swigobj->GetMinPage()) | |
107e4716 | 4466 | static PyObject *_wrap_wxPrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4467 | PyObject * _resultobj; |
4468 | int _result; | |
4469 | wxPrintPreview * _arg0; | |
2d091820 | 4470 | PyObject * _argo0 = 0; |
107e4716 | 4471 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4472 | |
4473 | self = self; | |
107e4716 | 4474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetMinPage",_kwnames,&_argo0)) |
d24a34bb | 4475 | return NULL; |
2d091820 RD |
4476 | if (_argo0) { |
4477 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4478 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4479 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetMinPage. Expected _wxPrintPreview_p."); |
4480 | return NULL; | |
4481 | } | |
4482 | } | |
4483 | { | |
4484 | wxPy_BEGIN_ALLOW_THREADS; | |
4485 | _result = (int )wxPrintPreview_GetMinPage(_arg0); | |
4486 | ||
4487 | wxPy_END_ALLOW_THREADS; | |
4488 | } _resultobj = Py_BuildValue("i",_result); | |
4489 | return _resultobj; | |
4490 | } | |
4491 | ||
4492 | #define wxPrintPreview_GetPrintDialogData(_swigobj) (_swigobj->GetPrintDialogData()) | |
107e4716 | 4493 | static PyObject *_wrap_wxPrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4494 | PyObject * _resultobj; |
4495 | wxPrintDialogData * _result; | |
4496 | wxPrintPreview * _arg0; | |
2d091820 | 4497 | PyObject * _argo0 = 0; |
107e4716 | 4498 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4499 | char _ptemp[128]; |
4500 | ||
4501 | self = self; | |
107e4716 | 4502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetPrintDialogData",_kwnames,&_argo0)) |
d24a34bb | 4503 | return NULL; |
2d091820 RD |
4504 | if (_argo0) { |
4505 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4506 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4507 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetPrintDialogData. Expected _wxPrintPreview_p."); |
4508 | return NULL; | |
4509 | } | |
4510 | } | |
4511 | { | |
4512 | wxPy_BEGIN_ALLOW_THREADS; | |
4513 | wxPrintDialogData & _result_ref = wxPrintPreview_GetPrintDialogData(_arg0); | |
4514 | _result = (wxPrintDialogData *) &_result_ref; | |
4515 | ||
4516 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4517 | } if (_result) { |
4518 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintDialogData_p"); | |
4519 | _resultobj = Py_BuildValue("s",_ptemp); | |
4520 | } else { | |
4521 | Py_INCREF(Py_None); | |
4522 | _resultobj = Py_None; | |
4523 | } | |
d24a34bb RD |
4524 | return _resultobj; |
4525 | } | |
4526 | ||
4527 | #define wxPrintPreview_GetPrintout(_swigobj) (_swigobj->GetPrintout()) | |
107e4716 | 4528 | static PyObject *_wrap_wxPrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4529 | PyObject * _resultobj; |
4530 | wxPyPrintout * _result; | |
4531 | wxPrintPreview * _arg0; | |
2d091820 | 4532 | PyObject * _argo0 = 0; |
107e4716 | 4533 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4534 | char _ptemp[128]; |
4535 | ||
4536 | self = self; | |
107e4716 | 4537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetPrintout",_kwnames,&_argo0)) |
d24a34bb | 4538 | return NULL; |
2d091820 RD |
4539 | if (_argo0) { |
4540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetPrintout. Expected _wxPrintPreview_p."); |
4543 | return NULL; | |
4544 | } | |
4545 | } | |
4546 | { | |
4547 | wxPy_BEGIN_ALLOW_THREADS; | |
4548 | _result = (wxPyPrintout *)wxPrintPreview_GetPrintout(_arg0); | |
4549 | ||
4550 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4551 | } if (_result) { |
4552 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPrintout_p"); | |
4553 | _resultobj = Py_BuildValue("s",_ptemp); | |
4554 | } else { | |
4555 | Py_INCREF(Py_None); | |
4556 | _resultobj = Py_None; | |
4557 | } | |
d24a34bb RD |
4558 | return _resultobj; |
4559 | } | |
4560 | ||
4561 | #define wxPrintPreview_GetPrintoutForPrinting(_swigobj) (_swigobj->GetPrintoutForPrinting()) | |
107e4716 | 4562 | static PyObject *_wrap_wxPrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4563 | PyObject * _resultobj; |
4564 | wxPyPrintout * _result; | |
4565 | wxPrintPreview * _arg0; | |
2d091820 | 4566 | PyObject * _argo0 = 0; |
107e4716 | 4567 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4568 | char _ptemp[128]; |
4569 | ||
4570 | self = self; | |
107e4716 | 4571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetPrintoutForPrinting",_kwnames,&_argo0)) |
d24a34bb | 4572 | return NULL; |
2d091820 RD |
4573 | if (_argo0) { |
4574 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4575 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4576 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetPrintoutForPrinting. Expected _wxPrintPreview_p."); |
4577 | return NULL; | |
4578 | } | |
4579 | } | |
4580 | { | |
4581 | wxPy_BEGIN_ALLOW_THREADS; | |
4582 | _result = (wxPyPrintout *)wxPrintPreview_GetPrintoutForPrinting(_arg0); | |
4583 | ||
4584 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4585 | } if (_result) { |
4586 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPrintout_p"); | |
4587 | _resultobj = Py_BuildValue("s",_ptemp); | |
4588 | } else { | |
4589 | Py_INCREF(Py_None); | |
4590 | _resultobj = Py_None; | |
4591 | } | |
d24a34bb RD |
4592 | return _resultobj; |
4593 | } | |
4594 | ||
4595 | #define wxPrintPreview_GetZoom(_swigobj) (_swigobj->GetZoom()) | |
107e4716 | 4596 | static PyObject *_wrap_wxPrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4597 | PyObject * _resultobj; |
4598 | int _result; | |
4599 | wxPrintPreview * _arg0; | |
2d091820 | 4600 | PyObject * _argo0 = 0; |
107e4716 | 4601 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4602 | |
4603 | self = self; | |
107e4716 | 4604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_GetZoom",_kwnames,&_argo0)) |
d24a34bb | 4605 | return NULL; |
2d091820 RD |
4606 | if (_argo0) { |
4607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_GetZoom. Expected _wxPrintPreview_p."); |
4610 | return NULL; | |
4611 | } | |
4612 | } | |
4613 | { | |
4614 | wxPy_BEGIN_ALLOW_THREADS; | |
4615 | _result = (int )wxPrintPreview_GetZoom(_arg0); | |
4616 | ||
4617 | wxPy_END_ALLOW_THREADS; | |
4618 | } _resultobj = Py_BuildValue("i",_result); | |
4619 | return _resultobj; | |
4620 | } | |
4621 | ||
4622 | #define wxPrintPreview_Ok(_swigobj) (_swigobj->Ok()) | |
107e4716 | 4623 | static PyObject *_wrap_wxPrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4624 | PyObject * _resultobj; |
4625 | bool _result; | |
4626 | wxPrintPreview * _arg0; | |
2d091820 | 4627 | PyObject * _argo0 = 0; |
107e4716 | 4628 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4629 | |
4630 | self = self; | |
107e4716 | 4631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPrintPreview_Ok",_kwnames,&_argo0)) |
d24a34bb | 4632 | return NULL; |
2d091820 RD |
4633 | if (_argo0) { |
4634 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4635 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_Ok. Expected _wxPrintPreview_p."); |
4637 | return NULL; | |
4638 | } | |
4639 | } | |
4640 | { | |
4641 | wxPy_BEGIN_ALLOW_THREADS; | |
4642 | _result = (bool )wxPrintPreview_Ok(_arg0); | |
4643 | ||
4644 | wxPy_END_ALLOW_THREADS; | |
4645 | } _resultobj = Py_BuildValue("i",_result); | |
4646 | return _resultobj; | |
4647 | } | |
4648 | ||
4649 | #define wxPrintPreview_Print(_swigobj,_swigarg0) (_swigobj->Print(_swigarg0)) | |
107e4716 | 4650 | static PyObject *_wrap_wxPrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4651 | PyObject * _resultobj; |
4652 | bool _result; | |
4653 | wxPrintPreview * _arg0; | |
4654 | bool _arg1; | |
2d091820 | 4655 | PyObject * _argo0 = 0; |
d24a34bb | 4656 | int tempbool1; |
107e4716 | 4657 | char *_kwnames[] = { "self","prompt", NULL }; |
d24a34bb RD |
4658 | |
4659 | self = self; | |
107e4716 | 4660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_Print",_kwnames,&_argo0,&tempbool1)) |
d24a34bb | 4661 | return NULL; |
2d091820 RD |
4662 | if (_argo0) { |
4663 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4664 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4665 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_Print. Expected _wxPrintPreview_p."); |
4666 | return NULL; | |
4667 | } | |
4668 | } | |
4669 | _arg1 = (bool ) tempbool1; | |
4670 | { | |
4671 | wxPy_BEGIN_ALLOW_THREADS; | |
4672 | _result = (bool )wxPrintPreview_Print(_arg0,_arg1); | |
4673 | ||
4674 | wxPy_END_ALLOW_THREADS; | |
4675 | } _resultobj = Py_BuildValue("i",_result); | |
4676 | return _resultobj; | |
4677 | } | |
4678 | ||
4679 | #define wxPrintPreview_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0)) | |
107e4716 | 4680 | static PyObject *_wrap_wxPrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4681 | PyObject * _resultobj; |
4682 | wxPrintPreview * _arg0; | |
4683 | wxWindow * _arg1; | |
2d091820 RD |
4684 | PyObject * _argo0 = 0; |
4685 | PyObject * _argo1 = 0; | |
107e4716 | 4686 | char *_kwnames[] = { "self","window", NULL }; |
d24a34bb RD |
4687 | |
4688 | self = self; | |
107e4716 | 4689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_SetCanvas",_kwnames,&_argo0,&_argo1)) |
d24a34bb | 4690 | return NULL; |
2d091820 RD |
4691 | if (_argo0) { |
4692 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4693 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4694 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetCanvas. Expected _wxPrintPreview_p."); |
4695 | return NULL; | |
4696 | } | |
4697 | } | |
2d091820 RD |
4698 | if (_argo1) { |
4699 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4700 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
d24a34bb RD |
4701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_SetCanvas. Expected _wxWindow_p."); |
4702 | return NULL; | |
4703 | } | |
4704 | } | |
4705 | { | |
4706 | wxPy_BEGIN_ALLOW_THREADS; | |
4707 | wxPrintPreview_SetCanvas(_arg0,_arg1); | |
4708 | ||
4709 | wxPy_END_ALLOW_THREADS; | |
4710 | } Py_INCREF(Py_None); | |
4711 | _resultobj = Py_None; | |
4712 | return _resultobj; | |
4713 | } | |
4714 | ||
4715 | #define wxPrintPreview_SetCurrentPage(_swigobj,_swigarg0) (_swigobj->SetCurrentPage(_swigarg0)) | |
107e4716 | 4716 | static PyObject *_wrap_wxPrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4717 | PyObject * _resultobj; |
4718 | wxPrintPreview * _arg0; | |
4719 | int _arg1; | |
2d091820 | 4720 | PyObject * _argo0 = 0; |
107e4716 | 4721 | char *_kwnames[] = { "self","pageNum", NULL }; |
d24a34bb RD |
4722 | |
4723 | self = self; | |
107e4716 | 4724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_SetCurrentPage",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 4725 | return NULL; |
2d091820 RD |
4726 | if (_argo0) { |
4727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetCurrentPage. Expected _wxPrintPreview_p."); |
4730 | return NULL; | |
4731 | } | |
4732 | } | |
4733 | { | |
4734 | wxPy_BEGIN_ALLOW_THREADS; | |
4735 | wxPrintPreview_SetCurrentPage(_arg0,_arg1); | |
4736 | ||
4737 | wxPy_END_ALLOW_THREADS; | |
4738 | } Py_INCREF(Py_None); | |
4739 | _resultobj = Py_None; | |
4740 | return _resultobj; | |
4741 | } | |
4742 | ||
4743 | #define wxPrintPreview_SetFrame(_swigobj,_swigarg0) (_swigobj->SetFrame(_swigarg0)) | |
107e4716 | 4744 | static PyObject *_wrap_wxPrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4745 | PyObject * _resultobj; |
4746 | wxPrintPreview * _arg0; | |
4747 | wxFrame * _arg1; | |
2d091820 RD |
4748 | PyObject * _argo0 = 0; |
4749 | PyObject * _argo1 = 0; | |
107e4716 | 4750 | char *_kwnames[] = { "self","frame", NULL }; |
d24a34bb RD |
4751 | |
4752 | self = self; | |
107e4716 | 4753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_SetFrame",_kwnames,&_argo0,&_argo1)) |
d24a34bb | 4754 | return NULL; |
2d091820 RD |
4755 | if (_argo0) { |
4756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetFrame. Expected _wxPrintPreview_p."); |
4759 | return NULL; | |
4760 | } | |
4761 | } | |
2d091820 RD |
4762 | if (_argo1) { |
4763 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4764 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) { | |
d24a34bb RD |
4765 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_SetFrame. Expected _wxFrame_p."); |
4766 | return NULL; | |
4767 | } | |
4768 | } | |
4769 | { | |
4770 | wxPy_BEGIN_ALLOW_THREADS; | |
4771 | wxPrintPreview_SetFrame(_arg0,_arg1); | |
4772 | ||
4773 | wxPy_END_ALLOW_THREADS; | |
4774 | } Py_INCREF(Py_None); | |
4775 | _resultobj = Py_None; | |
4776 | return _resultobj; | |
4777 | } | |
4778 | ||
4779 | #define wxPrintPreview_SetPrintout(_swigobj,_swigarg0) (_swigobj->SetPrintout(_swigarg0)) | |
107e4716 | 4780 | static PyObject *_wrap_wxPrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4781 | PyObject * _resultobj; |
4782 | wxPrintPreview * _arg0; | |
4783 | wxPyPrintout * _arg1; | |
2d091820 RD |
4784 | PyObject * _argo0 = 0; |
4785 | PyObject * _argo1 = 0; | |
107e4716 | 4786 | char *_kwnames[] = { "self","printout", NULL }; |
d24a34bb RD |
4787 | |
4788 | self = self; | |
107e4716 | 4789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintPreview_SetPrintout",_kwnames,&_argo0,&_argo1)) |
d24a34bb | 4790 | return NULL; |
2d091820 RD |
4791 | if (_argo0) { |
4792 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4793 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4794 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetPrintout. Expected _wxPrintPreview_p."); |
4795 | return NULL; | |
4796 | } | |
4797 | } | |
2d091820 RD |
4798 | if (_argo1) { |
4799 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4800 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyPrintout_p")) { | |
d24a34bb RD |
4801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintPreview_SetPrintout. Expected _wxPyPrintout_p."); |
4802 | return NULL; | |
4803 | } | |
4804 | } | |
4805 | { | |
4806 | wxPy_BEGIN_ALLOW_THREADS; | |
4807 | wxPrintPreview_SetPrintout(_arg0,_arg1); | |
4808 | ||
4809 | wxPy_END_ALLOW_THREADS; | |
4810 | } Py_INCREF(Py_None); | |
4811 | _resultobj = Py_None; | |
4812 | return _resultobj; | |
4813 | } | |
4814 | ||
4815 | #define wxPrintPreview_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0)) | |
107e4716 | 4816 | static PyObject *_wrap_wxPrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4817 | PyObject * _resultobj; |
4818 | wxPrintPreview * _arg0; | |
4819 | int _arg1; | |
2d091820 | 4820 | PyObject * _argo0 = 0; |
107e4716 | 4821 | char *_kwnames[] = { "self","percent", NULL }; |
d24a34bb RD |
4822 | |
4823 | self = self; | |
107e4716 | 4824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPrintPreview_SetZoom",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 4825 | return NULL; |
2d091820 RD |
4826 | if (_argo0) { |
4827 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4828 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPrintPreview_SetZoom. Expected _wxPrintPreview_p."); |
4830 | return NULL; | |
4831 | } | |
4832 | } | |
4833 | { | |
4834 | wxPy_BEGIN_ALLOW_THREADS; | |
4835 | wxPrintPreview_SetZoom(_arg0,_arg1); | |
4836 | ||
4837 | wxPy_END_ALLOW_THREADS; | |
4838 | } Py_INCREF(Py_None); | |
4839 | _resultobj = Py_None; | |
4840 | return _resultobj; | |
4841 | } | |
4842 | ||
4843 | static void *SwigwxPreviewFrameTowxFrame(void *ptr) { | |
4844 | wxPreviewFrame *src; | |
4845 | wxFrame *dest; | |
4846 | src = (wxPreviewFrame *) ptr; | |
4847 | dest = (wxFrame *) src; | |
4848 | return (void *) dest; | |
4849 | } | |
4850 | ||
4851 | static void *SwigwxPreviewFrameTowxWindow(void *ptr) { | |
4852 | wxPreviewFrame *src; | |
4853 | wxWindow *dest; | |
4854 | src = (wxPreviewFrame *) ptr; | |
4855 | dest = (wxWindow *) src; | |
4856 | return (void *) dest; | |
4857 | } | |
4858 | ||
4859 | static void *SwigwxPreviewFrameTowxEvtHandler(void *ptr) { | |
4860 | wxPreviewFrame *src; | |
4861 | wxEvtHandler *dest; | |
4862 | src = (wxPreviewFrame *) ptr; | |
4863 | dest = (wxEvtHandler *) src; | |
4864 | return (void *) dest; | |
4865 | } | |
4866 | ||
4867 | #define new_wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPreviewFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
107e4716 | 4868 | static PyObject *_wrap_new_wxPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4869 | PyObject * _resultobj; |
4870 | wxPreviewFrame * _result; | |
4871 | wxPrintPreview * _arg0; | |
4872 | wxFrame * _arg1; | |
4873 | wxString * _arg2; | |
b68dc582 RD |
4874 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
4875 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
2d091820 RD |
4876 | long _arg5 = (long ) wxDEFAULT_FRAME_STYLE; |
4877 | char * _arg6 = (char *) "frame"; | |
4878 | PyObject * _argo0 = 0; | |
4879 | PyObject * _argo1 = 0; | |
d24a34bb | 4880 | PyObject * _obj2 = 0; |
37f6a977 RD |
4881 | wxPoint temp; |
4882 | PyObject * _obj3 = 0; | |
4883 | wxSize temp0; | |
4884 | PyObject * _obj4 = 0; | |
107e4716 | 4885 | char *_kwnames[] = { "preview","parent","title","pos","size","style","name", NULL }; |
d24a34bb RD |
4886 | char _ptemp[128]; |
4887 | ||
4888 | self = self; | |
37f6a977 | 4889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|OOls:new_wxPreviewFrame",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6)) |
d24a34bb | 4890 | return NULL; |
2d091820 RD |
4891 | if (_argo0) { |
4892 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4893 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPrintPreview_p")) { | |
d24a34bb RD |
4894 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPreviewFrame. Expected _wxPrintPreview_p."); |
4895 | return NULL; | |
4896 | } | |
4897 | } | |
2d091820 RD |
4898 | if (_argo1) { |
4899 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4900 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) { | |
d24a34bb RD |
4901 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPreviewFrame. Expected _wxFrame_p."); |
4902 | return NULL; | |
4903 | } | |
4904 | } | |
4905 | { | |
2cd2fac8 RD |
4906 | #if PYTHON_API_VERSION >= 1009 |
4907 | char* tmpPtr; int tmpSize; | |
4908 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
4909 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
4910 | return NULL; | |
4911 | } | |
4912 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
4913 | return NULL; | |
4914 | _arg2 = new wxString(tmpPtr, tmpSize); | |
4915 | #else | |
d24a34bb RD |
4916 | if (!PyString_Check(_obj2)) { |
4917 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4918 | return NULL; | |
4919 | } | |
2cd2fac8 RD |
4920 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
4921 | #endif | |
d24a34bb | 4922 | } |
37f6a977 RD |
4923 | if (_obj3) |
4924 | { | |
4925 | _arg3 = &temp; | |
4926 | if (! wxPoint_helper(_obj3, &_arg3)) | |
d24a34bb | 4927 | return NULL; |
37f6a977 RD |
4928 | } |
4929 | if (_obj4) | |
4930 | { | |
4931 | _arg4 = &temp0; | |
4932 | if (! wxSize_helper(_obj4, &_arg4)) | |
d24a34bb | 4933 | return NULL; |
37f6a977 | 4934 | } |
d24a34bb RD |
4935 | { |
4936 | wxPy_BEGIN_ALLOW_THREADS; | |
4937 | _result = (wxPreviewFrame *)new_wxPreviewFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
4938 | ||
4939 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4940 | } if (_result) { |
4941 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPreviewFrame_p"); | |
4942 | _resultobj = Py_BuildValue("s",_ptemp); | |
4943 | } else { | |
4944 | Py_INCREF(Py_None); | |
4945 | _resultobj = Py_None; | |
4946 | } | |
d24a34bb RD |
4947 | { |
4948 | if (_obj2) | |
4949 | delete _arg2; | |
4950 | } | |
4951 | return _resultobj; | |
4952 | } | |
4953 | ||
4954 | #define wxPreviewFrame_Initialize(_swigobj) (_swigobj->Initialize()) | |
107e4716 | 4955 | static PyObject *_wrap_wxPreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4956 | PyObject * _resultobj; |
4957 | wxPreviewFrame * _arg0; | |
2d091820 | 4958 | PyObject * _argo0 = 0; |
107e4716 | 4959 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4960 | |
4961 | self = self; | |
107e4716 | 4962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPreviewFrame_Initialize",_kwnames,&_argo0)) |
d24a34bb | 4963 | return NULL; |
2d091820 RD |
4964 | if (_argo0) { |
4965 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4966 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPreviewFrame_p")) { | |
d24a34bb RD |
4967 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPreviewFrame_Initialize. Expected _wxPreviewFrame_p."); |
4968 | return NULL; | |
4969 | } | |
4970 | } | |
4971 | { | |
4972 | wxPy_BEGIN_ALLOW_THREADS; | |
4973 | wxPreviewFrame_Initialize(_arg0); | |
4974 | ||
4975 | wxPy_END_ALLOW_THREADS; | |
4976 | } Py_INCREF(Py_None); | |
4977 | _resultobj = Py_None; | |
4978 | return _resultobj; | |
4979 | } | |
4980 | ||
4981 | static PyMethodDef printfwcMethods[] = { | |
107e4716 RD |
4982 | { "wxPreviewFrame_Initialize", (PyCFunction) _wrap_wxPreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS }, |
4983 | { "new_wxPreviewFrame", (PyCFunction) _wrap_new_wxPreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
4984 | { "wxPrintPreview_SetZoom", (PyCFunction) _wrap_wxPrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
4985 | { "wxPrintPreview_SetPrintout", (PyCFunction) _wrap_wxPrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
4986 | { "wxPrintPreview_SetFrame", (PyCFunction) _wrap_wxPrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS }, | |
4987 | { "wxPrintPreview_SetCurrentPage", (PyCFunction) _wrap_wxPrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
4988 | { "wxPrintPreview_SetCanvas", (PyCFunction) _wrap_wxPrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
4989 | { "wxPrintPreview_Print", (PyCFunction) _wrap_wxPrintPreview_Print, METH_VARARGS | METH_KEYWORDS }, | |
4990 | { "wxPrintPreview_Ok", (PyCFunction) _wrap_wxPrintPreview_Ok, METH_VARARGS | METH_KEYWORDS }, | |
4991 | { "wxPrintPreview_GetZoom", (PyCFunction) _wrap_wxPrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
4992 | { "wxPrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_wxPrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS }, | |
4993 | { "wxPrintPreview_GetPrintout", (PyCFunction) _wrap_wxPrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
4994 | { "wxPrintPreview_GetPrintDialogData", (PyCFunction) _wrap_wxPrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
4995 | { "wxPrintPreview_GetMinPage", (PyCFunction) _wrap_wxPrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
4996 | { "wxPrintPreview_GetMaxPage", (PyCFunction) _wrap_wxPrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
4997 | { "wxPrintPreview_GetFrame", (PyCFunction) _wrap_wxPrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
4998 | { "wxPrintPreview_GetCurrentPage", (PyCFunction) _wrap_wxPrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
4999 | { "wxPrintPreview_GetCanvas", (PyCFunction) _wrap_wxPrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
5000 | { "new_wxPrintPreview", (PyCFunction) _wrap_new_wxPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
5001 | { "wxPrinter_Setup", (PyCFunction) _wrap_wxPrinter_Setup, METH_VARARGS | METH_KEYWORDS }, | |
5002 | { "wxPrinter_ReportError", (PyCFunction) _wrap_wxPrinter_ReportError, METH_VARARGS | METH_KEYWORDS }, | |
5003 | { "wxPrinter_PrintDialog", (PyCFunction) _wrap_wxPrinter_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
5004 | { "wxPrinter_Print", (PyCFunction) _wrap_wxPrinter_Print, METH_VARARGS | METH_KEYWORDS }, | |
5005 | { "wxPrinter_GetPrintDialogData", (PyCFunction) _wrap_wxPrinter_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
5006 | { "wxPrinter_CreateAbortWindow", (PyCFunction) _wrap_wxPrinter_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS }, | |
5007 | { "delete_wxPrinter", (PyCFunction) _wrap_delete_wxPrinter, METH_VARARGS | METH_KEYWORDS }, | |
5008 | { "new_wxPrinter", (PyCFunction) _wrap_new_wxPrinter, METH_VARARGS | METH_KEYWORDS }, | |
5009 | { "wxPrintout_base_HasPage", (PyCFunction) _wrap_wxPrintout_base_HasPage, METH_VARARGS | METH_KEYWORDS }, | |
5010 | { "wxPrintout_base_GetPageInfo", (PyCFunction) _wrap_wxPrintout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS }, | |
5011 | { "wxPrintout_base_OnPreparePrinting", (PyCFunction) _wrap_wxPrintout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS }, | |
5012 | { "wxPrintout_base_OnEndPrinting", (PyCFunction) _wrap_wxPrintout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS }, | |
5013 | { "wxPrintout_base_OnBeginPrinting", (PyCFunction) _wrap_wxPrintout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS }, | |
5014 | { "wxPrintout_base_OnEndDocument", (PyCFunction) _wrap_wxPrintout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS }, | |
5015 | { "wxPrintout_base_OnBeginDocument", (PyCFunction) _wrap_wxPrintout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS }, | |
5016 | { "wxPrintout_IsPreview", (PyCFunction) _wrap_wxPrintout_IsPreview, METH_VARARGS | METH_KEYWORDS }, | |
5017 | { "wxPrintout_GetPPIScreen", (PyCFunction) _wrap_wxPrintout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
5018 | { "wxPrintout_GetPPIPrinter", (PyCFunction) _wrap_wxPrintout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
5019 | { "wxPrintout_GetPageSizePixels", (PyCFunction) _wrap_wxPrintout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, | |
5020 | { "wxPrintout_GetPageSizeMM", (PyCFunction) _wrap_wxPrintout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, | |
5021 | { "wxPrintout_GetDC", (PyCFunction) _wrap_wxPrintout_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
5022 | { "wxPrintout_Destroy", (PyCFunction) _wrap_wxPrintout_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
5023 | { "wxPrintout__setSelf", (PyCFunction) _wrap_wxPrintout__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
5024 | { "new_wxPrintout", (PyCFunction) _wrap_new_wxPrintout, METH_VARARGS | METH_KEYWORDS }, | |
5025 | { "wxPrintDialog_ShowModal", (PyCFunction) _wrap_wxPrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
5026 | { "wxPrintDialog_GetPrintDC", (PyCFunction) _wrap_wxPrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS }, | |
5027 | { "wxPrintDialog_GetPrintDialogData", (PyCFunction) _wrap_wxPrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
5028 | { "new_wxPrintDialog", (PyCFunction) _wrap_new_wxPrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
5029 | { "wxPrintDialogData_SetToPage", (PyCFunction) _wrap_wxPrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS }, | |
5030 | { "wxPrintDialogData_SetSetupDialog", (PyCFunction) _wrap_wxPrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
5031 | { "wxPrintDialogData_SetPrintToFile", (PyCFunction) _wrap_wxPrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
5032 | { "wxPrintDialogData_SetPrintData", (PyCFunction) _wrap_wxPrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
5033 | { "wxPrintDialogData_SetNoCopies", (PyCFunction) _wrap_wxPrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
5034 | { "wxPrintDialogData_SetMinPage", (PyCFunction) _wrap_wxPrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
5035 | { "wxPrintDialogData_SetMaxPage", (PyCFunction) _wrap_wxPrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
5036 | { "wxPrintDialogData_SetFromPage", (PyCFunction) _wrap_wxPrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
5037 | { "wxPrintDialogData_SetCollate", (PyCFunction) _wrap_wxPrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
5038 | { "wxPrintDialogData_GetToPage", (PyCFunction) _wrap_wxPrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS }, | |
5039 | { "wxPrintDialogData_GetPrintToFile", (PyCFunction) _wrap_wxPrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
5040 | { "wxPrintDialogData_GetPrintData", (PyCFunction) _wrap_wxPrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
5041 | { "wxPrintDialogData_GetNoCopies", (PyCFunction) _wrap_wxPrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
5042 | { "wxPrintDialogData_GetMinPage", (PyCFunction) _wrap_wxPrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
5043 | { "wxPrintDialogData_GetMaxPage", (PyCFunction) _wrap_wxPrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
5044 | { "wxPrintDialogData_GetFromPage", (PyCFunction) _wrap_wxPrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
5045 | { "wxPrintDialogData_GetCollate", (PyCFunction) _wrap_wxPrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
5046 | { "wxPrintDialogData_GetAllPages", (PyCFunction) _wrap_wxPrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
5047 | { "wxPrintDialogData_EnableSelection", (PyCFunction) _wrap_wxPrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
5048 | { "wxPrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_wxPrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
5049 | { "wxPrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_wxPrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
5050 | { "wxPrintDialogData_EnableHelp", (PyCFunction) _wrap_wxPrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
5051 | { "delete_wxPrintDialogData", (PyCFunction) _wrap_delete_wxPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
5052 | { "new_wxPrintDialogData", (PyCFunction) _wrap_new_wxPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
5053 | { "wxPageSetupDialog_ShowModal", (PyCFunction) _wrap_wxPageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
5054 | { "wxPageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_wxPageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
5055 | { "new_wxPageSetupDialog", (PyCFunction) _wrap_new_wxPageSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
5056 | { "wxPageSetupDialogData_SetPrintData", (PyCFunction) _wrap_wxPageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
5057 | { "wxPageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_wxPageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
5058 | { "wxPageSetupDialogData_SetPaperId", (PyCFunction) _wrap_wxPageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
5059 | { "wxPageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
5060 | { "wxPageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
5061 | { "wxPageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
5062 | { "wxPageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
5063 | { "wxPageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_wxPageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
5064 | { "wxPageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_wxPageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
5065 | { "wxPageSetupDialogData_GetPrintData", (PyCFunction) _wrap_wxPageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
5066 | { "wxPageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_wxPageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
5067 | { "wxPageSetupDialogData_GetPaperId", (PyCFunction) _wrap_wxPageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
5068 | { "wxPageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
5069 | { "wxPageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
5070 | { "wxPageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_wxPageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
5071 | { "wxPageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_wxPageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
5072 | { "wxPageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_wxPageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
5073 | { "wxPageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
5074 | { "wxPageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
5075 | { "wxPageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
5076 | { "wxPageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
5077 | { "wxPageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_wxPageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
5078 | { "wxPageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_wxPageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
5079 | { "wxPageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_wxPageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
5080 | { "wxPageSetupDialogData_EnablePaper", (PyCFunction) _wrap_wxPageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
5081 | { "wxPageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_wxPageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
5082 | { "wxPageSetupDialogData_EnableMargins", (PyCFunction) _wrap_wxPageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
5083 | { "wxPageSetupDialogData_EnableHelp", (PyCFunction) _wrap_wxPageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
5084 | { "delete_wxPageSetupDialogData", (PyCFunction) _wrap_delete_wxPageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
5085 | { "new_wxPageSetupDialogData", (PyCFunction) _wrap_new_wxPageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
9e689c06 RD |
5086 | { "wxPrintData_SetPrintMode", (PyCFunction) _wrap_wxPrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS }, |
5087 | { "wxPrintData_SetPrinterTranslation", (PyCFunction) _wrap_wxPrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS }, | |
5088 | { "wxPrintData_SetPrinterTranslateY", (PyCFunction) _wrap_wxPrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
5089 | { "wxPrintData_SetPrinterTranslateX", (PyCFunction) _wrap_wxPrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
5090 | { "wxPrintData_SetPrinterScaling", (PyCFunction) _wrap_wxPrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS }, | |
5091 | { "wxPrintData_SetPrinterScaleY", (PyCFunction) _wrap_wxPrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
5092 | { "wxPrintData_SetPrinterScaleX", (PyCFunction) _wrap_wxPrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
5093 | { "wxPrintData_SetFontMetricPath", (PyCFunction) _wrap_wxPrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
5094 | { "wxPrintData_SetFilename", (PyCFunction) _wrap_wxPrintData_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
5095 | { "wxPrintData_SetPreviewCommand", (PyCFunction) _wrap_wxPrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
5096 | { "wxPrintData_SetPrinterOptions", (PyCFunction) _wrap_wxPrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
5097 | { "wxPrintData_SetPrinterCommand", (PyCFunction) _wrap_wxPrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
5098 | { "wxPrintData_GetPrintMode", (PyCFunction) _wrap_wxPrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
5099 | { "wxPrintData_GetPrinterTranslateY", (PyCFunction) _wrap_wxPrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
5100 | { "wxPrintData_GetPrinterTranslateX", (PyCFunction) _wrap_wxPrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
5101 | { "wxPrintData_GetPrinterScaleY", (PyCFunction) _wrap_wxPrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
5102 | { "wxPrintData_GetPrinterScaleX", (PyCFunction) _wrap_wxPrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
5103 | { "wxPrintData_GetFontMetricPath", (PyCFunction) _wrap_wxPrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
5104 | { "wxPrintData_GetFilename", (PyCFunction) _wrap_wxPrintData_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
5105 | { "wxPrintData_GetPreviewCommand", (PyCFunction) _wrap_wxPrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
5106 | { "wxPrintData_GetPrinterOptions", (PyCFunction) _wrap_wxPrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
5107 | { "wxPrintData_GetPrinterCommand", (PyCFunction) _wrap_wxPrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
107e4716 RD |
5108 | { "wxPrintData_SetQuality", (PyCFunction) _wrap_wxPrintData_SetQuality, METH_VARARGS | METH_KEYWORDS }, |
5109 | { "wxPrintData_SetPaperSize", (PyCFunction) _wrap_wxPrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
5110 | { "wxPrintData_SetPaperId", (PyCFunction) _wrap_wxPrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
5111 | { "wxPrintData_SetDuplex", (PyCFunction) _wrap_wxPrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
5112 | { "wxPrintData_SetColour", (PyCFunction) _wrap_wxPrintData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
5113 | { "wxPrintData_SetPrinterName", (PyCFunction) _wrap_wxPrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
5114 | { "wxPrintData_SetOrientation", (PyCFunction) _wrap_wxPrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
5115 | { "wxPrintData_SetCollate", (PyCFunction) _wrap_wxPrintData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
5116 | { "wxPrintData_SetNoCopies", (PyCFunction) _wrap_wxPrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
5117 | { "wxPrintData_GetQuality", (PyCFunction) _wrap_wxPrintData_GetQuality, METH_VARARGS | METH_KEYWORDS }, | |
5118 | { "wxPrintData_GetPaperSize", (PyCFunction) _wrap_wxPrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
5119 | { "wxPrintData_GetPaperId", (PyCFunction) _wrap_wxPrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
5120 | { "wxPrintData_GetDuplex", (PyCFunction) _wrap_wxPrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
5121 | { "wxPrintData_GetColour", (PyCFunction) _wrap_wxPrintData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
5122 | { "wxPrintData_GetPrinterName", (PyCFunction) _wrap_wxPrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
5123 | { "wxPrintData_GetOrientation", (PyCFunction) _wrap_wxPrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
5124 | { "wxPrintData_GetCollate", (PyCFunction) _wrap_wxPrintData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
5125 | { "wxPrintData_GetNoCopies", (PyCFunction) _wrap_wxPrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
5126 | { "delete_wxPrintData", (PyCFunction) _wrap_delete_wxPrintData, METH_VARARGS | METH_KEYWORDS }, | |
5127 | { "new_wxPrintData", (PyCFunction) _wrap_new_wxPrintData, METH_VARARGS | METH_KEYWORDS }, | |
d24a34bb RD |
5128 | { NULL, NULL } |
5129 | }; | |
2d091820 RD |
5130 | #ifdef __cplusplus |
5131 | } | |
5132 | #endif | |
5133 | /* | |
5134 | * This table is used by the pointer type-checker | |
5135 | */ | |
5136 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
5137 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
5138 | { "_wxEvent","_class_wxEvent",0}, | |
5139 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
5140 | { "_signed_long","_long",0}, | |
5141 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
4120ef2b RD |
5142 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
5143 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
37f6a977 | 5144 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
4120ef2b | 5145 | { "_wxPrintQuality","_wxCoord",0}, |
2d091820 RD |
5146 | { "_wxPrintQuality","_int",0}, |
5147 | { "_wxPrintQuality","_signed_int",0}, | |
5148 | { "_wxPrintQuality","_unsigned_int",0}, | |
5149 | { "_wxPrintQuality","_wxWindowID",0}, | |
5150 | { "_wxPrintQuality","_uint",0}, | |
5151 | { "_wxPrintQuality","_EBool",0}, | |
5152 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 5153 | { "_wxPrintQuality","_time_t",0}, |
4120ef2b | 5154 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
3ca6a5f0 | 5155 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, |
2d091820 RD |
5156 | { "_wxFontData","_class_wxFontData",0}, |
5157 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
4120ef2b | 5158 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
2d091820 RD |
5159 | { "_class_wxMenuBar","_wxMenuBar",0}, |
5160 | { "_class_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler}, | |
5161 | { "_class_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler}, | |
5162 | { "_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler}, | |
5163 | { "_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler}, | |
5164 | { "_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler}, | |
5165 | { "_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler}, | |
5166 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
5167 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
5168 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
5169 | { "_wxCursor","_class_wxCursor",0}, | |
5170 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
ab2208b5 | 5171 | { "_class_wxToolBarBase","_wxToolBarBase",0}, |
2d091820 RD |
5172 | { "_wxMask","_class_wxMask",0}, |
5173 | { "_class_wxColourData","_wxColourData",0}, | |
5174 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
5175 | { "_wxPrinter","_class_wxPrinter",0}, | |
5176 | { "_wxPen","_class_wxPen",0}, | |
5177 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
5178 | { "_byte","_unsigned_char",0}, | |
4120ef2b | 5179 | { "_wxDataObject","_class_wxDataObject",0}, |
2d091820 | 5180 | { "_wxStaticBox","_class_wxStaticBox",0}, |
1c09ae54 | 5181 | { "_wxColourDatabase","_class_wxColourDatabase",0}, |
4120ef2b RD |
5182 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
5183 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
2d091820 RD |
5184 | { "_wxChoice","_class_wxChoice",0}, |
5185 | { "_wxSlider","_class_wxSlider",0}, | |
5186 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
2d091820 RD |
5187 | { "_long","_unsigned_long",0}, |
5188 | { "_long","_signed_long",0}, | |
5189 | { "_wxImageList","_class_wxImageList",0}, | |
4120ef2b | 5190 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
2d091820 RD |
5191 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
5192 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
5193 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, | |
5194 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
4120ef2b | 5195 | { "_class_wxClipboard","_wxClipboard",0}, |
2d091820 RD |
5196 | { "_class_wxGauge","_wxGauge",0}, |
5197 | { "_wxDC","_class_wxDC",0}, | |
4120ef2b | 5198 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
2d091820 RD |
5199 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, |
5200 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
5201 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
5202 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
4120ef2b | 5203 | { "_size_t","_wxCoord",0}, |
2d091820 | 5204 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 5205 | { "_size_t","_time_t",0}, |
2d091820 RD |
5206 | { "_size_t","_unsigned_int",0}, |
5207 | { "_size_t","_int",0}, | |
5208 | { "_size_t","_wxWindowID",0}, | |
5209 | { "_size_t","_uint",0}, | |
5210 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
167b96c2 RD |
5211 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
5212 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
2d091820 RD |
5213 | { "_class_wxMenuItem","_wxMenuItem",0}, |
5214 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
5215 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
5216 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
5217 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, | |
5218 | { "_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel}, | |
5219 | { "_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel}, | |
5220 | { "_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel}, | |
5221 | { "_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel}, | |
5222 | { "_wxPanel","_class_wxPanel",0}, | |
5223 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
5224 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
5225 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
5226 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
5227 | { "_class_wxMask","_wxMask",0}, | |
4120ef2b | 5228 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
2d091820 RD |
5229 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
5230 | { "_wxColour","_class_wxColour",0}, | |
5231 | { "_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog}, | |
5232 | { "_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog}, | |
5233 | { "_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog}, | |
5234 | { "_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog}, | |
5235 | { "_class_wxDialog","_wxDialog",0}, | |
5236 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, | |
5237 | { "_class_wxPrinter","_wxPrinter",0}, | |
4120ef2b | 5238 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
2d091820 RD |
5239 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
5240 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
5241 | { "_wxToolBar","_class_wxToolBar",0}, | |
4120ef2b | 5242 | { "_class_wxDataObject","_wxDataObject",0}, |
2d091820 RD |
5243 | { "_wxStaticLine","_class_wxStaticLine",0}, |
5244 | { "_wxBrush","_class_wxBrush",0}, | |
5245 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
5246 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
4120ef2b RD |
5247 | { "_wxDataFormat","_class_wxDataFormat",0}, |
5248 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
2d091820 | 5249 | { "_wxShowEvent","_class_wxShowEvent",0}, |
4120ef2b | 5250 | { "_uint","_wxCoord",0}, |
2d091820 | 5251 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 5252 | { "_uint","_time_t",0}, |
2d091820 RD |
5253 | { "_uint","_size_t",0}, |
5254 | { "_uint","_unsigned_int",0}, | |
5255 | { "_uint","_int",0}, | |
5256 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 5257 | { "_wxChar","_char",0}, |
37f6a977 | 5258 | { "_wxPyValidator","_class_wxPyValidator",0}, |
2d091820 RD |
5259 | { "_class_wxEvent","_wxEvent",0}, |
5260 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
5261 | { "_wxRect","_class_wxRect",0}, | |
5262 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
5263 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
5264 | { "_wxPoint","_class_wxPoint",0}, | |
5265 | { "_class_wxButton","_wxButton",0}, | |
5266 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
3ca6a5f0 | 5267 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, |
2d091820 | 5268 | { "_class_wxFontData","_wxFontData",0}, |
f6bcfd97 | 5269 | { "_char","_wxChar",0}, |
2d091820 | 5270 | { "_wxBitmap","_class_wxBitmap",0}, |
1c09ae54 | 5271 | { "_wxPenList","_class_wxPenList",0}, |
2d091820 | 5272 | { "_wxPrintDialog","_class_wxPrintDialog",0}, |
2d091820 | 5273 | { "_wxWindowDC","_class_wxWindowDC",0}, |
f6bcfd97 | 5274 | { "_wxTimerEvent","_class_wxTimerEvent",0}, |
2d091820 RD |
5275 | { "_wxScrollBar","_class_wxScrollBar",0}, |
5276 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
2d091820 RD |
5277 | { "_wxColourDialog","_class_wxColourDialog",0}, |
5278 | { "_wxPrintData","_class_wxPrintData",0}, | |
5279 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
5280 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
5281 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
37f6a977 | 5282 | { "_class_wxValidator","_wxValidator",0}, |
2d091820 RD |
5283 | { "_class_wxPyEvent","_wxPyEvent",0}, |
5284 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
5285 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
5286 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
ab2208b5 | 5287 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, |
2d091820 | 5288 | { "_class_wxToolBar","_wxToolBar",0}, |
4120ef2b | 5289 | { "_wxDropTarget","_class_wxDropTarget",0}, |
2d091820 | 5290 | { "_class_wxStaticLine","_wxStaticLine",0}, |
1c09ae54 | 5291 | { "_class_wxColourDatabase","_wxColourDatabase",0}, |
2d091820 | 5292 | { "_wxScrollEvent","_class_wxScrollEvent",0}, |
ab2208b5 | 5293 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, |
4120ef2b | 5294 | { "_EBool","_wxCoord",0}, |
2d091820 RD |
5295 | { "_EBool","_wxPrintQuality",0}, |
5296 | { "_EBool","_signed_int",0}, | |
5297 | { "_EBool","_int",0}, | |
5298 | { "_EBool","_wxWindowID",0}, | |
5299 | { "_class_wxRegion","_wxRegion",0}, | |
4120ef2b | 5300 | { "_class_wxDataFormat","_wxDataFormat",0}, |
2d091820 | 5301 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
167b96c2 | 5302 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
2d091820 RD |
5303 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, |
5304 | { "_wxStaticText","_class_wxStaticText",0}, | |
5305 | { "_wxFont","_class_wxFont",0}, | |
4120ef2b | 5306 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
2d091820 | 5307 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
2d091820 RD |
5308 | { "_unsigned_long","_long",0}, |
5309 | { "_class_wxRect","_wxRect",0}, | |
5310 | { "_class_wxDC","_wxDC",0}, | |
9cce9de1 | 5311 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
2d091820 | 5312 | { "_class_wxProgressDialog","_wxProgressDialog",0}, |
1c09ae54 | 5313 | { "_class_wxBrushList","_wxBrushList",0}, |
167b96c2 | 5314 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
1c09ae54 | 5315 | { "_class_wxPenList","_wxPenList",0}, |
167b96c2 | 5316 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, |
2d091820 | 5317 | { "_class_wxDirDialog","_wxDirDialog",0}, |
2d091820 RD |
5318 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
5319 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
f6bcfd97 | 5320 | { "_class_wxTimerEvent","_wxTimerEvent",0}, |
2d091820 RD |
5321 | { "_class_wxSpinButton","_wxSpinButton",0}, |
5322 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
5323 | { "_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel}, | |
5324 | { "_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel}, | |
5325 | { "_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel}, | |
5326 | { "_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel}, | |
5327 | { "_class_wxPanel","_wxPanel",0}, | |
5328 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
5329 | { "_wxComboBox","_class_wxComboBox",0}, | |
5330 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
5331 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
4120ef2b | 5332 | { "_signed_int","_wxCoord",0}, |
2d091820 RD |
5333 | { "_signed_int","_wxPrintQuality",0}, |
5334 | { "_signed_int","_EBool",0}, | |
5335 | { "_signed_int","_wxWindowID",0}, | |
5336 | { "_signed_int","_int",0}, | |
5337 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
5338 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
4120ef2b | 5339 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
2d091820 RD |
5340 | { "_wxMenu","_class_wxMenu",0}, |
5341 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
5342 | { "_wxListBox","_class_wxListBox",0}, | |
5343 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
ab2208b5 | 5344 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, |
2d091820 RD |
5345 | { "_WXTYPE","_short",0}, |
5346 | { "_WXTYPE","_signed_short",0}, | |
5347 | { "_WXTYPE","_unsigned_short",0}, | |
5348 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
4120ef2b | 5349 | { "_class_wxDropTarget","_wxDropTarget",0}, |
2d091820 RD |
5350 | { "_class_wxBrush","_wxBrush",0}, |
5351 | { "_unsigned_short","_WXTYPE",0}, | |
5352 | { "_unsigned_short","_short",0}, | |
5353 | { "_class_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow}, | |
5354 | { "_class_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow}, | |
5355 | { "_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow}, | |
5356 | { "_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow}, | |
5357 | { "_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow}, | |
5358 | { "_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow}, | |
5359 | { "_class_wxWindow","_wxWindow",0}, | |
5360 | { "_class_wxStaticText","_wxStaticText",0}, | |
5361 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
5362 | { "_class_wxFont","_wxFont",0}, | |
4120ef2b | 5363 | { "_wxClipboard","_class_wxClipboard",0}, |
37f6a977 | 5364 | { "_class_wxPyValidator","_wxPyValidator",0}, |
2d091820 | 5365 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
4120ef2b | 5366 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
1c09ae54 | 5367 | { "_wxFontList","_class_wxFontList",0}, |
2d091820 | 5368 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
167b96c2 | 5369 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
4120ef2b | 5370 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
2d091820 RD |
5371 | { "_wxClientDC","_class_wxClientDC",0}, |
5372 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
5373 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
5374 | { "_class_wxPoint","_wxPoint",0}, | |
5375 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
5376 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
5377 | { "_signed_short","_WXTYPE",0}, | |
5378 | { "_signed_short","_short",0}, | |
5379 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
4120ef2b | 5380 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
2d091820 RD |
5381 | { "_class_wxPrintDialog","_wxPrintDialog",0}, |
5382 | { "_wxPaintDC","_class_wxPaintDC",0}, | |
5383 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
5384 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
5385 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
5386 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
2d091820 RD |
5387 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, |
5388 | { "_class_wxCursor","_wxCursor",0}, | |
5389 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, | |
4120ef2b | 5390 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
2d091820 RD |
5391 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, |
5392 | { "_unsigned_char","_byte",0}, | |
5393 | { "_class_wxMenu","_wxMenu",0}, | |
5394 | { "_wxControl","_class_wxControl",0}, | |
5395 | { "_class_wxListBox","_wxListBox",0}, | |
4120ef2b | 5396 | { "_unsigned_int","_wxCoord",0}, |
2d091820 | 5397 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 5398 | { "_unsigned_int","_time_t",0}, |
2d091820 RD |
5399 | { "_unsigned_int","_size_t",0}, |
5400 | { "_unsigned_int","_uint",0}, | |
5401 | { "_unsigned_int","_wxWindowID",0}, | |
5402 | { "_unsigned_int","_int",0}, | |
5403 | { "_wxIcon","_class_wxIcon",0}, | |
5404 | { "_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog}, | |
5405 | { "_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog}, | |
5406 | { "_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog}, | |
5407 | { "_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog}, | |
5408 | { "_wxDialog","_class_wxDialog",0}, | |
5409 | { "_class_wxPen","_wxPen",0}, | |
5410 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
5411 | { "_short","_WXTYPE",0}, | |
5412 | { "_short","_unsigned_short",0}, | |
5413 | { "_short","_signed_short",0}, | |
5414 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
4120ef2b RD |
5415 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
5416 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
2d091820 RD |
5417 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
5418 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
5419 | { "_class_wxChoice","_wxChoice",0}, | |
5420 | { "_class_wxSlider","_wxSlider",0}, | |
5421 | { "_class_wxImageList","_wxImageList",0}, | |
5422 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
5423 | { "_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame}, | |
5424 | { "_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame}, | |
5425 | { "_wxFrame","_class_wxFrame",0}, | |
167b96c2 | 5426 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
4120ef2b | 5427 | { "_wxWindowID","_wxCoord",0}, |
2d091820 | 5428 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 5429 | { "_wxWindowID","_time_t",0}, |
2d091820 RD |
5430 | { "_wxWindowID","_size_t",0}, |
5431 | { "_wxWindowID","_EBool",0}, | |
5432 | { "_wxWindowID","_uint",0}, | |
5433 | { "_wxWindowID","_int",0}, | |
5434 | { "_wxWindowID","_signed_int",0}, | |
5435 | { "_wxWindowID","_unsigned_int",0}, | |
9cce9de1 | 5436 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
4120ef2b | 5437 | { "_int","_wxCoord",0}, |
2d091820 | 5438 | { "_int","_wxPrintQuality",0}, |
c368d904 | 5439 | { "_int","_time_t",0}, |
2d091820 RD |
5440 | { "_int","_size_t",0}, |
5441 | { "_int","_EBool",0}, | |
5442 | { "_int","_uint",0}, | |
5443 | { "_int","_wxWindowID",0}, | |
5444 | { "_int","_unsigned_int",0}, | |
5445 | { "_int","_signed_int",0}, | |
5446 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
37f6a977 | 5447 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
2d091820 RD |
5448 | { "_class_wxPrintPreview","_wxPrintPreview",0}, |
5449 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
167b96c2 | 5450 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
c368d904 RD |
5451 | { "_time_t","_wxCoord",0}, |
5452 | { "_time_t","_wxPrintQuality",0}, | |
5453 | { "_time_t","_unsigned_int",0}, | |
5454 | { "_time_t","_int",0}, | |
5455 | { "_time_t","_wxWindowID",0}, | |
5456 | { "_time_t","_uint",0}, | |
5457 | { "_time_t","_size_t",0}, | |
167b96c2 | 5458 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
2d091820 RD |
5459 | { "_wxButton","_class_wxButton",0}, |
5460 | { "_wxSize","_class_wxSize",0}, | |
5461 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
4120ef2b | 5462 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
2d091820 RD |
5463 | { "_class_wxPaintDC","_wxPaintDC",0}, |
5464 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
4120ef2b | 5465 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
2d091820 RD |
5466 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
5467 | { "_class_wxComboBox","_wxComboBox",0}, | |
5468 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
37f6a977 | 5469 | { "_wxValidator","_class_wxValidator",0}, |
ab2208b5 | 5470 | { "_wxToolBarBase","_class_wxToolBarBase",0}, |
2d091820 RD |
5471 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
5472 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
5473 | { "_class_wxControl","_wxControl",0}, | |
5474 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
5475 | { "_class_wxIcon","_wxIcon",0}, | |
5476 | { "_class_wxColour","_wxColour",0}, | |
5477 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
5478 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
5479 | { "_wxPalette","_class_wxPalette",0}, | |
5480 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
4120ef2b RD |
5481 | { "_wxCoord","_int",0}, |
5482 | { "_wxCoord","_signed_int",0}, | |
5483 | { "_wxCoord","_unsigned_int",0}, | |
5484 | { "_wxCoord","_wxWindowID",0}, | |
5485 | { "_wxCoord","_uint",0}, | |
5486 | { "_wxCoord","_EBool",0}, | |
5487 | { "_wxCoord","_size_t",0}, | |
c368d904 | 5488 | { "_wxCoord","_time_t",0}, |
4120ef2b | 5489 | { "_wxCoord","_wxPrintQuality",0}, |
2d091820 | 5490 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
4120ef2b | 5491 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
2d091820 RD |
5492 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
5493 | { "_class_wxMiniFrame","_wxMiniFrame",0}, | |
5494 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
5495 | { "_wxRegion","_class_wxRegion",0}, | |
5496 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
5497 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
4120ef2b | 5498 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, |
2d091820 RD |
5499 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
5500 | { "_wxGauge","_class_wxGauge",0}, | |
5501 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
4120ef2b | 5502 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
1c09ae54 | 5503 | { "_class_wxFontList","_wxFontList",0}, |
2d091820 RD |
5504 | { "_class_wxCommandEvent","_wxCommandEvent",0}, |
5505 | { "_class_wxClientDC","_wxClientDC",0}, | |
5506 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
1c09ae54 | 5507 | { "_wxBrushList","_class_wxBrushList",0}, |
4120ef2b | 5508 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
2d091820 RD |
5509 | { "_class_wxSize","_wxSize",0}, |
5510 | { "_class_wxBitmap","_wxBitmap",0}, | |
5511 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
4120ef2b | 5512 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
2d091820 RD |
5513 | { "_wxMenuBar","_class_wxMenuBar",0}, |
5514 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
5515 | { "_wxEvtHandler","_class_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler}, | |
5516 | { "_wxEvtHandler","_wxPreviewFrame",SwigwxPreviewFrameTowxEvtHandler}, | |
5517 | { "_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler}, | |
5518 | { "_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler}, | |
5519 | { "_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler}, | |
5520 | { "_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler}, | |
5521 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
5522 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
5523 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
5524 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
5525 | { "_class_wxPrintData","_wxPrintData",0}, | |
2d091820 RD |
5526 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, |
5527 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, | |
5528 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
5529 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
5530 | { "_wxColourData","_class_wxColourData",0}, | |
5531 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
5532 | { "_class_wxPalette","_wxPalette",0}, | |
4120ef2b | 5533 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
2d091820 | 5534 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
4120ef2b | 5535 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
ab2208b5 | 5536 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, |
2d091820 RD |
5537 | { "_class_wxFontDialog","_wxFontDialog",0}, |
5538 | { "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow}, | |
5539 | { "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow}, | |
5540 | { "_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow}, | |
5541 | { "_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow}, | |
5542 | { "_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow}, | |
5543 | { "_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow}, | |
5544 | { "_wxWindow","_class_wxWindow",0}, | |
167b96c2 | 5545 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
2d091820 RD |
5546 | { "_class_wxFrame","_class_wxPreviewFrame",SwigwxPreviewFrameTowxFrame}, |
5547 | { "_class_wxFrame","_wxPreviewFrame",SwigwxPreviewFrameTowxFrame}, | |
5548 | { "_class_wxFrame","_wxFrame",0}, | |
5549 | {0,0,0}}; | |
5550 | ||
d24a34bb RD |
5551 | static PyObject *SWIG_globals; |
5552 | #ifdef __cplusplus | |
5553 | extern "C" | |
5554 | #endif | |
2d091820 | 5555 | SWIGEXPORT(void) initprintfwc() { |
d24a34bb RD |
5556 | PyObject *m, *d; |
5557 | SWIG_globals = SWIG_newvarlink(); | |
5558 | m = Py_InitModule("printfwc", printfwcMethods); | |
5559 | d = PyModule_GetDict(m); | |
2d091820 RD |
5560 | { |
5561 | int i; | |
5562 | for (i = 0; _swig_mapping[i].n1; i++) | |
5563 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
5564 | } | |
d24a34bb | 5565 | } |