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