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