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