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