]>
Commit | Line | Data |
---|---|---|
d55e5bfc RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.22 | |
4 | * | |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_NOINCLUDE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | ||
31 | #include "Python.h" | |
32 | ||
33 | /*************************************************************** -*- c -*- | |
34 | * python/precommon.swg | |
35 | * | |
36 | * Rename all exported symbols from common.swg, to avoid symbol | |
37 | * clashes if multiple interpreters are included | |
38 | * | |
39 | ************************************************************************/ | |
40 | ||
41 | #define SWIG_TypeRegister SWIG_Python_TypeRegister | |
42 | #define SWIG_TypeCheck SWIG_Python_TypeCheck | |
43 | #define SWIG_TypeCast SWIG_Python_TypeCast | |
44 | #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast | |
45 | #define SWIG_TypeName SWIG_Python_TypeName | |
46 | #define SWIG_TypeQuery SWIG_Python_TypeQuery | |
47 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
48 | #define SWIG_PackData SWIG_Python_PackData | |
49 | #define SWIG_UnpackData SWIG_Python_UnpackData | |
50 | ||
51 | ||
52 | /*********************************************************************** | |
53 | * common.swg for wxPython | |
54 | * | |
55 | * Include only the function prototypes and such from SWIG's common.swg, | |
56 | * but not the runtime functions themselves. This helps keep the | |
57 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
58 | * anyway. | |
59 | * | |
60 | ************************************************************************/ | |
61 | ||
62 | #include <string.h> | |
63 | ||
64 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
65 | # if defined(_MSC_VER) || defined(__GNUC__) | |
66 | # if defined(STATIC_LINKED) | |
67 | # define SWIGEXPORT(a) a | |
68 | # define SWIGIMPORT(a) extern a | |
69 | # else | |
70 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
71 | # define SWIGIMPORT(a) extern a | |
72 | # endif | |
73 | # else | |
74 | # if defined(__BORLANDC__) | |
75 | # define SWIGEXPORT(a) a _export | |
76 | # define SWIGIMPORT(a) a _export | |
77 | # else | |
78 | # define SWIGEXPORT(a) a | |
79 | # define SWIGIMPORT(a) a | |
80 | # endif | |
81 | # endif | |
82 | #else | |
83 | # define SWIGEXPORT(a) a | |
84 | # define SWIGIMPORT(a) a | |
85 | #endif | |
86 | ||
87 | #ifdef SWIG_GLOBAL | |
88 | # define SWIGRUNTIME(a) SWIGEXPORT(a) | |
89 | #else | |
90 | # define SWIGRUNTIME(a) static a | |
91 | #endif | |
92 | ||
93 | #ifdef __cplusplus | |
94 | extern "C" { | |
95 | #endif | |
96 | ||
97 | typedef void *(*swig_converter_func)(void *); | |
98 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
99 | ||
100 | typedef struct swig_type_info { | |
101 | const char *name; | |
102 | swig_converter_func converter; | |
103 | const char *str; | |
104 | void *clientdata; | |
105 | swig_dycast_func dcast; | |
106 | struct swig_type_info *next; | |
107 | struct swig_type_info *prev; | |
108 | } swig_type_info; | |
109 | ||
110 | ||
111 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
112 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
113 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
114 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
115 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
116 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); | |
117 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
118 | SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); | |
119 | SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); | |
120 | ||
121 | ||
122 | #ifdef __cplusplus | |
123 | } | |
124 | #endif | |
125 | ||
126 | /*********************************************************************** | |
127 | * pyrun.swg for wxPython | |
128 | * | |
129 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
130 | * but not the runtime functions themselves. This helps keep the | |
131 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
132 | * anyway. | |
133 | * | |
134 | ************************************************************************/ | |
135 | ||
136 | #include "Python.h" | |
137 | ||
138 | #ifdef __cplusplus | |
139 | extern "C" { | |
140 | #endif | |
141 | ||
142 | #define SWIG_PY_INT 1 | |
143 | #define SWIG_PY_FLOAT 2 | |
144 | #define SWIG_PY_STRING 3 | |
145 | #define SWIG_PY_POINTER 4 | |
146 | #define SWIG_PY_BINARY 5 | |
147 | ||
148 | /* Flags for pointer conversion */ | |
149 | ||
150 | #define SWIG_POINTER_EXCEPTION 0x1 | |
151 | #define SWIG_POINTER_DISOWN 0x2 | |
152 | ||
153 | /* Exception handling in wrappers */ | |
154 | #define SWIG_fail goto fail | |
155 | ||
156 | /* Constant information structure */ | |
157 | typedef struct swig_const_info { | |
158 | int type; | |
159 | char *name; | |
160 | long lvalue; | |
161 | double dvalue; | |
162 | void *pvalue; | |
163 | swig_type_info **ptype; | |
164 | } swig_const_info; | |
165 | ||
166 | /* Common SWIG API */ | |
167 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
168 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
169 | #define SWIG_NewPointerObj(p, type, flags) \ | |
170 | SWIG_Python_NewPointerObj(p, type, flags) | |
171 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
172 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
173 | ||
174 | /* Python-specific SWIG API */ | |
175 | #define SWIG_newvarlink() \ | |
176 | SWIG_Python_newvarlink() | |
177 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
178 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
179 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
180 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
181 | #define SWIG_NewPackedObj(ptr, sz, type) \ | |
182 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
183 | #define SWIG_InstallConstants(d, constants) \ | |
184 | SWIG_Python_InstallConstants(d, constants) | |
185 | ||
186 | typedef double (*py_objasdbl_conv)(PyObject *obj); | |
187 | ||
188 | SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); | |
189 | SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
190 | SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
191 | SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void); | |
192 | SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
193 | SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
194 | SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
195 | SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
196 | ||
197 | ||
198 | /* Contract support */ | |
199 | ||
200 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
201 | ||
202 | #ifdef __cplusplus | |
203 | } | |
204 | #endif | |
205 | ||
206 | ||
207 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
208 | ||
209 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0] | |
210 | #define SWIGTYPE_p_wxPreviewFrame swig_types[1] | |
211 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2] | |
212 | #define SWIGTYPE_p_wxPyPanel swig_types[3] | |
213 | #define SWIGTYPE_p_wxMenu swig_types[4] | |
09c21d3b RD |
214 | #define SWIGTYPE_p_wxPrintData swig_types[5] |
215 | #define SWIGTYPE_p_wxFontData swig_types[6] | |
216 | #define SWIGTYPE_p_wxEvent swig_types[7] | |
d55e5bfc RD |
217 | #define SWIGTYPE_p_wxTaskBarIcon swig_types[8] |
218 | #define SWIGTYPE_p_wxIconBundle swig_types[9] | |
219 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10] | |
220 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[11] | |
221 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[12] | |
222 | #define SWIGTYPE_p_wxFont swig_types[13] | |
223 | #define SWIGTYPE_p_wxSplitterEvent swig_types[14] | |
224 | #define SWIGTYPE_p_wxRegion swig_types[15] | |
225 | #define SWIGTYPE_p_wxFindReplaceData swig_types[16] | |
226 | #define SWIGTYPE_p_int swig_types[17] | |
227 | #define SWIGTYPE_p_wxSize swig_types[18] | |
228 | #define SWIGTYPE_p_wxDC swig_types[19] | |
229 | #define SWIGTYPE_p_wxIcon swig_types[20] | |
f20a2e1f RD |
230 | #define SWIGTYPE_p_wxVisualAttributes swig_types[21] |
231 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[22] | |
232 | #define SWIGTYPE_p_wxColourData swig_types[23] | |
233 | #define SWIGTYPE_p_wxNotifyEvent swig_types[24] | |
234 | #define SWIGTYPE_p_wxPyWindow swig_types[25] | |
235 | #define SWIGTYPE_p_wxSplashScreen swig_types[26] | |
236 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27] | |
237 | #define SWIGTYPE_p_wxProgressDialog swig_types[28] | |
238 | #define SWIGTYPE_p_wxMessageDialog swig_types[29] | |
239 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[30] | |
240 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31] | |
241 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32] | |
242 | #define SWIGTYPE_p_wxFileDialog swig_types[33] | |
243 | #define SWIGTYPE_p_wxPrinter swig_types[34] | |
244 | #define SWIGTYPE_p_wxArrayInt swig_types[35] | |
245 | #define SWIGTYPE_p_wxEvtHandler swig_types[36] | |
246 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37] | |
247 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38] | |
248 | #define SWIGTYPE_p_wxPyVListBox swig_types[39] | |
249 | #define SWIGTYPE_p_wxRect swig_types[40] | |
250 | #define SWIGTYPE_p_char swig_types[41] | |
251 | #define SWIGTYPE_p_wxMiniFrame swig_types[42] | |
252 | #define SWIGTYPE_p_wxFrame swig_types[43] | |
253 | #define SWIGTYPE_p_wxPyPrintout swig_types[44] | |
254 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45] | |
255 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[46] | |
256 | #define SWIGTYPE_p_wxStatusBar swig_types[47] | |
257 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[48] | |
258 | #define SWIGTYPE_p_wxPoint swig_types[49] | |
259 | #define SWIGTYPE_p_wxObject swig_types[50] | |
260 | #define SWIGTYPE_p_wxOutputStream swig_types[51] | |
09c21d3b RD |
261 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52] |
262 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[53] | |
263 | #define SWIGTYPE_p_wxTipWindow swig_types[54] | |
264 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55] | |
265 | #define SWIGTYPE_p_wxSplitterWindow swig_types[56] | |
266 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57] | |
267 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58] | |
268 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59] | |
269 | #define SWIGTYPE_p_wxPopupWindow swig_types[60] | |
270 | #define SWIGTYPE_p_wxSashWindow swig_types[61] | |
271 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[62] | |
272 | #define SWIGTYPE_p_wxWindow swig_types[63] | |
273 | #define SWIGTYPE_p_wxScrolledWindow swig_types[64] | |
274 | #define SWIGTYPE_p_wxMenuBar swig_types[65] | |
275 | #define SWIGTYPE_p_wxPrintPreview swig_types[66] | |
276 | #define SWIGTYPE_p_wxSashEvent swig_types[67] | |
277 | #define SWIGTYPE_p_wxString swig_types[68] | |
278 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[69] | |
279 | #define SWIGTYPE_p_wxFontDialog swig_types[70] | |
280 | #define SWIGTYPE_p_wxDirDialog swig_types[71] | |
281 | #define SWIGTYPE_p_wxColourDialog swig_types[72] | |
282 | #define SWIGTYPE_p_wxDialog swig_types[73] | |
283 | #define SWIGTYPE_p_wxPanel swig_types[74] | |
284 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[75] | |
285 | #define SWIGTYPE_p_wxPrintDialog swig_types[76] | |
286 | #define SWIGTYPE_p_wxFileSystem swig_types[77] | |
287 | #define SWIGTYPE_p_wxBitmap swig_types[78] | |
288 | #define SWIGTYPE_p_wxCommandEvent swig_types[79] | |
289 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[80] | |
290 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81] | |
291 | #define SWIGTYPE_p_wxColour swig_types[82] | |
292 | #define SWIGTYPE_p_wxToolBar swig_types[83] | |
293 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84] | |
294 | #define SWIGTYPE_p_wxPrintDialogData swig_types[85] | |
295 | static swig_type_info *swig_types[87]; | |
d55e5bfc RD |
296 | |
297 | /* -------- TYPES TABLE (END) -------- */ | |
298 | ||
299 | ||
300 | /*----------------------------------------------- | |
301 | @(target):= _windows_.so | |
302 | ------------------------------------------------*/ | |
303 | #define SWIG_init init_windows_ | |
304 | ||
305 | #define SWIG_name "_windows_" | |
306 | ||
307 | /* Auxiliar swig macros */ | |
308 | ||
309 | #ifdef __cplusplus | |
310 | #define SWIGSTATICINLINE(a) static inline a | |
311 | #define SWIGSTATIC(a) static a | |
312 | #define swig_new_array(type, size) (new type[(size)]) | |
313 | #define swig_delete_array(cptr) delete[] cptr | |
314 | #define swig_const_cast(type,a) const_cast<type>(a) | |
315 | #define swig_static_cast(type,a) static_cast<type>(a) | |
316 | #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) | |
317 | ||
318 | #ifdef HAVE_NUMERIC_CAST | |
319 | #define swig_numeric_cast(type,a) numeric_cast<type>(a) | |
320 | #else | |
321 | #define swig_numeric_cast(type,a) static_cast<type>(a) | |
322 | #endif | |
323 | ||
324 | #else /* C case */ | |
325 | ||
326 | #define SWIGSTATICINLINE(a) static a | |
327 | #define SWIGSTATIC(a) static a | |
328 | #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) | |
329 | #define swig_delete_array(cptr) free((char*)cptr) | |
330 | #define swig_const_cast(type,a) (type)(a) | |
331 | #define swig_static_cast(type,a) (type)(a) | |
332 | #define swig_reinterpret_cast(type,a) (type)(a) | |
333 | #define swig_numeric_cast(type,a) (type)(a) | |
334 | ||
335 | #endif /* __cplusplus */ | |
336 | ||
337 | ||
338 | #define SWIG_FromSignedChar PyInt_FromLong | |
339 | #define SWIG_FromUnsignedChar PyInt_FromLong | |
340 | #define SWIG_FromShort PyInt_FromLong | |
341 | #define SWIG_FromUnsignedShort PyInt_FromLong | |
342 | #define SWIG_FromInt PyInt_FromLong | |
343 | #define SWIG_FromLong PyInt_FromLong | |
344 | #define SWIG_FromFloat PyFloat_FromDouble | |
345 | #define SWIG_FromDouble PyFloat_FromDouble | |
346 | #define SWIG_FromFloat PyFloat_FromDouble | |
347 | #define SWIG_FromDouble PyFloat_FromDouble | |
348 | ||
349 | ||
350 | #include "wx/wxPython/wxPython.h" | |
351 | #include "wx/wxPython/pyclasses.h" | |
352 | ||
353 | ||
354 | static const wxString wxPyEmptyString(wxEmptyString); | |
355 | static const wxString wxPyPanelNameStr(wxPanelNameStr); | |
356 | ||
357 | ||
358 | ||
359 | #include <limits.h> | |
360 | ||
361 | ||
362 | SWIGSTATICINLINE(long) | |
363 | SWIG_CheckLongInRange(long value, const char* type, | |
364 | long min_value, long max_value) | |
365 | { | |
366 | if (!PyErr_Occurred()) { | |
367 | if (value < min_value) { | |
368 | PyObject *err = | |
369 | PyString_FromFormat("value %ld is less than '%s' minimum %ld", | |
370 | value, type, min_value); | |
371 | ||
372 | PyErr_SetObject(PyExc_OverflowError, err); | |
373 | Py_DECREF(err); | |
374 | } else if (value > max_value) { | |
375 | PyObject *err = | |
376 | PyString_FromFormat("value %ld is greater than '%s' maximum %ld", | |
377 | value, type, max_value); | |
378 | PyErr_SetObject(PyExc_OverflowError, err); | |
379 | Py_DECREF(err); | |
380 | } | |
381 | } | |
382 | return value; | |
383 | } | |
384 | ||
385 | ||
386 | SWIGSTATICINLINE(long) | |
387 | SWIG_AsLong(PyObject * obj) | |
388 | { | |
389 | if (PyNumber_Check(obj)) | |
390 | return PyInt_AsLong(obj); | |
391 | else { | |
392 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
393 | obj->ob_type->tp_name); | |
394 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
395 | Py_DECREF(errmsg); | |
396 | return 0; | |
397 | } | |
398 | } | |
399 | ||
400 | ||
401 | #if INT_MAX != LONG_MAX | |
402 | SWIGSTATICINLINE(int) | |
403 | SWIG_AsInt(PyObject *obj) | |
404 | { | |
405 | return swig_numeric_cast(int, | |
406 | SWIG_CheckLongInRange(SWIG_AsLong(obj), | |
407 | "int", INT_MIN, INT_MAX)); | |
408 | } | |
409 | #else | |
410 | #define SWIG_AsInt SWIG_AsLong | |
411 | #endif | |
412 | ||
413 | ||
414 | SWIGSTATICINLINE(int) | |
415 | SWIG_CheckInt(PyObject* obj) | |
416 | { | |
417 | SWIG_AsInt(obj); | |
418 | if (PyErr_Occurred()) { | |
419 | PyErr_Clear(); | |
420 | return 0; | |
421 | } else { | |
422 | return 1; | |
423 | } | |
424 | } | |
425 | ||
426 | ||
427 | SWIGSTATICINLINE(int) | |
428 | SWIG_CheckLong(PyObject* obj) | |
429 | { | |
430 | SWIG_AsLong(obj); | |
431 | if (PyErr_Occurred()) { | |
432 | PyErr_Clear(); | |
433 | return 0; | |
434 | } else { | |
435 | return 1; | |
436 | } | |
437 | } | |
438 | ||
439 | ||
440 | SWIGSTATICINLINE(bool) | |
441 | SWIG_AsBool(PyObject *obj) | |
442 | { | |
443 | return PyObject_IsTrue(obj) ? true : false; | |
444 | } | |
445 | ||
446 | ||
447 | SWIGSTATICINLINE(int) | |
448 | SWIG_CheckBool(PyObject* obj) | |
449 | { | |
450 | SWIG_AsBool(obj); | |
451 | if (PyErr_Occurred()) { | |
452 | PyErr_Clear(); | |
453 | return 0; | |
454 | } else { | |
455 | return 1; | |
456 | } | |
457 | } | |
458 | ||
459 | ||
460 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
461 | PyObject* o2; | |
462 | PyObject* o3; | |
463 | ||
464 | if (!target) { | |
465 | target = o; | |
466 | } else if (target == Py_None) { | |
467 | Py_DECREF(Py_None); | |
468 | target = o; | |
469 | } else { | |
470 | if (!PyTuple_Check(target)) { | |
471 | o2 = target; | |
472 | target = PyTuple_New(1); | |
473 | PyTuple_SetItem(target, 0, o2); | |
474 | } | |
475 | o3 = PyTuple_New(1); | |
476 | PyTuple_SetItem(o3, 0, o); | |
477 | ||
478 | o2 = target; | |
479 | target = PySequence_Concat(o2, o3); | |
480 | Py_DECREF(o2); | |
481 | Py_DECREF(o3); | |
482 | } | |
483 | return target; | |
484 | } | |
485 | ||
486 | ||
487 | SWIGSTATICINLINE(double) | |
488 | SWIG_AsDouble(PyObject *obj) | |
489 | { | |
490 | if (PyNumber_Check(obj)) | |
491 | return PyFloat_AsDouble(obj); | |
492 | else { | |
493 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
494 | obj->ob_type->tp_name); | |
495 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
496 | Py_DECREF(errmsg); | |
497 | return 0; | |
498 | } | |
499 | } | |
500 | ||
501 | ||
502 | SWIGSTATICINLINE(int) | |
503 | SWIG_CheckDouble(PyObject* obj) | |
504 | { | |
505 | SWIG_AsDouble(obj); | |
506 | if (PyErr_Occurred()) { | |
507 | PyErr_Clear(); | |
508 | return 0; | |
509 | } else { | |
510 | return 1; | |
511 | } | |
512 | } | |
513 | ||
514 | static const wxString wxPyFrameNameStr(wxFrameNameStr); | |
515 | static const wxString wxPyDialogNameStr(wxDialogNameStr); | |
516 | static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr); | |
517 | static const wxString wxPyToolBarNameStr(wxToolBarNameStr); | |
518 | ||
519 | ||
520 | wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ | |
521 | wxRect r; | |
522 | self->GetFieldRect(i, r); | |
523 | return r; | |
524 | } | |
525 | static const wxString wxPySplitterNameStr(wxT("splitter")); | |
526 | static const wxString wxPySashNameStr(wxT("sashWindow")); | |
527 | static const wxString wxPySashLayoutNameStr(wxT("layoutWindow")); | |
528 | ||
529 | #include <wx/popupwin.h> | |
530 | ||
531 | ||
532 | class wxPyPopupTransientWindow : public wxPopupTransientWindow | |
533 | { | |
534 | public: | |
535 | wxPyPopupTransientWindow() : wxPopupTransientWindow() {} | |
536 | wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE) | |
537 | : wxPopupTransientWindow(parent, style) {} | |
538 | ||
539 | DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown); | |
540 | DEC_PYCALLBACK__(OnDismiss); | |
541 | DEC_PYCALLBACK_BOOL_(CanDismiss); | |
542 | PYPRIVATE; | |
543 | }; | |
544 | ||
545 | ||
546 | IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown); | |
547 | IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss); | |
548 | IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss); | |
549 | ||
550 | ||
551 | #include <wx/tipwin.h> | |
552 | ||
553 | wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){ | |
554 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
555 | } | |
556 | ||
557 | #include <wx/tipwin.h> | |
558 | ||
559 | ||
560 | #include <wx/vscroll.h> | |
561 | ||
562 | ||
563 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
564 | { | |
565 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
566 | public: | |
567 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
568 | ||
569 | wxPyVScrolledWindow(wxWindow *parent, | |
570 | wxWindowID id = wxID_ANY, | |
571 | const wxPoint& pos = wxDefaultPosition, | |
572 | const wxSize& size = wxDefaultSize, | |
573 | long style = 0, | |
574 | const wxString& name = wxPyPanelNameStr) | |
575 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
576 | {} | |
577 | ||
578 | // Overridable virtuals | |
579 | ||
580 | // this function must be overridden in the derived class and it should | |
581 | // return the height of the given line in pixels | |
582 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
583 | ||
584 | ||
585 | // this function doesn't have to be overridden but it may be useful to do | |
586 | // it if calculating the lines heights is a relatively expensive operation | |
587 | // as it gives the user code a possibility to calculate several of them at | |
588 | // once | |
589 | // | |
590 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
591 | // shouldn't rely on the latter being called for all lines in the interval | |
592 | // specified here. It is also possible that OnGetLineHeight() will be | |
593 | // called for the lines outside of this interval, so this is really just a | |
594 | // hint, not a promise. | |
595 | // | |
596 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
597 | // usual | |
598 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
599 | ||
600 | ||
601 | // when the number of lines changes, we try to estimate the total height | |
602 | // of all lines which is a rather expensive operation in terms of lines | |
603 | // access, so if the user code may estimate the average height | |
604 | // better/faster than we do, it should override this function to implement | |
605 | // its own logic | |
606 | // | |
607 | // this function should return the best guess for the total height it may | |
608 | // make | |
609 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
610 | ||
611 | ||
612 | // Also expose some other interesting protected methods | |
613 | ||
614 | ||
615 | // find the index of the line we need to show at the top of the window such | |
616 | // that the last (fully or partially) visible line is the given one | |
617 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False) | |
618 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } | |
619 | ||
620 | // get the total height of the lines between lineMin (inclusive) and | |
621 | // lineMax (exclusive) | |
622 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
623 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
624 | ||
625 | ||
626 | PYPRIVATE; | |
627 | }; | |
628 | ||
629 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
630 | ||
631 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
632 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
633 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
634 | ||
635 | ||
636 | SWIGSTATICINLINE(unsigned long) | |
637 | SWIG_AsUnsignedLong(PyObject * obj) | |
638 | { | |
639 | if (PyLong_Check(obj)) { | |
640 | return PyLong_AsUnsignedLong(obj); | |
641 | } else { | |
642 | long i = SWIG_AsLong(obj); | |
643 | if ( !PyErr_Occurred() && (i < 0)) { | |
644 | PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type"); | |
645 | } | |
646 | return i; | |
647 | } | |
648 | } | |
649 | ||
650 | ||
651 | SWIGSTATICINLINE(int) | |
652 | SWIG_CheckUnsignedLong(PyObject* obj) | |
653 | { | |
654 | SWIG_AsUnsignedLong(obj); | |
655 | if (PyErr_Occurred()) { | |
656 | PyErr_Clear(); | |
657 | return 0; | |
658 | } else { | |
659 | return 1; | |
660 | } | |
661 | } | |
662 | ||
663 | ||
664 | SWIGSTATICINLINE(PyObject* ) | |
665 | SWIG_FromUnsignedLong(unsigned long value) | |
666 | { | |
667 | return (value > LONG_MAX) ? | |
668 | PyLong_FromUnsignedLong(value) | |
669 | : PyInt_FromLong(swig_numeric_cast(long,value)); | |
670 | } | |
671 | ||
672 | ||
673 | #include <wx/vlbox.h> | |
674 | ||
675 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); | |
676 | ||
677 | class wxPyVListBox : public wxVListBox | |
678 | { | |
679 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
680 | public: | |
681 | wxPyVListBox() : wxVListBox() {} | |
682 | ||
683 | wxPyVListBox(wxWindow *parent, | |
684 | wxWindowID id = wxID_ANY, | |
685 | const wxPoint& pos = wxDefaultPosition, | |
686 | const wxSize& size = wxDefaultSize, | |
687 | long style = 0, | |
688 | const wxString& name = wxPyVListBoxNameStr) | |
689 | : wxVListBox(parent, id, pos, size, style, name) | |
690 | {} | |
691 | ||
692 | // Overridable virtuals | |
693 | ||
694 | // the derived class must implement this function to actually draw the item | |
695 | // with the given index on the provided DC | |
696 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
697 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
698 | ||
699 | ||
700 | // the derived class must implement this method to return the height of the | |
701 | // specified item | |
702 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
703 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
704 | ||
705 | ||
706 | // this method may be used to draw separators between the lines; note that | |
707 | // the rectangle may be modified, typically to deflate it a bit before | |
708 | // passing to OnDrawItem() | |
709 | // | |
710 | // the base class version doesn't do anything | |
711 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
712 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
713 | ||
714 | ||
715 | // this method is used to draw the items background and, maybe, a border | |
716 | // around it | |
717 | // | |
718 | // the base class version implements a reasonable default behaviour which | |
719 | // consists in drawing the selected item with the standard background | |
720 | // colour and drawing a border around the item if it is either selected or | |
721 | // current | |
722 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
723 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
724 | ||
725 | ||
726 | PYPRIVATE; | |
727 | }; | |
728 | ||
729 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
730 | ||
731 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
732 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
733 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
734 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
735 | ||
736 | ||
09c21d3b RD |
737 | PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){ |
738 | unsigned long cookie = 0; | |
739 | int selected = self->GetFirstSelected(cookie); | |
740 | bool blocked = wxPyBeginBlockThreads(); | |
741 | PyObject* tup = PyTuple_New(2); | |
742 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
743 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
744 | wxPyEndBlockThreads(blocked); | |
745 | return tup; | |
746 | } | |
747 | PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){ | |
748 | int selected = self->GetNextSelected(cookie); | |
749 | bool blocked = wxPyBeginBlockThreads(); | |
750 | PyObject* tup = PyTuple_New(2); | |
751 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
752 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
753 | wxPyEndBlockThreads(blocked); | |
754 | return tup; | |
755 | } | |
d55e5bfc RD |
756 | |
757 | #include <wx/htmllbox.h> | |
758 | ||
759 | ||
760 | class wxPyHtmlListBox : public wxHtmlListBox | |
761 | { | |
762 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
763 | public: | |
764 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
765 | ||
766 | wxPyHtmlListBox(wxWindow *parent, | |
767 | wxWindowID id = wxID_ANY, | |
768 | const wxPoint& pos = wxDefaultPosition, | |
769 | const wxSize& size = wxDefaultSize, | |
770 | long style = 0, | |
771 | const wxString& name = wxPyVListBoxNameStr) | |
772 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
773 | {} | |
774 | ||
775 | // Overridable virtuals | |
776 | ||
777 | // this method must be implemented in the derived class and should return | |
778 | // the body (i.e. without <html>) of the HTML for the given item | |
779 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
780 | ||
781 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
782 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
783 | ||
784 | // TODO: | |
785 | // // this method allows to customize the selection appearance: it may be used | |
786 | // // to specify the colour of the text which normally has the given colour | |
787 | // // colFg when it is inside the selection | |
788 | // // | |
789 | // // by default, the original colour is not used at all and all text has the | |
790 | // // same (default for this system) colour inside selection | |
791 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
792 | ||
793 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
794 | // // background colour -- this is even more rarely used as you can change it | |
795 | // // globally using SetSelectionBackground() | |
796 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
797 | ||
798 | ||
799 | PYPRIVATE; | |
800 | }; | |
801 | ||
802 | ||
803 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
804 | ||
805 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
806 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
807 | ||
808 | ||
809 | ||
810 | ||
811 | ||
812 | #ifdef __WXMAC__ | |
813 | // implement dummy classes and such for wxMac | |
814 | ||
815 | class wxTaskBarIcon : public wxEvtHandler | |
816 | { | |
817 | public: | |
818 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } | |
819 | }; | |
09c21d3b | 820 | |
d55e5bfc RD |
821 | |
822 | class wxTaskBarIconEvent : public wxEvent | |
823 | { | |
824 | public: | |
825 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
826 | { wxPyRaiseNotImplemented(); } | |
827 | virtual wxEvent* Clone() const { return NULL; } | |
828 | }; | |
829 | ||
830 | enum { | |
831 | wxEVT_TASKBAR_MOVE = 0, | |
832 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
833 | wxEVT_TASKBAR_LEFT_UP = 0, | |
834 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
835 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
836 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
837 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
838 | }; | |
09c21d3b RD |
839 | |
840 | ||
841 | #else | |
842 | // // Otherwise make a class that can virtualize CreatePopupMenu | |
843 | // class wxPyTaskBarIcon : public wxTaskBarIcon | |
844 | // { | |
845 | // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon); | |
846 | // public: | |
847 | // wxPyTaskBarIcon() : wxTaskBarIcon() | |
848 | // {} | |
849 | ||
850 | // wxMenu* CreatePopupMenu() { | |
851 | // wxMenu *rval = NULL; | |
852 | // bool found; | |
853 | // bool blocked = wxPyBeginBlockThreads(); | |
854 | // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) { | |
855 | // PyObject* ro; | |
856 | // wxMenu* ptr; | |
857 | // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
858 | // if (ro) { | |
859 | // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu"))) | |
860 | // rval = ptr; | |
861 | // Py_DECREF(ro); | |
862 | // } | |
863 | // } | |
864 | // wxPyEndBlockThreads(blocked); | |
865 | // if (! found) | |
866 | // rval = wxTaskBarIcon::CreatePopupMenu(); | |
867 | // return rval; | |
868 | // } | |
869 | ||
870 | // PYPRIVATE; | |
871 | // }; | |
872 | ||
873 | // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon); | |
874 | ||
d55e5bfc RD |
875 | #endif |
876 | ||
877 | void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){ | |
878 | ||
879 | self->RemoveIcon(); | |
880 | ||
881 | } | |
882 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); | |
883 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
884 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
885 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
886 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
887 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
888 | PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ | |
889 | wxArrayString arr; | |
890 | self->GetFilenames(arr); | |
891 | return wxArrayString2PyList_helper(arr); | |
892 | } | |
893 | PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ | |
894 | wxArrayString arr; | |
895 | self->GetPaths(arr); | |
896 | return wxArrayString2PyList_helper(arr); | |
897 | } | |
898 | PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ | |
899 | return wxArrayInt2PyList_helper(self->GetSelections()); | |
900 | } | |
901 | wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){ | |
902 | return new wxSingleChoiceDialog(parent, message, caption, | |
903 | choices, choices_array, NULL, style, pos); | |
904 | } | |
905 | ||
906 | #include <wx/mdi.h> | |
907 | ||
908 | // C++ version of Python aware wxWindow | |
909 | class wxPyWindow : public wxWindow | |
910 | { | |
911 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
912 | public: | |
913 | wxPyWindow() : wxWindow() {} | |
914 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
915 | const wxPoint& pos = wxDefaultPosition, | |
916 | const wxSize& size = wxDefaultSize, | |
917 | long style = 0, | |
918 | const wxString& name = wxPyPanelNameStr) | |
919 | : wxWindow(parent, id, pos, size, style, name) {} | |
920 | ||
caef1a4d | 921 | void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); } |
d55e5bfc RD |
922 | |
923 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
924 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
925 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
926 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
927 | ||
928 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
929 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
930 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
931 | ||
932 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
933 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
934 | ||
935 | DEC_PYCALLBACK__(InitDialog); | |
936 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
937 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
938 | DEC_PYCALLBACK_BOOL_(Validate); | |
939 | ||
940 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
941 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
942 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
943 | ||
944 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
945 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
946 | ||
caef1a4d | 947 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
d55e5bfc | 948 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
caef1a4d | 949 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc RD |
950 | |
951 | PYPRIVATE; | |
952 | }; | |
953 | ||
954 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
955 | ||
956 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
957 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
958 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
959 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
960 | ||
961 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
962 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
963 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
964 | ||
965 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
966 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
967 | ||
968 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
969 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
970 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
971 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
972 | ||
973 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
974 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
975 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
976 | ||
977 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
978 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
979 | ||
caef1a4d | 980 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours); |
d55e5bfc | 981 | IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground); |
caef1a4d | 982 | IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes); |
d55e5bfc RD |
983 | |
984 | ||
985 | // C++ version of Python aware wxPanel | |
986 | class wxPyPanel : public wxPanel | |
987 | { | |
988 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
989 | public: | |
990 | wxPyPanel() : wxPanel() {} | |
991 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
992 | const wxPoint& pos = wxDefaultPosition, | |
993 | const wxSize& size = wxDefaultSize, | |
994 | long style = 0, | |
995 | const wxString& name = wxPyPanelNameStr) | |
996 | : wxPanel(parent, id, pos, size, style, name) {} | |
997 | ||
caef1a4d RD |
998 | void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); } |
999 | ||
d55e5bfc RD |
1000 | |
1001 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
1002 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
1003 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
1004 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
1005 | ||
1006 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
1007 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
1008 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
1009 | ||
1010 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
1011 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
1012 | ||
1013 | DEC_PYCALLBACK__(InitDialog); | |
1014 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
1015 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
1016 | DEC_PYCALLBACK_BOOL_(Validate); | |
1017 | ||
1018 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
1019 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
1020 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
1021 | ||
1022 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
1023 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
1024 | ||
caef1a4d | 1025 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
d55e5bfc | 1026 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
caef1a4d | 1027 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc RD |
1028 | |
1029 | PYPRIVATE; | |
1030 | }; | |
1031 | ||
1032 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
1033 | ||
1034 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
1035 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
1036 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
1037 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
1038 | ||
1039 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
1040 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
1041 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
1042 | ||
1043 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
1044 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
1045 | ||
1046 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
1047 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
1048 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
1049 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
1050 | ||
1051 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
1052 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
1053 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
1054 | ||
1055 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
1056 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
1057 | ||
caef1a4d | 1058 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours); |
d55e5bfc | 1059 | IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground); |
caef1a4d | 1060 | IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes); |
d55e5bfc | 1061 | |
caef1a4d | 1062 | |
d55e5bfc RD |
1063 | // C++ version of Python aware wxScrolledWindow |
1064 | class wxPyScrolledWindow : public wxScrolledWindow | |
1065 | { | |
1066 | DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow) | |
1067 | public: | |
1068 | wxPyScrolledWindow() : wxScrolledWindow() {} | |
1069 | wxPyScrolledWindow(wxWindow* parent, const wxWindowID id, | |
1070 | const wxPoint& pos = wxDefaultPosition, | |
1071 | const wxSize& size = wxDefaultSize, | |
1072 | long style = 0, | |
1073 | const wxString& name = wxPyPanelNameStr) | |
1074 | : wxScrolledWindow(parent, id, pos, size, style, name) {} | |
1075 | ||
caef1a4d | 1076 | void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); } |
d55e5bfc RD |
1077 | |
1078 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
1079 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
1080 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
1081 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
1082 | ||
1083 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
1084 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
1085 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
1086 | ||
1087 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
1088 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
1089 | ||
1090 | DEC_PYCALLBACK__(InitDialog); | |
1091 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
1092 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
1093 | DEC_PYCALLBACK_BOOL_(Validate); | |
1094 | ||
1095 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
1096 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
1097 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
1098 | ||
1099 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
1100 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
1101 | ||
caef1a4d | 1102 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
d55e5bfc | 1103 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
caef1a4d | 1104 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc RD |
1105 | |
1106 | PYPRIVATE; | |
1107 | }; | |
1108 | ||
1109 | IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow); | |
1110 | ||
1111 | IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow); | |
1112 | IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize); | |
1113 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize); | |
1114 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize); | |
1115 | ||
1116 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize); | |
1117 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize); | |
1118 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition); | |
1119 | ||
1120 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize); | |
1121 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize); | |
1122 | ||
1123 | IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog); | |
1124 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow); | |
1125 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow); | |
1126 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate); | |
1127 | ||
1128 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus); | |
1129 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard); | |
1130 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize); | |
1131 | ||
1132 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild); | |
1133 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild); | |
1134 | ||
caef1a4d | 1135 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours); |
d55e5bfc | 1136 | IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground); |
caef1a4d RD |
1137 | IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes); |
1138 | ||
d55e5bfc RD |
1139 | |
1140 | ||
1141 | #include "wx/wxPython/printfw.h" | |
1142 | ||
1143 | ||
1144 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); | |
1145 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
1146 | ||
1147 | ||
1148 | ||
1149 | // Since this one would be tough and ugly to do with the Macros... | |
1150 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
1151 | bool hadErr = False; | |
1152 | bool found; | |
1153 | ||
1154 | bool blocked = wxPyBeginBlockThreads(); | |
1155 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { | |
1156 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
1157 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
1158 | PyObject* val; | |
1159 | ||
1160 | val = PyTuple_GetItem(result, 0); | |
1161 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
1162 | else hadErr = True; | |
1163 | ||
1164 | val = PyTuple_GetItem(result, 1); | |
1165 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
1166 | else hadErr = True; | |
1167 | ||
1168 | val = PyTuple_GetItem(result, 2); | |
1169 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
1170 | else hadErr = True; | |
1171 | ||
1172 | val = PyTuple_GetItem(result, 3); | |
1173 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
1174 | else hadErr = True; | |
1175 | } | |
1176 | else | |
1177 | hadErr = True; | |
1178 | ||
1179 | if (hadErr) { | |
1180 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
1181 | PyErr_Print(); | |
1182 | } | |
1183 | Py_DECREF(result); | |
1184 | } | |
1185 | wxPyEndBlockThreads(blocked); | |
1186 | if (! found) | |
1187 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1188 | } | |
1189 | ||
1190 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
1191 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1192 | } | |
1193 | ||
1194 | ||
1195 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
1196 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
1197 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
1198 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
1199 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
1200 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
1201 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
1202 | ||
1203 | ||
1204 | ||
1205 | ||
1206 | ||
1207 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ | |
1208 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
1209 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) | |
1210 | ||
1211 | ||
1212 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ | |
1213 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
1214 | bool rval=False; \ | |
1215 | bool found; \ | |
1216 | bool blocked = wxPyBeginBlockThreads(); \ | |
1217 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
412d302d RD |
1218 | PyObject* win = wxPyMake_wxObject(a,false); \ |
1219 | PyObject* dc = wxPyMake_wxObject(&b,false); \ | |
d55e5bfc RD |
1220 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\ |
1221 | Py_DECREF(win); \ | |
1222 | Py_DECREF(dc); \ | |
1223 | } \ | |
1224 | wxPyEndBlockThreads(blocked); \ | |
1225 | if (! found) \ | |
1226 | rval = PCLASS::CBNAME(a, b); \ | |
1227 | return rval; \ | |
1228 | } \ | |
1229 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
1230 | return PCLASS::CBNAME(a, b); \ | |
1231 | } | |
1232 | ||
1233 | ||
1234 | ||
1235 | ||
1236 | class wxPyPrintPreview : public wxPrintPreview | |
1237 | { | |
1238 | DECLARE_CLASS(wxPyPrintPreview) | |
1239 | public: | |
1240 | wxPyPrintPreview(wxPyPrintout* printout, | |
1241 | wxPyPrintout* printoutForPrinting, | |
1242 | wxPrintDialogData* data=NULL) | |
1243 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1244 | {} | |
1245 | wxPyPrintPreview(wxPyPrintout* printout, | |
1246 | wxPyPrintout* printoutForPrinting, | |
1247 | wxPrintData* data=NULL) | |
1248 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1249 | {} | |
1250 | ||
1251 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
1252 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
1253 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
1254 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
1255 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
1256 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
1257 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
1258 | ||
1259 | PYPRIVATE; | |
1260 | }; | |
1261 | ||
1262 | // Stupid renamed classes... Fix this in 2.5... | |
1263 | #if defined(__WXMSW__) | |
1264 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
1265 | #elif defined(__WXMAC__) | |
1266 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
1267 | #else | |
1268 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
1269 | #endif | |
1270 | ||
1271 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
1272 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
1273 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
1274 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
1275 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
1276 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
1277 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
1278 | ||
1279 | ||
1280 | class wxPyPreviewFrame : public wxPreviewFrame | |
1281 | { | |
1282 | DECLARE_CLASS(wxPyPreviewFrame); | |
1283 | public: | |
1284 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
1285 | const wxString& title, | |
1286 | const wxPoint& pos = wxDefaultPosition, | |
1287 | const wxSize& size = wxDefaultSize, | |
1288 | long style = wxDEFAULT_FRAME_STYLE, | |
1289 | const wxString& name = wxPyFrameNameStr) | |
1290 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
1291 | {} | |
1292 | ||
1293 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
1294 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
1295 | ||
1296 | DEC_PYCALLBACK_VOID_(Initialize); | |
1297 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
1298 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
1299 | ||
1300 | PYPRIVATE; | |
1301 | }; | |
1302 | ||
1303 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
1304 | ||
1305 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
1306 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
1307 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
1308 | ||
1309 | ||
1310 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
1311 | { | |
1312 | DECLARE_CLASS(wxPyPreviewControlBar); | |
1313 | public: | |
1314 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
1315 | long buttons, | |
1316 | wxWindow *parent, | |
1317 | const wxPoint& pos = wxDefaultPosition, | |
1318 | const wxSize& size = wxDefaultSize, | |
1319 | long style = 0, | |
1320 | const wxString& name = wxPyPanelNameStr) | |
1321 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
1322 | {} | |
1323 | ||
1324 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
1325 | ||
1326 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
1327 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
1328 | ||
1329 | PYPRIVATE; | |
1330 | }; | |
1331 | ||
1332 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
1333 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
1334 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
1335 | ||
1336 | #ifdef __cplusplus | |
1337 | extern "C" { | |
1338 | #endif | |
1339 | static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1340 | PyObject *resultobj; | |
1341 | wxWindow *arg1 = (wxWindow *) 0 ; | |
1342 | int arg2 = (int) (int)-1 ; | |
1343 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1344 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1345 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1346 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1347 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1348 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1349 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1350 | wxPanel *result; | |
1351 | wxPoint temp3 ; | |
1352 | wxSize temp4 ; | |
1353 | bool temp6 = False ; | |
1354 | PyObject * obj0 = 0 ; | |
1355 | PyObject * obj1 = 0 ; | |
1356 | PyObject * obj2 = 0 ; | |
1357 | PyObject * obj3 = 0 ; | |
1358 | PyObject * obj4 = 0 ; | |
1359 | PyObject * obj5 = 0 ; | |
1360 | char *kwnames[] = { | |
1361 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1362 | }; | |
1363 | ||
1364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
1365 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
1366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1367 | if (obj1) { | |
1368 | arg2 = (int const) SWIG_AsInt(obj1); | |
1369 | if (PyErr_Occurred()) SWIG_fail; | |
1370 | } | |
1371 | if (obj2) { | |
1372 | { | |
1373 | arg3 = &temp3; | |
1374 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1375 | } | |
1376 | } | |
1377 | if (obj3) { | |
1378 | { | |
1379 | arg4 = &temp4; | |
1380 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1381 | } | |
1382 | } | |
1383 | if (obj4) { | |
1384 | arg5 = (long) SWIG_AsLong(obj4); | |
1385 | if (PyErr_Occurred()) SWIG_fail; | |
1386 | } | |
1387 | if (obj5) { | |
1388 | { | |
1389 | arg6 = wxString_in_helper(obj5); | |
1390 | if (arg6 == NULL) SWIG_fail; | |
1391 | temp6 = True; | |
1392 | } | |
1393 | } | |
1394 | { | |
0439c23b | 1395 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
1396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1397 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1398 | ||
1399 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1400 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 1401 | } |
e058867b | 1402 | { |
412d302d | 1403 | resultobj = wxPyMake_wxObject(result, 1); |
e058867b | 1404 | } |
d55e5bfc RD |
1405 | { |
1406 | if (temp6) | |
1407 | delete arg6; | |
1408 | } | |
1409 | return resultobj; | |
1410 | fail: | |
1411 | { | |
1412 | if (temp6) | |
1413 | delete arg6; | |
1414 | } | |
1415 | return NULL; | |
1416 | } | |
1417 | ||
1418 | ||
1419 | static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1420 | PyObject *resultobj; | |
1421 | wxPanel *result; | |
1422 | char *kwnames[] = { | |
1423 | NULL | |
1424 | }; | |
1425 | ||
1426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
1427 | { | |
0439c23b | 1428 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
1429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1430 | result = (wxPanel *)new wxPanel(); | |
1431 | ||
1432 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1433 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 1434 | } |
e058867b | 1435 | { |
412d302d | 1436 | resultobj = wxPyMake_wxObject(result, 1); |
e058867b | 1437 | } |
d55e5bfc RD |
1438 | return resultobj; |
1439 | fail: | |
1440 | return NULL; | |
1441 | } | |
1442 | ||
1443 | ||
1444 | static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1445 | PyObject *resultobj; | |
1446 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1447 | wxWindow *arg2 = (wxWindow *) 0 ; | |
1448 | int arg3 = (int) (int)-1 ; | |
1449 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
1450 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1451 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1452 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1453 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1454 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1455 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1456 | bool result; | |
1457 | wxPoint temp4 ; | |
1458 | wxSize temp5 ; | |
1459 | bool temp7 = False ; | |
1460 | PyObject * obj0 = 0 ; | |
1461 | PyObject * obj1 = 0 ; | |
1462 | PyObject * obj2 = 0 ; | |
1463 | PyObject * obj3 = 0 ; | |
1464 | PyObject * obj4 = 0 ; | |
1465 | PyObject * obj5 = 0 ; | |
1466 | PyObject * obj6 = 0 ; | |
1467 | char *kwnames[] = { | |
1468 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1469 | }; | |
1470 | ||
1471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
1472 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, | |
1473 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1474 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1476 | if (obj2) { | |
1477 | arg3 = (int const) SWIG_AsInt(obj2); | |
1478 | if (PyErr_Occurred()) SWIG_fail; | |
1479 | } | |
1480 | if (obj3) { | |
1481 | { | |
1482 | arg4 = &temp4; | |
1483 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1484 | } | |
1485 | } | |
1486 | if (obj4) { | |
1487 | { | |
1488 | arg5 = &temp5; | |
1489 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1490 | } | |
1491 | } | |
1492 | if (obj5) { | |
1493 | arg6 = (long) SWIG_AsLong(obj5); | |
1494 | if (PyErr_Occurred()) SWIG_fail; | |
1495 | } | |
1496 | if (obj6) { | |
1497 | { | |
1498 | arg7 = wxString_in_helper(obj6); | |
1499 | if (arg7 == NULL) SWIG_fail; | |
1500 | temp7 = True; | |
1501 | } | |
1502 | } | |
1503 | { | |
1504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1505 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1506 | ||
1507 | wxPyEndAllowThreads(__tstate); | |
1508 | if (PyErr_Occurred()) SWIG_fail; | |
1509 | } | |
1510 | { | |
1511 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1512 | } | |
1513 | { | |
1514 | if (temp7) | |
1515 | delete arg7; | |
1516 | } | |
1517 | return resultobj; | |
1518 | fail: | |
1519 | { | |
1520 | if (temp7) | |
1521 | delete arg7; | |
1522 | } | |
1523 | return NULL; | |
1524 | } | |
1525 | ||
1526 | ||
1527 | static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1528 | PyObject *resultobj; | |
1529 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1530 | PyObject * obj0 = 0 ; | |
1531 | char *kwnames[] = { | |
1532 | (char *) "self", NULL | |
1533 | }; | |
1534 | ||
1535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
1536 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, | |
1537 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1538 | { | |
1539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1540 | (arg1)->InitDialog(); | |
1541 | ||
1542 | wxPyEndAllowThreads(__tstate); | |
1543 | if (PyErr_Occurred()) SWIG_fail; | |
1544 | } | |
1545 | Py_INCREF(Py_None); resultobj = Py_None; | |
1546 | return resultobj; | |
1547 | fail: | |
1548 | return NULL; | |
1549 | } | |
1550 | ||
1551 | ||
f20a2e1f RD |
1552 | static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
1553 | PyObject *resultobj; | |
1554 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
1555 | wxVisualAttributes result; | |
1556 | PyObject * obj0 = 0 ; | |
1557 | char *kwnames[] = { | |
1558 | (char *) "variant", NULL | |
1559 | }; | |
1560 | ||
1561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
1562 | if (obj0) { | |
1563 | arg1 = (wxWindowVariant) SWIG_AsInt(obj0); | |
1564 | if (PyErr_Occurred()) SWIG_fail; | |
1565 | } | |
1566 | { | |
0439c23b | 1567 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
1568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1569 | result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
1570 | ||
1571 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1572 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
1573 | } |
1574 | { | |
1575 | wxVisualAttributes * resultptr; | |
1576 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
1577 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
1578 | } | |
1579 | return resultobj; | |
1580 | fail: | |
1581 | return NULL; | |
1582 | } | |
1583 | ||
1584 | ||
d55e5bfc RD |
1585 | static PyObject * Panel_swigregister(PyObject *self, PyObject *args) { |
1586 | PyObject *obj; | |
1587 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1588 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
1589 | Py_INCREF(obj); | |
1590 | return Py_BuildValue((char *)""); | |
1591 | } | |
1592 | static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1593 | PyObject *resultobj; | |
1594 | wxWindow *arg1 = (wxWindow *) 0 ; | |
1595 | int arg2 = (int) (int)-1 ; | |
1596 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1597 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1598 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1599 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1600 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
1601 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1602 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1603 | wxScrolledWindow *result; | |
1604 | wxPoint temp3 ; | |
1605 | wxSize temp4 ; | |
1606 | bool temp6 = False ; | |
1607 | PyObject * obj0 = 0 ; | |
1608 | PyObject * obj1 = 0 ; | |
1609 | PyObject * obj2 = 0 ; | |
1610 | PyObject * obj3 = 0 ; | |
1611 | PyObject * obj4 = 0 ; | |
1612 | PyObject * obj5 = 0 ; | |
1613 | char *kwnames[] = { | |
1614 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1615 | }; | |
1616 | ||
1617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
1618 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
1619 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1620 | if (obj1) { | |
1621 | arg2 = (int const) SWIG_AsInt(obj1); | |
1622 | if (PyErr_Occurred()) SWIG_fail; | |
1623 | } | |
1624 | if (obj2) { | |
1625 | { | |
1626 | arg3 = &temp3; | |
1627 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1628 | } | |
1629 | } | |
1630 | if (obj3) { | |
1631 | { | |
1632 | arg4 = &temp4; | |
1633 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1634 | } | |
1635 | } | |
1636 | if (obj4) { | |
1637 | arg5 = (long) SWIG_AsLong(obj4); | |
1638 | if (PyErr_Occurred()) SWIG_fail; | |
1639 | } | |
1640 | if (obj5) { | |
1641 | { | |
1642 | arg6 = wxString_in_helper(obj5); | |
1643 | if (arg6 == NULL) SWIG_fail; | |
1644 | temp6 = True; | |
1645 | } | |
1646 | } | |
1647 | { | |
0439c23b | 1648 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
1649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1650 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1651 | ||
1652 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1653 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 1654 | } |
412d302d RD |
1655 | { |
1656 | resultobj = wxPyMake_wxObject(result, 1); | |
1657 | } | |
d55e5bfc RD |
1658 | { |
1659 | if (temp6) | |
1660 | delete arg6; | |
1661 | } | |
1662 | return resultobj; | |
1663 | fail: | |
1664 | { | |
1665 | if (temp6) | |
1666 | delete arg6; | |
1667 | } | |
1668 | return NULL; | |
1669 | } | |
1670 | ||
1671 | ||
1672 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1673 | PyObject *resultobj; | |
1674 | wxScrolledWindow *result; | |
1675 | char *kwnames[] = { | |
1676 | NULL | |
1677 | }; | |
1678 | ||
1679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
1680 | { | |
0439c23b | 1681 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
1682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1683 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
1684 | ||
1685 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1686 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 1687 | } |
412d302d RD |
1688 | { |
1689 | resultobj = wxPyMake_wxObject(result, 1); | |
1690 | } | |
d55e5bfc RD |
1691 | return resultobj; |
1692 | fail: | |
1693 | return NULL; | |
1694 | } | |
1695 | ||
1696 | ||
1697 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1698 | PyObject *resultobj; | |
1699 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1700 | wxWindow *arg2 = (wxWindow *) 0 ; | |
1701 | int arg3 = (int) (int)-1 ; | |
1702 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
1703 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1704 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1705 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1706 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
1707 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1708 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1709 | bool result; | |
1710 | wxPoint temp4 ; | |
1711 | wxSize temp5 ; | |
1712 | bool temp7 = False ; | |
1713 | PyObject * obj0 = 0 ; | |
1714 | PyObject * obj1 = 0 ; | |
1715 | PyObject * obj2 = 0 ; | |
1716 | PyObject * obj3 = 0 ; | |
1717 | PyObject * obj4 = 0 ; | |
1718 | PyObject * obj5 = 0 ; | |
1719 | PyObject * obj6 = 0 ; | |
1720 | char *kwnames[] = { | |
1721 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1722 | }; | |
1723 | ||
1724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
1725 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
1726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1727 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1728 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1729 | if (obj2) { | |
1730 | arg3 = (int const) SWIG_AsInt(obj2); | |
1731 | if (PyErr_Occurred()) SWIG_fail; | |
1732 | } | |
1733 | if (obj3) { | |
1734 | { | |
1735 | arg4 = &temp4; | |
1736 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1737 | } | |
1738 | } | |
1739 | if (obj4) { | |
1740 | { | |
1741 | arg5 = &temp5; | |
1742 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1743 | } | |
1744 | } | |
1745 | if (obj5) { | |
1746 | arg6 = (long) SWIG_AsLong(obj5); | |
1747 | if (PyErr_Occurred()) SWIG_fail; | |
1748 | } | |
1749 | if (obj6) { | |
1750 | { | |
1751 | arg7 = wxString_in_helper(obj6); | |
1752 | if (arg7 == NULL) SWIG_fail; | |
1753 | temp7 = True; | |
1754 | } | |
1755 | } | |
1756 | { | |
1757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1758 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1759 | ||
1760 | wxPyEndAllowThreads(__tstate); | |
1761 | if (PyErr_Occurred()) SWIG_fail; | |
1762 | } | |
1763 | { | |
1764 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1765 | } | |
1766 | { | |
1767 | if (temp7) | |
1768 | delete arg7; | |
1769 | } | |
1770 | return resultobj; | |
1771 | fail: | |
1772 | { | |
1773 | if (temp7) | |
1774 | delete arg7; | |
1775 | } | |
1776 | return NULL; | |
1777 | } | |
1778 | ||
1779 | ||
1780 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1781 | PyObject *resultobj; | |
1782 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1783 | int arg2 ; | |
1784 | int arg3 ; | |
1785 | int arg4 ; | |
1786 | int arg5 ; | |
1787 | int arg6 = (int) 0 ; | |
1788 | int arg7 = (int) 0 ; | |
1789 | bool arg8 = (bool) False ; | |
1790 | PyObject * obj0 = 0 ; | |
1791 | PyObject * obj1 = 0 ; | |
1792 | PyObject * obj2 = 0 ; | |
1793 | PyObject * obj3 = 0 ; | |
1794 | PyObject * obj4 = 0 ; | |
1795 | PyObject * obj5 = 0 ; | |
1796 | PyObject * obj6 = 0 ; | |
1797 | PyObject * obj7 = 0 ; | |
1798 | char *kwnames[] = { | |
1799 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
1800 | }; | |
1801 | ||
1802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
1803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
1804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1805 | arg2 = (int) SWIG_AsInt(obj1); | |
1806 | if (PyErr_Occurred()) SWIG_fail; | |
1807 | arg3 = (int) SWIG_AsInt(obj2); | |
1808 | if (PyErr_Occurred()) SWIG_fail; | |
1809 | arg4 = (int) SWIG_AsInt(obj3); | |
1810 | if (PyErr_Occurred()) SWIG_fail; | |
1811 | arg5 = (int) SWIG_AsInt(obj4); | |
1812 | if (PyErr_Occurred()) SWIG_fail; | |
1813 | if (obj5) { | |
1814 | arg6 = (int) SWIG_AsInt(obj5); | |
1815 | if (PyErr_Occurred()) SWIG_fail; | |
1816 | } | |
1817 | if (obj6) { | |
1818 | arg7 = (int) SWIG_AsInt(obj6); | |
1819 | if (PyErr_Occurred()) SWIG_fail; | |
1820 | } | |
1821 | if (obj7) { | |
1822 | arg8 = (bool) SWIG_AsBool(obj7); | |
1823 | if (PyErr_Occurred()) SWIG_fail; | |
1824 | } | |
1825 | { | |
1826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1827 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
1828 | ||
1829 | wxPyEndAllowThreads(__tstate); | |
1830 | if (PyErr_Occurred()) SWIG_fail; | |
1831 | } | |
1832 | Py_INCREF(Py_None); resultobj = Py_None; | |
1833 | return resultobj; | |
1834 | fail: | |
1835 | return NULL; | |
1836 | } | |
1837 | ||
1838 | ||
1839 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1840 | PyObject *resultobj; | |
1841 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1842 | int arg2 ; | |
1843 | int arg3 ; | |
1844 | PyObject * obj0 = 0 ; | |
1845 | PyObject * obj1 = 0 ; | |
1846 | PyObject * obj2 = 0 ; | |
1847 | char *kwnames[] = { | |
1848 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1849 | }; | |
1850 | ||
1851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1852 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
1853 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1854 | arg2 = (int) SWIG_AsInt(obj1); | |
1855 | if (PyErr_Occurred()) SWIG_fail; | |
1856 | arg3 = (int) SWIG_AsInt(obj2); | |
1857 | if (PyErr_Occurred()) SWIG_fail; | |
1858 | { | |
1859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1860 | (arg1)->Scroll(arg2,arg3); | |
1861 | ||
1862 | wxPyEndAllowThreads(__tstate); | |
1863 | if (PyErr_Occurred()) SWIG_fail; | |
1864 | } | |
1865 | Py_INCREF(Py_None); resultobj = Py_None; | |
1866 | return resultobj; | |
1867 | fail: | |
1868 | return NULL; | |
1869 | } | |
1870 | ||
1871 | ||
1872 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1873 | PyObject *resultobj; | |
1874 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1875 | int arg2 ; | |
1876 | int result; | |
1877 | PyObject * obj0 = 0 ; | |
1878 | PyObject * obj1 = 0 ; | |
1879 | char *kwnames[] = { | |
1880 | (char *) "self",(char *) "orient", NULL | |
1881 | }; | |
1882 | ||
1883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; | |
1884 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
1885 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1886 | arg2 = (int) SWIG_AsInt(obj1); | |
1887 | if (PyErr_Occurred()) SWIG_fail; | |
1888 | { | |
1889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1890 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
1891 | ||
1892 | wxPyEndAllowThreads(__tstate); | |
1893 | if (PyErr_Occurred()) SWIG_fail; | |
1894 | } | |
1895 | resultobj = SWIG_FromInt((int)result); | |
1896 | return resultobj; | |
1897 | fail: | |
1898 | return NULL; | |
1899 | } | |
1900 | ||
1901 | ||
1902 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1903 | PyObject *resultobj; | |
1904 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1905 | int arg2 ; | |
1906 | int arg3 ; | |
1907 | PyObject * obj0 = 0 ; | |
1908 | PyObject * obj1 = 0 ; | |
1909 | PyObject * obj2 = 0 ; | |
1910 | char *kwnames[] = { | |
1911 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
1912 | }; | |
1913 | ||
1914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1915 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
1916 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1917 | arg2 = (int) SWIG_AsInt(obj1); | |
1918 | if (PyErr_Occurred()) SWIG_fail; | |
1919 | arg3 = (int) SWIG_AsInt(obj2); | |
1920 | if (PyErr_Occurred()) SWIG_fail; | |
1921 | { | |
1922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1923 | (arg1)->SetScrollPageSize(arg2,arg3); | |
1924 | ||
1925 | wxPyEndAllowThreads(__tstate); | |
1926 | if (PyErr_Occurred()) SWIG_fail; | |
1927 | } | |
1928 | Py_INCREF(Py_None); resultobj = Py_None; | |
1929 | return resultobj; | |
1930 | fail: | |
1931 | return NULL; | |
1932 | } | |
1933 | ||
1934 | ||
1935 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1936 | PyObject *resultobj; | |
1937 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1938 | int arg2 ; | |
1939 | int arg3 ; | |
1940 | PyObject * obj0 = 0 ; | |
1941 | PyObject * obj1 = 0 ; | |
1942 | PyObject * obj2 = 0 ; | |
1943 | char *kwnames[] = { | |
1944 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
1945 | }; | |
1946 | ||
1947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1948 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
1949 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1950 | arg2 = (int) SWIG_AsInt(obj1); | |
1951 | if (PyErr_Occurred()) SWIG_fail; | |
1952 | arg3 = (int) SWIG_AsInt(obj2); | |
1953 | if (PyErr_Occurred()) SWIG_fail; | |
1954 | { | |
1955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1956 | (arg1)->SetScrollRate(arg2,arg3); | |
1957 | ||
1958 | wxPyEndAllowThreads(__tstate); | |
1959 | if (PyErr_Occurred()) SWIG_fail; | |
1960 | } | |
1961 | Py_INCREF(Py_None); resultobj = Py_None; | |
1962 | return resultobj; | |
1963 | fail: | |
1964 | return NULL; | |
1965 | } | |
1966 | ||
1967 | ||
1968 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1969 | PyObject *resultobj; | |
1970 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1971 | int *arg2 = (int *) 0 ; | |
1972 | int *arg3 = (int *) 0 ; | |
1973 | int temp2 ; | |
1974 | int temp3 ; | |
1975 | PyObject * obj0 = 0 ; | |
1976 | char *kwnames[] = { | |
1977 | (char *) "self", NULL | |
1978 | }; | |
1979 | ||
1980 | arg2 = &temp2; | |
1981 | arg3 = &temp3; | |
1982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; | |
1983 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
1984 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1985 | { | |
1986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1987 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
1988 | ||
1989 | wxPyEndAllowThreads(__tstate); | |
1990 | if (PyErr_Occurred()) SWIG_fail; | |
1991 | } | |
1992 | Py_INCREF(Py_None); resultobj = Py_None; | |
1993 | { | |
1994 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1995 | resultobj = t_output_helper(resultobj,o); | |
1996 | } | |
1997 | { | |
1998 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1999 | resultobj = t_output_helper(resultobj,o); | |
2000 | } | |
2001 | return resultobj; | |
2002 | fail: | |
2003 | return NULL; | |
2004 | } | |
2005 | ||
2006 | ||
2007 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2008 | PyObject *resultobj; | |
2009 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2010 | bool arg2 ; | |
2011 | bool arg3 ; | |
2012 | PyObject * obj0 = 0 ; | |
2013 | PyObject * obj1 = 0 ; | |
2014 | PyObject * obj2 = 0 ; | |
2015 | char *kwnames[] = { | |
2016 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
2017 | }; | |
2018 | ||
2019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2020 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2022 | arg2 = (bool) SWIG_AsBool(obj1); | |
2023 | if (PyErr_Occurred()) SWIG_fail; | |
2024 | arg3 = (bool) SWIG_AsBool(obj2); | |
2025 | if (PyErr_Occurred()) SWIG_fail; | |
2026 | { | |
2027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2028 | (arg1)->EnableScrolling(arg2,arg3); | |
2029 | ||
2030 | wxPyEndAllowThreads(__tstate); | |
2031 | if (PyErr_Occurred()) SWIG_fail; | |
2032 | } | |
2033 | Py_INCREF(Py_None); resultobj = Py_None; | |
2034 | return resultobj; | |
2035 | fail: | |
2036 | return NULL; | |
2037 | } | |
2038 | ||
2039 | ||
2040 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2041 | PyObject *resultobj; | |
2042 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2043 | int *arg2 = (int *) 0 ; | |
2044 | int *arg3 = (int *) 0 ; | |
2045 | int temp2 ; | |
2046 | int temp3 ; | |
2047 | PyObject * obj0 = 0 ; | |
2048 | char *kwnames[] = { | |
2049 | (char *) "self", NULL | |
2050 | }; | |
2051 | ||
2052 | arg2 = &temp2; | |
2053 | arg3 = &temp3; | |
2054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; | |
2055 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2056 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2057 | { | |
2058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2059 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
2060 | ||
2061 | wxPyEndAllowThreads(__tstate); | |
2062 | if (PyErr_Occurred()) SWIG_fail; | |
2063 | } | |
2064 | Py_INCREF(Py_None); resultobj = Py_None; | |
2065 | { | |
2066 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
2067 | resultobj = t_output_helper(resultobj,o); | |
2068 | } | |
2069 | { | |
2070 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
2071 | resultobj = t_output_helper(resultobj,o); | |
2072 | } | |
2073 | return resultobj; | |
2074 | fail: | |
2075 | return NULL; | |
2076 | } | |
2077 | ||
2078 | ||
2079 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2080 | PyObject *resultobj; | |
2081 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2082 | double arg2 ; | |
2083 | double arg3 ; | |
2084 | PyObject * obj0 = 0 ; | |
2085 | PyObject * obj1 = 0 ; | |
2086 | PyObject * obj2 = 0 ; | |
2087 | char *kwnames[] = { | |
2088 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
2089 | }; | |
2090 | ||
2091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2092 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2093 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2094 | arg2 = (double) SWIG_AsDouble(obj1); | |
2095 | if (PyErr_Occurred()) SWIG_fail; | |
2096 | arg3 = (double) SWIG_AsDouble(obj2); | |
2097 | if (PyErr_Occurred()) SWIG_fail; | |
2098 | { | |
2099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2100 | (arg1)->SetScale(arg2,arg3); | |
2101 | ||
2102 | wxPyEndAllowThreads(__tstate); | |
2103 | if (PyErr_Occurred()) SWIG_fail; | |
2104 | } | |
2105 | Py_INCREF(Py_None); resultobj = Py_None; | |
2106 | return resultobj; | |
2107 | fail: | |
2108 | return NULL; | |
2109 | } | |
2110 | ||
2111 | ||
2112 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2113 | PyObject *resultobj; | |
2114 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2115 | double result; | |
2116 | PyObject * obj0 = 0 ; | |
2117 | char *kwnames[] = { | |
2118 | (char *) "self", NULL | |
2119 | }; | |
2120 | ||
2121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
2122 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2123 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2124 | { | |
2125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2126 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
2127 | ||
2128 | wxPyEndAllowThreads(__tstate); | |
2129 | if (PyErr_Occurred()) SWIG_fail; | |
2130 | } | |
2131 | resultobj = SWIG_FromDouble((double)result); | |
2132 | return resultobj; | |
2133 | fail: | |
2134 | return NULL; | |
2135 | } | |
2136 | ||
2137 | ||
2138 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2139 | PyObject *resultobj; | |
2140 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2141 | double result; | |
2142 | PyObject * obj0 = 0 ; | |
2143 | char *kwnames[] = { | |
2144 | (char *) "self", NULL | |
2145 | }; | |
2146 | ||
2147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
2148 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2149 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2150 | { | |
2151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2152 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
2153 | ||
2154 | wxPyEndAllowThreads(__tstate); | |
2155 | if (PyErr_Occurred()) SWIG_fail; | |
2156 | } | |
2157 | resultobj = SWIG_FromDouble((double)result); | |
2158 | return resultobj; | |
2159 | fail: | |
2160 | return NULL; | |
2161 | } | |
2162 | ||
2163 | ||
2164 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
2165 | PyObject *resultobj; | |
2166 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2167 | wxPoint *arg2 = 0 ; | |
2168 | wxPoint result; | |
2169 | wxPoint temp2 ; | |
2170 | PyObject * obj0 = 0 ; | |
2171 | PyObject * obj1 = 0 ; | |
2172 | ||
2173 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; | |
2174 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2175 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2176 | { | |
2177 | arg2 = &temp2; | |
2178 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2179 | } | |
2180 | { | |
2181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2182 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); | |
2183 | ||
2184 | wxPyEndAllowThreads(__tstate); | |
2185 | if (PyErr_Occurred()) SWIG_fail; | |
2186 | } | |
2187 | { | |
2188 | wxPoint * resultptr; | |
2189 | resultptr = new wxPoint((wxPoint &) result); | |
2190 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
2191 | } | |
2192 | return resultobj; | |
2193 | fail: | |
2194 | return NULL; | |
2195 | } | |
2196 | ||
2197 | ||
2198 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
2199 | PyObject *resultobj; | |
2200 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2201 | int arg2 ; | |
2202 | int arg3 ; | |
2203 | int *arg4 = (int *) 0 ; | |
2204 | int *arg5 = (int *) 0 ; | |
2205 | int temp4 ; | |
2206 | int temp5 ; | |
2207 | PyObject * obj0 = 0 ; | |
2208 | PyObject * obj1 = 0 ; | |
2209 | PyObject * obj2 = 0 ; | |
2210 | ||
2211 | arg4 = &temp4; | |
2212 | arg5 = &temp5; | |
2213 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; | |
2214 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2215 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2216 | arg2 = (int) SWIG_AsInt(obj1); | |
2217 | if (PyErr_Occurred()) SWIG_fail; | |
2218 | arg3 = (int) SWIG_AsInt(obj2); | |
2219 | if (PyErr_Occurred()) SWIG_fail; | |
2220 | { | |
2221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2222 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); | |
2223 | ||
2224 | wxPyEndAllowThreads(__tstate); | |
2225 | if (PyErr_Occurred()) SWIG_fail; | |
2226 | } | |
2227 | Py_INCREF(Py_None); resultobj = Py_None; | |
2228 | { | |
2229 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
2230 | resultobj = t_output_helper(resultobj,o); | |
2231 | } | |
2232 | { | |
2233 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
2234 | resultobj = t_output_helper(resultobj,o); | |
2235 | } | |
2236 | return resultobj; | |
2237 | fail: | |
2238 | return NULL; | |
2239 | } | |
2240 | ||
2241 | ||
2242 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
2243 | int argc; | |
2244 | PyObject *argv[4]; | |
2245 | int ii; | |
2246 | ||
2247 | argc = PyObject_Length(args); | |
2248 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2249 | argv[ii] = PyTuple_GetItem(args,ii); | |
2250 | } | |
2251 | if (argc == 2) { | |
2252 | int _v; | |
2253 | { | |
2254 | void *ptr; | |
2255 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
2256 | _v = 0; | |
2257 | PyErr_Clear(); | |
2258 | } else { | |
2259 | _v = 1; | |
2260 | } | |
2261 | } | |
2262 | if (_v) { | |
2263 | { | |
2264 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2265 | } | |
2266 | if (_v) { | |
2267 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); | |
2268 | } | |
2269 | } | |
2270 | } | |
2271 | if (argc == 3) { | |
2272 | int _v; | |
2273 | { | |
2274 | void *ptr; | |
2275 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
2276 | _v = 0; | |
2277 | PyErr_Clear(); | |
2278 | } else { | |
2279 | _v = 1; | |
2280 | } | |
2281 | } | |
2282 | if (_v) { | |
2283 | _v = SWIG_CheckInt(argv[1]); | |
2284 | if (_v) { | |
2285 | _v = SWIG_CheckInt(argv[2]); | |
2286 | if (_v) { | |
2287 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); | |
2288 | } | |
2289 | } | |
2290 | } | |
2291 | } | |
2292 | ||
2293 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); | |
2294 | return NULL; | |
2295 | } | |
2296 | ||
2297 | ||
2298 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
2299 | PyObject *resultobj; | |
2300 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2301 | wxPoint *arg2 = 0 ; | |
2302 | wxPoint result; | |
2303 | wxPoint temp2 ; | |
2304 | PyObject * obj0 = 0 ; | |
2305 | PyObject * obj1 = 0 ; | |
2306 | ||
2307 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; | |
2308 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2309 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2310 | { | |
2311 | arg2 = &temp2; | |
2312 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2313 | } | |
2314 | { | |
2315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2316 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); | |
2317 | ||
2318 | wxPyEndAllowThreads(__tstate); | |
2319 | if (PyErr_Occurred()) SWIG_fail; | |
2320 | } | |
2321 | { | |
2322 | wxPoint * resultptr; | |
2323 | resultptr = new wxPoint((wxPoint &) result); | |
2324 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
2325 | } | |
2326 | return resultobj; | |
2327 | fail: | |
2328 | return NULL; | |
2329 | } | |
2330 | ||
2331 | ||
2332 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
2333 | PyObject *resultobj; | |
2334 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2335 | int arg2 ; | |
2336 | int arg3 ; | |
2337 | int *arg4 = (int *) 0 ; | |
2338 | int *arg5 = (int *) 0 ; | |
2339 | int temp4 ; | |
2340 | int temp5 ; | |
2341 | PyObject * obj0 = 0 ; | |
2342 | PyObject * obj1 = 0 ; | |
2343 | PyObject * obj2 = 0 ; | |
2344 | ||
2345 | arg4 = &temp4; | |
2346 | arg5 = &temp5; | |
2347 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; | |
2348 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2349 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2350 | arg2 = (int) SWIG_AsInt(obj1); | |
2351 | if (PyErr_Occurred()) SWIG_fail; | |
2352 | arg3 = (int) SWIG_AsInt(obj2); | |
2353 | if (PyErr_Occurred()) SWIG_fail; | |
2354 | { | |
2355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2356 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); | |
2357 | ||
2358 | wxPyEndAllowThreads(__tstate); | |
2359 | if (PyErr_Occurred()) SWIG_fail; | |
2360 | } | |
2361 | Py_INCREF(Py_None); resultobj = Py_None; | |
2362 | { | |
2363 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
2364 | resultobj = t_output_helper(resultobj,o); | |
2365 | } | |
2366 | { | |
2367 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
2368 | resultobj = t_output_helper(resultobj,o); | |
2369 | } | |
2370 | return resultobj; | |
2371 | fail: | |
2372 | return NULL; | |
2373 | } | |
2374 | ||
2375 | ||
2376 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
2377 | int argc; | |
2378 | PyObject *argv[4]; | |
2379 | int ii; | |
2380 | ||
2381 | argc = PyObject_Length(args); | |
2382 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2383 | argv[ii] = PyTuple_GetItem(args,ii); | |
2384 | } | |
2385 | if (argc == 2) { | |
2386 | int _v; | |
2387 | { | |
2388 | void *ptr; | |
2389 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
2390 | _v = 0; | |
2391 | PyErr_Clear(); | |
2392 | } else { | |
2393 | _v = 1; | |
2394 | } | |
2395 | } | |
2396 | if (_v) { | |
2397 | { | |
2398 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2399 | } | |
2400 | if (_v) { | |
2401 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); | |
2402 | } | |
2403 | } | |
2404 | } | |
2405 | if (argc == 3) { | |
2406 | int _v; | |
2407 | { | |
2408 | void *ptr; | |
2409 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
2410 | _v = 0; | |
2411 | PyErr_Clear(); | |
2412 | } else { | |
2413 | _v = 1; | |
2414 | } | |
2415 | } | |
2416 | if (_v) { | |
2417 | _v = SWIG_CheckInt(argv[1]); | |
2418 | if (_v) { | |
2419 | _v = SWIG_CheckInt(argv[2]); | |
2420 | if (_v) { | |
2421 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); | |
2422 | } | |
2423 | } | |
2424 | } | |
2425 | } | |
2426 | ||
2427 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); | |
2428 | return NULL; | |
2429 | } | |
2430 | ||
2431 | ||
2432 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2433 | PyObject *resultobj; | |
2434 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2435 | PyObject * obj0 = 0 ; | |
2436 | char *kwnames[] = { | |
2437 | (char *) "self", NULL | |
2438 | }; | |
2439 | ||
2440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
2441 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2442 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2443 | { | |
2444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2445 | (arg1)->AdjustScrollbars(); | |
2446 | ||
2447 | wxPyEndAllowThreads(__tstate); | |
2448 | if (PyErr_Occurred()) SWIG_fail; | |
2449 | } | |
2450 | Py_INCREF(Py_None); resultobj = Py_None; | |
2451 | return resultobj; | |
2452 | fail: | |
2453 | return NULL; | |
2454 | } | |
2455 | ||
2456 | ||
2457 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2458 | PyObject *resultobj; | |
2459 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2460 | wxScrollWinEvent *arg2 = 0 ; | |
2461 | int result; | |
2462 | PyObject * obj0 = 0 ; | |
2463 | PyObject * obj1 = 0 ; | |
2464 | char *kwnames[] = { | |
2465 | (char *) "self",(char *) "event", NULL | |
2466 | }; | |
2467 | ||
2468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
2469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2471 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent, | |
2472 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2473 | SWIG_fail; | |
2474 | if (arg2 == NULL) { | |
2475 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
2476 | SWIG_fail; | |
2477 | } | |
2478 | { | |
2479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2480 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
2481 | ||
2482 | wxPyEndAllowThreads(__tstate); | |
2483 | if (PyErr_Occurred()) SWIG_fail; | |
2484 | } | |
2485 | resultobj = SWIG_FromInt((int)result); | |
2486 | return resultobj; | |
2487 | fail: | |
2488 | return NULL; | |
2489 | } | |
2490 | ||
2491 | ||
2492 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2493 | PyObject *resultobj; | |
2494 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2495 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2496 | PyObject * obj0 = 0 ; | |
2497 | PyObject * obj1 = 0 ; | |
2498 | char *kwnames[] = { | |
2499 | (char *) "self",(char *) "target", NULL | |
2500 | }; | |
2501 | ||
2502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
2503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2505 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
2506 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2507 | { | |
2508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2509 | (arg1)->SetTargetWindow(arg2); | |
2510 | ||
2511 | wxPyEndAllowThreads(__tstate); | |
2512 | if (PyErr_Occurred()) SWIG_fail; | |
2513 | } | |
2514 | Py_INCREF(Py_None); resultobj = Py_None; | |
2515 | return resultobj; | |
2516 | fail: | |
2517 | return NULL; | |
2518 | } | |
2519 | ||
2520 | ||
2521 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2522 | PyObject *resultobj; | |
2523 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2524 | wxWindow *result; | |
2525 | PyObject * obj0 = 0 ; | |
2526 | char *kwnames[] = { | |
2527 | (char *) "self", NULL | |
2528 | }; | |
2529 | ||
2530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
2531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2533 | { | |
2534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2535 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
2536 | ||
2537 | wxPyEndAllowThreads(__tstate); | |
2538 | if (PyErr_Occurred()) SWIG_fail; | |
2539 | } | |
2540 | { | |
412d302d | 2541 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
2542 | } |
2543 | return resultobj; | |
2544 | fail: | |
2545 | return NULL; | |
2546 | } | |
2547 | ||
2548 | ||
2549 | static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2550 | PyObject *resultobj; | |
2551 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2552 | wxRect *arg2 = 0 ; | |
2553 | wxRect temp2 ; | |
2554 | PyObject * obj0 = 0 ; | |
2555 | PyObject * obj1 = 0 ; | |
2556 | char *kwnames[] = { | |
2557 | (char *) "self",(char *) "rect", NULL | |
2558 | }; | |
2559 | ||
2560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail; | |
2561 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2562 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2563 | { | |
2564 | arg2 = &temp2; | |
2565 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
2566 | } | |
2567 | { | |
2568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2569 | (arg1)->SetTargetRect((wxRect const &)*arg2); | |
2570 | ||
2571 | wxPyEndAllowThreads(__tstate); | |
2572 | if (PyErr_Occurred()) SWIG_fail; | |
2573 | } | |
2574 | Py_INCREF(Py_None); resultobj = Py_None; | |
2575 | return resultobj; | |
2576 | fail: | |
2577 | return NULL; | |
2578 | } | |
2579 | ||
2580 | ||
2581 | static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2582 | PyObject *resultobj; | |
2583 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2584 | wxRect result; | |
2585 | PyObject * obj0 = 0 ; | |
2586 | char *kwnames[] = { | |
2587 | (char *) "self", NULL | |
2588 | }; | |
2589 | ||
2590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail; | |
2591 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2592 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2593 | { | |
2594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2595 | result = ((wxScrolledWindow const *)arg1)->GetTargetRect(); | |
2596 | ||
2597 | wxPyEndAllowThreads(__tstate); | |
2598 | if (PyErr_Occurred()) SWIG_fail; | |
2599 | } | |
2600 | { | |
2601 | wxRect * resultptr; | |
2602 | resultptr = new wxRect((wxRect &) result); | |
2603 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); | |
2604 | } | |
2605 | return resultobj; | |
2606 | fail: | |
2607 | return NULL; | |
2608 | } | |
2609 | ||
2610 | ||
f20a2e1f RD |
2611 | static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
2612 | PyObject *resultobj; | |
2613 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
2614 | wxVisualAttributes result; | |
2615 | PyObject * obj0 = 0 ; | |
2616 | char *kwnames[] = { | |
2617 | (char *) "variant", NULL | |
2618 | }; | |
2619 | ||
2620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
2621 | if (obj0) { | |
2622 | arg1 = (wxWindowVariant) SWIG_AsInt(obj0); | |
2623 | if (PyErr_Occurred()) SWIG_fail; | |
2624 | } | |
2625 | { | |
0439c23b | 2626 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
2627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2628 | result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
2629 | ||
2630 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2631 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
2632 | } |
2633 | { | |
2634 | wxVisualAttributes * resultptr; | |
2635 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
2636 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
2637 | } | |
2638 | return resultobj; | |
2639 | fail: | |
2640 | return NULL; | |
2641 | } | |
2642 | ||
2643 | ||
d55e5bfc RD |
2644 | static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) { |
2645 | PyObject *obj; | |
2646 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2647 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
2648 | Py_INCREF(obj); | |
2649 | return Py_BuildValue((char *)""); | |
2650 | } | |
2651 | static int _wrap_FrameNameStr_set(PyObject *_val) { | |
2652 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); | |
2653 | return 1; | |
2654 | } | |
2655 | ||
2656 | ||
2657 | static PyObject *_wrap_FrameNameStr_get() { | |
2658 | PyObject *pyobj; | |
2659 | ||
2660 | { | |
2661 | #if wxUSE_UNICODE | |
2662 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2663 | #else | |
2664 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2665 | #endif | |
2666 | } | |
2667 | return pyobj; | |
2668 | } | |
2669 | ||
2670 | ||
2671 | static int _wrap_DialogNameStr_set(PyObject *_val) { | |
2672 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); | |
2673 | return 1; | |
2674 | } | |
2675 | ||
2676 | ||
2677 | static PyObject *_wrap_DialogNameStr_get() { | |
2678 | PyObject *pyobj; | |
2679 | ||
2680 | { | |
2681 | #if wxUSE_UNICODE | |
2682 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2683 | #else | |
2684 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2685 | #endif | |
2686 | } | |
2687 | return pyobj; | |
2688 | } | |
2689 | ||
2690 | ||
2691 | static int _wrap_StatusLineNameStr_set(PyObject *_val) { | |
2692 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); | |
2693 | return 1; | |
2694 | } | |
2695 | ||
2696 | ||
2697 | static PyObject *_wrap_StatusLineNameStr_get() { | |
2698 | PyObject *pyobj; | |
2699 | ||
2700 | { | |
2701 | #if wxUSE_UNICODE | |
2702 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2703 | #else | |
2704 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2705 | #endif | |
2706 | } | |
2707 | return pyobj; | |
2708 | } | |
2709 | ||
2710 | ||
2711 | static int _wrap_ToolBarNameStr_set(PyObject *_val) { | |
2712 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); | |
2713 | return 1; | |
2714 | } | |
2715 | ||
2716 | ||
2717 | static PyObject *_wrap_ToolBarNameStr_get() { | |
2718 | PyObject *pyobj; | |
2719 | ||
2720 | { | |
2721 | #if wxUSE_UNICODE | |
2722 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2723 | #else | |
2724 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2725 | #endif | |
2726 | } | |
2727 | return pyobj; | |
2728 | } | |
2729 | ||
2730 | ||
2731 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2732 | PyObject *resultobj; | |
2733 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2734 | bool arg2 = (bool) True ; | |
2735 | PyObject * obj0 = 0 ; | |
2736 | PyObject * obj1 = 0 ; | |
2737 | char *kwnames[] = { | |
2738 | (char *) "self",(char *) "maximize", NULL | |
2739 | }; | |
2740 | ||
2741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
2742 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
2743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2744 | if (obj1) { | |
2745 | arg2 = (bool) SWIG_AsBool(obj1); | |
2746 | if (PyErr_Occurred()) SWIG_fail; | |
2747 | } | |
2748 | { | |
2749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2750 | (arg1)->Maximize(arg2); | |
2751 | ||
2752 | wxPyEndAllowThreads(__tstate); | |
2753 | if (PyErr_Occurred()) SWIG_fail; | |
2754 | } | |
2755 | Py_INCREF(Py_None); resultobj = Py_None; | |
2756 | return resultobj; | |
2757 | fail: | |
2758 | return NULL; | |
2759 | } | |
2760 | ||
2761 | ||
2762 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2763 | PyObject *resultobj; | |
2764 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2765 | PyObject * obj0 = 0 ; | |
2766 | char *kwnames[] = { | |
2767 | (char *) "self", NULL | |
2768 | }; | |
2769 | ||
2770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
2771 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
2772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2773 | { | |
2774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2775 | (arg1)->Restore(); | |
2776 | ||
2777 | wxPyEndAllowThreads(__tstate); | |
2778 | if (PyErr_Occurred()) SWIG_fail; | |
2779 | } | |
2780 | Py_INCREF(Py_None); resultobj = Py_None; | |
2781 | return resultobj; | |
2782 | fail: | |
2783 | return NULL; | |
2784 | } | |
2785 | ||
2786 | ||
2787 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2788 | PyObject *resultobj; | |
2789 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2790 | bool arg2 = (bool) True ; | |
2791 | PyObject * obj0 = 0 ; | |
2792 | PyObject * obj1 = 0 ; | |
2793 | char *kwnames[] = { | |
2794 | (char *) "self",(char *) "iconize", NULL | |
2795 | }; | |
2796 | ||
2797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
2798 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
2799 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2800 | if (obj1) { | |
2801 | arg2 = (bool) SWIG_AsBool(obj1); | |
2802 | if (PyErr_Occurred()) SWIG_fail; | |
2803 | } | |
2804 | { | |
2805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2806 | (arg1)->Iconize(arg2); | |
2807 | ||
2808 | wxPyEndAllowThreads(__tstate); | |
2809 | if (PyErr_Occurred()) SWIG_fail; | |
2810 | } | |
2811 | Py_INCREF(Py_None); resultobj = Py_None; | |
2812 | return resultobj; | |
2813 | fail: | |
2814 | return NULL; | |
2815 | } | |
2816 | ||
2817 | ||
2818 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2819 | PyObject *resultobj; | |
2820 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2821 | bool result; | |
2822 | PyObject * obj0 = 0 ; | |
2823 | char *kwnames[] = { | |
2824 | (char *) "self", NULL | |
2825 | }; | |
2826 | ||
2827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
2828 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
2829 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2830 | { | |
2831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2832 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
2833 | ||
2834 | wxPyEndAllowThreads(__tstate); | |
2835 | if (PyErr_Occurred()) SWIG_fail; | |
2836 | } | |
2837 | { | |
2838 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2839 | } | |
2840 | return resultobj; | |
2841 | fail: | |
2842 | return NULL; | |
2843 | } | |
2844 | ||
2845 | ||
2846 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2847 | PyObject *resultobj; | |
2848 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2849 | bool result; | |
2850 | PyObject * obj0 = 0 ; | |
2851 | char *kwnames[] = { | |
2852 | (char *) "self", NULL | |
2853 | }; | |
2854 | ||
2855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
2856 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
2857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2858 | { | |
2859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2860 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
2861 | ||
2862 | wxPyEndAllowThreads(__tstate); | |
2863 | if (PyErr_Occurred()) SWIG_fail; | |
2864 | } | |
2865 | { | |
2866 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2867 | } | |
2868 | return resultobj; | |
2869 | fail: | |
2870 | return NULL; | |
2871 | } | |
2872 | ||
2873 | ||
2874 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2875 | PyObject *resultobj; | |
2876 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2877 | wxIcon result; | |
2878 | PyObject * obj0 = 0 ; | |
2879 | char *kwnames[] = { | |
2880 | (char *) "self", NULL | |
2881 | }; | |
2882 | ||
2883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
2884 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
2885 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2886 | { | |
2887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2888 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
2889 | ||
2890 | wxPyEndAllowThreads(__tstate); | |
2891 | if (PyErr_Occurred()) SWIG_fail; | |
2892 | } | |
2893 | { | |
2894 | wxIcon * resultptr; | |
2895 | resultptr = new wxIcon((wxIcon &) result); | |
2896 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); | |
2897 | } | |
2898 | return resultobj; | |
2899 | fail: | |
2900 | return NULL; | |
2901 | } | |
2902 | ||
2903 | ||
2904 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2905 | PyObject *resultobj; | |
2906 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2907 | wxIcon *arg2 = 0 ; | |
2908 | PyObject * obj0 = 0 ; | |
2909 | PyObject * obj1 = 0 ; | |
2910 | char *kwnames[] = { | |
2911 | (char *) "self",(char *) "icon", NULL | |
2912 | }; | |
2913 | ||
2914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
2915 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
2916 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2917 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
2918 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2919 | SWIG_fail; | |
2920 | if (arg2 == NULL) { | |
2921 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
2922 | SWIG_fail; | |
2923 | } | |
2924 | { | |
2925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2926 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
2927 | ||
2928 | wxPyEndAllowThreads(__tstate); | |
2929 | if (PyErr_Occurred()) SWIG_fail; | |
2930 | } | |
2931 | Py_INCREF(Py_None); resultobj = Py_None; | |
2932 | return resultobj; | |
2933 | fail: | |
2934 | return NULL; | |
2935 | } | |
2936 | ||
2937 | ||
2938 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2939 | PyObject *resultobj; | |
2940 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2941 | wxIconBundle *arg2 = 0 ; | |
2942 | PyObject * obj0 = 0 ; | |
2943 | PyObject * obj1 = 0 ; | |
2944 | char *kwnames[] = { | |
2945 | (char *) "self",(char *) "icons", NULL | |
2946 | }; | |
2947 | ||
2948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
2949 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
2950 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2951 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle, | |
2952 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2953 | SWIG_fail; | |
2954 | if (arg2 == NULL) { | |
2955 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
2956 | SWIG_fail; | |
2957 | } | |
2958 | { | |
2959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2960 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
2961 | ||
2962 | wxPyEndAllowThreads(__tstate); | |
2963 | if (PyErr_Occurred()) SWIG_fail; | |
2964 | } | |
2965 | Py_INCREF(Py_None); resultobj = Py_None; | |
2966 | return resultobj; | |
2967 | fail: | |
2968 | return NULL; | |
2969 | } | |
2970 | ||
2971 | ||
2972 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2973 | PyObject *resultobj; | |
2974 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2975 | bool arg2 ; | |
2976 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
2977 | bool result; | |
2978 | PyObject * obj0 = 0 ; | |
2979 | PyObject * obj1 = 0 ; | |
2980 | PyObject * obj2 = 0 ; | |
2981 | char *kwnames[] = { | |
2982 | (char *) "self",(char *) "show",(char *) "style", NULL | |
2983 | }; | |
2984 | ||
2985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2986 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
2987 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2988 | arg2 = (bool) SWIG_AsBool(obj1); | |
2989 | if (PyErr_Occurred()) SWIG_fail; | |
2990 | if (obj2) { | |
2991 | arg3 = (long) SWIG_AsLong(obj2); | |
2992 | if (PyErr_Occurred()) SWIG_fail; | |
2993 | } | |
2994 | { | |
2995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2996 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
2997 | ||
2998 | wxPyEndAllowThreads(__tstate); | |
2999 | if (PyErr_Occurred()) SWIG_fail; | |
3000 | } | |
3001 | { | |
3002 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3003 | } | |
3004 | return resultobj; | |
3005 | fail: | |
3006 | return NULL; | |
3007 | } | |
3008 | ||
3009 | ||
3010 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3011 | PyObject *resultobj; | |
3012 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3013 | bool result; | |
3014 | PyObject * obj0 = 0 ; | |
3015 | char *kwnames[] = { | |
3016 | (char *) "self", NULL | |
3017 | }; | |
3018 | ||
3019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
3020 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3022 | { | |
3023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3024 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
3025 | ||
3026 | wxPyEndAllowThreads(__tstate); | |
3027 | if (PyErr_Occurred()) SWIG_fail; | |
3028 | } | |
3029 | { | |
3030 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3031 | } | |
3032 | return resultobj; | |
3033 | fail: | |
3034 | return NULL; | |
3035 | } | |
3036 | ||
3037 | ||
3038 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3039 | PyObject *resultobj; | |
3040 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3041 | wxString *arg2 = 0 ; | |
3042 | bool temp2 = False ; | |
3043 | PyObject * obj0 = 0 ; | |
3044 | PyObject * obj1 = 0 ; | |
3045 | char *kwnames[] = { | |
3046 | (char *) "self",(char *) "title", NULL | |
3047 | }; | |
3048 | ||
3049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
3050 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3051 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3052 | { | |
3053 | arg2 = wxString_in_helper(obj1); | |
3054 | if (arg2 == NULL) SWIG_fail; | |
3055 | temp2 = True; | |
3056 | } | |
3057 | { | |
3058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3059 | (arg1)->SetTitle((wxString const &)*arg2); | |
3060 | ||
3061 | wxPyEndAllowThreads(__tstate); | |
3062 | if (PyErr_Occurred()) SWIG_fail; | |
3063 | } | |
3064 | Py_INCREF(Py_None); resultobj = Py_None; | |
3065 | { | |
3066 | if (temp2) | |
3067 | delete arg2; | |
3068 | } | |
3069 | return resultobj; | |
3070 | fail: | |
3071 | { | |
3072 | if (temp2) | |
3073 | delete arg2; | |
3074 | } | |
3075 | return NULL; | |
3076 | } | |
3077 | ||
3078 | ||
3079 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3080 | PyObject *resultobj; | |
3081 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3082 | wxString result; | |
3083 | PyObject * obj0 = 0 ; | |
3084 | char *kwnames[] = { | |
3085 | (char *) "self", NULL | |
3086 | }; | |
3087 | ||
3088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
3089 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3090 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3091 | { | |
3092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3093 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
3094 | ||
3095 | wxPyEndAllowThreads(__tstate); | |
3096 | if (PyErr_Occurred()) SWIG_fail; | |
3097 | } | |
3098 | { | |
3099 | #if wxUSE_UNICODE | |
3100 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3101 | #else | |
3102 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3103 | #endif | |
3104 | } | |
3105 | return resultobj; | |
3106 | fail: | |
3107 | return NULL; | |
3108 | } | |
3109 | ||
3110 | ||
3111 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3112 | PyObject *resultobj; | |
3113 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3114 | wxRegion *arg2 = 0 ; | |
3115 | bool result; | |
3116 | PyObject * obj0 = 0 ; | |
3117 | PyObject * obj1 = 0 ; | |
3118 | char *kwnames[] = { | |
3119 | (char *) "self",(char *) "region", NULL | |
3120 | }; | |
3121 | ||
3122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
3123 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3124 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3125 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion, | |
3126 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
3127 | SWIG_fail; | |
3128 | if (arg2 == NULL) { | |
3129 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
3130 | SWIG_fail; | |
3131 | } | |
3132 | { | |
3133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3134 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
3135 | ||
3136 | wxPyEndAllowThreads(__tstate); | |
3137 | if (PyErr_Occurred()) SWIG_fail; | |
3138 | } | |
3139 | { | |
3140 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3141 | } | |
3142 | return resultobj; | |
3143 | fail: | |
3144 | return NULL; | |
3145 | } | |
3146 | ||
3147 | ||
3148 | static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) { | |
3149 | PyObject *obj; | |
3150 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3151 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
3152 | Py_INCREF(obj); | |
3153 | return Py_BuildValue((char *)""); | |
3154 | } | |
3155 | static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3156 | PyObject *resultobj; | |
3157 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
3158 | int arg2 = (int) (int)-1 ; |
3159 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
3160 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
3161 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
3162 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3163 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3164 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3165 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
3166 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
3167 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3168 | wxFrame *result; | |
3169 | bool temp3 = False ; | |
3170 | wxPoint temp4 ; | |
3171 | wxSize temp5 ; | |
3172 | bool temp7 = False ; | |
3173 | PyObject * obj0 = 0 ; | |
3174 | PyObject * obj1 = 0 ; | |
3175 | PyObject * obj2 = 0 ; | |
3176 | PyObject * obj3 = 0 ; | |
3177 | PyObject * obj4 = 0 ; | |
3178 | PyObject * obj5 = 0 ; | |
3179 | PyObject * obj6 = 0 ; | |
3180 | char *kwnames[] = { | |
3181 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3182 | }; | |
3183 | ||
248ed943 | 3184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d55e5bfc RD |
3185 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
3186 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
3187 | if (obj1) { |
3188 | arg2 = (int const) SWIG_AsInt(obj1); | |
3189 | if (PyErr_Occurred()) SWIG_fail; | |
3190 | } | |
3191 | if (obj2) { | |
3192 | { | |
3193 | arg3 = wxString_in_helper(obj2); | |
3194 | if (arg3 == NULL) SWIG_fail; | |
3195 | temp3 = True; | |
3196 | } | |
d55e5bfc RD |
3197 | } |
3198 | if (obj3) { | |
3199 | { | |
3200 | arg4 = &temp4; | |
3201 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3202 | } | |
3203 | } | |
3204 | if (obj4) { | |
3205 | { | |
3206 | arg5 = &temp5; | |
3207 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3208 | } | |
3209 | } | |
3210 | if (obj5) { | |
3211 | arg6 = (long) SWIG_AsLong(obj5); | |
3212 | if (PyErr_Occurred()) SWIG_fail; | |
3213 | } | |
3214 | if (obj6) { | |
3215 | { | |
3216 | arg7 = wxString_in_helper(obj6); | |
3217 | if (arg7 == NULL) SWIG_fail; | |
3218 | temp7 = True; | |
3219 | } | |
3220 | } | |
3221 | { | |
0439c23b | 3222 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
3223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3224 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3225 | ||
3226 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3227 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
3228 | } |
3229 | { | |
412d302d | 3230 | resultobj = wxPyMake_wxObject(result, 1); |
d55e5bfc RD |
3231 | } |
3232 | { | |
3233 | if (temp3) | |
3234 | delete arg3; | |
3235 | } | |
3236 | { | |
3237 | if (temp7) | |
3238 | delete arg7; | |
3239 | } | |
3240 | return resultobj; | |
3241 | fail: | |
3242 | { | |
3243 | if (temp3) | |
3244 | delete arg3; | |
3245 | } | |
3246 | { | |
3247 | if (temp7) | |
3248 | delete arg7; | |
3249 | } | |
3250 | return NULL; | |
3251 | } | |
3252 | ||
3253 | ||
3254 | static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3255 | PyObject *resultobj; | |
3256 | wxFrame *result; | |
3257 | char *kwnames[] = { | |
3258 | NULL | |
3259 | }; | |
3260 | ||
3261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
3262 | { | |
0439c23b | 3263 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
3264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3265 | result = (wxFrame *)new wxFrame(); | |
3266 | ||
3267 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3268 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
3269 | } |
3270 | { | |
412d302d | 3271 | resultobj = wxPyMake_wxObject(result, 1); |
d55e5bfc RD |
3272 | } |
3273 | return resultobj; | |
3274 | fail: | |
3275 | return NULL; | |
3276 | } | |
3277 | ||
3278 | ||
3279 | static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3280 | PyObject *resultobj; | |
3281 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3282 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
3283 | int arg3 = (int) (int)-1 ; |
3284 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
3285 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
3286 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
3287 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3288 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3289 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3290 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
3291 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
3292 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3293 | bool result; | |
3294 | bool temp4 = False ; | |
3295 | wxPoint temp5 ; | |
3296 | wxSize temp6 ; | |
3297 | bool temp8 = False ; | |
3298 | PyObject * obj0 = 0 ; | |
3299 | PyObject * obj1 = 0 ; | |
3300 | PyObject * obj2 = 0 ; | |
3301 | PyObject * obj3 = 0 ; | |
3302 | PyObject * obj4 = 0 ; | |
3303 | PyObject * obj5 = 0 ; | |
3304 | PyObject * obj6 = 0 ; | |
3305 | PyObject * obj7 = 0 ; | |
3306 | char *kwnames[] = { | |
3307 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3308 | }; | |
3309 | ||
248ed943 | 3310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d55e5bfc RD |
3311 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3312 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3313 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3314 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
3315 | if (obj2) { |
3316 | arg3 = (int const) SWIG_AsInt(obj2); | |
3317 | if (PyErr_Occurred()) SWIG_fail; | |
3318 | } | |
3319 | if (obj3) { | |
3320 | { | |
3321 | arg4 = wxString_in_helper(obj3); | |
3322 | if (arg4 == NULL) SWIG_fail; | |
3323 | temp4 = True; | |
3324 | } | |
d55e5bfc RD |
3325 | } |
3326 | if (obj4) { | |
3327 | { | |
3328 | arg5 = &temp5; | |
3329 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3330 | } | |
3331 | } | |
3332 | if (obj5) { | |
3333 | { | |
3334 | arg6 = &temp6; | |
3335 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3336 | } | |
3337 | } | |
3338 | if (obj6) { | |
3339 | arg7 = (long) SWIG_AsLong(obj6); | |
3340 | if (PyErr_Occurred()) SWIG_fail; | |
3341 | } | |
3342 | if (obj7) { | |
3343 | { | |
3344 | arg8 = wxString_in_helper(obj7); | |
3345 | if (arg8 == NULL) SWIG_fail; | |
3346 | temp8 = True; | |
3347 | } | |
3348 | } | |
3349 | { | |
3350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3351 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3352 | ||
3353 | wxPyEndAllowThreads(__tstate); | |
3354 | if (PyErr_Occurred()) SWIG_fail; | |
3355 | } | |
3356 | { | |
3357 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3358 | } | |
3359 | { | |
3360 | if (temp4) | |
3361 | delete arg4; | |
3362 | } | |
3363 | { | |
3364 | if (temp8) | |
3365 | delete arg8; | |
3366 | } | |
3367 | return resultobj; | |
3368 | fail: | |
3369 | { | |
3370 | if (temp4) | |
3371 | delete arg4; | |
3372 | } | |
3373 | { | |
3374 | if (temp8) | |
3375 | delete arg8; | |
3376 | } | |
3377 | return NULL; | |
3378 | } | |
3379 | ||
3380 | ||
3381 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3382 | PyObject *resultobj; | |
3383 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3384 | wxPoint result; | |
3385 | PyObject * obj0 = 0 ; | |
3386 | char *kwnames[] = { | |
3387 | (char *) "self", NULL | |
3388 | }; | |
3389 | ||
3390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
3391 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3392 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3393 | { | |
3394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3395 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
3396 | ||
3397 | wxPyEndAllowThreads(__tstate); | |
3398 | if (PyErr_Occurred()) SWIG_fail; | |
3399 | } | |
3400 | { | |
3401 | wxPoint * resultptr; | |
3402 | resultptr = new wxPoint((wxPoint &) result); | |
3403 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
3404 | } | |
3405 | return resultobj; | |
3406 | fail: | |
3407 | return NULL; | |
3408 | } | |
3409 | ||
3410 | ||
3411 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3412 | PyObject *resultobj; | |
3413 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3414 | PyObject * obj0 = 0 ; | |
3415 | char *kwnames[] = { | |
3416 | (char *) "self", NULL | |
3417 | }; | |
3418 | ||
3419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
3420 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3421 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3422 | { | |
3423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3424 | (arg1)->SendSizeEvent(); | |
3425 | ||
3426 | wxPyEndAllowThreads(__tstate); | |
3427 | if (PyErr_Occurred()) SWIG_fail; | |
3428 | } | |
3429 | Py_INCREF(Py_None); resultobj = Py_None; | |
3430 | return resultobj; | |
3431 | fail: | |
3432 | return NULL; | |
3433 | } | |
3434 | ||
3435 | ||
3436 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3437 | PyObject *resultobj; | |
3438 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3439 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
3440 | PyObject * obj0 = 0 ; | |
3441 | PyObject * obj1 = 0 ; | |
3442 | char *kwnames[] = { | |
3443 | (char *) "self",(char *) "menubar", NULL | |
3444 | }; | |
3445 | ||
3446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
3447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3449 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar, | |
3450 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3451 | { | |
3452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3453 | (arg1)->SetMenuBar(arg2); | |
3454 | ||
3455 | wxPyEndAllowThreads(__tstate); | |
3456 | if (PyErr_Occurred()) SWIG_fail; | |
3457 | } | |
3458 | Py_INCREF(Py_None); resultobj = Py_None; | |
3459 | return resultobj; | |
3460 | fail: | |
3461 | return NULL; | |
3462 | } | |
3463 | ||
3464 | ||
3465 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3466 | PyObject *resultobj; | |
3467 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3468 | wxMenuBar *result; | |
3469 | PyObject * obj0 = 0 ; | |
3470 | char *kwnames[] = { | |
3471 | (char *) "self", NULL | |
3472 | }; | |
3473 | ||
3474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
3475 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3476 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3477 | { | |
3478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3479 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
3480 | ||
3481 | wxPyEndAllowThreads(__tstate); | |
3482 | if (PyErr_Occurred()) SWIG_fail; | |
3483 | } | |
3484 | { | |
412d302d | 3485 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
3486 | } |
3487 | return resultobj; | |
3488 | fail: | |
3489 | return NULL; | |
3490 | } | |
3491 | ||
3492 | ||
3493 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3494 | PyObject *resultobj; | |
3495 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3496 | int arg2 ; | |
3497 | bool result; | |
3498 | PyObject * obj0 = 0 ; | |
3499 | PyObject * obj1 = 0 ; | |
3500 | char *kwnames[] = { | |
3501 | (char *) "self",(char *) "winid", NULL | |
3502 | }; | |
3503 | ||
3504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; | |
3505 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3506 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3507 | arg2 = (int) SWIG_AsInt(obj1); | |
3508 | if (PyErr_Occurred()) SWIG_fail; | |
3509 | { | |
3510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3511 | result = (bool)(arg1)->ProcessCommand(arg2); | |
3512 | ||
3513 | wxPyEndAllowThreads(__tstate); | |
3514 | if (PyErr_Occurred()) SWIG_fail; | |
3515 | } | |
3516 | { | |
3517 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3518 | } | |
3519 | return resultobj; | |
3520 | fail: | |
3521 | return NULL; | |
3522 | } | |
3523 | ||
3524 | ||
3525 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3526 | PyObject *resultobj; | |
3527 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3528 | int arg2 = (int) 1 ; | |
3529 | long arg3 = (long) wxST_SIZEGRIP ; | |
3530 | int arg4 = (int) 0 ; | |
3531 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
3532 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
3533 | wxStatusBar *result; | |
3534 | bool temp5 = False ; | |
3535 | PyObject * obj0 = 0 ; | |
3536 | PyObject * obj1 = 0 ; | |
3537 | PyObject * obj2 = 0 ; | |
3538 | PyObject * obj3 = 0 ; | |
3539 | PyObject * obj4 = 0 ; | |
3540 | char *kwnames[] = { | |
3541 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3542 | }; | |
3543 | ||
3544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
3545 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3546 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3547 | if (obj1) { | |
3548 | arg2 = (int) SWIG_AsInt(obj1); | |
3549 | if (PyErr_Occurred()) SWIG_fail; | |
3550 | } | |
3551 | if (obj2) { | |
3552 | arg3 = (long) SWIG_AsLong(obj2); | |
3553 | if (PyErr_Occurred()) SWIG_fail; | |
3554 | } | |
3555 | if (obj3) { | |
3556 | arg4 = (int) SWIG_AsInt(obj3); | |
3557 | if (PyErr_Occurred()) SWIG_fail; | |
3558 | } | |
3559 | if (obj4) { | |
3560 | { | |
3561 | arg5 = wxString_in_helper(obj4); | |
3562 | if (arg5 == NULL) SWIG_fail; | |
3563 | temp5 = True; | |
3564 | } | |
3565 | } | |
3566 | { | |
3567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3568 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
3569 | ||
3570 | wxPyEndAllowThreads(__tstate); | |
3571 | if (PyErr_Occurred()) SWIG_fail; | |
3572 | } | |
3573 | { | |
412d302d | 3574 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
3575 | } |
3576 | { | |
3577 | if (temp5) | |
3578 | delete arg5; | |
3579 | } | |
3580 | return resultobj; | |
3581 | fail: | |
3582 | { | |
3583 | if (temp5) | |
3584 | delete arg5; | |
3585 | } | |
3586 | return NULL; | |
3587 | } | |
3588 | ||
3589 | ||
3590 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3591 | PyObject *resultobj; | |
3592 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3593 | wxStatusBar *result; | |
3594 | PyObject * obj0 = 0 ; | |
3595 | char *kwnames[] = { | |
3596 | (char *) "self", NULL | |
3597 | }; | |
3598 | ||
3599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
3600 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3601 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3602 | { | |
3603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3604 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
3605 | ||
3606 | wxPyEndAllowThreads(__tstate); | |
3607 | if (PyErr_Occurred()) SWIG_fail; | |
3608 | } | |
3609 | { | |
412d302d | 3610 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
3611 | } |
3612 | return resultobj; | |
3613 | fail: | |
3614 | return NULL; | |
3615 | } | |
3616 | ||
3617 | ||
3618 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3619 | PyObject *resultobj; | |
3620 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3621 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
3622 | PyObject * obj0 = 0 ; | |
3623 | PyObject * obj1 = 0 ; | |
3624 | char *kwnames[] = { | |
3625 | (char *) "self",(char *) "statBar", NULL | |
3626 | }; | |
3627 | ||
3628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
3629 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3630 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3631 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar, | |
3632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3633 | { | |
3634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3635 | (arg1)->SetStatusBar(arg2); | |
3636 | ||
3637 | wxPyEndAllowThreads(__tstate); | |
3638 | if (PyErr_Occurred()) SWIG_fail; | |
3639 | } | |
3640 | Py_INCREF(Py_None); resultobj = Py_None; | |
3641 | return resultobj; | |
3642 | fail: | |
3643 | return NULL; | |
3644 | } | |
3645 | ||
3646 | ||
3647 | static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3648 | PyObject *resultobj; | |
3649 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3650 | wxString *arg2 = 0 ; | |
3651 | int arg3 = (int) 0 ; | |
3652 | bool temp2 = False ; | |
3653 | PyObject * obj0 = 0 ; | |
3654 | PyObject * obj1 = 0 ; | |
3655 | PyObject * obj2 = 0 ; | |
3656 | char *kwnames[] = { | |
3657 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3658 | }; | |
3659 | ||
3660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3661 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3662 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3663 | { | |
3664 | arg2 = wxString_in_helper(obj1); | |
3665 | if (arg2 == NULL) SWIG_fail; | |
3666 | temp2 = True; | |
3667 | } | |
3668 | if (obj2) { | |
3669 | arg3 = (int) SWIG_AsInt(obj2); | |
3670 | if (PyErr_Occurred()) SWIG_fail; | |
3671 | } | |
3672 | { | |
3673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3674 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
3675 | ||
3676 | wxPyEndAllowThreads(__tstate); | |
3677 | if (PyErr_Occurred()) SWIG_fail; | |
3678 | } | |
3679 | Py_INCREF(Py_None); resultobj = Py_None; | |
3680 | { | |
3681 | if (temp2) | |
3682 | delete arg2; | |
3683 | } | |
3684 | return resultobj; | |
3685 | fail: | |
3686 | { | |
3687 | if (temp2) | |
3688 | delete arg2; | |
3689 | } | |
3690 | return NULL; | |
3691 | } | |
3692 | ||
3693 | ||
3694 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3695 | PyObject *resultobj; | |
3696 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3697 | int arg2 ; | |
3698 | int *arg3 = (int *) 0 ; | |
3699 | PyObject * obj0 = 0 ; | |
3700 | PyObject * obj1 = 0 ; | |
3701 | char *kwnames[] = { | |
3702 | (char *) "self",(char *) "widths", NULL | |
3703 | }; | |
3704 | ||
3705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
3706 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3707 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3708 | { | |
3709 | arg2 = PyList_Size(obj1); | |
3710 | arg3 = int_LIST_helper(obj1); | |
3711 | if (arg3 == NULL) SWIG_fail; | |
3712 | } | |
3713 | { | |
3714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3715 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
3716 | ||
3717 | wxPyEndAllowThreads(__tstate); | |
3718 | if (PyErr_Occurred()) SWIG_fail; | |
3719 | } | |
3720 | Py_INCREF(Py_None); resultobj = Py_None; | |
3721 | { | |
3722 | if (arg3) delete [] arg3; | |
3723 | } | |
3724 | return resultobj; | |
3725 | fail: | |
3726 | { | |
3727 | if (arg3) delete [] arg3; | |
3728 | } | |
3729 | return NULL; | |
3730 | } | |
3731 | ||
3732 | ||
3733 | static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3734 | PyObject *resultobj; | |
3735 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3736 | wxString *arg2 = 0 ; | |
3737 | int arg3 = (int) 0 ; | |
3738 | bool temp2 = False ; | |
3739 | PyObject * obj0 = 0 ; | |
3740 | PyObject * obj1 = 0 ; | |
3741 | PyObject * obj2 = 0 ; | |
3742 | char *kwnames[] = { | |
3743 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3744 | }; | |
3745 | ||
3746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3747 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3748 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3749 | { | |
3750 | arg2 = wxString_in_helper(obj1); | |
3751 | if (arg2 == NULL) SWIG_fail; | |
3752 | temp2 = True; | |
3753 | } | |
3754 | if (obj2) { | |
3755 | arg3 = (int) SWIG_AsInt(obj2); | |
3756 | if (PyErr_Occurred()) SWIG_fail; | |
3757 | } | |
3758 | { | |
3759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3760 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
3761 | ||
3762 | wxPyEndAllowThreads(__tstate); | |
3763 | if (PyErr_Occurred()) SWIG_fail; | |
3764 | } | |
3765 | Py_INCREF(Py_None); resultobj = Py_None; | |
3766 | { | |
3767 | if (temp2) | |
3768 | delete arg2; | |
3769 | } | |
3770 | return resultobj; | |
3771 | fail: | |
3772 | { | |
3773 | if (temp2) | |
3774 | delete arg2; | |
3775 | } | |
3776 | return NULL; | |
3777 | } | |
3778 | ||
3779 | ||
3780 | static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3781 | PyObject *resultobj; | |
3782 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3783 | int arg2 = (int) 0 ; | |
3784 | PyObject * obj0 = 0 ; | |
3785 | PyObject * obj1 = 0 ; | |
3786 | char *kwnames[] = { | |
3787 | (char *) "self",(char *) "number", NULL | |
3788 | }; | |
3789 | ||
3790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; | |
3791 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3792 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3793 | if (obj1) { | |
3794 | arg2 = (int) SWIG_AsInt(obj1); | |
3795 | if (PyErr_Occurred()) SWIG_fail; | |
3796 | } | |
3797 | { | |
3798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3799 | (arg1)->PopStatusText(arg2); | |
3800 | ||
3801 | wxPyEndAllowThreads(__tstate); | |
3802 | if (PyErr_Occurred()) SWIG_fail; | |
3803 | } | |
3804 | Py_INCREF(Py_None); resultobj = Py_None; | |
3805 | return resultobj; | |
3806 | fail: | |
3807 | return NULL; | |
3808 | } | |
3809 | ||
3810 | ||
3811 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3812 | PyObject *resultobj; | |
3813 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3814 | int arg2 ; | |
3815 | PyObject * obj0 = 0 ; | |
3816 | PyObject * obj1 = 0 ; | |
3817 | char *kwnames[] = { | |
3818 | (char *) "self",(char *) "n", NULL | |
3819 | }; | |
3820 | ||
3821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; | |
3822 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3823 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3824 | arg2 = (int) SWIG_AsInt(obj1); | |
3825 | if (PyErr_Occurred()) SWIG_fail; | |
3826 | { | |
3827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3828 | (arg1)->SetStatusBarPane(arg2); | |
3829 | ||
3830 | wxPyEndAllowThreads(__tstate); | |
3831 | if (PyErr_Occurred()) SWIG_fail; | |
3832 | } | |
3833 | Py_INCREF(Py_None); resultobj = Py_None; | |
3834 | return resultobj; | |
3835 | fail: | |
3836 | return NULL; | |
3837 | } | |
3838 | ||
3839 | ||
3840 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3841 | PyObject *resultobj; | |
3842 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3843 | int result; | |
3844 | PyObject * obj0 = 0 ; | |
3845 | char *kwnames[] = { | |
3846 | (char *) "self", NULL | |
3847 | }; | |
3848 | ||
3849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
3850 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3851 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3852 | { | |
3853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3854 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
3855 | ||
3856 | wxPyEndAllowThreads(__tstate); | |
3857 | if (PyErr_Occurred()) SWIG_fail; | |
3858 | } | |
3859 | resultobj = SWIG_FromInt((int)result); | |
3860 | return resultobj; | |
3861 | fail: | |
3862 | return NULL; | |
3863 | } | |
3864 | ||
3865 | ||
3866 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3867 | PyObject *resultobj; | |
3868 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3869 | long arg2 = (long) -1 ; | |
3870 | int arg3 = (int) -1 ; | |
3871 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; | |
3872 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
3873 | wxToolBar *result; | |
3874 | bool temp4 = False ; | |
3875 | PyObject * obj0 = 0 ; | |
3876 | PyObject * obj1 = 0 ; | |
3877 | PyObject * obj2 = 0 ; | |
3878 | PyObject * obj3 = 0 ; | |
3879 | char *kwnames[] = { | |
3880 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3881 | }; | |
3882 | ||
3883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
3884 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3885 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3886 | if (obj1) { | |
3887 | arg2 = (long) SWIG_AsLong(obj1); | |
3888 | if (PyErr_Occurred()) SWIG_fail; | |
3889 | } | |
3890 | if (obj2) { | |
3891 | arg3 = (int) SWIG_AsInt(obj2); | |
3892 | if (PyErr_Occurred()) SWIG_fail; | |
3893 | } | |
3894 | if (obj3) { | |
3895 | { | |
3896 | arg4 = wxString_in_helper(obj3); | |
3897 | if (arg4 == NULL) SWIG_fail; | |
3898 | temp4 = True; | |
3899 | } | |
3900 | } | |
3901 | { | |
3902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3903 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
3904 | ||
3905 | wxPyEndAllowThreads(__tstate); | |
3906 | if (PyErr_Occurred()) SWIG_fail; | |
3907 | } | |
3908 | { | |
412d302d | 3909 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
3910 | } |
3911 | { | |
3912 | if (temp4) | |
3913 | delete arg4; | |
3914 | } | |
3915 | return resultobj; | |
3916 | fail: | |
3917 | { | |
3918 | if (temp4) | |
3919 | delete arg4; | |
3920 | } | |
3921 | return NULL; | |
3922 | } | |
3923 | ||
3924 | ||
3925 | static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3926 | PyObject *resultobj; | |
3927 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3928 | wxToolBar *result; | |
3929 | PyObject * obj0 = 0 ; | |
3930 | char *kwnames[] = { | |
3931 | (char *) "self", NULL | |
3932 | }; | |
3933 | ||
3934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
3935 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3936 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3937 | { | |
3938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3939 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
3940 | ||
3941 | wxPyEndAllowThreads(__tstate); | |
3942 | if (PyErr_Occurred()) SWIG_fail; | |
3943 | } | |
3944 | { | |
412d302d | 3945 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
3946 | } |
3947 | return resultobj; | |
3948 | fail: | |
3949 | return NULL; | |
3950 | } | |
3951 | ||
3952 | ||
3953 | static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3954 | PyObject *resultobj; | |
3955 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3956 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
3957 | PyObject * obj0 = 0 ; | |
3958 | PyObject * obj1 = 0 ; | |
3959 | char *kwnames[] = { | |
3960 | (char *) "self",(char *) "toolbar", NULL | |
3961 | }; | |
3962 | ||
3963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
3964 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3966 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar, | |
3967 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3968 | { | |
3969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3970 | (arg1)->SetToolBar(arg2); | |
3971 | ||
3972 | wxPyEndAllowThreads(__tstate); | |
3973 | if (PyErr_Occurred()) SWIG_fail; | |
3974 | } | |
3975 | Py_INCREF(Py_None); resultobj = Py_None; | |
3976 | return resultobj; | |
3977 | fail: | |
3978 | return NULL; | |
3979 | } | |
3980 | ||
3981 | ||
3982 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3983 | PyObject *resultobj; | |
3984 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3985 | wxString *arg2 = 0 ; | |
3986 | bool arg3 ; | |
3987 | bool temp2 = False ; | |
3988 | PyObject * obj0 = 0 ; | |
3989 | PyObject * obj1 = 0 ; | |
3990 | PyObject * obj2 = 0 ; | |
3991 | char *kwnames[] = { | |
3992 | (char *) "self",(char *) "text",(char *) "show", NULL | |
3993 | }; | |
3994 | ||
3995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3998 | { | |
3999 | arg2 = wxString_in_helper(obj1); | |
4000 | if (arg2 == NULL) SWIG_fail; | |
4001 | temp2 = True; | |
4002 | } | |
4003 | arg3 = (bool) SWIG_AsBool(obj2); | |
4004 | if (PyErr_Occurred()) SWIG_fail; | |
4005 | { | |
4006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4007 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
4008 | ||
4009 | wxPyEndAllowThreads(__tstate); | |
4010 | if (PyErr_Occurred()) SWIG_fail; | |
4011 | } | |
4012 | Py_INCREF(Py_None); resultobj = Py_None; | |
4013 | { | |
4014 | if (temp2) | |
4015 | delete arg2; | |
4016 | } | |
4017 | return resultobj; | |
4018 | fail: | |
4019 | { | |
4020 | if (temp2) | |
4021 | delete arg2; | |
4022 | } | |
4023 | return NULL; | |
4024 | } | |
4025 | ||
4026 | ||
4027 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4028 | PyObject *resultobj; | |
4029 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4030 | wxMenu *arg2 = (wxMenu *) NULL ; | |
4031 | PyObject * obj0 = 0 ; | |
4032 | PyObject * obj1 = 0 ; | |
4033 | char *kwnames[] = { | |
4034 | (char *) "self",(char *) "menu", NULL | |
4035 | }; | |
4036 | ||
4037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
4038 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
4039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4040 | if (obj1) { | |
4041 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, | |
4042 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4043 | } | |
4044 | { | |
4045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4046 | (arg1)->DoMenuUpdates(arg2); | |
4047 | ||
4048 | wxPyEndAllowThreads(__tstate); | |
4049 | if (PyErr_Occurred()) SWIG_fail; | |
4050 | } | |
4051 | Py_INCREF(Py_None); resultobj = Py_None; | |
4052 | return resultobj; | |
4053 | fail: | |
4054 | return NULL; | |
4055 | } | |
4056 | ||
4057 | ||
f20a2e1f RD |
4058 | static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
4059 | PyObject *resultobj; | |
4060 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
4061 | wxVisualAttributes result; | |
4062 | PyObject * obj0 = 0 ; | |
4063 | char *kwnames[] = { | |
4064 | (char *) "variant", NULL | |
4065 | }; | |
4066 | ||
4067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
4068 | if (obj0) { | |
4069 | arg1 = (wxWindowVariant) SWIG_AsInt(obj0); | |
4070 | if (PyErr_Occurred()) SWIG_fail; | |
4071 | } | |
4072 | { | |
0439c23b | 4073 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
4074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4075 | result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
4076 | ||
4077 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4078 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
4079 | } |
4080 | { | |
4081 | wxVisualAttributes * resultptr; | |
4082 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
4083 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
4084 | } | |
4085 | return resultobj; | |
4086 | fail: | |
4087 | return NULL; | |
4088 | } | |
4089 | ||
4090 | ||
d55e5bfc RD |
4091 | static PyObject * Frame_swigregister(PyObject *self, PyObject *args) { |
4092 | PyObject *obj; | |
4093 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4094 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
4095 | Py_INCREF(obj); | |
4096 | return Py_BuildValue((char *)""); | |
4097 | } | |
4098 | static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4099 | PyObject *resultobj; | |
4100 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
4101 | int arg2 = (int) (int)-1 ; |
4102 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4103 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
4104 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4105 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4106 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4107 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4108 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
4109 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
4110 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4111 | wxDialog *result; | |
4112 | bool temp3 = False ; | |
4113 | wxPoint temp4 ; | |
4114 | wxSize temp5 ; | |
4115 | bool temp7 = False ; | |
4116 | PyObject * obj0 = 0 ; | |
4117 | PyObject * obj1 = 0 ; | |
4118 | PyObject * obj2 = 0 ; | |
4119 | PyObject * obj3 = 0 ; | |
4120 | PyObject * obj4 = 0 ; | |
4121 | PyObject * obj5 = 0 ; | |
4122 | PyObject * obj6 = 0 ; | |
4123 | char *kwnames[] = { | |
4124 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4125 | }; | |
4126 | ||
248ed943 | 4127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d55e5bfc RD |
4128 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4129 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
4130 | if (obj1) { |
4131 | arg2 = (int const) SWIG_AsInt(obj1); | |
4132 | if (PyErr_Occurred()) SWIG_fail; | |
4133 | } | |
4134 | if (obj2) { | |
4135 | { | |
4136 | arg3 = wxString_in_helper(obj2); | |
4137 | if (arg3 == NULL) SWIG_fail; | |
4138 | temp3 = True; | |
4139 | } | |
d55e5bfc RD |
4140 | } |
4141 | if (obj3) { | |
4142 | { | |
4143 | arg4 = &temp4; | |
4144 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4145 | } | |
4146 | } | |
4147 | if (obj4) { | |
4148 | { | |
4149 | arg5 = &temp5; | |
4150 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4151 | } | |
4152 | } | |
4153 | if (obj5) { | |
4154 | arg6 = (long) SWIG_AsLong(obj5); | |
4155 | if (PyErr_Occurred()) SWIG_fail; | |
4156 | } | |
4157 | if (obj6) { | |
4158 | { | |
4159 | arg7 = wxString_in_helper(obj6); | |
4160 | if (arg7 == NULL) SWIG_fail; | |
4161 | temp7 = True; | |
4162 | } | |
4163 | } | |
4164 | { | |
0439c23b | 4165 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4167 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4168 | ||
4169 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4170 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 4171 | } |
e058867b | 4172 | { |
412d302d | 4173 | resultobj = wxPyMake_wxObject(result, 1); |
e058867b | 4174 | } |
d55e5bfc RD |
4175 | { |
4176 | if (temp3) | |
4177 | delete arg3; | |
4178 | } | |
4179 | { | |
4180 | if (temp7) | |
4181 | delete arg7; | |
4182 | } | |
4183 | return resultobj; | |
4184 | fail: | |
4185 | { | |
4186 | if (temp3) | |
4187 | delete arg3; | |
4188 | } | |
4189 | { | |
4190 | if (temp7) | |
4191 | delete arg7; | |
4192 | } | |
4193 | return NULL; | |
4194 | } | |
4195 | ||
4196 | ||
4197 | static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4198 | PyObject *resultobj; | |
4199 | wxDialog *result; | |
4200 | char *kwnames[] = { | |
4201 | NULL | |
4202 | }; | |
4203 | ||
4204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
4205 | { | |
0439c23b | 4206 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4208 | result = (wxDialog *)new wxDialog(); | |
4209 | ||
4210 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4211 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 4212 | } |
e058867b | 4213 | { |
412d302d | 4214 | resultobj = wxPyMake_wxObject(result, 1); |
e058867b | 4215 | } |
d55e5bfc RD |
4216 | return resultobj; |
4217 | fail: | |
4218 | return NULL; | |
4219 | } | |
4220 | ||
4221 | ||
4222 | static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4223 | PyObject *resultobj; | |
4224 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4225 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
4226 | int arg3 = (int) (int)-1 ; |
4227 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4228 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
4229 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4230 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4231 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4232 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4233 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
4234 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
4235 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4236 | bool result; | |
4237 | bool temp4 = False ; | |
4238 | wxPoint temp5 ; | |
4239 | wxSize temp6 ; | |
4240 | bool temp8 = False ; | |
4241 | PyObject * obj0 = 0 ; | |
4242 | PyObject * obj1 = 0 ; | |
4243 | PyObject * obj2 = 0 ; | |
4244 | PyObject * obj3 = 0 ; | |
4245 | PyObject * obj4 = 0 ; | |
4246 | PyObject * obj5 = 0 ; | |
4247 | PyObject * obj6 = 0 ; | |
4248 | PyObject * obj7 = 0 ; | |
4249 | char *kwnames[] = { | |
4250 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4251 | }; | |
4252 | ||
248ed943 | 4253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d55e5bfc RD |
4254 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4255 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4256 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4257 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
4258 | if (obj2) { |
4259 | arg3 = (int const) SWIG_AsInt(obj2); | |
4260 | if (PyErr_Occurred()) SWIG_fail; | |
4261 | } | |
4262 | if (obj3) { | |
4263 | { | |
4264 | arg4 = wxString_in_helper(obj3); | |
4265 | if (arg4 == NULL) SWIG_fail; | |
4266 | temp4 = True; | |
4267 | } | |
d55e5bfc RD |
4268 | } |
4269 | if (obj4) { | |
4270 | { | |
4271 | arg5 = &temp5; | |
4272 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4273 | } | |
4274 | } | |
4275 | if (obj5) { | |
4276 | { | |
4277 | arg6 = &temp6; | |
4278 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4279 | } | |
4280 | } | |
4281 | if (obj6) { | |
4282 | arg7 = (long) SWIG_AsLong(obj6); | |
4283 | if (PyErr_Occurred()) SWIG_fail; | |
4284 | } | |
4285 | if (obj7) { | |
4286 | { | |
4287 | arg8 = wxString_in_helper(obj7); | |
4288 | if (arg8 == NULL) SWIG_fail; | |
4289 | temp8 = True; | |
4290 | } | |
4291 | } | |
4292 | { | |
4293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4294 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4295 | ||
4296 | wxPyEndAllowThreads(__tstate); | |
4297 | if (PyErr_Occurred()) SWIG_fail; | |
4298 | } | |
4299 | { | |
4300 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4301 | } | |
4302 | { | |
4303 | if (temp4) | |
4304 | delete arg4; | |
4305 | } | |
4306 | { | |
4307 | if (temp8) | |
4308 | delete arg8; | |
4309 | } | |
4310 | return resultobj; | |
4311 | fail: | |
4312 | { | |
4313 | if (temp4) | |
4314 | delete arg4; | |
4315 | } | |
4316 | { | |
4317 | if (temp8) | |
4318 | delete arg8; | |
4319 | } | |
4320 | return NULL; | |
4321 | } | |
4322 | ||
4323 | ||
4324 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4325 | PyObject *resultobj; | |
4326 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4327 | int arg2 ; | |
4328 | PyObject * obj0 = 0 ; | |
4329 | PyObject * obj1 = 0 ; | |
4330 | char *kwnames[] = { | |
4331 | (char *) "self",(char *) "returnCode", NULL | |
4332 | }; | |
4333 | ||
4334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; | |
4335 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, | |
4336 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4337 | arg2 = (int) SWIG_AsInt(obj1); | |
4338 | if (PyErr_Occurred()) SWIG_fail; | |
4339 | { | |
4340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4341 | (arg1)->SetReturnCode(arg2); | |
4342 | ||
4343 | wxPyEndAllowThreads(__tstate); | |
4344 | if (PyErr_Occurred()) SWIG_fail; | |
4345 | } | |
4346 | Py_INCREF(Py_None); resultobj = Py_None; | |
4347 | return resultobj; | |
4348 | fail: | |
4349 | return NULL; | |
4350 | } | |
4351 | ||
4352 | ||
4353 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4354 | PyObject *resultobj; | |
4355 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4356 | int result; | |
4357 | PyObject * obj0 = 0 ; | |
4358 | char *kwnames[] = { | |
4359 | (char *) "self", NULL | |
4360 | }; | |
4361 | ||
4362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
4363 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, | |
4364 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4365 | { | |
4366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4367 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
4368 | ||
4369 | wxPyEndAllowThreads(__tstate); | |
4370 | if (PyErr_Occurred()) SWIG_fail; | |
4371 | } | |
4372 | resultobj = SWIG_FromInt((int)result); | |
4373 | return resultobj; | |
4374 | fail: | |
4375 | return NULL; | |
4376 | } | |
4377 | ||
4378 | ||
4379 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4380 | PyObject *resultobj; | |
4381 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4382 | wxString *arg2 = 0 ; | |
4383 | wxSizer *result; | |
4384 | bool temp2 = False ; | |
4385 | PyObject * obj0 = 0 ; | |
4386 | PyObject * obj1 = 0 ; | |
4387 | char *kwnames[] = { | |
4388 | (char *) "self",(char *) "message", NULL | |
4389 | }; | |
4390 | ||
4391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
4392 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, | |
4393 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4394 | { | |
4395 | arg2 = wxString_in_helper(obj1); | |
4396 | if (arg2 == NULL) SWIG_fail; | |
4397 | temp2 = True; | |
4398 | } | |
4399 | { | |
4400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4401 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
4402 | ||
4403 | wxPyEndAllowThreads(__tstate); | |
4404 | if (PyErr_Occurred()) SWIG_fail; | |
4405 | } | |
4406 | { | |
412d302d | 4407 | resultobj = wxPyMake_wxSizer(result, 0); |
d55e5bfc RD |
4408 | } |
4409 | { | |
4410 | if (temp2) | |
4411 | delete arg2; | |
4412 | } | |
4413 | return resultobj; | |
4414 | fail: | |
4415 | { | |
4416 | if (temp2) | |
4417 | delete arg2; | |
4418 | } | |
4419 | return NULL; | |
4420 | } | |
4421 | ||
4422 | ||
4423 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4424 | PyObject *resultobj; | |
4425 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4426 | long arg2 ; | |
4427 | wxSizer *result; | |
4428 | PyObject * obj0 = 0 ; | |
4429 | PyObject * obj1 = 0 ; | |
4430 | char *kwnames[] = { | |
4431 | (char *) "self",(char *) "flags", NULL | |
4432 | }; | |
4433 | ||
4434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; | |
4435 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, | |
4436 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4437 | arg2 = (long) SWIG_AsLong(obj1); | |
4438 | if (PyErr_Occurred()) SWIG_fail; | |
4439 | { | |
4440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4441 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
4442 | ||
4443 | wxPyEndAllowThreads(__tstate); | |
4444 | if (PyErr_Occurred()) SWIG_fail; | |
4445 | } | |
4446 | { | |
412d302d | 4447 | resultobj = wxPyMake_wxSizer(result, 0); |
d55e5bfc RD |
4448 | } |
4449 | return resultobj; | |
4450 | fail: | |
4451 | return NULL; | |
4452 | } | |
4453 | ||
4454 | ||
4455 | static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4456 | PyObject *resultobj; | |
4457 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4458 | bool result; | |
4459 | PyObject * obj0 = 0 ; | |
4460 | char *kwnames[] = { | |
4461 | (char *) "self", NULL | |
4462 | }; | |
4463 | ||
4464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
4465 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, | |
4466 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4467 | { | |
4468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4469 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
4470 | ||
4471 | wxPyEndAllowThreads(__tstate); | |
4472 | if (PyErr_Occurred()) SWIG_fail; | |
4473 | } | |
4474 | { | |
4475 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4476 | } | |
4477 | return resultobj; | |
4478 | fail: | |
4479 | return NULL; | |
4480 | } | |
4481 | ||
4482 | ||
4483 | static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4484 | PyObject *resultobj; | |
4485 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4486 | int result; | |
4487 | PyObject * obj0 = 0 ; | |
4488 | char *kwnames[] = { | |
4489 | (char *) "self", NULL | |
4490 | }; | |
4491 | ||
4492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
4493 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, | |
4494 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4495 | { | |
4496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4497 | result = (int)(arg1)->ShowModal(); | |
4498 | ||
4499 | wxPyEndAllowThreads(__tstate); | |
4500 | if (PyErr_Occurred()) SWIG_fail; | |
4501 | } | |
4502 | resultobj = SWIG_FromInt((int)result); | |
4503 | return resultobj; | |
4504 | fail: | |
4505 | return NULL; | |
4506 | } | |
4507 | ||
4508 | ||
4509 | static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4510 | PyObject *resultobj; | |
4511 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4512 | int arg2 ; | |
4513 | PyObject * obj0 = 0 ; | |
4514 | PyObject * obj1 = 0 ; | |
4515 | char *kwnames[] = { | |
4516 | (char *) "self",(char *) "retCode", NULL | |
4517 | }; | |
4518 | ||
4519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; | |
4520 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, | |
4521 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4522 | arg2 = (int) SWIG_AsInt(obj1); | |
4523 | if (PyErr_Occurred()) SWIG_fail; | |
4524 | { | |
4525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4526 | (arg1)->EndModal(arg2); | |
4527 | ||
4528 | wxPyEndAllowThreads(__tstate); | |
4529 | if (PyErr_Occurred()) SWIG_fail; | |
4530 | } | |
4531 | Py_INCREF(Py_None); resultobj = Py_None; | |
4532 | return resultobj; | |
4533 | fail: | |
4534 | return NULL; | |
4535 | } | |
4536 | ||
4537 | ||
f20a2e1f RD |
4538 | static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
4539 | PyObject *resultobj; | |
4540 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
4541 | wxVisualAttributes result; | |
4542 | PyObject * obj0 = 0 ; | |
4543 | char *kwnames[] = { | |
4544 | (char *) "variant", NULL | |
4545 | }; | |
4546 | ||
4547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
4548 | if (obj0) { | |
4549 | arg1 = (wxWindowVariant) SWIG_AsInt(obj0); | |
4550 | if (PyErr_Occurred()) SWIG_fail; | |
4551 | } | |
4552 | { | |
0439c23b | 4553 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
4554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4555 | result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
4556 | ||
4557 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4558 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
4559 | } |
4560 | { | |
4561 | wxVisualAttributes * resultptr; | |
4562 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
4563 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
4564 | } | |
4565 | return resultobj; | |
4566 | fail: | |
4567 | return NULL; | |
4568 | } | |
4569 | ||
4570 | ||
d55e5bfc RD |
4571 | static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) { |
4572 | PyObject *obj; | |
4573 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4574 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
4575 | Py_INCREF(obj); | |
4576 | return Py_BuildValue((char *)""); | |
4577 | } | |
4578 | static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4579 | PyObject *resultobj; | |
4580 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
4581 | int arg2 = (int) (int)-1 ; |
4582 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4583 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
4584 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4585 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4586 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4587 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4588 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4589 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4590 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4591 | wxMiniFrame *result; | |
4592 | bool temp3 = False ; | |
4593 | wxPoint temp4 ; | |
4594 | wxSize temp5 ; | |
4595 | bool temp7 = False ; | |
4596 | PyObject * obj0 = 0 ; | |
4597 | PyObject * obj1 = 0 ; | |
4598 | PyObject * obj2 = 0 ; | |
4599 | PyObject * obj3 = 0 ; | |
4600 | PyObject * obj4 = 0 ; | |
4601 | PyObject * obj5 = 0 ; | |
4602 | PyObject * obj6 = 0 ; | |
4603 | char *kwnames[] = { | |
4604 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4605 | }; | |
4606 | ||
248ed943 | 4607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d55e5bfc RD |
4608 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4609 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
4610 | if (obj1) { |
4611 | arg2 = (int const) SWIG_AsInt(obj1); | |
4612 | if (PyErr_Occurred()) SWIG_fail; | |
4613 | } | |
4614 | if (obj2) { | |
4615 | { | |
4616 | arg3 = wxString_in_helper(obj2); | |
4617 | if (arg3 == NULL) SWIG_fail; | |
4618 | temp3 = True; | |
4619 | } | |
d55e5bfc RD |
4620 | } |
4621 | if (obj3) { | |
4622 | { | |
4623 | arg4 = &temp4; | |
4624 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4625 | } | |
4626 | } | |
4627 | if (obj4) { | |
4628 | { | |
4629 | arg5 = &temp5; | |
4630 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4631 | } | |
4632 | } | |
4633 | if (obj5) { | |
4634 | arg6 = (long) SWIG_AsLong(obj5); | |
4635 | if (PyErr_Occurred()) SWIG_fail; | |
4636 | } | |
4637 | if (obj6) { | |
4638 | { | |
4639 | arg7 = wxString_in_helper(obj6); | |
4640 | if (arg7 == NULL) SWIG_fail; | |
4641 | temp7 = True; | |
4642 | } | |
4643 | } | |
4644 | { | |
0439c23b | 4645 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4647 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4648 | ||
4649 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4650 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
4651 | } |
4652 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); | |
4653 | { | |
4654 | if (temp3) | |
4655 | delete arg3; | |
4656 | } | |
4657 | { | |
4658 | if (temp7) | |
4659 | delete arg7; | |
4660 | } | |
4661 | return resultobj; | |
4662 | fail: | |
4663 | { | |
4664 | if (temp3) | |
4665 | delete arg3; | |
4666 | } | |
4667 | { | |
4668 | if (temp7) | |
4669 | delete arg7; | |
4670 | } | |
4671 | return NULL; | |
4672 | } | |
4673 | ||
4674 | ||
4675 | static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4676 | PyObject *resultobj; | |
4677 | wxMiniFrame *result; | |
4678 | char *kwnames[] = { | |
4679 | NULL | |
4680 | }; | |
4681 | ||
4682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
4683 | { | |
0439c23b | 4684 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4686 | result = (wxMiniFrame *)new wxMiniFrame(); | |
4687 | ||
4688 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4689 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
4690 | } |
4691 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); | |
4692 | return resultobj; | |
4693 | fail: | |
4694 | return NULL; | |
4695 | } | |
4696 | ||
4697 | ||
4698 | static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4699 | PyObject *resultobj; | |
4700 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
4701 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
4702 | int arg3 = (int) (int)-1 ; |
4703 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4704 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
4705 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4706 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4707 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4708 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4709 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4710 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4711 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4712 | bool result; | |
4713 | bool temp4 = False ; | |
4714 | wxPoint temp5 ; | |
4715 | wxSize temp6 ; | |
4716 | bool temp8 = False ; | |
4717 | PyObject * obj0 = 0 ; | |
4718 | PyObject * obj1 = 0 ; | |
4719 | PyObject * obj2 = 0 ; | |
4720 | PyObject * obj3 = 0 ; | |
4721 | PyObject * obj4 = 0 ; | |
4722 | PyObject * obj5 = 0 ; | |
4723 | PyObject * obj6 = 0 ; | |
4724 | PyObject * obj7 = 0 ; | |
4725 | char *kwnames[] = { | |
4726 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4727 | }; | |
4728 | ||
248ed943 | 4729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d55e5bfc RD |
4730 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame, |
4731 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4732 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4733 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
4734 | if (obj2) { |
4735 | arg3 = (int const) SWIG_AsInt(obj2); | |
4736 | if (PyErr_Occurred()) SWIG_fail; | |
4737 | } | |
4738 | if (obj3) { | |
4739 | { | |
4740 | arg4 = wxString_in_helper(obj3); | |
4741 | if (arg4 == NULL) SWIG_fail; | |
4742 | temp4 = True; | |
4743 | } | |
d55e5bfc RD |
4744 | } |
4745 | if (obj4) { | |
4746 | { | |
4747 | arg5 = &temp5; | |
4748 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4749 | } | |
4750 | } | |
4751 | if (obj5) { | |
4752 | { | |
4753 | arg6 = &temp6; | |
4754 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4755 | } | |
4756 | } | |
4757 | if (obj6) { | |
4758 | arg7 = (long) SWIG_AsLong(obj6); | |
4759 | if (PyErr_Occurred()) SWIG_fail; | |
4760 | } | |
4761 | if (obj7) { | |
4762 | { | |
4763 | arg8 = wxString_in_helper(obj7); | |
4764 | if (arg8 == NULL) SWIG_fail; | |
4765 | temp8 = True; | |
4766 | } | |
4767 | } | |
4768 | { | |
4769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4770 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4771 | ||
4772 | wxPyEndAllowThreads(__tstate); | |
4773 | if (PyErr_Occurred()) SWIG_fail; | |
4774 | } | |
4775 | { | |
4776 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4777 | } | |
4778 | { | |
4779 | if (temp4) | |
4780 | delete arg4; | |
4781 | } | |
4782 | { | |
4783 | if (temp8) | |
4784 | delete arg8; | |
4785 | } | |
4786 | return resultobj; | |
4787 | fail: | |
4788 | { | |
4789 | if (temp4) | |
4790 | delete arg4; | |
4791 | } | |
4792 | { | |
4793 | if (temp8) | |
4794 | delete arg8; | |
4795 | } | |
4796 | return NULL; | |
4797 | } | |
4798 | ||
4799 | ||
4800 | static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) { | |
4801 | PyObject *obj; | |
4802 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4803 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
4804 | Py_INCREF(obj); | |
4805 | return Py_BuildValue((char *)""); | |
4806 | } | |
4807 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4808 | PyObject *resultobj; | |
4809 | wxBitmap *arg1 = 0 ; | |
4810 | wxWindow *arg2 = (wxWindow *) 0 ; | |
4811 | int arg3 ; | |
4812 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
4813 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4814 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4815 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4816 | long arg6 = (long) wxNO_BORDER ; | |
4817 | wxSplashScreenWindow *result; | |
4818 | wxPoint temp4 ; | |
4819 | wxSize temp5 ; | |
4820 | PyObject * obj0 = 0 ; | |
4821 | PyObject * obj1 = 0 ; | |
4822 | PyObject * obj2 = 0 ; | |
4823 | PyObject * obj3 = 0 ; | |
4824 | PyObject * obj4 = 0 ; | |
4825 | PyObject * obj5 = 0 ; | |
4826 | char *kwnames[] = { | |
4827 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4828 | }; | |
4829 | ||
4830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
4831 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, | |
4832 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4833 | SWIG_fail; | |
4834 | if (arg1 == NULL) { | |
4835 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4836 | SWIG_fail; | |
4837 | } | |
4838 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4839 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4840 | arg3 = (int) SWIG_AsInt(obj2); | |
4841 | if (PyErr_Occurred()) SWIG_fail; | |
4842 | if (obj3) { | |
4843 | { | |
4844 | arg4 = &temp4; | |
4845 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4846 | } | |
4847 | } | |
4848 | if (obj4) { | |
4849 | { | |
4850 | arg5 = &temp5; | |
4851 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4852 | } | |
4853 | } | |
4854 | if (obj5) { | |
4855 | arg6 = (long) SWIG_AsLong(obj5); | |
4856 | if (PyErr_Occurred()) SWIG_fail; | |
4857 | } | |
4858 | { | |
0439c23b | 4859 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4861 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
4862 | ||
4863 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4864 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
4865 | } |
4866 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); | |
4867 | return resultobj; | |
4868 | fail: | |
4869 | return NULL; | |
4870 | } | |
4871 | ||
4872 | ||
4873 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4874 | PyObject *resultobj; | |
4875 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4876 | wxBitmap *arg2 = 0 ; | |
4877 | PyObject * obj0 = 0 ; | |
4878 | PyObject * obj1 = 0 ; | |
4879 | char *kwnames[] = { | |
4880 | (char *) "self",(char *) "bitmap", NULL | |
4881 | }; | |
4882 | ||
4883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
4884 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, | |
4885 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4886 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap, | |
4887 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4888 | SWIG_fail; | |
4889 | if (arg2 == NULL) { | |
4890 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4891 | SWIG_fail; | |
4892 | } | |
4893 | { | |
4894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4895 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
4896 | ||
4897 | wxPyEndAllowThreads(__tstate); | |
4898 | if (PyErr_Occurred()) SWIG_fail; | |
4899 | } | |
4900 | Py_INCREF(Py_None); resultobj = Py_None; | |
4901 | return resultobj; | |
4902 | fail: | |
4903 | return NULL; | |
4904 | } | |
4905 | ||
4906 | ||
4907 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4908 | PyObject *resultobj; | |
4909 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4910 | wxBitmap *result; | |
4911 | PyObject * obj0 = 0 ; | |
4912 | char *kwnames[] = { | |
4913 | (char *) "self", NULL | |
4914 | }; | |
4915 | ||
4916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
4917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, | |
4918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4919 | { | |
4920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4921 | { | |
4922 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
4923 | result = (wxBitmap *) &_result_ref; | |
4924 | } | |
4925 | ||
4926 | wxPyEndAllowThreads(__tstate); | |
4927 | if (PyErr_Occurred()) SWIG_fail; | |
4928 | } | |
4929 | { | |
4930 | wxBitmap* resultptr = new wxBitmap(*result); | |
4931 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
4932 | } | |
4933 | return resultobj; | |
4934 | fail: | |
4935 | return NULL; | |
4936 | } | |
4937 | ||
4938 | ||
4939 | static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) { | |
4940 | PyObject *obj; | |
4941 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4942 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
4943 | Py_INCREF(obj); | |
4944 | return Py_BuildValue((char *)""); | |
4945 | } | |
4946 | static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4947 | PyObject *resultobj; | |
4948 | wxBitmap *arg1 = 0 ; | |
4949 | long arg2 ; | |
4950 | int arg3 ; | |
4951 | wxWindow *arg4 = (wxWindow *) 0 ; | |
248ed943 | 4952 | int arg5 = (int) -1 ; |
d55e5bfc RD |
4953 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
4954 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
4955 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
4956 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
4957 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
4958 | wxSplashScreen *result; | |
4959 | wxPoint temp6 ; | |
4960 | wxSize temp7 ; | |
4961 | PyObject * obj0 = 0 ; | |
4962 | PyObject * obj1 = 0 ; | |
4963 | PyObject * obj2 = 0 ; | |
4964 | PyObject * obj3 = 0 ; | |
4965 | PyObject * obj4 = 0 ; | |
4966 | PyObject * obj5 = 0 ; | |
4967 | PyObject * obj6 = 0 ; | |
4968 | PyObject * obj7 = 0 ; | |
4969 | char *kwnames[] = { | |
4970 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4971 | }; | |
4972 | ||
248ed943 | 4973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d55e5bfc RD |
4974 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4975 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4976 | SWIG_fail; | |
4977 | if (arg1 == NULL) { | |
4978 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4979 | SWIG_fail; | |
4980 | } | |
4981 | arg2 = (long) SWIG_AsLong(obj1); | |
4982 | if (PyErr_Occurred()) SWIG_fail; | |
4983 | arg3 = (int) SWIG_AsInt(obj2); | |
4984 | if (PyErr_Occurred()) SWIG_fail; | |
4985 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, | |
4986 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
4987 | if (obj4) { |
4988 | arg5 = (int) SWIG_AsInt(obj4); | |
4989 | if (PyErr_Occurred()) SWIG_fail; | |
4990 | } | |
d55e5bfc RD |
4991 | if (obj5) { |
4992 | { | |
4993 | arg6 = &temp6; | |
4994 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
4995 | } | |
4996 | } | |
4997 | if (obj6) { | |
4998 | { | |
4999 | arg7 = &temp7; | |
5000 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
5001 | } | |
5002 | } | |
5003 | if (obj7) { | |
5004 | arg8 = (long) SWIG_AsLong(obj7); | |
5005 | if (PyErr_Occurred()) SWIG_fail; | |
5006 | } | |
5007 | { | |
0439c23b | 5008 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5010 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
5011 | ||
5012 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5013 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
5014 | } |
5015 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); | |
5016 | return resultobj; | |
5017 | fail: | |
5018 | return NULL; | |
5019 | } | |
5020 | ||
5021 | ||
5022 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5023 | PyObject *resultobj; | |
5024 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
5025 | long result; | |
5026 | PyObject * obj0 = 0 ; | |
5027 | char *kwnames[] = { | |
5028 | (char *) "self", NULL | |
5029 | }; | |
5030 | ||
5031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
5032 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, | |
5033 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5034 | { | |
5035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5036 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
5037 | ||
5038 | wxPyEndAllowThreads(__tstate); | |
5039 | if (PyErr_Occurred()) SWIG_fail; | |
5040 | } | |
5041 | resultobj = SWIG_FromLong((long)result); | |
5042 | return resultobj; | |
5043 | fail: | |
5044 | return NULL; | |
5045 | } | |
5046 | ||
5047 | ||
5048 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5049 | PyObject *resultobj; | |
5050 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
5051 | wxSplashScreenWindow *result; | |
5052 | PyObject * obj0 = 0 ; | |
5053 | char *kwnames[] = { | |
5054 | (char *) "self", NULL | |
5055 | }; | |
5056 | ||
5057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
5058 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, | |
5059 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5060 | { | |
5061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5062 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
5063 | ||
5064 | wxPyEndAllowThreads(__tstate); | |
5065 | if (PyErr_Occurred()) SWIG_fail; | |
5066 | } | |
5067 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); | |
5068 | return resultobj; | |
5069 | fail: | |
5070 | return NULL; | |
5071 | } | |
5072 | ||
5073 | ||
5074 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5075 | PyObject *resultobj; | |
5076 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
5077 | int result; | |
5078 | PyObject * obj0 = 0 ; | |
5079 | char *kwnames[] = { | |
5080 | (char *) "self", NULL | |
5081 | }; | |
5082 | ||
5083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
5084 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, | |
5085 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5086 | { | |
5087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5088 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
5089 | ||
5090 | wxPyEndAllowThreads(__tstate); | |
5091 | if (PyErr_Occurred()) SWIG_fail; | |
5092 | } | |
5093 | resultobj = SWIG_FromInt((int)result); | |
5094 | return resultobj; | |
5095 | fail: | |
5096 | return NULL; | |
5097 | } | |
5098 | ||
5099 | ||
5100 | static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) { | |
5101 | PyObject *obj; | |
5102 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5103 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
5104 | Py_INCREF(obj); | |
5105 | return Py_BuildValue((char *)""); | |
5106 | } | |
5107 | static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5108 | PyObject *resultobj; | |
5109 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5110 | int arg2 = (int) -1 ; | |
5111 | long arg3 = (long) wxST_SIZEGRIP ; | |
5112 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; | |
5113 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
5114 | wxStatusBar *result; | |
5115 | bool temp4 = False ; | |
5116 | PyObject * obj0 = 0 ; | |
5117 | PyObject * obj1 = 0 ; | |
5118 | PyObject * obj2 = 0 ; | |
5119 | PyObject * obj3 = 0 ; | |
5120 | char *kwnames[] = { | |
5121 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
5122 | }; | |
5123 | ||
5124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
5125 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
5126 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5127 | if (obj1) { | |
5128 | arg2 = (int) SWIG_AsInt(obj1); | |
5129 | if (PyErr_Occurred()) SWIG_fail; | |
5130 | } | |
5131 | if (obj2) { | |
5132 | arg3 = (long) SWIG_AsLong(obj2); | |
5133 | if (PyErr_Occurred()) SWIG_fail; | |
5134 | } | |
5135 | if (obj3) { | |
5136 | { | |
5137 | arg4 = wxString_in_helper(obj3); | |
5138 | if (arg4 == NULL) SWIG_fail; | |
5139 | temp4 = True; | |
5140 | } | |
5141 | } | |
5142 | { | |
0439c23b | 5143 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5145 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
5146 | ||
5147 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5148 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
5149 | } |
5150 | { | |
412d302d | 5151 | resultobj = wxPyMake_wxObject(result, 1); |
d55e5bfc RD |
5152 | } |
5153 | { | |
5154 | if (temp4) | |
5155 | delete arg4; | |
5156 | } | |
5157 | return resultobj; | |
5158 | fail: | |
5159 | { | |
5160 | if (temp4) | |
5161 | delete arg4; | |
5162 | } | |
5163 | return NULL; | |
5164 | } | |
5165 | ||
5166 | ||
5167 | static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5168 | PyObject *resultobj; | |
5169 | wxStatusBar *result; | |
5170 | char *kwnames[] = { | |
5171 | NULL | |
5172 | }; | |
5173 | ||
5174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
5175 | { | |
0439c23b | 5176 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5178 | result = (wxStatusBar *)new wxStatusBar(); | |
5179 | ||
5180 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5181 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
5182 | } |
5183 | { | |
412d302d | 5184 | resultobj = wxPyMake_wxObject(result, 1); |
d55e5bfc RD |
5185 | } |
5186 | return resultobj; | |
5187 | fail: | |
5188 | return NULL; | |
5189 | } | |
5190 | ||
5191 | ||
5192 | static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5193 | PyObject *resultobj; | |
5194 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5195 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 5196 | int arg3 = (int) -1 ; |
d55e5bfc RD |
5197 | long arg4 = (long) wxST_SIZEGRIP ; |
5198 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
5199 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
5200 | bool result; | |
5201 | bool temp5 = False ; | |
5202 | PyObject * obj0 = 0 ; | |
5203 | PyObject * obj1 = 0 ; | |
5204 | PyObject * obj2 = 0 ; | |
5205 | PyObject * obj3 = 0 ; | |
5206 | PyObject * obj4 = 0 ; | |
5207 | char *kwnames[] = { | |
5208 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
5209 | }; | |
5210 | ||
248ed943 | 5211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d55e5bfc RD |
5212 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5213 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5214 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5215 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
5216 | if (obj2) { |
5217 | arg3 = (int) SWIG_AsInt(obj2); | |
5218 | if (PyErr_Occurred()) SWIG_fail; | |
5219 | } | |
d55e5bfc RD |
5220 | if (obj3) { |
5221 | arg4 = (long) SWIG_AsLong(obj3); | |
5222 | if (PyErr_Occurred()) SWIG_fail; | |
5223 | } | |
5224 | if (obj4) { | |
5225 | { | |
5226 | arg5 = wxString_in_helper(obj4); | |
5227 | if (arg5 == NULL) SWIG_fail; | |
5228 | temp5 = True; | |
5229 | } | |
5230 | } | |
5231 | { | |
5232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5233 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
5234 | ||
5235 | wxPyEndAllowThreads(__tstate); | |
5236 | if (PyErr_Occurred()) SWIG_fail; | |
5237 | } | |
5238 | { | |
5239 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5240 | } | |
5241 | { | |
5242 | if (temp5) | |
5243 | delete arg5; | |
5244 | } | |
5245 | return resultobj; | |
5246 | fail: | |
5247 | { | |
5248 | if (temp5) | |
5249 | delete arg5; | |
5250 | } | |
5251 | return NULL; | |
5252 | } | |
5253 | ||
5254 | ||
5255 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5256 | PyObject *resultobj; | |
5257 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5258 | int arg2 = (int) 1 ; | |
5259 | PyObject * obj0 = 0 ; | |
5260 | PyObject * obj1 = 0 ; | |
5261 | char *kwnames[] = { | |
5262 | (char *) "self",(char *) "number", NULL | |
5263 | }; | |
5264 | ||
5265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; | |
5266 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5267 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5268 | if (obj1) { | |
5269 | arg2 = (int) SWIG_AsInt(obj1); | |
5270 | if (PyErr_Occurred()) SWIG_fail; | |
5271 | } | |
5272 | { | |
5273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5274 | (arg1)->SetFieldsCount(arg2); | |
5275 | ||
5276 | wxPyEndAllowThreads(__tstate); | |
5277 | if (PyErr_Occurred()) SWIG_fail; | |
5278 | } | |
5279 | Py_INCREF(Py_None); resultobj = Py_None; | |
5280 | return resultobj; | |
5281 | fail: | |
5282 | return NULL; | |
5283 | } | |
5284 | ||
5285 | ||
5286 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5287 | PyObject *resultobj; | |
5288 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5289 | int result; | |
5290 | PyObject * obj0 = 0 ; | |
5291 | char *kwnames[] = { | |
5292 | (char *) "self", NULL | |
5293 | }; | |
5294 | ||
5295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
5296 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5297 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5298 | { | |
5299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5300 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
5301 | ||
5302 | wxPyEndAllowThreads(__tstate); | |
5303 | if (PyErr_Occurred()) SWIG_fail; | |
5304 | } | |
5305 | resultobj = SWIG_FromInt((int)result); | |
5306 | return resultobj; | |
5307 | fail: | |
5308 | return NULL; | |
5309 | } | |
5310 | ||
5311 | ||
5312 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5313 | PyObject *resultobj; | |
5314 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5315 | wxString *arg2 = 0 ; | |
5316 | int arg3 = (int) 0 ; | |
5317 | bool temp2 = False ; | |
5318 | PyObject * obj0 = 0 ; | |
5319 | PyObject * obj1 = 0 ; | |
5320 | PyObject * obj2 = 0 ; | |
5321 | char *kwnames[] = { | |
5322 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5323 | }; | |
5324 | ||
5325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5328 | { | |
5329 | arg2 = wxString_in_helper(obj1); | |
5330 | if (arg2 == NULL) SWIG_fail; | |
5331 | temp2 = True; | |
5332 | } | |
5333 | if (obj2) { | |
5334 | arg3 = (int) SWIG_AsInt(obj2); | |
5335 | if (PyErr_Occurred()) SWIG_fail; | |
5336 | } | |
5337 | { | |
5338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5339 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
5340 | ||
5341 | wxPyEndAllowThreads(__tstate); | |
5342 | if (PyErr_Occurred()) SWIG_fail; | |
5343 | } | |
5344 | Py_INCREF(Py_None); resultobj = Py_None; | |
5345 | { | |
5346 | if (temp2) | |
5347 | delete arg2; | |
5348 | } | |
5349 | return resultobj; | |
5350 | fail: | |
5351 | { | |
5352 | if (temp2) | |
5353 | delete arg2; | |
5354 | } | |
5355 | return NULL; | |
5356 | } | |
5357 | ||
5358 | ||
5359 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5360 | PyObject *resultobj; | |
5361 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5362 | int arg2 = (int) 0 ; | |
5363 | wxString result; | |
5364 | PyObject * obj0 = 0 ; | |
5365 | PyObject * obj1 = 0 ; | |
5366 | char *kwnames[] = { | |
5367 | (char *) "self",(char *) "number", NULL | |
5368 | }; | |
5369 | ||
5370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; | |
5371 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5372 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5373 | if (obj1) { | |
5374 | arg2 = (int) SWIG_AsInt(obj1); | |
5375 | if (PyErr_Occurred()) SWIG_fail; | |
5376 | } | |
5377 | { | |
5378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5379 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
5380 | ||
5381 | wxPyEndAllowThreads(__tstate); | |
5382 | if (PyErr_Occurred()) SWIG_fail; | |
5383 | } | |
5384 | { | |
5385 | #if wxUSE_UNICODE | |
5386 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5387 | #else | |
5388 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5389 | #endif | |
5390 | } | |
5391 | return resultobj; | |
5392 | fail: | |
5393 | return NULL; | |
5394 | } | |
5395 | ||
5396 | ||
5397 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5398 | PyObject *resultobj; | |
5399 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5400 | wxString *arg2 = 0 ; | |
5401 | int arg3 = (int) 0 ; | |
5402 | bool temp2 = False ; | |
5403 | PyObject * obj0 = 0 ; | |
5404 | PyObject * obj1 = 0 ; | |
5405 | PyObject * obj2 = 0 ; | |
5406 | char *kwnames[] = { | |
5407 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5408 | }; | |
5409 | ||
5410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5411 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5412 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5413 | { | |
5414 | arg2 = wxString_in_helper(obj1); | |
5415 | if (arg2 == NULL) SWIG_fail; | |
5416 | temp2 = True; | |
5417 | } | |
5418 | if (obj2) { | |
5419 | arg3 = (int) SWIG_AsInt(obj2); | |
5420 | if (PyErr_Occurred()) SWIG_fail; | |
5421 | } | |
5422 | { | |
5423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5424 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5425 | ||
5426 | wxPyEndAllowThreads(__tstate); | |
5427 | if (PyErr_Occurred()) SWIG_fail; | |
5428 | } | |
5429 | Py_INCREF(Py_None); resultobj = Py_None; | |
5430 | { | |
5431 | if (temp2) | |
5432 | delete arg2; | |
5433 | } | |
5434 | return resultobj; | |
5435 | fail: | |
5436 | { | |
5437 | if (temp2) | |
5438 | delete arg2; | |
5439 | } | |
5440 | return NULL; | |
5441 | } | |
5442 | ||
5443 | ||
5444 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5445 | PyObject *resultobj; | |
5446 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5447 | int arg2 = (int) 0 ; | |
5448 | PyObject * obj0 = 0 ; | |
5449 | PyObject * obj1 = 0 ; | |
5450 | char *kwnames[] = { | |
5451 | (char *) "self",(char *) "number", NULL | |
5452 | }; | |
5453 | ||
5454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; | |
5455 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5456 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5457 | if (obj1) { | |
5458 | arg2 = (int) SWIG_AsInt(obj1); | |
5459 | if (PyErr_Occurred()) SWIG_fail; | |
5460 | } | |
5461 | { | |
5462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5463 | (arg1)->PopStatusText(arg2); | |
5464 | ||
5465 | wxPyEndAllowThreads(__tstate); | |
5466 | if (PyErr_Occurred()) SWIG_fail; | |
5467 | } | |
5468 | Py_INCREF(Py_None); resultobj = Py_None; | |
5469 | return resultobj; | |
5470 | fail: | |
5471 | return NULL; | |
5472 | } | |
5473 | ||
5474 | ||
5475 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5476 | PyObject *resultobj; | |
5477 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5478 | int arg2 ; | |
5479 | int *arg3 = (int *) 0 ; | |
5480 | PyObject * obj0 = 0 ; | |
5481 | PyObject * obj1 = 0 ; | |
5482 | char *kwnames[] = { | |
5483 | (char *) "self",(char *) "widths", NULL | |
5484 | }; | |
5485 | ||
5486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
5487 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5488 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5489 | { | |
5490 | arg2 = PyList_Size(obj1); | |
5491 | arg3 = int_LIST_helper(obj1); | |
5492 | if (arg3 == NULL) SWIG_fail; | |
5493 | } | |
5494 | { | |
5495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5496 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5497 | ||
5498 | wxPyEndAllowThreads(__tstate); | |
5499 | if (PyErr_Occurred()) SWIG_fail; | |
5500 | } | |
5501 | Py_INCREF(Py_None); resultobj = Py_None; | |
5502 | { | |
5503 | if (arg3) delete [] arg3; | |
5504 | } | |
5505 | return resultobj; | |
5506 | fail: | |
5507 | { | |
5508 | if (arg3) delete [] arg3; | |
5509 | } | |
5510 | return NULL; | |
5511 | } | |
5512 | ||
5513 | ||
5514 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5515 | PyObject *resultobj; | |
5516 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5517 | int arg2 ; | |
5518 | wxRect result; | |
5519 | PyObject * obj0 = 0 ; | |
5520 | PyObject * obj1 = 0 ; | |
5521 | char *kwnames[] = { | |
5522 | (char *) "self",(char *) "i", NULL | |
5523 | }; | |
5524 | ||
5525 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; | |
5526 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5527 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5528 | arg2 = (int) SWIG_AsInt(obj1); | |
5529 | if (PyErr_Occurred()) SWIG_fail; | |
5530 | { | |
5531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5532 | result = wxStatusBar_GetFieldRect(arg1,arg2); | |
5533 | ||
5534 | wxPyEndAllowThreads(__tstate); | |
5535 | if (PyErr_Occurred()) SWIG_fail; | |
5536 | } | |
5537 | { | |
5538 | wxRect * resultptr; | |
5539 | resultptr = new wxRect((wxRect &) result); | |
5540 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); | |
5541 | } | |
5542 | return resultobj; | |
5543 | fail: | |
5544 | return NULL; | |
5545 | } | |
5546 | ||
5547 | ||
5548 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5549 | PyObject *resultobj; | |
5550 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5551 | int arg2 ; | |
5552 | PyObject * obj0 = 0 ; | |
5553 | PyObject * obj1 = 0 ; | |
5554 | char *kwnames[] = { | |
5555 | (char *) "self",(char *) "height", NULL | |
5556 | }; | |
5557 | ||
5558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; | |
5559 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5560 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5561 | arg2 = (int) SWIG_AsInt(obj1); | |
5562 | if (PyErr_Occurred()) SWIG_fail; | |
5563 | { | |
5564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5565 | (arg1)->SetMinHeight(arg2); | |
5566 | ||
5567 | wxPyEndAllowThreads(__tstate); | |
5568 | if (PyErr_Occurred()) SWIG_fail; | |
5569 | } | |
5570 | Py_INCREF(Py_None); resultobj = Py_None; | |
5571 | return resultobj; | |
5572 | fail: | |
5573 | return NULL; | |
5574 | } | |
5575 | ||
5576 | ||
5577 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5578 | PyObject *resultobj; | |
5579 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5580 | int result; | |
5581 | PyObject * obj0 = 0 ; | |
5582 | char *kwnames[] = { | |
5583 | (char *) "self", NULL | |
5584 | }; | |
5585 | ||
5586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
5587 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5588 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5589 | { | |
5590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5591 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
5592 | ||
5593 | wxPyEndAllowThreads(__tstate); | |
5594 | if (PyErr_Occurred()) SWIG_fail; | |
5595 | } | |
5596 | resultobj = SWIG_FromInt((int)result); | |
5597 | return resultobj; | |
5598 | fail: | |
5599 | return NULL; | |
5600 | } | |
5601 | ||
5602 | ||
5603 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5604 | PyObject *resultobj; | |
5605 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5606 | int result; | |
5607 | PyObject * obj0 = 0 ; | |
5608 | char *kwnames[] = { | |
5609 | (char *) "self", NULL | |
5610 | }; | |
5611 | ||
5612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
5613 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5615 | { | |
5616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5617 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
5618 | ||
5619 | wxPyEndAllowThreads(__tstate); | |
5620 | if (PyErr_Occurred()) SWIG_fail; | |
5621 | } | |
5622 | resultobj = SWIG_FromInt((int)result); | |
5623 | return resultobj; | |
5624 | fail: | |
5625 | return NULL; | |
5626 | } | |
5627 | ||
5628 | ||
f20a2e1f RD |
5629 | static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
5630 | PyObject *resultobj; | |
5631 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
5632 | wxVisualAttributes result; | |
5633 | PyObject * obj0 = 0 ; | |
5634 | char *kwnames[] = { | |
5635 | (char *) "variant", NULL | |
5636 | }; | |
5637 | ||
5638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
5639 | if (obj0) { | |
5640 | arg1 = (wxWindowVariant) SWIG_AsInt(obj0); | |
5641 | if (PyErr_Occurred()) SWIG_fail; | |
5642 | } | |
5643 | { | |
0439c23b | 5644 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
5645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5646 | result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
5647 | ||
5648 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5649 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
5650 | } |
5651 | { | |
5652 | wxVisualAttributes * resultptr; | |
5653 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
5654 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
5655 | } | |
5656 | return resultobj; | |
5657 | fail: | |
5658 | return NULL; | |
5659 | } | |
5660 | ||
5661 | ||
d55e5bfc RD |
5662 | static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) { |
5663 | PyObject *obj; | |
5664 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5665 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
5666 | Py_INCREF(obj); | |
5667 | return Py_BuildValue((char *)""); | |
5668 | } | |
5669 | static int _wrap_SplitterNameStr_set(PyObject *_val) { | |
5670 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); | |
5671 | return 1; | |
5672 | } | |
5673 | ||
5674 | ||
5675 | static PyObject *_wrap_SplitterNameStr_get() { | |
5676 | PyObject *pyobj; | |
5677 | ||
5678 | { | |
5679 | #if wxUSE_UNICODE | |
5680 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5681 | #else | |
5682 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5683 | #endif | |
5684 | } | |
5685 | return pyobj; | |
5686 | } | |
5687 | ||
5688 | ||
5689 | static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5690 | PyObject *resultobj; | |
5691 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5692 | int arg2 = (int) -1 ; | |
5693 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
5694 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5695 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5696 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5697 | long arg5 = (long) wxSP_3D ; | |
5698 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
5699 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5700 | wxSplitterWindow *result; | |
5701 | wxPoint temp3 ; | |
5702 | wxSize temp4 ; | |
5703 | bool temp6 = False ; | |
5704 | PyObject * obj0 = 0 ; | |
5705 | PyObject * obj1 = 0 ; | |
5706 | PyObject * obj2 = 0 ; | |
5707 | PyObject * obj3 = 0 ; | |
5708 | PyObject * obj4 = 0 ; | |
5709 | PyObject * obj5 = 0 ; | |
5710 | char *kwnames[] = { | |
5711 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5712 | }; | |
5713 | ||
5714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
5715 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
5716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5717 | if (obj1) { | |
5718 | arg2 = (int) SWIG_AsInt(obj1); | |
5719 | if (PyErr_Occurred()) SWIG_fail; | |
5720 | } | |
5721 | if (obj2) { | |
5722 | { | |
5723 | arg3 = &temp3; | |
5724 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5725 | } | |
5726 | } | |
5727 | if (obj3) { | |
5728 | { | |
5729 | arg4 = &temp4; | |
5730 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5731 | } | |
5732 | } | |
5733 | if (obj4) { | |
5734 | arg5 = (long) SWIG_AsLong(obj4); | |
5735 | if (PyErr_Occurred()) SWIG_fail; | |
5736 | } | |
5737 | if (obj5) { | |
5738 | { | |
5739 | arg6 = wxString_in_helper(obj5); | |
5740 | if (arg6 == NULL) SWIG_fail; | |
5741 | temp6 = True; | |
5742 | } | |
5743 | } | |
5744 | { | |
0439c23b | 5745 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5747 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5748 | ||
5749 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5750 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
5751 | } |
5752 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); | |
5753 | { | |
5754 | if (temp6) | |
5755 | delete arg6; | |
5756 | } | |
5757 | return resultobj; | |
5758 | fail: | |
5759 | { | |
5760 | if (temp6) | |
5761 | delete arg6; | |
5762 | } | |
5763 | return NULL; | |
5764 | } | |
5765 | ||
5766 | ||
5767 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5768 | PyObject *resultobj; | |
5769 | wxSplitterWindow *result; | |
5770 | char *kwnames[] = { | |
5771 | NULL | |
5772 | }; | |
5773 | ||
5774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
5775 | { | |
0439c23b | 5776 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5778 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
5779 | ||
5780 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5781 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
5782 | } |
5783 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); | |
5784 | return resultobj; | |
5785 | fail: | |
5786 | return NULL; | |
5787 | } | |
5788 | ||
5789 | ||
5790 | static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5791 | PyObject *resultobj; | |
5792 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5793 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5794 | int arg3 = (int) -1 ; | |
5795 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
5796 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5797 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5798 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5799 | long arg6 = (long) wxSP_3D ; | |
5800 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
5801 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5802 | bool result; | |
5803 | wxPoint temp4 ; | |
5804 | wxSize temp5 ; | |
5805 | bool temp7 = False ; | |
5806 | PyObject * obj0 = 0 ; | |
5807 | PyObject * obj1 = 0 ; | |
5808 | PyObject * obj2 = 0 ; | |
5809 | PyObject * obj3 = 0 ; | |
5810 | PyObject * obj4 = 0 ; | |
5811 | PyObject * obj5 = 0 ; | |
5812 | PyObject * obj6 = 0 ; | |
5813 | char *kwnames[] = { | |
5814 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5815 | }; | |
5816 | ||
5817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
5818 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
5819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5820 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5821 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5822 | if (obj2) { | |
5823 | arg3 = (int) SWIG_AsInt(obj2); | |
5824 | if (PyErr_Occurred()) SWIG_fail; | |
5825 | } | |
5826 | if (obj3) { | |
5827 | { | |
5828 | arg4 = &temp4; | |
5829 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5830 | } | |
5831 | } | |
5832 | if (obj4) { | |
5833 | { | |
5834 | arg5 = &temp5; | |
5835 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5836 | } | |
5837 | } | |
5838 | if (obj5) { | |
5839 | arg6 = (long) SWIG_AsLong(obj5); | |
5840 | if (PyErr_Occurred()) SWIG_fail; | |
5841 | } | |
5842 | if (obj6) { | |
5843 | { | |
5844 | arg7 = wxString_in_helper(obj6); | |
5845 | if (arg7 == NULL) SWIG_fail; | |
5846 | temp7 = True; | |
5847 | } | |
5848 | } | |
5849 | { | |
5850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5851 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5852 | ||
5853 | wxPyEndAllowThreads(__tstate); | |
5854 | if (PyErr_Occurred()) SWIG_fail; | |
5855 | } | |
5856 | { | |
5857 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5858 | } | |
5859 | { | |
5860 | if (temp7) | |
5861 | delete arg7; | |
5862 | } | |
5863 | return resultobj; | |
5864 | fail: | |
5865 | { | |
5866 | if (temp7) | |
5867 | delete arg7; | |
5868 | } | |
5869 | return NULL; | |
5870 | } | |
5871 | ||
5872 | ||
5873 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5874 | PyObject *resultobj; | |
5875 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5876 | wxWindow *result; | |
5877 | PyObject * obj0 = 0 ; | |
5878 | char *kwnames[] = { | |
5879 | (char *) "self", NULL | |
5880 | }; | |
5881 | ||
5882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
5883 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
5884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5885 | { | |
5886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5887 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
5888 | ||
5889 | wxPyEndAllowThreads(__tstate); | |
5890 | if (PyErr_Occurred()) SWIG_fail; | |
5891 | } | |
5892 | { | |
412d302d | 5893 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5894 | } |
5895 | return resultobj; | |
5896 | fail: | |
5897 | return NULL; | |
5898 | } | |
5899 | ||
5900 | ||
5901 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5902 | PyObject *resultobj; | |
5903 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5904 | wxWindow *result; | |
5905 | PyObject * obj0 = 0 ; | |
5906 | char *kwnames[] = { | |
5907 | (char *) "self", NULL | |
5908 | }; | |
5909 | ||
5910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
5911 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
5912 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5913 | { | |
5914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5915 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
5916 | ||
5917 | wxPyEndAllowThreads(__tstate); | |
5918 | if (PyErr_Occurred()) SWIG_fail; | |
5919 | } | |
5920 | { | |
412d302d | 5921 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5922 | } |
5923 | return resultobj; | |
5924 | fail: | |
5925 | return NULL; | |
5926 | } | |
5927 | ||
5928 | ||
5929 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5930 | PyObject *resultobj; | |
5931 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5932 | int arg2 ; | |
5933 | PyObject * obj0 = 0 ; | |
5934 | PyObject * obj1 = 0 ; | |
5935 | char *kwnames[] = { | |
5936 | (char *) "self",(char *) "mode", NULL | |
5937 | }; | |
5938 | ||
5939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; | |
5940 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
5941 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5942 | arg2 = (int) SWIG_AsInt(obj1); | |
5943 | if (PyErr_Occurred()) SWIG_fail; | |
5944 | { | |
5945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5946 | (arg1)->SetSplitMode(arg2); | |
5947 | ||
5948 | wxPyEndAllowThreads(__tstate); | |
5949 | if (PyErr_Occurred()) SWIG_fail; | |
5950 | } | |
5951 | Py_INCREF(Py_None); resultobj = Py_None; | |
5952 | return resultobj; | |
5953 | fail: | |
5954 | return NULL; | |
5955 | } | |
5956 | ||
5957 | ||
5958 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5959 | PyObject *resultobj; | |
5960 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5961 | int result; | |
5962 | PyObject * obj0 = 0 ; | |
5963 | char *kwnames[] = { | |
5964 | (char *) "self", NULL | |
5965 | }; | |
5966 | ||
5967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
5968 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
5969 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5970 | { | |
5971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5972 | result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode(); | |
5973 | ||
5974 | wxPyEndAllowThreads(__tstate); | |
5975 | if (PyErr_Occurred()) SWIG_fail; | |
5976 | } | |
5977 | resultobj = SWIG_FromInt((int)result); | |
5978 | return resultobj; | |
5979 | fail: | |
5980 | return NULL; | |
5981 | } | |
5982 | ||
5983 | ||
5984 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5985 | PyObject *resultobj; | |
5986 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5987 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5988 | PyObject * obj0 = 0 ; | |
5989 | PyObject * obj1 = 0 ; | |
5990 | char *kwnames[] = { | |
5991 | (char *) "self",(char *) "window", NULL | |
5992 | }; | |
5993 | ||
5994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
5995 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
5996 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5997 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5998 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5999 | { | |
6000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6001 | (arg1)->Initialize(arg2); | |
6002 | ||
6003 | wxPyEndAllowThreads(__tstate); | |
6004 | if (PyErr_Occurred()) SWIG_fail; | |
6005 | } | |
6006 | Py_INCREF(Py_None); resultobj = Py_None; | |
6007 | return resultobj; | |
6008 | fail: | |
6009 | return NULL; | |
6010 | } | |
6011 | ||
6012 | ||
6013 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6014 | PyObject *resultobj; | |
6015 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6016 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6017 | wxWindow *arg3 = (wxWindow *) 0 ; | |
6018 | int arg4 = (int) 0 ; | |
6019 | bool result; | |
6020 | PyObject * obj0 = 0 ; | |
6021 | PyObject * obj1 = 0 ; | |
6022 | PyObject * obj2 = 0 ; | |
6023 | PyObject * obj3 = 0 ; | |
6024 | char *kwnames[] = { | |
6025 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
6026 | }; | |
6027 | ||
6028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6029 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6030 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6031 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6032 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6033 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
6034 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6035 | if (obj3) { | |
6036 | arg4 = (int) SWIG_AsInt(obj3); | |
6037 | if (PyErr_Occurred()) SWIG_fail; | |
6038 | } | |
6039 | { | |
6040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6041 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
6042 | ||
6043 | wxPyEndAllowThreads(__tstate); | |
6044 | if (PyErr_Occurred()) SWIG_fail; | |
6045 | } | |
6046 | { | |
6047 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6048 | } | |
6049 | return resultobj; | |
6050 | fail: | |
6051 | return NULL; | |
6052 | } | |
6053 | ||
6054 | ||
6055 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6056 | PyObject *resultobj; | |
6057 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6058 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6059 | wxWindow *arg3 = (wxWindow *) 0 ; | |
6060 | int arg4 = (int) 0 ; | |
6061 | bool result; | |
6062 | PyObject * obj0 = 0 ; | |
6063 | PyObject * obj1 = 0 ; | |
6064 | PyObject * obj2 = 0 ; | |
6065 | PyObject * obj3 = 0 ; | |
6066 | char *kwnames[] = { | |
6067 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
6068 | }; | |
6069 | ||
6070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6071 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6072 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6073 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6074 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6075 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
6076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6077 | if (obj3) { | |
6078 | arg4 = (int) SWIG_AsInt(obj3); | |
6079 | if (PyErr_Occurred()) SWIG_fail; | |
6080 | } | |
6081 | { | |
6082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6083 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
6084 | ||
6085 | wxPyEndAllowThreads(__tstate); | |
6086 | if (PyErr_Occurred()) SWIG_fail; | |
6087 | } | |
6088 | { | |
6089 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6090 | } | |
6091 | return resultobj; | |
6092 | fail: | |
6093 | return NULL; | |
6094 | } | |
6095 | ||
6096 | ||
6097 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6098 | PyObject *resultobj; | |
6099 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6100 | wxWindow *arg2 = (wxWindow *) NULL ; | |
6101 | bool result; | |
6102 | PyObject * obj0 = 0 ; | |
6103 | PyObject * obj1 = 0 ; | |
6104 | char *kwnames[] = { | |
6105 | (char *) "self",(char *) "toRemove", NULL | |
6106 | }; | |
6107 | ||
6108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
6109 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6110 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6111 | if (obj1) { | |
6112 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6113 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6114 | } | |
6115 | { | |
6116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6117 | result = (bool)(arg1)->Unsplit(arg2); | |
6118 | ||
6119 | wxPyEndAllowThreads(__tstate); | |
6120 | if (PyErr_Occurred()) SWIG_fail; | |
6121 | } | |
6122 | { | |
6123 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6124 | } | |
6125 | return resultobj; | |
6126 | fail: | |
6127 | return NULL; | |
6128 | } | |
6129 | ||
6130 | ||
6131 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6132 | PyObject *resultobj; | |
6133 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6134 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6135 | wxWindow *arg3 = (wxWindow *) 0 ; | |
6136 | bool result; | |
6137 | PyObject * obj0 = 0 ; | |
6138 | PyObject * obj1 = 0 ; | |
6139 | PyObject * obj2 = 0 ; | |
6140 | char *kwnames[] = { | |
6141 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
6142 | }; | |
6143 | ||
6144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6145 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6146 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6147 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6149 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
6150 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6151 | { | |
6152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6153 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
6154 | ||
6155 | wxPyEndAllowThreads(__tstate); | |
6156 | if (PyErr_Occurred()) SWIG_fail; | |
6157 | } | |
6158 | { | |
6159 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6160 | } | |
6161 | return resultobj; | |
6162 | fail: | |
6163 | return NULL; | |
6164 | } | |
6165 | ||
6166 | ||
6167 | static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6168 | PyObject *resultobj; | |
6169 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6170 | PyObject * obj0 = 0 ; | |
6171 | char *kwnames[] = { | |
6172 | (char *) "self", NULL | |
6173 | }; | |
6174 | ||
6175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail; | |
6176 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6177 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6178 | { | |
6179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6180 | (arg1)->UpdateSize(); | |
6181 | ||
6182 | wxPyEndAllowThreads(__tstate); | |
6183 | if (PyErr_Occurred()) SWIG_fail; | |
6184 | } | |
6185 | Py_INCREF(Py_None); resultobj = Py_None; | |
6186 | return resultobj; | |
6187 | fail: | |
6188 | return NULL; | |
6189 | } | |
6190 | ||
6191 | ||
6192 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6193 | PyObject *resultobj; | |
6194 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6195 | bool result; | |
6196 | PyObject * obj0 = 0 ; | |
6197 | char *kwnames[] = { | |
6198 | (char *) "self", NULL | |
6199 | }; | |
6200 | ||
6201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
6202 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6203 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6204 | { | |
6205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6206 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
6207 | ||
6208 | wxPyEndAllowThreads(__tstate); | |
6209 | if (PyErr_Occurred()) SWIG_fail; | |
6210 | } | |
6211 | { | |
6212 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6213 | } | |
6214 | return resultobj; | |
6215 | fail: | |
6216 | return NULL; | |
6217 | } | |
6218 | ||
6219 | ||
6220 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6221 | PyObject *resultobj; | |
6222 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6223 | int arg2 ; | |
6224 | PyObject * obj0 = 0 ; | |
6225 | PyObject * obj1 = 0 ; | |
6226 | char *kwnames[] = { | |
6227 | (char *) "self",(char *) "width", NULL | |
6228 | }; | |
6229 | ||
6230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; | |
6231 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6232 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6233 | arg2 = (int) SWIG_AsInt(obj1); | |
6234 | if (PyErr_Occurred()) SWIG_fail; | |
6235 | { | |
6236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6237 | (arg1)->SetSashSize(arg2); | |
6238 | ||
6239 | wxPyEndAllowThreads(__tstate); | |
6240 | if (PyErr_Occurred()) SWIG_fail; | |
6241 | } | |
6242 | Py_INCREF(Py_None); resultobj = Py_None; | |
6243 | return resultobj; | |
6244 | fail: | |
6245 | return NULL; | |
6246 | } | |
6247 | ||
6248 | ||
6249 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6250 | PyObject *resultobj; | |
6251 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6252 | int arg2 ; | |
6253 | PyObject * obj0 = 0 ; | |
6254 | PyObject * obj1 = 0 ; | |
6255 | char *kwnames[] = { | |
6256 | (char *) "self",(char *) "width", NULL | |
6257 | }; | |
6258 | ||
6259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
6260 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6261 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6262 | arg2 = (int) SWIG_AsInt(obj1); | |
6263 | if (PyErr_Occurred()) SWIG_fail; | |
6264 | { | |
6265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6266 | (arg1)->SetBorderSize(arg2); | |
6267 | ||
6268 | wxPyEndAllowThreads(__tstate); | |
6269 | if (PyErr_Occurred()) SWIG_fail; | |
6270 | } | |
6271 | Py_INCREF(Py_None); resultobj = Py_None; | |
6272 | return resultobj; | |
6273 | fail: | |
6274 | return NULL; | |
6275 | } | |
6276 | ||
6277 | ||
6278 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6279 | PyObject *resultobj; | |
6280 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6281 | int result; | |
6282 | PyObject * obj0 = 0 ; | |
6283 | char *kwnames[] = { | |
6284 | (char *) "self", NULL | |
6285 | }; | |
6286 | ||
6287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
6288 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6289 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6290 | { | |
6291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6292 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
6293 | ||
6294 | wxPyEndAllowThreads(__tstate); | |
6295 | if (PyErr_Occurred()) SWIG_fail; | |
6296 | } | |
6297 | resultobj = SWIG_FromInt((int)result); | |
6298 | return resultobj; | |
6299 | fail: | |
6300 | return NULL; | |
6301 | } | |
6302 | ||
6303 | ||
6304 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6305 | PyObject *resultobj; | |
6306 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6307 | int result; | |
6308 | PyObject * obj0 = 0 ; | |
6309 | char *kwnames[] = { | |
6310 | (char *) "self", NULL | |
6311 | }; | |
6312 | ||
6313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
6314 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6315 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6316 | { | |
6317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6318 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
6319 | ||
6320 | wxPyEndAllowThreads(__tstate); | |
6321 | if (PyErr_Occurred()) SWIG_fail; | |
6322 | } | |
6323 | resultobj = SWIG_FromInt((int)result); | |
6324 | return resultobj; | |
6325 | fail: | |
6326 | return NULL; | |
6327 | } | |
6328 | ||
6329 | ||
6330 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6331 | PyObject *resultobj; | |
6332 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6333 | int arg2 ; | |
6334 | bool arg3 = (bool) True ; | |
6335 | PyObject * obj0 = 0 ; | |
6336 | PyObject * obj1 = 0 ; | |
6337 | PyObject * obj2 = 0 ; | |
6338 | char *kwnames[] = { | |
6339 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
6340 | }; | |
6341 | ||
6342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6343 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6344 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6345 | arg2 = (int) SWIG_AsInt(obj1); | |
6346 | if (PyErr_Occurred()) SWIG_fail; | |
6347 | if (obj2) { | |
6348 | arg3 = (bool) SWIG_AsBool(obj2); | |
6349 | if (PyErr_Occurred()) SWIG_fail; | |
6350 | } | |
6351 | { | |
6352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6353 | (arg1)->SetSashPosition(arg2,arg3); | |
6354 | ||
6355 | wxPyEndAllowThreads(__tstate); | |
6356 | if (PyErr_Occurred()) SWIG_fail; | |
6357 | } | |
6358 | Py_INCREF(Py_None); resultobj = Py_None; | |
6359 | return resultobj; | |
6360 | fail: | |
6361 | return NULL; | |
6362 | } | |
6363 | ||
6364 | ||
6365 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6366 | PyObject *resultobj; | |
6367 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6368 | int result; | |
6369 | PyObject * obj0 = 0 ; | |
6370 | char *kwnames[] = { | |
6371 | (char *) "self", NULL | |
6372 | }; | |
6373 | ||
6374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
6375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6377 | { | |
6378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6379 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
6380 | ||
6381 | wxPyEndAllowThreads(__tstate); | |
6382 | if (PyErr_Occurred()) SWIG_fail; | |
6383 | } | |
6384 | resultobj = SWIG_FromInt((int)result); | |
6385 | return resultobj; | |
6386 | fail: | |
6387 | return NULL; | |
6388 | } | |
6389 | ||
6390 | ||
6391 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6392 | PyObject *resultobj; | |
6393 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6394 | int arg2 ; | |
6395 | PyObject * obj0 = 0 ; | |
6396 | PyObject * obj1 = 0 ; | |
6397 | char *kwnames[] = { | |
6398 | (char *) "self",(char *) "min", NULL | |
6399 | }; | |
6400 | ||
6401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; | |
6402 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6403 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6404 | arg2 = (int) SWIG_AsInt(obj1); | |
6405 | if (PyErr_Occurred()) SWIG_fail; | |
6406 | { | |
6407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6408 | (arg1)->SetMinimumPaneSize(arg2); | |
6409 | ||
6410 | wxPyEndAllowThreads(__tstate); | |
6411 | if (PyErr_Occurred()) SWIG_fail; | |
6412 | } | |
6413 | Py_INCREF(Py_None); resultobj = Py_None; | |
6414 | return resultobj; | |
6415 | fail: | |
6416 | return NULL; | |
6417 | } | |
6418 | ||
6419 | ||
6420 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6421 | PyObject *resultobj; | |
6422 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6423 | int result; | |
6424 | PyObject * obj0 = 0 ; | |
6425 | char *kwnames[] = { | |
6426 | (char *) "self", NULL | |
6427 | }; | |
6428 | ||
6429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
6430 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6431 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6432 | { | |
6433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6434 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
6435 | ||
6436 | wxPyEndAllowThreads(__tstate); | |
6437 | if (PyErr_Occurred()) SWIG_fail; | |
6438 | } | |
6439 | resultobj = SWIG_FromInt((int)result); | |
6440 | return resultobj; | |
6441 | fail: | |
6442 | return NULL; | |
6443 | } | |
6444 | ||
6445 | ||
6446 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6447 | PyObject *resultobj; | |
6448 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6449 | int arg2 ; | |
6450 | int arg3 ; | |
6451 | int arg4 = (int) 5 ; | |
6452 | bool result; | |
6453 | PyObject * obj0 = 0 ; | |
6454 | PyObject * obj1 = 0 ; | |
6455 | PyObject * obj2 = 0 ; | |
6456 | PyObject * obj3 = 0 ; | |
6457 | char *kwnames[] = { | |
6458 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
6459 | }; | |
6460 | ||
6461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6462 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6463 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6464 | arg2 = (int) SWIG_AsInt(obj1); | |
6465 | if (PyErr_Occurred()) SWIG_fail; | |
6466 | arg3 = (int) SWIG_AsInt(obj2); | |
6467 | if (PyErr_Occurred()) SWIG_fail; | |
6468 | if (obj3) { | |
6469 | arg4 = (int) SWIG_AsInt(obj3); | |
6470 | if (PyErr_Occurred()) SWIG_fail; | |
6471 | } | |
6472 | { | |
6473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6474 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
6475 | ||
6476 | wxPyEndAllowThreads(__tstate); | |
6477 | if (PyErr_Occurred()) SWIG_fail; | |
6478 | } | |
6479 | { | |
6480 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6481 | } | |
6482 | return resultobj; | |
6483 | fail: | |
6484 | return NULL; | |
6485 | } | |
6486 | ||
6487 | ||
6488 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6489 | PyObject *resultobj; | |
6490 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6491 | PyObject * obj0 = 0 ; | |
6492 | char *kwnames[] = { | |
6493 | (char *) "self", NULL | |
6494 | }; | |
6495 | ||
6496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
6497 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6498 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6499 | { | |
6500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6501 | (arg1)->SizeWindows(); | |
6502 | ||
6503 | wxPyEndAllowThreads(__tstate); | |
6504 | if (PyErr_Occurred()) SWIG_fail; | |
6505 | } | |
6506 | Py_INCREF(Py_None); resultobj = Py_None; | |
6507 | return resultobj; | |
6508 | fail: | |
6509 | return NULL; | |
6510 | } | |
6511 | ||
6512 | ||
6513 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6514 | PyObject *resultobj; | |
6515 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6516 | bool arg2 ; | |
6517 | PyObject * obj0 = 0 ; | |
6518 | PyObject * obj1 = 0 ; | |
6519 | char *kwnames[] = { | |
6520 | (char *) "self",(char *) "needUpdating", NULL | |
6521 | }; | |
6522 | ||
6523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
6524 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6525 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6526 | arg2 = (bool) SWIG_AsBool(obj1); | |
6527 | if (PyErr_Occurred()) SWIG_fail; | |
6528 | { | |
6529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6530 | (arg1)->SetNeedUpdating(arg2); | |
6531 | ||
6532 | wxPyEndAllowThreads(__tstate); | |
6533 | if (PyErr_Occurred()) SWIG_fail; | |
6534 | } | |
6535 | Py_INCREF(Py_None); resultobj = Py_None; | |
6536 | return resultobj; | |
6537 | fail: | |
6538 | return NULL; | |
6539 | } | |
6540 | ||
6541 | ||
6542 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6543 | PyObject *resultobj; | |
6544 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6545 | bool result; | |
6546 | PyObject * obj0 = 0 ; | |
6547 | char *kwnames[] = { | |
6548 | (char *) "self", NULL | |
6549 | }; | |
6550 | ||
6551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
6552 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6554 | { | |
6555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6556 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
6557 | ||
6558 | wxPyEndAllowThreads(__tstate); | |
6559 | if (PyErr_Occurred()) SWIG_fail; | |
6560 | } | |
6561 | { | |
6562 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6563 | } | |
6564 | return resultobj; | |
6565 | fail: | |
6566 | return NULL; | |
6567 | } | |
6568 | ||
6569 | ||
f20a2e1f RD |
6570 | static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
6571 | PyObject *resultobj; | |
6572 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
6573 | wxVisualAttributes result; | |
6574 | PyObject * obj0 = 0 ; | |
6575 | char *kwnames[] = { | |
6576 | (char *) "variant", NULL | |
6577 | }; | |
6578 | ||
6579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
6580 | if (obj0) { | |
6581 | arg1 = (wxWindowVariant) SWIG_AsInt(obj0); | |
6582 | if (PyErr_Occurred()) SWIG_fail; | |
6583 | } | |
6584 | { | |
0439c23b | 6585 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
6586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6587 | result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
6588 | ||
6589 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6590 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
6591 | } |
6592 | { | |
6593 | wxVisualAttributes * resultptr; | |
6594 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
6595 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
6596 | } | |
6597 | return resultobj; | |
6598 | fail: | |
6599 | return NULL; | |
6600 | } | |
6601 | ||
6602 | ||
d55e5bfc RD |
6603 | static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) { |
6604 | PyObject *obj; | |
6605 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6606 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
6607 | Py_INCREF(obj); | |
6608 | return Py_BuildValue((char *)""); | |
6609 | } | |
6610 | static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6611 | PyObject *resultobj; | |
6612 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
6613 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
6614 | wxSplitterEvent *result; | |
6615 | PyObject * obj0 = 0 ; | |
6616 | PyObject * obj1 = 0 ; | |
6617 | char *kwnames[] = { | |
6618 | (char *) "type",(char *) "splitter", NULL | |
6619 | }; | |
6620 | ||
6621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; | |
6622 | if (obj0) { | |
6623 | arg1 = (wxEventType) SWIG_AsInt(obj0); | |
6624 | if (PyErr_Occurred()) SWIG_fail; | |
6625 | } | |
6626 | if (obj1) { | |
6627 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow, | |
6628 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6629 | } | |
6630 | { | |
6631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6632 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
6633 | ||
6634 | wxPyEndAllowThreads(__tstate); | |
6635 | if (PyErr_Occurred()) SWIG_fail; | |
6636 | } | |
6637 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); | |
6638 | return resultobj; | |
6639 | fail: | |
6640 | return NULL; | |
6641 | } | |
6642 | ||
6643 | ||
6644 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6645 | PyObject *resultobj; | |
6646 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6647 | int arg2 ; | |
6648 | PyObject * obj0 = 0 ; | |
6649 | PyObject * obj1 = 0 ; | |
6650 | char *kwnames[] = { | |
6651 | (char *) "self",(char *) "pos", NULL | |
6652 | }; | |
6653 | ||
6654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; | |
6655 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, | |
6656 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6657 | arg2 = (int) SWIG_AsInt(obj1); | |
6658 | if (PyErr_Occurred()) SWIG_fail; | |
6659 | { | |
6660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6661 | (arg1)->SetSashPosition(arg2); | |
6662 | ||
6663 | wxPyEndAllowThreads(__tstate); | |
6664 | if (PyErr_Occurred()) SWIG_fail; | |
6665 | } | |
6666 | Py_INCREF(Py_None); resultobj = Py_None; | |
6667 | return resultobj; | |
6668 | fail: | |
6669 | return NULL; | |
6670 | } | |
6671 | ||
6672 | ||
6673 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6674 | PyObject *resultobj; | |
6675 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6676 | int result; | |
6677 | PyObject * obj0 = 0 ; | |
6678 | char *kwnames[] = { | |
6679 | (char *) "self", NULL | |
6680 | }; | |
6681 | ||
6682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
6683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, | |
6684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6685 | { | |
6686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6687 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
6688 | ||
6689 | wxPyEndAllowThreads(__tstate); | |
6690 | if (PyErr_Occurred()) SWIG_fail; | |
6691 | } | |
6692 | resultobj = SWIG_FromInt((int)result); | |
6693 | return resultobj; | |
6694 | fail: | |
6695 | return NULL; | |
6696 | } | |
6697 | ||
6698 | ||
6699 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6700 | PyObject *resultobj; | |
6701 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6702 | wxWindow *result; | |
6703 | PyObject * obj0 = 0 ; | |
6704 | char *kwnames[] = { | |
6705 | (char *) "self", NULL | |
6706 | }; | |
6707 | ||
6708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
6709 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, | |
6710 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6711 | { | |
6712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6713 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
6714 | ||
6715 | wxPyEndAllowThreads(__tstate); | |
6716 | if (PyErr_Occurred()) SWIG_fail; | |
6717 | } | |
6718 | { | |
412d302d | 6719 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
6720 | } |
6721 | return resultobj; | |
6722 | fail: | |
6723 | return NULL; | |
6724 | } | |
6725 | ||
6726 | ||
6727 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6728 | PyObject *resultobj; | |
6729 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6730 | int result; | |
6731 | PyObject * obj0 = 0 ; | |
6732 | char *kwnames[] = { | |
6733 | (char *) "self", NULL | |
6734 | }; | |
6735 | ||
6736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
6737 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, | |
6738 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6739 | { | |
6740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6741 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
6742 | ||
6743 | wxPyEndAllowThreads(__tstate); | |
6744 | if (PyErr_Occurred()) SWIG_fail; | |
6745 | } | |
6746 | resultobj = SWIG_FromInt((int)result); | |
6747 | return resultobj; | |
6748 | fail: | |
6749 | return NULL; | |
6750 | } | |
6751 | ||
6752 | ||
6753 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6754 | PyObject *resultobj; | |
6755 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6756 | int result; | |
6757 | PyObject * obj0 = 0 ; | |
6758 | char *kwnames[] = { | |
6759 | (char *) "self", NULL | |
6760 | }; | |
6761 | ||
6762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
6763 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, | |
6764 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6765 | { | |
6766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6767 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
6768 | ||
6769 | wxPyEndAllowThreads(__tstate); | |
6770 | if (PyErr_Occurred()) SWIG_fail; | |
6771 | } | |
6772 | resultobj = SWIG_FromInt((int)result); | |
6773 | return resultobj; | |
6774 | fail: | |
6775 | return NULL; | |
6776 | } | |
6777 | ||
6778 | ||
6779 | static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) { | |
6780 | PyObject *obj; | |
6781 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6782 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
6783 | Py_INCREF(obj); | |
6784 | return Py_BuildValue((char *)""); | |
6785 | } | |
6786 | static int _wrap_SashNameStr_set(PyObject *_val) { | |
6787 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); | |
6788 | return 1; | |
6789 | } | |
6790 | ||
6791 | ||
6792 | static PyObject *_wrap_SashNameStr_get() { | |
6793 | PyObject *pyobj; | |
6794 | ||
6795 | { | |
6796 | #if wxUSE_UNICODE | |
6797 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6798 | #else | |
6799 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6800 | #endif | |
6801 | } | |
6802 | return pyobj; | |
6803 | } | |
6804 | ||
6805 | ||
6806 | static int _wrap_SashLayoutNameStr_set(PyObject *_val) { | |
6807 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); | |
6808 | return 1; | |
6809 | } | |
6810 | ||
6811 | ||
6812 | static PyObject *_wrap_SashLayoutNameStr_get() { | |
6813 | PyObject *pyobj; | |
6814 | ||
6815 | { | |
6816 | #if wxUSE_UNICODE | |
6817 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6818 | #else | |
6819 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6820 | #endif | |
6821 | } | |
6822 | return pyobj; | |
6823 | } | |
6824 | ||
6825 | ||
6826 | static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6827 | PyObject *resultobj; | |
6828 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 6829 | int arg2 = (int) -1 ; |
d55e5bfc RD |
6830 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
6831 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
6832 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
6833 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
6834 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6835 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
6836 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
6837 | wxSashWindow *result; | |
6838 | wxPoint temp3 ; | |
6839 | wxSize temp4 ; | |
6840 | bool temp6 = False ; | |
6841 | PyObject * obj0 = 0 ; | |
6842 | PyObject * obj1 = 0 ; | |
6843 | PyObject * obj2 = 0 ; | |
6844 | PyObject * obj3 = 0 ; | |
6845 | PyObject * obj4 = 0 ; | |
6846 | PyObject * obj5 = 0 ; | |
6847 | char *kwnames[] = { | |
6848 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6849 | }; | |
6850 | ||
248ed943 | 6851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d55e5bfc RD |
6852 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
6853 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
6854 | if (obj1) { |
6855 | arg2 = (int) SWIG_AsInt(obj1); | |
6856 | if (PyErr_Occurred()) SWIG_fail; | |
6857 | } | |
d55e5bfc RD |
6858 | if (obj2) { |
6859 | { | |
6860 | arg3 = &temp3; | |
6861 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
6862 | } | |
6863 | } | |
6864 | if (obj3) { | |
6865 | { | |
6866 | arg4 = &temp4; | |
6867 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
6868 | } | |
6869 | } | |
6870 | if (obj4) { | |
6871 | arg5 = (long) SWIG_AsLong(obj4); | |
6872 | if (PyErr_Occurred()) SWIG_fail; | |
6873 | } | |
6874 | if (obj5) { | |
6875 | { | |
6876 | arg6 = wxString_in_helper(obj5); | |
6877 | if (arg6 == NULL) SWIG_fail; | |
6878 | temp6 = True; | |
6879 | } | |
6880 | } | |
6881 | { | |
0439c23b | 6882 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6884 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
6885 | ||
6886 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6887 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6888 | } |
6889 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); | |
6890 | { | |
6891 | if (temp6) | |
6892 | delete arg6; | |
6893 | } | |
6894 | return resultobj; | |
6895 | fail: | |
6896 | { | |
6897 | if (temp6) | |
6898 | delete arg6; | |
6899 | } | |
6900 | return NULL; | |
6901 | } | |
6902 | ||
6903 | ||
6904 | static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6905 | PyObject *resultobj; | |
6906 | wxSashWindow *result; | |
6907 | char *kwnames[] = { | |
6908 | NULL | |
6909 | }; | |
6910 | ||
6911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
6912 | { | |
0439c23b | 6913 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6915 | result = (wxSashWindow *)new wxSashWindow(); | |
6916 | ||
6917 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6918 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6919 | } |
6920 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); | |
6921 | return resultobj; | |
6922 | fail: | |
6923 | return NULL; | |
6924 | } | |
6925 | ||
6926 | ||
6927 | static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6928 | PyObject *resultobj; | |
6929 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6930 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 6931 | int arg3 = (int) -1 ; |
d55e5bfc RD |
6932 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6933 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6934 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6935 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6936 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6937 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
6938 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6939 | bool result; | |
6940 | wxPoint temp4 ; | |
6941 | wxSize temp5 ; | |
6942 | bool temp7 = False ; | |
6943 | PyObject * obj0 = 0 ; | |
6944 | PyObject * obj1 = 0 ; | |
6945 | PyObject * obj2 = 0 ; | |
6946 | PyObject * obj3 = 0 ; | |
6947 | PyObject * obj4 = 0 ; | |
6948 | PyObject * obj5 = 0 ; | |
6949 | PyObject * obj6 = 0 ; | |
6950 | char *kwnames[] = { | |
6951 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6952 | }; | |
6953 | ||
248ed943 | 6954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d55e5bfc RD |
6955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6957 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6958 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
6959 | if (obj2) { |
6960 | arg3 = (int) SWIG_AsInt(obj2); | |
6961 | if (PyErr_Occurred()) SWIG_fail; | |
6962 | } | |
d55e5bfc RD |
6963 | if (obj3) { |
6964 | { | |
6965 | arg4 = &temp4; | |
6966 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6967 | } | |
6968 | } | |
6969 | if (obj4) { | |
6970 | { | |
6971 | arg5 = &temp5; | |
6972 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6973 | } | |
6974 | } | |
6975 | if (obj5) { | |
6976 | arg6 = (long) SWIG_AsLong(obj5); | |
6977 | if (PyErr_Occurred()) SWIG_fail; | |
6978 | } | |
6979 | if (obj6) { | |
6980 | { | |
6981 | arg7 = wxString_in_helper(obj6); | |
6982 | if (arg7 == NULL) SWIG_fail; | |
6983 | temp7 = True; | |
6984 | } | |
6985 | } | |
6986 | { | |
6987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6988 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6989 | ||
6990 | wxPyEndAllowThreads(__tstate); | |
6991 | if (PyErr_Occurred()) SWIG_fail; | |
6992 | } | |
6993 | { | |
6994 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6995 | } | |
6996 | { | |
6997 | if (temp7) | |
6998 | delete arg7; | |
6999 | } | |
7000 | return resultobj; | |
7001 | fail: | |
7002 | { | |
7003 | if (temp7) | |
7004 | delete arg7; | |
7005 | } | |
7006 | return NULL; | |
7007 | } | |
7008 | ||
7009 | ||
7010 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7011 | PyObject *resultobj; | |
7012 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7013 | int arg2 ; | |
7014 | bool arg3 ; | |
7015 | PyObject * obj0 = 0 ; | |
7016 | PyObject * obj1 = 0 ; | |
7017 | PyObject * obj2 = 0 ; | |
7018 | char *kwnames[] = { | |
7019 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
7020 | }; | |
7021 | ||
7022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7023 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7024 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7025 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7026 | if (PyErr_Occurred()) SWIG_fail; | |
7027 | arg3 = (bool) SWIG_AsBool(obj2); | |
7028 | if (PyErr_Occurred()) SWIG_fail; | |
7029 | { | |
7030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7031 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
7032 | ||
7033 | wxPyEndAllowThreads(__tstate); | |
7034 | if (PyErr_Occurred()) SWIG_fail; | |
7035 | } | |
7036 | Py_INCREF(Py_None); resultobj = Py_None; | |
7037 | return resultobj; | |
7038 | fail: | |
7039 | return NULL; | |
7040 | } | |
7041 | ||
7042 | ||
7043 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7044 | PyObject *resultobj; | |
7045 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7046 | int arg2 ; | |
7047 | bool result; | |
7048 | PyObject * obj0 = 0 ; | |
7049 | PyObject * obj1 = 0 ; | |
7050 | char *kwnames[] = { | |
7051 | (char *) "self",(char *) "edge", NULL | |
7052 | }; | |
7053 | ||
7054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; | |
7055 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7056 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7057 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7058 | if (PyErr_Occurred()) SWIG_fail; | |
7059 | { | |
7060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7061 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
7062 | ||
7063 | wxPyEndAllowThreads(__tstate); | |
7064 | if (PyErr_Occurred()) SWIG_fail; | |
7065 | } | |
7066 | { | |
7067 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7068 | } | |
7069 | return resultobj; | |
7070 | fail: | |
7071 | return NULL; | |
7072 | } | |
7073 | ||
7074 | ||
7075 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7076 | PyObject *resultobj; | |
7077 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7078 | int arg2 ; | |
7079 | bool arg3 ; | |
7080 | PyObject * obj0 = 0 ; | |
7081 | PyObject * obj1 = 0 ; | |
7082 | PyObject * obj2 = 0 ; | |
7083 | char *kwnames[] = { | |
7084 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
7085 | }; | |
7086 | ||
7087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7088 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7090 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7091 | if (PyErr_Occurred()) SWIG_fail; | |
7092 | arg3 = (bool) SWIG_AsBool(obj2); | |
7093 | if (PyErr_Occurred()) SWIG_fail; | |
7094 | { | |
7095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7096 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
7097 | ||
7098 | wxPyEndAllowThreads(__tstate); | |
7099 | if (PyErr_Occurred()) SWIG_fail; | |
7100 | } | |
7101 | Py_INCREF(Py_None); resultobj = Py_None; | |
7102 | return resultobj; | |
7103 | fail: | |
7104 | return NULL; | |
7105 | } | |
7106 | ||
7107 | ||
7108 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7109 | PyObject *resultobj; | |
7110 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7111 | int arg2 ; | |
7112 | bool result; | |
7113 | PyObject * obj0 = 0 ; | |
7114 | PyObject * obj1 = 0 ; | |
7115 | char *kwnames[] = { | |
7116 | (char *) "self",(char *) "edge", NULL | |
7117 | }; | |
7118 | ||
7119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; | |
7120 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7121 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7122 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7123 | if (PyErr_Occurred()) SWIG_fail; | |
7124 | { | |
7125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7126 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
7127 | ||
7128 | wxPyEndAllowThreads(__tstate); | |
7129 | if (PyErr_Occurred()) SWIG_fail; | |
7130 | } | |
7131 | { | |
7132 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7133 | } | |
7134 | return resultobj; | |
7135 | fail: | |
7136 | return NULL; | |
7137 | } | |
7138 | ||
7139 | ||
7140 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7141 | PyObject *resultobj; | |
7142 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7143 | int arg2 ; | |
7144 | int result; | |
7145 | PyObject * obj0 = 0 ; | |
7146 | PyObject * obj1 = 0 ; | |
7147 | char *kwnames[] = { | |
7148 | (char *) "self",(char *) "edge", NULL | |
7149 | }; | |
7150 | ||
7151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; | |
7152 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7153 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7154 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7155 | if (PyErr_Occurred()) SWIG_fail; | |
7156 | { | |
7157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7158 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
7159 | ||
7160 | wxPyEndAllowThreads(__tstate); | |
7161 | if (PyErr_Occurred()) SWIG_fail; | |
7162 | } | |
7163 | resultobj = SWIG_FromInt((int)result); | |
7164 | return resultobj; | |
7165 | fail: | |
7166 | return NULL; | |
7167 | } | |
7168 | ||
7169 | ||
7170 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7171 | PyObject *resultobj; | |
7172 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7173 | int arg2 ; | |
7174 | PyObject * obj0 = 0 ; | |
7175 | PyObject * obj1 = 0 ; | |
7176 | char *kwnames[] = { | |
7177 | (char *) "self",(char *) "width", NULL | |
7178 | }; | |
7179 | ||
7180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
7181 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7182 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7183 | arg2 = (int) SWIG_AsInt(obj1); | |
7184 | if (PyErr_Occurred()) SWIG_fail; | |
7185 | { | |
7186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7187 | (arg1)->SetDefaultBorderSize(arg2); | |
7188 | ||
7189 | wxPyEndAllowThreads(__tstate); | |
7190 | if (PyErr_Occurred()) SWIG_fail; | |
7191 | } | |
7192 | Py_INCREF(Py_None); resultobj = Py_None; | |
7193 | return resultobj; | |
7194 | fail: | |
7195 | return NULL; | |
7196 | } | |
7197 | ||
7198 | ||
7199 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7200 | PyObject *resultobj; | |
7201 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7202 | int result; | |
7203 | PyObject * obj0 = 0 ; | |
7204 | char *kwnames[] = { | |
7205 | (char *) "self", NULL | |
7206 | }; | |
7207 | ||
7208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
7209 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7210 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7211 | { | |
7212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7213 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
7214 | ||
7215 | wxPyEndAllowThreads(__tstate); | |
7216 | if (PyErr_Occurred()) SWIG_fail; | |
7217 | } | |
7218 | resultobj = SWIG_FromInt((int)result); | |
7219 | return resultobj; | |
7220 | fail: | |
7221 | return NULL; | |
7222 | } | |
7223 | ||
7224 | ||
7225 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7226 | PyObject *resultobj; | |
7227 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7228 | int arg2 ; | |
7229 | PyObject * obj0 = 0 ; | |
7230 | PyObject * obj1 = 0 ; | |
7231 | char *kwnames[] = { | |
7232 | (char *) "self",(char *) "width", NULL | |
7233 | }; | |
7234 | ||
7235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
7236 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7237 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7238 | arg2 = (int) SWIG_AsInt(obj1); | |
7239 | if (PyErr_Occurred()) SWIG_fail; | |
7240 | { | |
7241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7242 | (arg1)->SetExtraBorderSize(arg2); | |
7243 | ||
7244 | wxPyEndAllowThreads(__tstate); | |
7245 | if (PyErr_Occurred()) SWIG_fail; | |
7246 | } | |
7247 | Py_INCREF(Py_None); resultobj = Py_None; | |
7248 | return resultobj; | |
7249 | fail: | |
7250 | return NULL; | |
7251 | } | |
7252 | ||
7253 | ||
7254 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7255 | PyObject *resultobj; | |
7256 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7257 | int result; | |
7258 | PyObject * obj0 = 0 ; | |
7259 | char *kwnames[] = { | |
7260 | (char *) "self", NULL | |
7261 | }; | |
7262 | ||
7263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
7264 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7265 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7266 | { | |
7267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7268 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
7269 | ||
7270 | wxPyEndAllowThreads(__tstate); | |
7271 | if (PyErr_Occurred()) SWIG_fail; | |
7272 | } | |
7273 | resultobj = SWIG_FromInt((int)result); | |
7274 | return resultobj; | |
7275 | fail: | |
7276 | return NULL; | |
7277 | } | |
7278 | ||
7279 | ||
7280 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7281 | PyObject *resultobj; | |
7282 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7283 | int arg2 ; | |
7284 | PyObject * obj0 = 0 ; | |
7285 | PyObject * obj1 = 0 ; | |
7286 | char *kwnames[] = { | |
7287 | (char *) "self",(char *) "min", NULL | |
7288 | }; | |
7289 | ||
7290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; | |
7291 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7292 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7293 | arg2 = (int) SWIG_AsInt(obj1); | |
7294 | if (PyErr_Occurred()) SWIG_fail; | |
7295 | { | |
7296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7297 | (arg1)->SetMinimumSizeX(arg2); | |
7298 | ||
7299 | wxPyEndAllowThreads(__tstate); | |
7300 | if (PyErr_Occurred()) SWIG_fail; | |
7301 | } | |
7302 | Py_INCREF(Py_None); resultobj = Py_None; | |
7303 | return resultobj; | |
7304 | fail: | |
7305 | return NULL; | |
7306 | } | |
7307 | ||
7308 | ||
7309 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7310 | PyObject *resultobj; | |
7311 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7312 | int arg2 ; | |
7313 | PyObject * obj0 = 0 ; | |
7314 | PyObject * obj1 = 0 ; | |
7315 | char *kwnames[] = { | |
7316 | (char *) "self",(char *) "min", NULL | |
7317 | }; | |
7318 | ||
7319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; | |
7320 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7321 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7322 | arg2 = (int) SWIG_AsInt(obj1); | |
7323 | if (PyErr_Occurred()) SWIG_fail; | |
7324 | { | |
7325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7326 | (arg1)->SetMinimumSizeY(arg2); | |
7327 | ||
7328 | wxPyEndAllowThreads(__tstate); | |
7329 | if (PyErr_Occurred()) SWIG_fail; | |
7330 | } | |
7331 | Py_INCREF(Py_None); resultobj = Py_None; | |
7332 | return resultobj; | |
7333 | fail: | |
7334 | return NULL; | |
7335 | } | |
7336 | ||
7337 | ||
7338 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7339 | PyObject *resultobj; | |
7340 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7341 | int result; | |
7342 | PyObject * obj0 = 0 ; | |
7343 | char *kwnames[] = { | |
7344 | (char *) "self", NULL | |
7345 | }; | |
7346 | ||
7347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
7348 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7349 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7350 | { | |
7351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7352 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
7353 | ||
7354 | wxPyEndAllowThreads(__tstate); | |
7355 | if (PyErr_Occurred()) SWIG_fail; | |
7356 | } | |
7357 | resultobj = SWIG_FromInt((int)result); | |
7358 | return resultobj; | |
7359 | fail: | |
7360 | return NULL; | |
7361 | } | |
7362 | ||
7363 | ||
7364 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7365 | PyObject *resultobj; | |
7366 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7367 | int result; | |
7368 | PyObject * obj0 = 0 ; | |
7369 | char *kwnames[] = { | |
7370 | (char *) "self", NULL | |
7371 | }; | |
7372 | ||
7373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
7374 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7375 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7376 | { | |
7377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7378 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
7379 | ||
7380 | wxPyEndAllowThreads(__tstate); | |
7381 | if (PyErr_Occurred()) SWIG_fail; | |
7382 | } | |
7383 | resultobj = SWIG_FromInt((int)result); | |
7384 | return resultobj; | |
7385 | fail: | |
7386 | return NULL; | |
7387 | } | |
7388 | ||
7389 | ||
7390 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7391 | PyObject *resultobj; | |
7392 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7393 | int arg2 ; | |
7394 | PyObject * obj0 = 0 ; | |
7395 | PyObject * obj1 = 0 ; | |
7396 | char *kwnames[] = { | |
7397 | (char *) "self",(char *) "max", NULL | |
7398 | }; | |
7399 | ||
7400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; | |
7401 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7402 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7403 | arg2 = (int) SWIG_AsInt(obj1); | |
7404 | if (PyErr_Occurred()) SWIG_fail; | |
7405 | { | |
7406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7407 | (arg1)->SetMaximumSizeX(arg2); | |
7408 | ||
7409 | wxPyEndAllowThreads(__tstate); | |
7410 | if (PyErr_Occurred()) SWIG_fail; | |
7411 | } | |
7412 | Py_INCREF(Py_None); resultobj = Py_None; | |
7413 | return resultobj; | |
7414 | fail: | |
7415 | return NULL; | |
7416 | } | |
7417 | ||
7418 | ||
7419 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7420 | PyObject *resultobj; | |
7421 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7422 | int arg2 ; | |
7423 | PyObject * obj0 = 0 ; | |
7424 | PyObject * obj1 = 0 ; | |
7425 | char *kwnames[] = { | |
7426 | (char *) "self",(char *) "max", NULL | |
7427 | }; | |
7428 | ||
7429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; | |
7430 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7431 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7432 | arg2 = (int) SWIG_AsInt(obj1); | |
7433 | if (PyErr_Occurred()) SWIG_fail; | |
7434 | { | |
7435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7436 | (arg1)->SetMaximumSizeY(arg2); | |
7437 | ||
7438 | wxPyEndAllowThreads(__tstate); | |
7439 | if (PyErr_Occurred()) SWIG_fail; | |
7440 | } | |
7441 | Py_INCREF(Py_None); resultobj = Py_None; | |
7442 | return resultobj; | |
7443 | fail: | |
7444 | return NULL; | |
7445 | } | |
7446 | ||
7447 | ||
7448 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7449 | PyObject *resultobj; | |
7450 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7451 | int result; | |
7452 | PyObject * obj0 = 0 ; | |
7453 | char *kwnames[] = { | |
7454 | (char *) "self", NULL | |
7455 | }; | |
7456 | ||
7457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
7458 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7459 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7460 | { | |
7461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7462 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
7463 | ||
7464 | wxPyEndAllowThreads(__tstate); | |
7465 | if (PyErr_Occurred()) SWIG_fail; | |
7466 | } | |
7467 | resultobj = SWIG_FromInt((int)result); | |
7468 | return resultobj; | |
7469 | fail: | |
7470 | return NULL; | |
7471 | } | |
7472 | ||
7473 | ||
7474 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7475 | PyObject *resultobj; | |
7476 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7477 | int result; | |
7478 | PyObject * obj0 = 0 ; | |
7479 | char *kwnames[] = { | |
7480 | (char *) "self", NULL | |
7481 | }; | |
7482 | ||
7483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
7484 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7485 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7486 | { | |
7487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7488 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
7489 | ||
7490 | wxPyEndAllowThreads(__tstate); | |
7491 | if (PyErr_Occurred()) SWIG_fail; | |
7492 | } | |
7493 | resultobj = SWIG_FromInt((int)result); | |
7494 | return resultobj; | |
7495 | fail: | |
7496 | return NULL; | |
7497 | } | |
7498 | ||
7499 | ||
7500 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7501 | PyObject *resultobj; | |
7502 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7503 | int arg2 ; | |
7504 | int arg3 ; | |
7505 | int arg4 = (int) 2 ; | |
7506 | int result; | |
7507 | PyObject * obj0 = 0 ; | |
7508 | PyObject * obj1 = 0 ; | |
7509 | PyObject * obj2 = 0 ; | |
7510 | PyObject * obj3 = 0 ; | |
7511 | char *kwnames[] = { | |
7512 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
7513 | }; | |
7514 | ||
7515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7516 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7517 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7518 | arg2 = (int) SWIG_AsInt(obj1); | |
7519 | if (PyErr_Occurred()) SWIG_fail; | |
7520 | arg3 = (int) SWIG_AsInt(obj2); | |
7521 | if (PyErr_Occurred()) SWIG_fail; | |
7522 | if (obj3) { | |
7523 | arg4 = (int) SWIG_AsInt(obj3); | |
7524 | if (PyErr_Occurred()) SWIG_fail; | |
7525 | } | |
7526 | { | |
7527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7528 | result = (int)(arg1)->SashHitTest(arg2,arg3,arg4); | |
7529 | ||
7530 | wxPyEndAllowThreads(__tstate); | |
7531 | if (PyErr_Occurred()) SWIG_fail; | |
7532 | } | |
7533 | resultobj = SWIG_FromInt((int)result); | |
7534 | return resultobj; | |
7535 | fail: | |
7536 | return NULL; | |
7537 | } | |
7538 | ||
7539 | ||
7540 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7541 | PyObject *resultobj; | |
7542 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7543 | PyObject * obj0 = 0 ; | |
7544 | char *kwnames[] = { | |
7545 | (char *) "self", NULL | |
7546 | }; | |
7547 | ||
7548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
7549 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7550 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7551 | { | |
7552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7553 | (arg1)->SizeWindows(); | |
7554 | ||
7555 | wxPyEndAllowThreads(__tstate); | |
7556 | if (PyErr_Occurred()) SWIG_fail; | |
7557 | } | |
7558 | Py_INCREF(Py_None); resultobj = Py_None; | |
7559 | return resultobj; | |
7560 | fail: | |
7561 | return NULL; | |
7562 | } | |
7563 | ||
7564 | ||
7565 | static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) { | |
7566 | PyObject *obj; | |
7567 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7568 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
7569 | Py_INCREF(obj); | |
7570 | return Py_BuildValue((char *)""); | |
7571 | } | |
7572 | static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7573 | PyObject *resultobj; | |
7574 | int arg1 = (int) 0 ; | |
7575 | int arg2 = (int) wxSASH_NONE ; | |
7576 | wxSashEvent *result; | |
7577 | PyObject * obj0 = 0 ; | |
7578 | PyObject * obj1 = 0 ; | |
7579 | char *kwnames[] = { | |
7580 | (char *) "id",(char *) "edge", NULL | |
7581 | }; | |
7582 | ||
7583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; | |
7584 | if (obj0) { | |
7585 | arg1 = (int) SWIG_AsInt(obj0); | |
7586 | if (PyErr_Occurred()) SWIG_fail; | |
7587 | } | |
7588 | if (obj1) { | |
7589 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7590 | if (PyErr_Occurred()) SWIG_fail; | |
7591 | } | |
7592 | { | |
7593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7594 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
7595 | ||
7596 | wxPyEndAllowThreads(__tstate); | |
7597 | if (PyErr_Occurred()) SWIG_fail; | |
7598 | } | |
7599 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); | |
7600 | return resultobj; | |
7601 | fail: | |
7602 | return NULL; | |
7603 | } | |
7604 | ||
7605 | ||
7606 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7607 | PyObject *resultobj; | |
7608 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7609 | int arg2 ; | |
7610 | PyObject * obj0 = 0 ; | |
7611 | PyObject * obj1 = 0 ; | |
7612 | char *kwnames[] = { | |
7613 | (char *) "self",(char *) "edge", NULL | |
7614 | }; | |
7615 | ||
7616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; | |
7617 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, | |
7618 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7619 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7620 | if (PyErr_Occurred()) SWIG_fail; | |
7621 | { | |
7622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7623 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
7624 | ||
7625 | wxPyEndAllowThreads(__tstate); | |
7626 | if (PyErr_Occurred()) SWIG_fail; | |
7627 | } | |
7628 | Py_INCREF(Py_None); resultobj = Py_None; | |
7629 | return resultobj; | |
7630 | fail: | |
7631 | return NULL; | |
7632 | } | |
7633 | ||
7634 | ||
7635 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7636 | PyObject *resultobj; | |
7637 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7638 | int result; | |
7639 | PyObject * obj0 = 0 ; | |
7640 | char *kwnames[] = { | |
7641 | (char *) "self", NULL | |
7642 | }; | |
7643 | ||
7644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
7645 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, | |
7646 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7647 | { | |
7648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7649 | result = (int)((wxSashEvent const *)arg1)->GetEdge(); | |
7650 | ||
7651 | wxPyEndAllowThreads(__tstate); | |
7652 | if (PyErr_Occurred()) SWIG_fail; | |
7653 | } | |
7654 | resultobj = SWIG_FromInt((int)result); | |
7655 | return resultobj; | |
7656 | fail: | |
7657 | return NULL; | |
7658 | } | |
7659 | ||
7660 | ||
7661 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7662 | PyObject *resultobj; | |
7663 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7664 | wxRect *arg2 = 0 ; | |
7665 | wxRect temp2 ; | |
7666 | PyObject * obj0 = 0 ; | |
7667 | PyObject * obj1 = 0 ; | |
7668 | char *kwnames[] = { | |
7669 | (char *) "self",(char *) "rect", NULL | |
7670 | }; | |
7671 | ||
7672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
7673 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, | |
7674 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7675 | { | |
7676 | arg2 = &temp2; | |
7677 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7678 | } | |
7679 | { | |
7680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7681 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
7682 | ||
7683 | wxPyEndAllowThreads(__tstate); | |
7684 | if (PyErr_Occurred()) SWIG_fail; | |
7685 | } | |
7686 | Py_INCREF(Py_None); resultobj = Py_None; | |
7687 | return resultobj; | |
7688 | fail: | |
7689 | return NULL; | |
7690 | } | |
7691 | ||
7692 | ||
7693 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7694 | PyObject *resultobj; | |
7695 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7696 | wxRect result; | |
7697 | PyObject * obj0 = 0 ; | |
7698 | char *kwnames[] = { | |
7699 | (char *) "self", NULL | |
7700 | }; | |
7701 | ||
7702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
7703 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, | |
7704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7705 | { | |
7706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7707 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
7708 | ||
7709 | wxPyEndAllowThreads(__tstate); | |
7710 | if (PyErr_Occurred()) SWIG_fail; | |
7711 | } | |
7712 | { | |
7713 | wxRect * resultptr; | |
7714 | resultptr = new wxRect((wxRect &) result); | |
7715 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); | |
7716 | } | |
7717 | return resultobj; | |
7718 | fail: | |
7719 | return NULL; | |
7720 | } | |
7721 | ||
7722 | ||
7723 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7724 | PyObject *resultobj; | |
7725 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7726 | int arg2 ; | |
7727 | PyObject * obj0 = 0 ; | |
7728 | PyObject * obj1 = 0 ; | |
7729 | char *kwnames[] = { | |
7730 | (char *) "self",(char *) "status", NULL | |
7731 | }; | |
7732 | ||
7733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; | |
7734 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, | |
7735 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7736 | arg2 = (wxSashDragStatus) SWIG_AsInt(obj1); | |
7737 | if (PyErr_Occurred()) SWIG_fail; | |
7738 | { | |
7739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7740 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
7741 | ||
7742 | wxPyEndAllowThreads(__tstate); | |
7743 | if (PyErr_Occurred()) SWIG_fail; | |
7744 | } | |
7745 | Py_INCREF(Py_None); resultobj = Py_None; | |
7746 | return resultobj; | |
7747 | fail: | |
7748 | return NULL; | |
7749 | } | |
7750 | ||
7751 | ||
7752 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7753 | PyObject *resultobj; | |
7754 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7755 | int result; | |
7756 | PyObject * obj0 = 0 ; | |
7757 | char *kwnames[] = { | |
7758 | (char *) "self", NULL | |
7759 | }; | |
7760 | ||
7761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
7762 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, | |
7763 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7764 | { | |
7765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7766 | result = (int)((wxSashEvent const *)arg1)->GetDragStatus(); | |
7767 | ||
7768 | wxPyEndAllowThreads(__tstate); | |
7769 | if (PyErr_Occurred()) SWIG_fail; | |
7770 | } | |
7771 | resultobj = SWIG_FromInt((int)result); | |
7772 | return resultobj; | |
7773 | fail: | |
7774 | return NULL; | |
7775 | } | |
7776 | ||
7777 | ||
7778 | static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) { | |
7779 | PyObject *obj; | |
7780 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7781 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
7782 | Py_INCREF(obj); | |
7783 | return Py_BuildValue((char *)""); | |
7784 | } | |
7785 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7786 | PyObject *resultobj; | |
7787 | int arg1 = (int) 0 ; | |
7788 | wxQueryLayoutInfoEvent *result; | |
7789 | PyObject * obj0 = 0 ; | |
7790 | char *kwnames[] = { | |
7791 | (char *) "id", NULL | |
7792 | }; | |
7793 | ||
7794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; | |
7795 | if (obj0) { | |
7796 | arg1 = (int) SWIG_AsInt(obj0); | |
7797 | if (PyErr_Occurred()) SWIG_fail; | |
7798 | } | |
7799 | { | |
7800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7801 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
7802 | ||
7803 | wxPyEndAllowThreads(__tstate); | |
7804 | if (PyErr_Occurred()) SWIG_fail; | |
7805 | } | |
7806 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); | |
7807 | return resultobj; | |
7808 | fail: | |
7809 | return NULL; | |
7810 | } | |
7811 | ||
7812 | ||
7813 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7814 | PyObject *resultobj; | |
7815 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7816 | int arg2 ; | |
7817 | PyObject * obj0 = 0 ; | |
7818 | PyObject * obj1 = 0 ; | |
7819 | char *kwnames[] = { | |
7820 | (char *) "self",(char *) "length", NULL | |
7821 | }; | |
7822 | ||
7823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; | |
7824 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
7825 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7826 | arg2 = (int) SWIG_AsInt(obj1); | |
7827 | if (PyErr_Occurred()) SWIG_fail; | |
7828 | { | |
7829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7830 | (arg1)->SetRequestedLength(arg2); | |
7831 | ||
7832 | wxPyEndAllowThreads(__tstate); | |
7833 | if (PyErr_Occurred()) SWIG_fail; | |
7834 | } | |
7835 | Py_INCREF(Py_None); resultobj = Py_None; | |
7836 | return resultobj; | |
7837 | fail: | |
7838 | return NULL; | |
7839 | } | |
7840 | ||
7841 | ||
7842 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7843 | PyObject *resultobj; | |
7844 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7845 | int result; | |
7846 | PyObject * obj0 = 0 ; | |
7847 | char *kwnames[] = { | |
7848 | (char *) "self", NULL | |
7849 | }; | |
7850 | ||
7851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
7852 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
7853 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7854 | { | |
7855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7856 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
7857 | ||
7858 | wxPyEndAllowThreads(__tstate); | |
7859 | if (PyErr_Occurred()) SWIG_fail; | |
7860 | } | |
7861 | resultobj = SWIG_FromInt((int)result); | |
7862 | return resultobj; | |
7863 | fail: | |
7864 | return NULL; | |
7865 | } | |
7866 | ||
7867 | ||
7868 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7869 | PyObject *resultobj; | |
7870 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7871 | int arg2 ; | |
7872 | PyObject * obj0 = 0 ; | |
7873 | PyObject * obj1 = 0 ; | |
7874 | char *kwnames[] = { | |
7875 | (char *) "self",(char *) "flags", NULL | |
7876 | }; | |
7877 | ||
7878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
7879 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
7880 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7881 | arg2 = (int) SWIG_AsInt(obj1); | |
7882 | if (PyErr_Occurred()) SWIG_fail; | |
7883 | { | |
7884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7885 | (arg1)->SetFlags(arg2); | |
7886 | ||
7887 | wxPyEndAllowThreads(__tstate); | |
7888 | if (PyErr_Occurred()) SWIG_fail; | |
7889 | } | |
7890 | Py_INCREF(Py_None); resultobj = Py_None; | |
7891 | return resultobj; | |
7892 | fail: | |
7893 | return NULL; | |
7894 | } | |
7895 | ||
7896 | ||
7897 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7898 | PyObject *resultobj; | |
7899 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7900 | int result; | |
7901 | PyObject * obj0 = 0 ; | |
7902 | char *kwnames[] = { | |
7903 | (char *) "self", NULL | |
7904 | }; | |
7905 | ||
7906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
7907 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
7908 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7909 | { | |
7910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7911 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
7912 | ||
7913 | wxPyEndAllowThreads(__tstate); | |
7914 | if (PyErr_Occurred()) SWIG_fail; | |
7915 | } | |
7916 | resultobj = SWIG_FromInt((int)result); | |
7917 | return resultobj; | |
7918 | fail: | |
7919 | return NULL; | |
7920 | } | |
7921 | ||
7922 | ||
7923 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7924 | PyObject *resultobj; | |
7925 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7926 | wxSize *arg2 = 0 ; | |
7927 | wxSize temp2 ; | |
7928 | PyObject * obj0 = 0 ; | |
7929 | PyObject * obj1 = 0 ; | |
7930 | char *kwnames[] = { | |
7931 | (char *) "self",(char *) "size", NULL | |
7932 | }; | |
7933 | ||
7934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
7935 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
7936 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7937 | { | |
7938 | arg2 = &temp2; | |
7939 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
7940 | } | |
7941 | { | |
7942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7943 | (arg1)->SetSize((wxSize const &)*arg2); | |
7944 | ||
7945 | wxPyEndAllowThreads(__tstate); | |
7946 | if (PyErr_Occurred()) SWIG_fail; | |
7947 | } | |
7948 | Py_INCREF(Py_None); resultobj = Py_None; | |
7949 | return resultobj; | |
7950 | fail: | |
7951 | return NULL; | |
7952 | } | |
7953 | ||
7954 | ||
7955 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7956 | PyObject *resultobj; | |
7957 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7958 | wxSize result; | |
7959 | PyObject * obj0 = 0 ; | |
7960 | char *kwnames[] = { | |
7961 | (char *) "self", NULL | |
7962 | }; | |
7963 | ||
7964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
7965 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
7966 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7967 | { | |
7968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7969 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
7970 | ||
7971 | wxPyEndAllowThreads(__tstate); | |
7972 | if (PyErr_Occurred()) SWIG_fail; | |
7973 | } | |
7974 | { | |
7975 | wxSize * resultptr; | |
7976 | resultptr = new wxSize((wxSize &) result); | |
7977 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
7978 | } | |
7979 | return resultobj; | |
7980 | fail: | |
7981 | return NULL; | |
7982 | } | |
7983 | ||
7984 | ||
7985 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7986 | PyObject *resultobj; | |
7987 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7988 | int arg2 ; | |
7989 | PyObject * obj0 = 0 ; | |
7990 | PyObject * obj1 = 0 ; | |
7991 | char *kwnames[] = { | |
7992 | (char *) "self",(char *) "orient", NULL | |
7993 | }; | |
7994 | ||
7995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
7996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
7997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7998 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
7999 | if (PyErr_Occurred()) SWIG_fail; | |
8000 | { | |
8001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8002 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8003 | ||
8004 | wxPyEndAllowThreads(__tstate); | |
8005 | if (PyErr_Occurred()) SWIG_fail; | |
8006 | } | |
8007 | Py_INCREF(Py_None); resultobj = Py_None; | |
8008 | return resultobj; | |
8009 | fail: | |
8010 | return NULL; | |
8011 | } | |
8012 | ||
8013 | ||
8014 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8015 | PyObject *resultobj; | |
8016 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8017 | int result; | |
8018 | PyObject * obj0 = 0 ; | |
8019 | char *kwnames[] = { | |
8020 | (char *) "self", NULL | |
8021 | }; | |
8022 | ||
8023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
8024 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
8025 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8026 | { | |
8027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8028 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); | |
8029 | ||
8030 | wxPyEndAllowThreads(__tstate); | |
8031 | if (PyErr_Occurred()) SWIG_fail; | |
8032 | } | |
8033 | resultobj = SWIG_FromInt((int)result); | |
8034 | return resultobj; | |
8035 | fail: | |
8036 | return NULL; | |
8037 | } | |
8038 | ||
8039 | ||
8040 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8041 | PyObject *resultobj; | |
8042 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8043 | int arg2 ; | |
8044 | PyObject * obj0 = 0 ; | |
8045 | PyObject * obj1 = 0 ; | |
8046 | char *kwnames[] = { | |
8047 | (char *) "self",(char *) "align", NULL | |
8048 | }; | |
8049 | ||
8050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; | |
8051 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
8052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8053 | arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
8054 | if (PyErr_Occurred()) SWIG_fail; | |
8055 | { | |
8056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8057 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
8058 | ||
8059 | wxPyEndAllowThreads(__tstate); | |
8060 | if (PyErr_Occurred()) SWIG_fail; | |
8061 | } | |
8062 | Py_INCREF(Py_None); resultobj = Py_None; | |
8063 | return resultobj; | |
8064 | fail: | |
8065 | return NULL; | |
8066 | } | |
8067 | ||
8068 | ||
8069 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8070 | PyObject *resultobj; | |
8071 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8072 | int result; | |
8073 | PyObject * obj0 = 0 ; | |
8074 | char *kwnames[] = { | |
8075 | (char *) "self", NULL | |
8076 | }; | |
8077 | ||
8078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
8079 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
8080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8081 | { | |
8082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8083 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); | |
8084 | ||
8085 | wxPyEndAllowThreads(__tstate); | |
8086 | if (PyErr_Occurred()) SWIG_fail; | |
8087 | } | |
8088 | resultobj = SWIG_FromInt((int)result); | |
8089 | return resultobj; | |
8090 | fail: | |
8091 | return NULL; | |
8092 | } | |
8093 | ||
8094 | ||
8095 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) { | |
8096 | PyObject *obj; | |
8097 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8098 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
8099 | Py_INCREF(obj); | |
8100 | return Py_BuildValue((char *)""); | |
8101 | } | |
8102 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8103 | PyObject *resultobj; | |
8104 | int arg1 = (int) 0 ; | |
8105 | wxCalculateLayoutEvent *result; | |
8106 | PyObject * obj0 = 0 ; | |
8107 | char *kwnames[] = { | |
8108 | (char *) "id", NULL | |
8109 | }; | |
8110 | ||
8111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; | |
8112 | if (obj0) { | |
8113 | arg1 = (int) SWIG_AsInt(obj0); | |
8114 | if (PyErr_Occurred()) SWIG_fail; | |
8115 | } | |
8116 | { | |
8117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8118 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
8119 | ||
8120 | wxPyEndAllowThreads(__tstate); | |
8121 | if (PyErr_Occurred()) SWIG_fail; | |
8122 | } | |
8123 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); | |
8124 | return resultobj; | |
8125 | fail: | |
8126 | return NULL; | |
8127 | } | |
8128 | ||
8129 | ||
8130 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8131 | PyObject *resultobj; | |
8132 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8133 | int arg2 ; | |
8134 | PyObject * obj0 = 0 ; | |
8135 | PyObject * obj1 = 0 ; | |
8136 | char *kwnames[] = { | |
8137 | (char *) "self",(char *) "flags", NULL | |
8138 | }; | |
8139 | ||
8140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
8141 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, | |
8142 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8143 | arg2 = (int) SWIG_AsInt(obj1); | |
8144 | if (PyErr_Occurred()) SWIG_fail; | |
8145 | { | |
8146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8147 | (arg1)->SetFlags(arg2); | |
8148 | ||
8149 | wxPyEndAllowThreads(__tstate); | |
8150 | if (PyErr_Occurred()) SWIG_fail; | |
8151 | } | |
8152 | Py_INCREF(Py_None); resultobj = Py_None; | |
8153 | return resultobj; | |
8154 | fail: | |
8155 | return NULL; | |
8156 | } | |
8157 | ||
8158 | ||
8159 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8160 | PyObject *resultobj; | |
8161 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8162 | int result; | |
8163 | PyObject * obj0 = 0 ; | |
8164 | char *kwnames[] = { | |
8165 | (char *) "self", NULL | |
8166 | }; | |
8167 | ||
8168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
8169 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, | |
8170 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8171 | { | |
8172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8173 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
8174 | ||
8175 | wxPyEndAllowThreads(__tstate); | |
8176 | if (PyErr_Occurred()) SWIG_fail; | |
8177 | } | |
8178 | resultobj = SWIG_FromInt((int)result); | |
8179 | return resultobj; | |
8180 | fail: | |
8181 | return NULL; | |
8182 | } | |
8183 | ||
8184 | ||
8185 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8186 | PyObject *resultobj; | |
8187 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8188 | wxRect *arg2 = 0 ; | |
8189 | wxRect temp2 ; | |
8190 | PyObject * obj0 = 0 ; | |
8191 | PyObject * obj1 = 0 ; | |
8192 | char *kwnames[] = { | |
8193 | (char *) "self",(char *) "rect", NULL | |
8194 | }; | |
8195 | ||
8196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
8197 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, | |
8198 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8199 | { | |
8200 | arg2 = &temp2; | |
8201 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8202 | } | |
8203 | { | |
8204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8205 | (arg1)->SetRect((wxRect const &)*arg2); | |
8206 | ||
8207 | wxPyEndAllowThreads(__tstate); | |
8208 | if (PyErr_Occurred()) SWIG_fail; | |
8209 | } | |
8210 | Py_INCREF(Py_None); resultobj = Py_None; | |
8211 | return resultobj; | |
8212 | fail: | |
8213 | return NULL; | |
8214 | } | |
8215 | ||
8216 | ||
8217 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8218 | PyObject *resultobj; | |
8219 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8220 | wxRect result; | |
8221 | PyObject * obj0 = 0 ; | |
8222 | char *kwnames[] = { | |
8223 | (char *) "self", NULL | |
8224 | }; | |
8225 | ||
8226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
8227 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, | |
8228 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8229 | { | |
8230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8231 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
8232 | ||
8233 | wxPyEndAllowThreads(__tstate); | |
8234 | if (PyErr_Occurred()) SWIG_fail; | |
8235 | } | |
8236 | { | |
8237 | wxRect * resultptr; | |
8238 | resultptr = new wxRect((wxRect &) result); | |
8239 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); | |
8240 | } | |
8241 | return resultobj; | |
8242 | fail: | |
8243 | return NULL; | |
8244 | } | |
8245 | ||
8246 | ||
8247 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) { | |
8248 | PyObject *obj; | |
8249 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8250 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
8251 | Py_INCREF(obj); | |
8252 | return Py_BuildValue((char *)""); | |
8253 | } | |
8254 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8255 | PyObject *resultobj; | |
8256 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 8257 | int arg2 = (int) -1 ; |
d55e5bfc RD |
8258 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8259 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8260 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8261 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8262 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8263 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
8264 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8265 | wxSashLayoutWindow *result; | |
8266 | wxPoint temp3 ; | |
8267 | wxSize temp4 ; | |
8268 | bool temp6 = False ; | |
8269 | PyObject * obj0 = 0 ; | |
8270 | PyObject * obj1 = 0 ; | |
8271 | PyObject * obj2 = 0 ; | |
8272 | PyObject * obj3 = 0 ; | |
8273 | PyObject * obj4 = 0 ; | |
8274 | PyObject * obj5 = 0 ; | |
8275 | char *kwnames[] = { | |
8276 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8277 | }; | |
8278 | ||
248ed943 | 8279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d55e5bfc RD |
8280 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8281 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
8282 | if (obj1) { |
8283 | arg2 = (int) SWIG_AsInt(obj1); | |
8284 | if (PyErr_Occurred()) SWIG_fail; | |
8285 | } | |
d55e5bfc RD |
8286 | if (obj2) { |
8287 | { | |
8288 | arg3 = &temp3; | |
8289 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8290 | } | |
8291 | } | |
8292 | if (obj3) { | |
8293 | { | |
8294 | arg4 = &temp4; | |
8295 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8296 | } | |
8297 | } | |
8298 | if (obj4) { | |
8299 | arg5 = (long) SWIG_AsLong(obj4); | |
8300 | if (PyErr_Occurred()) SWIG_fail; | |
8301 | } | |
8302 | if (obj5) { | |
8303 | { | |
8304 | arg6 = wxString_in_helper(obj5); | |
8305 | if (arg6 == NULL) SWIG_fail; | |
8306 | temp6 = True; | |
8307 | } | |
8308 | } | |
8309 | { | |
0439c23b | 8310 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8312 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8313 | ||
8314 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8315 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8316 | } |
8317 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); | |
8318 | { | |
8319 | if (temp6) | |
8320 | delete arg6; | |
8321 | } | |
8322 | return resultobj; | |
8323 | fail: | |
8324 | { | |
8325 | if (temp6) | |
8326 | delete arg6; | |
8327 | } | |
8328 | return NULL; | |
8329 | } | |
8330 | ||
8331 | ||
8332 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8333 | PyObject *resultobj; | |
8334 | wxSashLayoutWindow *result; | |
8335 | char *kwnames[] = { | |
8336 | NULL | |
8337 | }; | |
8338 | ||
8339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
8340 | { | |
0439c23b | 8341 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8343 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
8344 | ||
8345 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8346 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8347 | } |
8348 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); | |
8349 | return resultobj; | |
8350 | fail: | |
8351 | return NULL; | |
8352 | } | |
8353 | ||
8354 | ||
8355 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8356 | PyObject *resultobj; | |
8357 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8358 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 8359 | int arg3 = (int) -1 ; |
d55e5bfc RD |
8360 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8361 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8362 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8363 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8364 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8365 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
8366 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8367 | bool result; | |
8368 | wxPoint temp4 ; | |
8369 | wxSize temp5 ; | |
8370 | bool temp7 = False ; | |
8371 | PyObject * obj0 = 0 ; | |
8372 | PyObject * obj1 = 0 ; | |
8373 | PyObject * obj2 = 0 ; | |
8374 | PyObject * obj3 = 0 ; | |
8375 | PyObject * obj4 = 0 ; | |
8376 | PyObject * obj5 = 0 ; | |
8377 | PyObject * obj6 = 0 ; | |
8378 | char *kwnames[] = { | |
8379 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8380 | }; | |
8381 | ||
248ed943 | 8382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d55e5bfc RD |
8383 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8384 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8385 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8386 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
8387 | if (obj2) { |
8388 | arg3 = (int) SWIG_AsInt(obj2); | |
8389 | if (PyErr_Occurred()) SWIG_fail; | |
8390 | } | |
d55e5bfc RD |
8391 | if (obj3) { |
8392 | { | |
8393 | arg4 = &temp4; | |
8394 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8395 | } | |
8396 | } | |
8397 | if (obj4) { | |
8398 | { | |
8399 | arg5 = &temp5; | |
8400 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8401 | } | |
8402 | } | |
8403 | if (obj5) { | |
8404 | arg6 = (long) SWIG_AsLong(obj5); | |
8405 | if (PyErr_Occurred()) SWIG_fail; | |
8406 | } | |
8407 | if (obj6) { | |
8408 | { | |
8409 | arg7 = wxString_in_helper(obj6); | |
8410 | if (arg7 == NULL) SWIG_fail; | |
8411 | temp7 = True; | |
8412 | } | |
8413 | } | |
8414 | { | |
8415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8416 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8417 | ||
8418 | wxPyEndAllowThreads(__tstate); | |
8419 | if (PyErr_Occurred()) SWIG_fail; | |
8420 | } | |
8421 | { | |
8422 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8423 | } | |
8424 | { | |
8425 | if (temp7) | |
8426 | delete arg7; | |
8427 | } | |
8428 | return resultobj; | |
8429 | fail: | |
8430 | { | |
8431 | if (temp7) | |
8432 | delete arg7; | |
8433 | } | |
8434 | return NULL; | |
8435 | } | |
8436 | ||
8437 | ||
8438 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8439 | PyObject *resultobj; | |
8440 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8441 | int result; | |
8442 | PyObject * obj0 = 0 ; | |
8443 | char *kwnames[] = { | |
8444 | (char *) "self", NULL | |
8445 | }; | |
8446 | ||
8447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
8448 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, | |
8449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8450 | { | |
8451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8452 | result = (int)(arg1)->GetAlignment(); | |
8453 | ||
8454 | wxPyEndAllowThreads(__tstate); | |
8455 | if (PyErr_Occurred()) SWIG_fail; | |
8456 | } | |
8457 | resultobj = SWIG_FromInt((int)result); | |
8458 | return resultobj; | |
8459 | fail: | |
8460 | return NULL; | |
8461 | } | |
8462 | ||
8463 | ||
8464 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8465 | PyObject *resultobj; | |
8466 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8467 | int result; | |
8468 | PyObject * obj0 = 0 ; | |
8469 | char *kwnames[] = { | |
8470 | (char *) "self", NULL | |
8471 | }; | |
8472 | ||
8473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
8474 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, | |
8475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8476 | { | |
8477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8478 | result = (int)(arg1)->GetOrientation(); | |
8479 | ||
8480 | wxPyEndAllowThreads(__tstate); | |
8481 | if (PyErr_Occurred()) SWIG_fail; | |
8482 | } | |
8483 | resultobj = SWIG_FromInt((int)result); | |
8484 | return resultobj; | |
8485 | fail: | |
8486 | return NULL; | |
8487 | } | |
8488 | ||
8489 | ||
8490 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8491 | PyObject *resultobj; | |
8492 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8493 | int arg2 ; | |
8494 | PyObject * obj0 = 0 ; | |
8495 | PyObject * obj1 = 0 ; | |
8496 | char *kwnames[] = { | |
8497 | (char *) "self",(char *) "alignment", NULL | |
8498 | }; | |
8499 | ||
8500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; | |
8501 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, | |
8502 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8503 | arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
8504 | if (PyErr_Occurred()) SWIG_fail; | |
8505 | { | |
8506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8507 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
8508 | ||
8509 | wxPyEndAllowThreads(__tstate); | |
8510 | if (PyErr_Occurred()) SWIG_fail; | |
8511 | } | |
8512 | Py_INCREF(Py_None); resultobj = Py_None; | |
8513 | return resultobj; | |
8514 | fail: | |
8515 | return NULL; | |
8516 | } | |
8517 | ||
8518 | ||
8519 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8520 | PyObject *resultobj; | |
8521 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8522 | wxSize *arg2 = 0 ; | |
8523 | wxSize temp2 ; | |
8524 | PyObject * obj0 = 0 ; | |
8525 | PyObject * obj1 = 0 ; | |
8526 | char *kwnames[] = { | |
8527 | (char *) "self",(char *) "size", NULL | |
8528 | }; | |
8529 | ||
8530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
8531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, | |
8532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8533 | { | |
8534 | arg2 = &temp2; | |
8535 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
8536 | } | |
8537 | { | |
8538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8539 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
8540 | ||
8541 | wxPyEndAllowThreads(__tstate); | |
8542 | if (PyErr_Occurred()) SWIG_fail; | |
8543 | } | |
8544 | Py_INCREF(Py_None); resultobj = Py_None; | |
8545 | return resultobj; | |
8546 | fail: | |
8547 | return NULL; | |
8548 | } | |
8549 | ||
8550 | ||
8551 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8552 | PyObject *resultobj; | |
8553 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8554 | int arg2 ; | |
8555 | PyObject * obj0 = 0 ; | |
8556 | PyObject * obj1 = 0 ; | |
8557 | char *kwnames[] = { | |
8558 | (char *) "self",(char *) "orientation", NULL | |
8559 | }; | |
8560 | ||
8561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
8562 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, | |
8563 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8564 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
8565 | if (PyErr_Occurred()) SWIG_fail; | |
8566 | { | |
8567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8568 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8569 | ||
8570 | wxPyEndAllowThreads(__tstate); | |
8571 | if (PyErr_Occurred()) SWIG_fail; | |
8572 | } | |
8573 | Py_INCREF(Py_None); resultobj = Py_None; | |
8574 | return resultobj; | |
8575 | fail: | |
8576 | return NULL; | |
8577 | } | |
8578 | ||
8579 | ||
8580 | static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) { | |
8581 | PyObject *obj; | |
8582 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8583 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
8584 | Py_INCREF(obj); | |
8585 | return Py_BuildValue((char *)""); | |
8586 | } | |
8587 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8588 | PyObject *resultobj; | |
8589 | wxLayoutAlgorithm *result; | |
8590 | char *kwnames[] = { | |
8591 | NULL | |
8592 | }; | |
8593 | ||
8594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
8595 | { | |
8596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8597 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
8598 | ||
8599 | wxPyEndAllowThreads(__tstate); | |
8600 | if (PyErr_Occurred()) SWIG_fail; | |
8601 | } | |
8602 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); | |
8603 | return resultobj; | |
8604 | fail: | |
8605 | return NULL; | |
8606 | } | |
8607 | ||
8608 | ||
8609 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8610 | PyObject *resultobj; | |
8611 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8612 | PyObject * obj0 = 0 ; | |
8613 | char *kwnames[] = { | |
8614 | (char *) "self", NULL | |
8615 | }; | |
8616 | ||
8617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
8618 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, | |
8619 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8620 | { | |
8621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8622 | delete arg1; | |
8623 | ||
8624 | wxPyEndAllowThreads(__tstate); | |
8625 | if (PyErr_Occurred()) SWIG_fail; | |
8626 | } | |
8627 | Py_INCREF(Py_None); resultobj = Py_None; | |
8628 | return resultobj; | |
8629 | fail: | |
8630 | return NULL; | |
8631 | } | |
8632 | ||
8633 | ||
8634 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8635 | PyObject *resultobj; | |
8636 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8637 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
8638 | wxRect *arg3 = (wxRect *) NULL ; | |
8639 | bool result; | |
8640 | PyObject * obj0 = 0 ; | |
8641 | PyObject * obj1 = 0 ; | |
8642 | PyObject * obj2 = 0 ; | |
8643 | char *kwnames[] = { | |
8644 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
8645 | }; | |
8646 | ||
8647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8648 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, | |
8649 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8650 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
8651 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8652 | if (obj2) { | |
8653 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect, | |
8654 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8655 | } | |
8656 | { | |
8657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8658 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
8659 | ||
8660 | wxPyEndAllowThreads(__tstate); | |
8661 | if (PyErr_Occurred()) SWIG_fail; | |
8662 | } | |
8663 | { | |
8664 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8665 | } | |
8666 | return resultobj; | |
8667 | fail: | |
8668 | return NULL; | |
8669 | } | |
8670 | ||
8671 | ||
8672 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8673 | PyObject *resultobj; | |
8674 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8675 | wxFrame *arg2 = (wxFrame *) 0 ; | |
8676 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8677 | bool result; | |
8678 | PyObject * obj0 = 0 ; | |
8679 | PyObject * obj1 = 0 ; | |
8680 | PyObject * obj2 = 0 ; | |
8681 | char *kwnames[] = { | |
8682 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
8683 | }; | |
8684 | ||
8685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, | |
8687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8688 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
8689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8690 | if (obj2) { | |
8691 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
8692 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8693 | } | |
8694 | { | |
8695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8696 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
8697 | ||
8698 | wxPyEndAllowThreads(__tstate); | |
8699 | if (PyErr_Occurred()) SWIG_fail; | |
8700 | } | |
8701 | { | |
8702 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8703 | } | |
8704 | return resultobj; | |
8705 | fail: | |
8706 | return NULL; | |
8707 | } | |
8708 | ||
8709 | ||
8710 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8711 | PyObject *resultobj; | |
8712 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8713 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8714 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8715 | bool result; | |
8716 | PyObject * obj0 = 0 ; | |
8717 | PyObject * obj1 = 0 ; | |
8718 | PyObject * obj2 = 0 ; | |
8719 | char *kwnames[] = { | |
8720 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
8721 | }; | |
8722 | ||
8723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8724 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, | |
8725 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8726 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8727 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8728 | if (obj2) { | |
8729 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
8730 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8731 | } | |
8732 | { | |
8733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8734 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
8735 | ||
8736 | wxPyEndAllowThreads(__tstate); | |
8737 | if (PyErr_Occurred()) SWIG_fail; | |
8738 | } | |
8739 | { | |
8740 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8741 | } | |
8742 | return resultobj; | |
8743 | fail: | |
8744 | return NULL; | |
8745 | } | |
8746 | ||
8747 | ||
8748 | static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) { | |
8749 | PyObject *obj; | |
8750 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8751 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
8752 | Py_INCREF(obj); | |
8753 | return Py_BuildValue((char *)""); | |
8754 | } | |
8755 | static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8756 | PyObject *resultobj; | |
8757 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8758 | int arg2 = (int) wxBORDER_NONE ; | |
8759 | wxPopupWindow *result; | |
8760 | PyObject * obj0 = 0 ; | |
8761 | PyObject * obj1 = 0 ; | |
8762 | char *kwnames[] = { | |
8763 | (char *) "parent",(char *) "flags", NULL | |
8764 | }; | |
8765 | ||
8766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; | |
8767 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
8768 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8769 | if (obj1) { | |
8770 | arg2 = (int) SWIG_AsInt(obj1); | |
8771 | if (PyErr_Occurred()) SWIG_fail; | |
8772 | } | |
8773 | { | |
0439c23b | 8774 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8776 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
8777 | ||
8778 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8779 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8780 | } |
8781 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); | |
8782 | return resultobj; | |
8783 | fail: | |
8784 | return NULL; | |
8785 | } | |
8786 | ||
8787 | ||
8788 | static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8789 | PyObject *resultobj; | |
8790 | wxPopupWindow *result; | |
8791 | char *kwnames[] = { | |
8792 | NULL | |
8793 | }; | |
8794 | ||
8795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
8796 | { | |
0439c23b | 8797 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8799 | result = (wxPopupWindow *)new wxPopupWindow(); | |
8800 | ||
8801 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8802 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8803 | } |
8804 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); | |
8805 | return resultobj; | |
8806 | fail: | |
8807 | return NULL; | |
8808 | } | |
8809 | ||
8810 | ||
8811 | static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8812 | PyObject *resultobj; | |
8813 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8814 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8815 | int arg3 = (int) wxBORDER_NONE ; | |
8816 | bool result; | |
8817 | PyObject * obj0 = 0 ; | |
8818 | PyObject * obj1 = 0 ; | |
8819 | PyObject * obj2 = 0 ; | |
8820 | char *kwnames[] = { | |
8821 | (char *) "self",(char *) "parent",(char *) "flags", NULL | |
8822 | }; | |
8823 | ||
8824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8825 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, | |
8826 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8827 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8828 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8829 | if (obj2) { | |
8830 | arg3 = (int) SWIG_AsInt(obj2); | |
8831 | if (PyErr_Occurred()) SWIG_fail; | |
8832 | } | |
8833 | { | |
8834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8835 | result = (bool)(arg1)->Create(arg2,arg3); | |
8836 | ||
8837 | wxPyEndAllowThreads(__tstate); | |
8838 | if (PyErr_Occurred()) SWIG_fail; | |
8839 | } | |
8840 | { | |
8841 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8842 | } | |
8843 | return resultobj; | |
8844 | fail: | |
8845 | return NULL; | |
8846 | } | |
8847 | ||
8848 | ||
8849 | static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8850 | PyObject *resultobj; | |
8851 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8852 | wxPoint *arg2 = 0 ; | |
8853 | wxSize *arg3 = 0 ; | |
8854 | wxPoint temp2 ; | |
8855 | wxSize temp3 ; | |
8856 | PyObject * obj0 = 0 ; | |
8857 | PyObject * obj1 = 0 ; | |
8858 | PyObject * obj2 = 0 ; | |
8859 | char *kwnames[] = { | |
8860 | (char *) "self",(char *) "ptOrigin",(char *) "size", NULL | |
8861 | }; | |
8862 | ||
8863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8864 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, | |
8865 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8866 | { | |
8867 | arg2 = &temp2; | |
8868 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
8869 | } | |
8870 | { | |
8871 | arg3 = &temp3; | |
8872 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
8873 | } | |
8874 | { | |
8875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8876 | (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3); | |
8877 | ||
8878 | wxPyEndAllowThreads(__tstate); | |
8879 | if (PyErr_Occurred()) SWIG_fail; | |
8880 | } | |
8881 | Py_INCREF(Py_None); resultobj = Py_None; | |
8882 | return resultobj; | |
8883 | fail: | |
8884 | return NULL; | |
8885 | } | |
8886 | ||
8887 | ||
8888 | static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) { | |
8889 | PyObject *obj; | |
8890 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8891 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
8892 | Py_INCREF(obj); | |
8893 | return Py_BuildValue((char *)""); | |
8894 | } | |
8895 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8896 | PyObject *resultobj; | |
8897 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8898 | int arg2 = (int) wxBORDER_NONE ; | |
8899 | wxPyPopupTransientWindow *result; | |
8900 | PyObject * obj0 = 0 ; | |
8901 | PyObject * obj1 = 0 ; | |
8902 | char *kwnames[] = { | |
8903 | (char *) "parent",(char *) "style", NULL | |
8904 | }; | |
8905 | ||
8906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; | |
8907 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
8908 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8909 | if (obj1) { | |
8910 | arg2 = (int) SWIG_AsInt(obj1); | |
8911 | if (PyErr_Occurred()) SWIG_fail; | |
8912 | } | |
8913 | { | |
0439c23b | 8914 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8916 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
8917 | ||
8918 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8919 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8920 | } |
8921 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
8922 | return resultobj; | |
8923 | fail: | |
8924 | return NULL; | |
8925 | } | |
8926 | ||
8927 | ||
8928 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8929 | PyObject *resultobj; | |
8930 | wxPyPopupTransientWindow *result; | |
8931 | char *kwnames[] = { | |
8932 | NULL | |
8933 | }; | |
8934 | ||
8935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
8936 | { | |
0439c23b | 8937 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8939 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
8940 | ||
8941 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8942 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8943 | } |
8944 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
8945 | return resultobj; | |
8946 | fail: | |
8947 | return NULL; | |
8948 | } | |
8949 | ||
8950 | ||
8951 | static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8952 | PyObject *resultobj; | |
8953 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8954 | PyObject *arg2 = (PyObject *) 0 ; | |
8955 | PyObject *arg3 = (PyObject *) 0 ; | |
8956 | PyObject * obj0 = 0 ; | |
8957 | PyObject * obj1 = 0 ; | |
8958 | PyObject * obj2 = 0 ; | |
8959 | char *kwnames[] = { | |
8960 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8961 | }; | |
8962 | ||
8963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8964 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, | |
8965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8966 | arg2 = obj1; | |
8967 | arg3 = obj2; | |
8968 | { | |
8969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8970 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8971 | ||
8972 | wxPyEndAllowThreads(__tstate); | |
8973 | if (PyErr_Occurred()) SWIG_fail; | |
8974 | } | |
8975 | Py_INCREF(Py_None); resultobj = Py_None; | |
8976 | return resultobj; | |
8977 | fail: | |
8978 | return NULL; | |
8979 | } | |
8980 | ||
8981 | ||
8982 | static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8983 | PyObject *resultobj; | |
8984 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8985 | wxWindow *arg2 = (wxWindow *) NULL ; | |
8986 | PyObject * obj0 = 0 ; | |
8987 | PyObject * obj1 = 0 ; | |
8988 | char *kwnames[] = { | |
8989 | (char *) "self",(char *) "focus", NULL | |
8990 | }; | |
8991 | ||
8992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail; | |
8993 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, | |
8994 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8995 | if (obj1) { | |
8996 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8998 | } | |
8999 | { | |
9000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9001 | (arg1)->Popup(arg2); | |
9002 | ||
9003 | wxPyEndAllowThreads(__tstate); | |
9004 | if (PyErr_Occurred()) SWIG_fail; | |
9005 | } | |
9006 | Py_INCREF(Py_None); resultobj = Py_None; | |
9007 | return resultobj; | |
9008 | fail: | |
9009 | return NULL; | |
9010 | } | |
9011 | ||
9012 | ||
9013 | static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9014 | PyObject *resultobj; | |
9015 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
9016 | PyObject * obj0 = 0 ; | |
9017 | char *kwnames[] = { | |
9018 | (char *) "self", NULL | |
9019 | }; | |
9020 | ||
9021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail; | |
9022 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, | |
9023 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9024 | { | |
9025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9026 | (arg1)->Dismiss(); | |
9027 | ||
9028 | wxPyEndAllowThreads(__tstate); | |
9029 | if (PyErr_Occurred()) SWIG_fail; | |
9030 | } | |
9031 | Py_INCREF(Py_None); resultobj = Py_None; | |
9032 | return resultobj; | |
9033 | fail: | |
9034 | return NULL; | |
9035 | } | |
9036 | ||
9037 | ||
9038 | static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) { | |
9039 | PyObject *obj; | |
9040 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9041 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
9042 | Py_INCREF(obj); | |
9043 | return Py_BuildValue((char *)""); | |
9044 | } | |
9045 | static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9046 | PyObject *resultobj; | |
9047 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9048 | wxString *arg2 = 0 ; | |
9049 | int arg3 = (int) 100 ; | |
9050 | wxRect *arg4 = (wxRect *) NULL ; | |
9051 | wxTipWindow *result; | |
9052 | bool temp2 = False ; | |
9053 | PyObject * obj0 = 0 ; | |
9054 | PyObject * obj1 = 0 ; | |
9055 | PyObject * obj2 = 0 ; | |
9056 | PyObject * obj3 = 0 ; | |
9057 | char *kwnames[] = { | |
9058 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
9059 | }; | |
9060 | ||
9061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
9062 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
9063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9064 | { | |
9065 | arg2 = wxString_in_helper(obj1); | |
9066 | if (arg2 == NULL) SWIG_fail; | |
9067 | temp2 = True; | |
9068 | } | |
9069 | if (obj2) { | |
9070 | arg3 = (int) SWIG_AsInt(obj2); | |
9071 | if (PyErr_Occurred()) SWIG_fail; | |
9072 | } | |
9073 | if (obj3) { | |
9074 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect, | |
9075 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9076 | } | |
9077 | { | |
0439c23b | 9078 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
9079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9080 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); | |
9081 | ||
9082 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9083 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
9084 | } |
9085 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); | |
9086 | { | |
9087 | if (temp2) | |
9088 | delete arg2; | |
9089 | } | |
9090 | return resultobj; | |
9091 | fail: | |
9092 | { | |
9093 | if (temp2) | |
9094 | delete arg2; | |
9095 | } | |
9096 | return NULL; | |
9097 | } | |
9098 | ||
9099 | ||
9100 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9101 | PyObject *resultobj; | |
9102 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
9103 | wxRect *arg2 = 0 ; | |
9104 | wxRect temp2 ; | |
9105 | PyObject * obj0 = 0 ; | |
9106 | PyObject * obj1 = 0 ; | |
9107 | char *kwnames[] = { | |
9108 | (char *) "self",(char *) "rectBound", NULL | |
9109 | }; | |
9110 | ||
9111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
9112 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, | |
9113 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9114 | { | |
9115 | arg2 = &temp2; | |
9116 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
9117 | } | |
9118 | { | |
9119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9120 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
9121 | ||
9122 | wxPyEndAllowThreads(__tstate); | |
9123 | if (PyErr_Occurred()) SWIG_fail; | |
9124 | } | |
9125 | Py_INCREF(Py_None); resultobj = Py_None; | |
9126 | return resultobj; | |
9127 | fail: | |
9128 | return NULL; | |
9129 | } | |
9130 | ||
9131 | ||
9132 | static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9133 | PyObject *resultobj; | |
9134 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
9135 | PyObject * obj0 = 0 ; | |
9136 | char *kwnames[] = { | |
9137 | (char *) "self", NULL | |
9138 | }; | |
9139 | ||
9140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
9141 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, | |
9142 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9143 | { | |
9144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9145 | (arg1)->Close(); | |
9146 | ||
9147 | wxPyEndAllowThreads(__tstate); | |
9148 | if (PyErr_Occurred()) SWIG_fail; | |
9149 | } | |
9150 | Py_INCREF(Py_None); resultobj = Py_None; | |
9151 | return resultobj; | |
9152 | fail: | |
9153 | return NULL; | |
9154 | } | |
9155 | ||
9156 | ||
9157 | static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) { | |
9158 | PyObject *obj; | |
9159 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9160 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
9161 | Py_INCREF(obj); | |
9162 | return Py_BuildValue((char *)""); | |
9163 | } | |
9164 | static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9165 | PyObject *resultobj; | |
9166 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9167 | int arg2 = (int) wxID_ANY ; | |
9168 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
9169 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9170 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9171 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9172 | long arg5 = (long) 0 ; | |
9173 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
9174 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9175 | wxPyVScrolledWindow *result; | |
9176 | wxPoint temp3 ; | |
9177 | wxSize temp4 ; | |
9178 | bool temp6 = False ; | |
9179 | PyObject * obj0 = 0 ; | |
9180 | PyObject * obj1 = 0 ; | |
9181 | PyObject * obj2 = 0 ; | |
9182 | PyObject * obj3 = 0 ; | |
9183 | PyObject * obj4 = 0 ; | |
9184 | PyObject * obj5 = 0 ; | |
9185 | char *kwnames[] = { | |
9186 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9187 | }; | |
9188 | ||
9189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
9190 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
9191 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9192 | if (obj1) { | |
9193 | arg2 = (int) SWIG_AsInt(obj1); | |
9194 | if (PyErr_Occurred()) SWIG_fail; | |
9195 | } | |
9196 | if (obj2) { | |
9197 | { | |
9198 | arg3 = &temp3; | |
9199 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9200 | } | |
9201 | } | |
9202 | if (obj3) { | |
9203 | { | |
9204 | arg4 = &temp4; | |
9205 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9206 | } | |
9207 | } | |
9208 | if (obj4) { | |
9209 | arg5 = (long) SWIG_AsLong(obj4); | |
9210 | if (PyErr_Occurred()) SWIG_fail; | |
9211 | } | |
9212 | if (obj5) { | |
9213 | { | |
9214 | arg6 = wxString_in_helper(obj5); | |
9215 | if (arg6 == NULL) SWIG_fail; | |
9216 | temp6 = True; | |
9217 | } | |
9218 | } | |
9219 | { | |
0439c23b | 9220 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
9221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9222 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9223 | ||
9224 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9225 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
9226 | } |
9227 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
9228 | { | |
9229 | if (temp6) | |
9230 | delete arg6; | |
9231 | } | |
9232 | return resultobj; | |
9233 | fail: | |
9234 | { | |
9235 | if (temp6) | |
9236 | delete arg6; | |
9237 | } | |
9238 | return NULL; | |
9239 | } | |
9240 | ||
9241 | ||
9242 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9243 | PyObject *resultobj; | |
9244 | wxPyVScrolledWindow *result; | |
9245 | char *kwnames[] = { | |
9246 | NULL | |
9247 | }; | |
9248 | ||
9249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
9250 | { | |
0439c23b | 9251 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
9252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9253 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
9254 | ||
9255 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9256 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
9257 | } |
9258 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
9259 | return resultobj; | |
9260 | fail: | |
9261 | return NULL; | |
9262 | } | |
9263 | ||
9264 | ||
9265 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9266 | PyObject *resultobj; | |
9267 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9268 | PyObject *arg2 = (PyObject *) 0 ; | |
9269 | PyObject *arg3 = (PyObject *) 0 ; | |
9270 | PyObject * obj0 = 0 ; | |
9271 | PyObject * obj1 = 0 ; | |
9272 | PyObject * obj2 = 0 ; | |
9273 | char *kwnames[] = { | |
9274 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9275 | }; | |
9276 | ||
9277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9278 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9280 | arg2 = obj1; | |
9281 | arg3 = obj2; | |
9282 | { | |
9283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9284 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9285 | ||
9286 | wxPyEndAllowThreads(__tstate); | |
9287 | if (PyErr_Occurred()) SWIG_fail; | |
9288 | } | |
9289 | Py_INCREF(Py_None); resultobj = Py_None; | |
9290 | return resultobj; | |
9291 | fail: | |
9292 | return NULL; | |
9293 | } | |
9294 | ||
9295 | ||
9296 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9297 | PyObject *resultobj; | |
9298 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9299 | wxWindow *arg2 = (wxWindow *) 0 ; | |
9300 | int arg3 = (int) wxID_ANY ; | |
9301 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
9302 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9303 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9304 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9305 | long arg6 = (long) 0 ; | |
9306 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
9307 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9308 | bool result; | |
9309 | wxPoint temp4 ; | |
9310 | wxSize temp5 ; | |
9311 | bool temp7 = False ; | |
9312 | PyObject * obj0 = 0 ; | |
9313 | PyObject * obj1 = 0 ; | |
9314 | PyObject * obj2 = 0 ; | |
9315 | PyObject * obj3 = 0 ; | |
9316 | PyObject * obj4 = 0 ; | |
9317 | PyObject * obj5 = 0 ; | |
9318 | PyObject * obj6 = 0 ; | |
9319 | char *kwnames[] = { | |
9320 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9321 | }; | |
9322 | ||
9323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
9324 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9325 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9326 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
9327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9328 | if (obj2) { | |
9329 | arg3 = (int) SWIG_AsInt(obj2); | |
9330 | if (PyErr_Occurred()) SWIG_fail; | |
9331 | } | |
9332 | if (obj3) { | |
9333 | { | |
9334 | arg4 = &temp4; | |
9335 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9336 | } | |
9337 | } | |
9338 | if (obj4) { | |
9339 | { | |
9340 | arg5 = &temp5; | |
9341 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9342 | } | |
9343 | } | |
9344 | if (obj5) { | |
9345 | arg6 = (long) SWIG_AsLong(obj5); | |
9346 | if (PyErr_Occurred()) SWIG_fail; | |
9347 | } | |
9348 | if (obj6) { | |
9349 | { | |
9350 | arg7 = wxString_in_helper(obj6); | |
9351 | if (arg7 == NULL) SWIG_fail; | |
9352 | temp7 = True; | |
9353 | } | |
9354 | } | |
9355 | { | |
9356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9357 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9358 | ||
9359 | wxPyEndAllowThreads(__tstate); | |
9360 | if (PyErr_Occurred()) SWIG_fail; | |
9361 | } | |
9362 | { | |
9363 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9364 | } | |
9365 | { | |
9366 | if (temp7) | |
9367 | delete arg7; | |
9368 | } | |
9369 | return resultobj; | |
9370 | fail: | |
9371 | { | |
9372 | if (temp7) | |
9373 | delete arg7; | |
9374 | } | |
9375 | return NULL; | |
9376 | } | |
9377 | ||
9378 | ||
9379 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9380 | PyObject *resultobj; | |
9381 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9382 | size_t arg2 ; | |
9383 | PyObject * obj0 = 0 ; | |
9384 | PyObject * obj1 = 0 ; | |
9385 | char *kwnames[] = { | |
9386 | (char *) "self",(char *) "count", NULL | |
9387 | }; | |
9388 | ||
9389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
9390 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9391 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9392 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9393 | if (PyErr_Occurred()) SWIG_fail; | |
9394 | { | |
9395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9396 | (arg1)->SetLineCount(arg2); | |
9397 | ||
9398 | wxPyEndAllowThreads(__tstate); | |
9399 | if (PyErr_Occurred()) SWIG_fail; | |
9400 | } | |
9401 | Py_INCREF(Py_None); resultobj = Py_None; | |
9402 | return resultobj; | |
9403 | fail: | |
9404 | return NULL; | |
9405 | } | |
9406 | ||
9407 | ||
9408 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9409 | PyObject *resultobj; | |
9410 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9411 | size_t arg2 ; | |
9412 | bool result; | |
9413 | PyObject * obj0 = 0 ; | |
9414 | PyObject * obj1 = 0 ; | |
9415 | char *kwnames[] = { | |
9416 | (char *) "self",(char *) "line", NULL | |
9417 | }; | |
9418 | ||
9419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
9420 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9421 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9422 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9423 | if (PyErr_Occurred()) SWIG_fail; | |
9424 | { | |
9425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9426 | result = (bool)(arg1)->ScrollToLine(arg2); | |
9427 | ||
9428 | wxPyEndAllowThreads(__tstate); | |
9429 | if (PyErr_Occurred()) SWIG_fail; | |
9430 | } | |
9431 | { | |
9432 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9433 | } | |
9434 | return resultobj; | |
9435 | fail: | |
9436 | return NULL; | |
9437 | } | |
9438 | ||
9439 | ||
9440 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9441 | PyObject *resultobj; | |
9442 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9443 | int arg2 ; | |
9444 | bool result; | |
9445 | PyObject * obj0 = 0 ; | |
9446 | PyObject * obj1 = 0 ; | |
9447 | char *kwnames[] = { | |
9448 | (char *) "self",(char *) "lines", NULL | |
9449 | }; | |
9450 | ||
9451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; | |
9452 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9453 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9454 | arg2 = (int) SWIG_AsInt(obj1); | |
9455 | if (PyErr_Occurred()) SWIG_fail; | |
9456 | { | |
9457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9458 | result = (bool)(arg1)->ScrollLines(arg2); | |
9459 | ||
9460 | wxPyEndAllowThreads(__tstate); | |
9461 | if (PyErr_Occurred()) SWIG_fail; | |
9462 | } | |
9463 | { | |
9464 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9465 | } | |
9466 | return resultobj; | |
9467 | fail: | |
9468 | return NULL; | |
9469 | } | |
9470 | ||
9471 | ||
9472 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9473 | PyObject *resultobj; | |
9474 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9475 | int arg2 ; | |
9476 | bool result; | |
9477 | PyObject * obj0 = 0 ; | |
9478 | PyObject * obj1 = 0 ; | |
9479 | char *kwnames[] = { | |
9480 | (char *) "self",(char *) "pages", NULL | |
9481 | }; | |
9482 | ||
9483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; | |
9484 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9485 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9486 | arg2 = (int) SWIG_AsInt(obj1); | |
9487 | if (PyErr_Occurred()) SWIG_fail; | |
9488 | { | |
9489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9490 | result = (bool)(arg1)->ScrollPages(arg2); | |
9491 | ||
9492 | wxPyEndAllowThreads(__tstate); | |
9493 | if (PyErr_Occurred()) SWIG_fail; | |
9494 | } | |
9495 | { | |
9496 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9497 | } | |
9498 | return resultobj; | |
9499 | fail: | |
9500 | return NULL; | |
9501 | } | |
9502 | ||
9503 | ||
9504 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9505 | PyObject *resultobj; | |
9506 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9507 | size_t arg2 ; | |
9508 | PyObject * obj0 = 0 ; | |
9509 | PyObject * obj1 = 0 ; | |
9510 | char *kwnames[] = { | |
9511 | (char *) "self",(char *) "line", NULL | |
9512 | }; | |
9513 | ||
9514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
9515 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9516 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9517 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9518 | if (PyErr_Occurred()) SWIG_fail; | |
9519 | { | |
9520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9521 | (arg1)->RefreshLine(arg2); | |
9522 | ||
9523 | wxPyEndAllowThreads(__tstate); | |
9524 | if (PyErr_Occurred()) SWIG_fail; | |
9525 | } | |
9526 | Py_INCREF(Py_None); resultobj = Py_None; | |
9527 | return resultobj; | |
9528 | fail: | |
9529 | return NULL; | |
9530 | } | |
9531 | ||
9532 | ||
9533 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9534 | PyObject *resultobj; | |
9535 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9536 | size_t arg2 ; | |
9537 | size_t arg3 ; | |
9538 | PyObject * obj0 = 0 ; | |
9539 | PyObject * obj1 = 0 ; | |
9540 | PyObject * obj2 = 0 ; | |
9541 | char *kwnames[] = { | |
9542 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9543 | }; | |
9544 | ||
9545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9546 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9547 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9548 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9549 | if (PyErr_Occurred()) SWIG_fail; | |
9550 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
9551 | if (PyErr_Occurred()) SWIG_fail; | |
9552 | { | |
9553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9554 | (arg1)->RefreshLines(arg2,arg3); | |
9555 | ||
9556 | wxPyEndAllowThreads(__tstate); | |
9557 | if (PyErr_Occurred()) SWIG_fail; | |
9558 | } | |
9559 | Py_INCREF(Py_None); resultobj = Py_None; | |
9560 | return resultobj; | |
9561 | fail: | |
9562 | return NULL; | |
9563 | } | |
9564 | ||
9565 | ||
9566 | static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9567 | PyObject *resultobj; | |
9568 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9569 | int arg2 ; | |
9570 | int arg3 ; | |
9571 | int result; | |
9572 | PyObject * obj0 = 0 ; | |
9573 | PyObject * obj1 = 0 ; | |
9574 | PyObject * obj2 = 0 ; | |
9575 | char *kwnames[] = { | |
9576 | (char *) "self",(char *) "x",(char *) "y", NULL | |
9577 | }; | |
9578 | ||
9579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9580 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9581 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9582 | arg2 = (int) SWIG_AsInt(obj1); | |
9583 | if (PyErr_Occurred()) SWIG_fail; | |
9584 | arg3 = (int) SWIG_AsInt(obj2); | |
9585 | if (PyErr_Occurred()) SWIG_fail; | |
9586 | { | |
9587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9588 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
9589 | ||
9590 | wxPyEndAllowThreads(__tstate); | |
9591 | if (PyErr_Occurred()) SWIG_fail; | |
9592 | } | |
9593 | resultobj = SWIG_FromInt((int)result); | |
9594 | return resultobj; | |
9595 | fail: | |
9596 | return NULL; | |
9597 | } | |
9598 | ||
9599 | ||
9600 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9601 | PyObject *resultobj; | |
9602 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9603 | wxPoint *arg2 = 0 ; | |
9604 | int result; | |
9605 | wxPoint temp2 ; | |
9606 | PyObject * obj0 = 0 ; | |
9607 | PyObject * obj1 = 0 ; | |
9608 | char *kwnames[] = { | |
9609 | (char *) "self",(char *) "pt", NULL | |
9610 | }; | |
9611 | ||
9612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
9613 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9615 | { | |
9616 | arg2 = &temp2; | |
9617 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9618 | } | |
9619 | { | |
9620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9621 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
9622 | ||
9623 | wxPyEndAllowThreads(__tstate); | |
9624 | if (PyErr_Occurred()) SWIG_fail; | |
9625 | } | |
9626 | resultobj = SWIG_FromInt((int)result); | |
9627 | return resultobj; | |
9628 | fail: | |
9629 | return NULL; | |
9630 | } | |
9631 | ||
9632 | ||
9633 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9634 | PyObject *resultobj; | |
9635 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9636 | PyObject * obj0 = 0 ; | |
9637 | char *kwnames[] = { | |
9638 | (char *) "self", NULL | |
9639 | }; | |
9640 | ||
9641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
9642 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9643 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9644 | { | |
9645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9646 | (arg1)->RefreshAll(); | |
9647 | ||
9648 | wxPyEndAllowThreads(__tstate); | |
9649 | if (PyErr_Occurred()) SWIG_fail; | |
9650 | } | |
9651 | Py_INCREF(Py_None); resultobj = Py_None; | |
9652 | return resultobj; | |
9653 | fail: | |
9654 | return NULL; | |
9655 | } | |
9656 | ||
9657 | ||
9658 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9659 | PyObject *resultobj; | |
9660 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9661 | size_t result; | |
9662 | PyObject * obj0 = 0 ; | |
9663 | char *kwnames[] = { | |
9664 | (char *) "self", NULL | |
9665 | }; | |
9666 | ||
9667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
9668 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9669 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9670 | { | |
9671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9672 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
9673 | ||
9674 | wxPyEndAllowThreads(__tstate); | |
9675 | if (PyErr_Occurred()) SWIG_fail; | |
9676 | } | |
9677 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); | |
9678 | return resultobj; | |
9679 | fail: | |
9680 | return NULL; | |
9681 | } | |
9682 | ||
9683 | ||
9684 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9685 | PyObject *resultobj; | |
9686 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9687 | size_t result; | |
9688 | PyObject * obj0 = 0 ; | |
9689 | char *kwnames[] = { | |
9690 | (char *) "self", NULL | |
9691 | }; | |
9692 | ||
9693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
9694 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9695 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9696 | { | |
9697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9698 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
9699 | ||
9700 | wxPyEndAllowThreads(__tstate); | |
9701 | if (PyErr_Occurred()) SWIG_fail; | |
9702 | } | |
9703 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); | |
9704 | return resultobj; | |
9705 | fail: | |
9706 | return NULL; | |
9707 | } | |
9708 | ||
9709 | ||
9710 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9711 | PyObject *resultobj; | |
9712 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9713 | size_t result; | |
9714 | PyObject * obj0 = 0 ; | |
9715 | char *kwnames[] = { | |
9716 | (char *) "self", NULL | |
9717 | }; | |
9718 | ||
9719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
9720 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9721 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9722 | { | |
9723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9724 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
9725 | ||
9726 | wxPyEndAllowThreads(__tstate); | |
9727 | if (PyErr_Occurred()) SWIG_fail; | |
9728 | } | |
9729 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); | |
9730 | return resultobj; | |
9731 | fail: | |
9732 | return NULL; | |
9733 | } | |
9734 | ||
9735 | ||
9736 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9737 | PyObject *resultobj; | |
9738 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9739 | size_t arg2 ; | |
9740 | bool result; | |
9741 | PyObject * obj0 = 0 ; | |
9742 | PyObject * obj1 = 0 ; | |
9743 | char *kwnames[] = { | |
9744 | (char *) "self",(char *) "line", NULL | |
9745 | }; | |
9746 | ||
9747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
9748 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9749 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9750 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9751 | if (PyErr_Occurred()) SWIG_fail; | |
9752 | { | |
9753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9754 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
9755 | ||
9756 | wxPyEndAllowThreads(__tstate); | |
9757 | if (PyErr_Occurred()) SWIG_fail; | |
9758 | } | |
9759 | { | |
9760 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9761 | } | |
9762 | return resultobj; | |
9763 | fail: | |
9764 | return NULL; | |
9765 | } | |
9766 | ||
9767 | ||
9768 | static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
9769 | PyObject *obj; | |
9770 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9771 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
9772 | Py_INCREF(obj); | |
9773 | return Py_BuildValue((char *)""); | |
9774 | } | |
9775 | static int _wrap_VListBoxNameStr_set(PyObject *_val) { | |
9776 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); | |
9777 | return 1; | |
9778 | } | |
9779 | ||
9780 | ||
9781 | static PyObject *_wrap_VListBoxNameStr_get() { | |
9782 | PyObject *pyobj; | |
9783 | ||
9784 | { | |
9785 | #if wxUSE_UNICODE | |
9786 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9787 | #else | |
9788 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9789 | #endif | |
9790 | } | |
9791 | return pyobj; | |
9792 | } | |
9793 | ||
9794 | ||
9795 | static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9796 | PyObject *resultobj; | |
9797 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9798 | int arg2 = (int) wxID_ANY ; | |
9799 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
9800 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9801 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9802 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9803 | long arg5 = (long) 0 ; | |
9804 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
9805 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9806 | wxPyVListBox *result; | |
9807 | wxPoint temp3 ; | |
9808 | wxSize temp4 ; | |
9809 | bool temp6 = False ; | |
9810 | PyObject * obj0 = 0 ; | |
9811 | PyObject * obj1 = 0 ; | |
9812 | PyObject * obj2 = 0 ; | |
9813 | PyObject * obj3 = 0 ; | |
9814 | PyObject * obj4 = 0 ; | |
9815 | PyObject * obj5 = 0 ; | |
9816 | char *kwnames[] = { | |
9817 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9818 | }; | |
9819 | ||
9820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
9821 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
9822 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9823 | if (obj1) { | |
9824 | arg2 = (int) SWIG_AsInt(obj1); | |
9825 | if (PyErr_Occurred()) SWIG_fail; | |
9826 | } | |
9827 | if (obj2) { | |
9828 | { | |
9829 | arg3 = &temp3; | |
9830 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9831 | } | |
9832 | } | |
9833 | if (obj3) { | |
9834 | { | |
9835 | arg4 = &temp4; | |
9836 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9837 | } | |
9838 | } | |
9839 | if (obj4) { | |
9840 | arg5 = (long) SWIG_AsLong(obj4); | |
9841 | if (PyErr_Occurred()) SWIG_fail; | |
9842 | } | |
9843 | if (obj5) { | |
9844 | { | |
9845 | arg6 = wxString_in_helper(obj5); | |
9846 | if (arg6 == NULL) SWIG_fail; | |
9847 | temp6 = True; | |
9848 | } | |
9849 | } | |
9850 | { | |
0439c23b | 9851 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
9852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9853 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9854 | ||
9855 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9856 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
9857 | } |
9858 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); | |
9859 | { | |
9860 | if (temp6) | |
9861 | delete arg6; | |
9862 | } | |
9863 | return resultobj; | |
9864 | fail: | |
9865 | { | |
9866 | if (temp6) | |
9867 | delete arg6; | |
9868 | } | |
9869 | return NULL; | |
9870 | } | |
9871 | ||
9872 | ||
9873 | static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9874 | PyObject *resultobj; | |
9875 | wxPyVListBox *result; | |
9876 | char *kwnames[] = { | |
9877 | NULL | |
9878 | }; | |
9879 | ||
9880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
9881 | { | |
0439c23b | 9882 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
9883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9884 | result = (wxPyVListBox *)new wxPyVListBox(); | |
9885 | ||
9886 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9887 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
9888 | } |
9889 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); | |
9890 | return resultobj; | |
9891 | fail: | |
9892 | return NULL; | |
9893 | } | |
9894 | ||
9895 | ||
9896 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9897 | PyObject *resultobj; | |
9898 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9899 | PyObject *arg2 = (PyObject *) 0 ; | |
9900 | PyObject *arg3 = (PyObject *) 0 ; | |
9901 | PyObject * obj0 = 0 ; | |
9902 | PyObject * obj1 = 0 ; | |
9903 | PyObject * obj2 = 0 ; | |
9904 | char *kwnames[] = { | |
9905 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9906 | }; | |
9907 | ||
9908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9909 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
9910 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9911 | arg2 = obj1; | |
9912 | arg3 = obj2; | |
9913 | { | |
9914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9915 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9916 | ||
9917 | wxPyEndAllowThreads(__tstate); | |
9918 | if (PyErr_Occurred()) SWIG_fail; | |
9919 | } | |
9920 | Py_INCREF(Py_None); resultobj = Py_None; | |
9921 | return resultobj; | |
9922 | fail: | |
9923 | return NULL; | |
9924 | } | |
9925 | ||
9926 | ||
9927 | static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9928 | PyObject *resultobj; | |
9929 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9930 | wxWindow *arg2 = (wxWindow *) 0 ; | |
9931 | int arg3 = (int) wxID_ANY ; | |
9932 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
9933 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9934 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9935 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9936 | long arg6 = (long) 0 ; | |
9937 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
9938 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9939 | bool result; | |
9940 | wxPoint temp4 ; | |
9941 | wxSize temp5 ; | |
9942 | bool temp7 = False ; | |
9943 | PyObject * obj0 = 0 ; | |
9944 | PyObject * obj1 = 0 ; | |
9945 | PyObject * obj2 = 0 ; | |
9946 | PyObject * obj3 = 0 ; | |
9947 | PyObject * obj4 = 0 ; | |
9948 | PyObject * obj5 = 0 ; | |
9949 | PyObject * obj6 = 0 ; | |
9950 | char *kwnames[] = { | |
9951 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9952 | }; | |
9953 | ||
9954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
9955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
9956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9957 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
9958 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9959 | if (obj2) { | |
9960 | arg3 = (int) SWIG_AsInt(obj2); | |
9961 | if (PyErr_Occurred()) SWIG_fail; | |
9962 | } | |
9963 | if (obj3) { | |
9964 | { | |
9965 | arg4 = &temp4; | |
9966 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9967 | } | |
9968 | } | |
9969 | if (obj4) { | |
9970 | { | |
9971 | arg5 = &temp5; | |
9972 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9973 | } | |
9974 | } | |
9975 | if (obj5) { | |
9976 | arg6 = (long) SWIG_AsLong(obj5); | |
9977 | if (PyErr_Occurred()) SWIG_fail; | |
9978 | } | |
9979 | if (obj6) { | |
9980 | { | |
9981 | arg7 = wxString_in_helper(obj6); | |
9982 | if (arg7 == NULL) SWIG_fail; | |
9983 | temp7 = True; | |
9984 | } | |
9985 | } | |
9986 | { | |
9987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9988 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9989 | ||
9990 | wxPyEndAllowThreads(__tstate); | |
9991 | if (PyErr_Occurred()) SWIG_fail; | |
9992 | } | |
9993 | { | |
9994 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9995 | } | |
9996 | { | |
9997 | if (temp7) | |
9998 | delete arg7; | |
9999 | } | |
10000 | return resultobj; | |
10001 | fail: | |
10002 | { | |
10003 | if (temp7) | |
10004 | delete arg7; | |
10005 | } | |
10006 | return NULL; | |
10007 | } | |
10008 | ||
10009 | ||
10010 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10011 | PyObject *resultobj; | |
10012 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10013 | size_t result; | |
10014 | PyObject * obj0 = 0 ; | |
10015 | char *kwnames[] = { | |
10016 | (char *) "self", NULL | |
10017 | }; | |
10018 | ||
10019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
10020 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10022 | { | |
10023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10024 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
10025 | ||
10026 | wxPyEndAllowThreads(__tstate); | |
10027 | if (PyErr_Occurred()) SWIG_fail; | |
10028 | } | |
10029 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); | |
10030 | return resultobj; | |
10031 | fail: | |
10032 | return NULL; | |
10033 | } | |
10034 | ||
10035 | ||
10036 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10037 | PyObject *resultobj; | |
10038 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10039 | bool result; | |
10040 | PyObject * obj0 = 0 ; | |
10041 | char *kwnames[] = { | |
10042 | (char *) "self", NULL | |
10043 | }; | |
10044 | ||
10045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
10046 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10047 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10048 | { | |
10049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10050 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
10051 | ||
10052 | wxPyEndAllowThreads(__tstate); | |
10053 | if (PyErr_Occurred()) SWIG_fail; | |
10054 | } | |
10055 | { | |
10056 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10057 | } | |
10058 | return resultobj; | |
10059 | fail: | |
10060 | return NULL; | |
10061 | } | |
10062 | ||
10063 | ||
10064 | static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10065 | PyObject *resultobj; | |
10066 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10067 | int result; | |
10068 | PyObject * obj0 = 0 ; | |
10069 | char *kwnames[] = { | |
10070 | (char *) "self", NULL | |
10071 | }; | |
10072 | ||
10073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
10074 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10075 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10076 | { | |
10077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10078 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
10079 | ||
10080 | wxPyEndAllowThreads(__tstate); | |
10081 | if (PyErr_Occurred()) SWIG_fail; | |
10082 | } | |
10083 | resultobj = SWIG_FromInt((int)result); | |
10084 | return resultobj; | |
10085 | fail: | |
10086 | return NULL; | |
10087 | } | |
10088 | ||
10089 | ||
10090 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10091 | PyObject *resultobj; | |
10092 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10093 | size_t arg2 ; | |
10094 | bool result; | |
10095 | PyObject * obj0 = 0 ; | |
10096 | PyObject * obj1 = 0 ; | |
10097 | char *kwnames[] = { | |
10098 | (char *) "self",(char *) "item", NULL | |
10099 | }; | |
10100 | ||
10101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
10102 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10103 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10104 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10105 | if (PyErr_Occurred()) SWIG_fail; | |
10106 | { | |
10107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10108 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
10109 | ||
10110 | wxPyEndAllowThreads(__tstate); | |
10111 | if (PyErr_Occurred()) SWIG_fail; | |
10112 | } | |
10113 | { | |
10114 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10115 | } | |
10116 | return resultobj; | |
10117 | fail: | |
10118 | return NULL; | |
10119 | } | |
10120 | ||
10121 | ||
10122 | static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10123 | PyObject *resultobj; | |
10124 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10125 | size_t arg2 ; | |
10126 | bool result; | |
10127 | PyObject * obj0 = 0 ; | |
10128 | PyObject * obj1 = 0 ; | |
10129 | char *kwnames[] = { | |
10130 | (char *) "self",(char *) "item", NULL | |
10131 | }; | |
10132 | ||
10133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
10134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10136 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10137 | if (PyErr_Occurred()) SWIG_fail; | |
10138 | { | |
10139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10140 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
10141 | ||
10142 | wxPyEndAllowThreads(__tstate); | |
10143 | if (PyErr_Occurred()) SWIG_fail; | |
10144 | } | |
10145 | { | |
10146 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10147 | } | |
10148 | return resultobj; | |
10149 | fail: | |
10150 | return NULL; | |
10151 | } | |
10152 | ||
10153 | ||
10154 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10155 | PyObject *resultobj; | |
10156 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10157 | size_t result; | |
10158 | PyObject * obj0 = 0 ; | |
10159 | char *kwnames[] = { | |
10160 | (char *) "self", NULL | |
10161 | }; | |
10162 | ||
10163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
10164 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10165 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10166 | { | |
10167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10168 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
10169 | ||
10170 | wxPyEndAllowThreads(__tstate); | |
10171 | if (PyErr_Occurred()) SWIG_fail; | |
10172 | } | |
10173 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); | |
10174 | return resultobj; | |
10175 | fail: | |
10176 | return NULL; | |
10177 | } | |
10178 | ||
10179 | ||
10180 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10181 | PyObject *resultobj; | |
10182 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b | 10183 | PyObject *result; |
d55e5bfc | 10184 | PyObject * obj0 = 0 ; |
d55e5bfc | 10185 | char *kwnames[] = { |
09c21d3b | 10186 | (char *) "self", NULL |
d55e5bfc RD |
10187 | }; |
10188 | ||
09c21d3b | 10189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail; |
d55e5bfc RD |
10190 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10191 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d55e5bfc RD |
10192 | { |
10193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 10194 | result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1); |
d55e5bfc RD |
10195 | |
10196 | wxPyEndAllowThreads(__tstate); | |
10197 | if (PyErr_Occurred()) SWIG_fail; | |
10198 | } | |
09c21d3b | 10199 | resultobj = result; |
d55e5bfc RD |
10200 | return resultobj; |
10201 | fail: | |
10202 | return NULL; | |
10203 | } | |
10204 | ||
10205 | ||
10206 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10207 | PyObject *resultobj; | |
10208 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b RD |
10209 | unsigned long arg2 ; |
10210 | PyObject *result; | |
d55e5bfc RD |
10211 | PyObject * obj0 = 0 ; |
10212 | PyObject * obj1 = 0 ; | |
10213 | char *kwnames[] = { | |
10214 | (char *) "self",(char *) "cookie", NULL | |
10215 | }; | |
10216 | ||
10217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
10218 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10219 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
09c21d3b RD |
10220 | arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1); |
10221 | if (PyErr_Occurred()) SWIG_fail; | |
d55e5bfc RD |
10222 | { |
10223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 10224 | result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2); |
d55e5bfc RD |
10225 | |
10226 | wxPyEndAllowThreads(__tstate); | |
10227 | if (PyErr_Occurred()) SWIG_fail; | |
10228 | } | |
09c21d3b | 10229 | resultobj = result; |
d55e5bfc RD |
10230 | return resultobj; |
10231 | fail: | |
10232 | return NULL; | |
10233 | } | |
10234 | ||
10235 | ||
10236 | static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10237 | PyObject *resultobj; | |
10238 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10239 | wxPoint result; | |
10240 | PyObject * obj0 = 0 ; | |
10241 | char *kwnames[] = { | |
10242 | (char *) "self", NULL | |
10243 | }; | |
10244 | ||
10245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
10246 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10247 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10248 | { | |
10249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10250 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
10251 | ||
10252 | wxPyEndAllowThreads(__tstate); | |
10253 | if (PyErr_Occurred()) SWIG_fail; | |
10254 | } | |
10255 | { | |
10256 | wxPoint * resultptr; | |
10257 | resultptr = new wxPoint((wxPoint &) result); | |
10258 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
10259 | } | |
10260 | return resultobj; | |
10261 | fail: | |
10262 | return NULL; | |
10263 | } | |
10264 | ||
10265 | ||
10266 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10267 | PyObject *resultobj; | |
10268 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10269 | wxColour *result; | |
10270 | PyObject * obj0 = 0 ; | |
10271 | char *kwnames[] = { | |
10272 | (char *) "self", NULL | |
10273 | }; | |
10274 | ||
10275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
10276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10278 | { | |
10279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10280 | { | |
10281 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
10282 | result = (wxColour *) &_result_ref; | |
10283 | } | |
10284 | ||
10285 | wxPyEndAllowThreads(__tstate); | |
10286 | if (PyErr_Occurred()) SWIG_fail; | |
10287 | } | |
10288 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); | |
10289 | return resultobj; | |
10290 | fail: | |
10291 | return NULL; | |
10292 | } | |
10293 | ||
10294 | ||
10295 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10296 | PyObject *resultobj; | |
10297 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10298 | size_t arg2 ; | |
10299 | PyObject * obj0 = 0 ; | |
10300 | PyObject * obj1 = 0 ; | |
10301 | char *kwnames[] = { | |
10302 | (char *) "self",(char *) "count", NULL | |
10303 | }; | |
10304 | ||
10305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
10306 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10307 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10308 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10309 | if (PyErr_Occurred()) SWIG_fail; | |
10310 | { | |
10311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10312 | (arg1)->SetItemCount(arg2); | |
10313 | ||
10314 | wxPyEndAllowThreads(__tstate); | |
10315 | if (PyErr_Occurred()) SWIG_fail; | |
10316 | } | |
10317 | Py_INCREF(Py_None); resultobj = Py_None; | |
10318 | return resultobj; | |
10319 | fail: | |
10320 | return NULL; | |
10321 | } | |
10322 | ||
10323 | ||
10324 | static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10325 | PyObject *resultobj; | |
10326 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10327 | PyObject * obj0 = 0 ; | |
10328 | char *kwnames[] = { | |
10329 | (char *) "self", NULL | |
10330 | }; | |
10331 | ||
10332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
10333 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10334 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10335 | { | |
10336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10337 | (arg1)->Clear(); | |
10338 | ||
10339 | wxPyEndAllowThreads(__tstate); | |
10340 | if (PyErr_Occurred()) SWIG_fail; | |
10341 | } | |
10342 | Py_INCREF(Py_None); resultobj = Py_None; | |
10343 | return resultobj; | |
10344 | fail: | |
10345 | return NULL; | |
10346 | } | |
10347 | ||
10348 | ||
10349 | static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10350 | PyObject *resultobj; | |
10351 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10352 | int arg2 ; | |
10353 | PyObject * obj0 = 0 ; | |
10354 | PyObject * obj1 = 0 ; | |
10355 | char *kwnames[] = { | |
10356 | (char *) "self",(char *) "selection", NULL | |
10357 | }; | |
10358 | ||
10359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
10360 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10361 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10362 | arg2 = (int) SWIG_AsInt(obj1); | |
10363 | if (PyErr_Occurred()) SWIG_fail; | |
10364 | { | |
10365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10366 | (arg1)->SetSelection(arg2); | |
10367 | ||
10368 | wxPyEndAllowThreads(__tstate); | |
10369 | if (PyErr_Occurred()) SWIG_fail; | |
10370 | } | |
10371 | Py_INCREF(Py_None); resultobj = Py_None; | |
10372 | return resultobj; | |
10373 | fail: | |
10374 | return NULL; | |
10375 | } | |
10376 | ||
10377 | ||
10378 | static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10379 | PyObject *resultobj; | |
10380 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10381 | size_t arg2 ; | |
10382 | bool arg3 = (bool) True ; | |
10383 | bool result; | |
10384 | PyObject * obj0 = 0 ; | |
10385 | PyObject * obj1 = 0 ; | |
10386 | PyObject * obj2 = 0 ; | |
10387 | char *kwnames[] = { | |
10388 | (char *) "self",(char *) "item",(char *) "select", NULL | |
10389 | }; | |
10390 | ||
10391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10392 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10393 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10394 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10395 | if (PyErr_Occurred()) SWIG_fail; | |
10396 | if (obj2) { | |
10397 | arg3 = (bool) SWIG_AsBool(obj2); | |
10398 | if (PyErr_Occurred()) SWIG_fail; | |
10399 | } | |
10400 | { | |
10401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10402 | result = (bool)(arg1)->Select(arg2,arg3); | |
10403 | ||
10404 | wxPyEndAllowThreads(__tstate); | |
10405 | if (PyErr_Occurred()) SWIG_fail; | |
10406 | } | |
10407 | { | |
10408 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10409 | } | |
10410 | return resultobj; | |
10411 | fail: | |
10412 | return NULL; | |
10413 | } | |
10414 | ||
10415 | ||
10416 | static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10417 | PyObject *resultobj; | |
10418 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10419 | size_t arg2 ; | |
10420 | size_t arg3 ; | |
10421 | bool result; | |
10422 | PyObject * obj0 = 0 ; | |
10423 | PyObject * obj1 = 0 ; | |
10424 | PyObject * obj2 = 0 ; | |
10425 | char *kwnames[] = { | |
10426 | (char *) "self",(char *) "from",(char *) "to", NULL | |
10427 | }; | |
10428 | ||
10429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10430 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10431 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10432 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10433 | if (PyErr_Occurred()) SWIG_fail; | |
10434 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
10435 | if (PyErr_Occurred()) SWIG_fail; | |
10436 | { | |
10437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10438 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
10439 | ||
10440 | wxPyEndAllowThreads(__tstate); | |
10441 | if (PyErr_Occurred()) SWIG_fail; | |
10442 | } | |
10443 | { | |
10444 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10445 | } | |
10446 | return resultobj; | |
10447 | fail: | |
10448 | return NULL; | |
10449 | } | |
10450 | ||
10451 | ||
10452 | static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10453 | PyObject *resultobj; | |
10454 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10455 | size_t arg2 ; | |
10456 | PyObject * obj0 = 0 ; | |
10457 | PyObject * obj1 = 0 ; | |
10458 | char *kwnames[] = { | |
10459 | (char *) "self",(char *) "item", NULL | |
10460 | }; | |
10461 | ||
10462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
10463 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10464 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10465 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10466 | if (PyErr_Occurred()) SWIG_fail; | |
10467 | { | |
10468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10469 | (arg1)->Toggle(arg2); | |
10470 | ||
10471 | wxPyEndAllowThreads(__tstate); | |
10472 | if (PyErr_Occurred()) SWIG_fail; | |
10473 | } | |
10474 | Py_INCREF(Py_None); resultobj = Py_None; | |
10475 | return resultobj; | |
10476 | fail: | |
10477 | return NULL; | |
10478 | } | |
10479 | ||
10480 | ||
10481 | static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10482 | PyObject *resultobj; | |
10483 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10484 | bool result; | |
10485 | PyObject * obj0 = 0 ; | |
10486 | char *kwnames[] = { | |
10487 | (char *) "self", NULL | |
10488 | }; | |
10489 | ||
10490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
10491 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10492 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10493 | { | |
10494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10495 | result = (bool)(arg1)->SelectAll(); | |
10496 | ||
10497 | wxPyEndAllowThreads(__tstate); | |
10498 | if (PyErr_Occurred()) SWIG_fail; | |
10499 | } | |
10500 | { | |
10501 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10502 | } | |
10503 | return resultobj; | |
10504 | fail: | |
10505 | return NULL; | |
10506 | } | |
10507 | ||
10508 | ||
10509 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10510 | PyObject *resultobj; | |
10511 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10512 | bool result; | |
10513 | PyObject * obj0 = 0 ; | |
10514 | char *kwnames[] = { | |
10515 | (char *) "self", NULL | |
10516 | }; | |
10517 | ||
10518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
10519 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10520 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10521 | { | |
10522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10523 | result = (bool)(arg1)->DeselectAll(); | |
10524 | ||
10525 | wxPyEndAllowThreads(__tstate); | |
10526 | if (PyErr_Occurred()) SWIG_fail; | |
10527 | } | |
10528 | { | |
10529 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10530 | } | |
10531 | return resultobj; | |
10532 | fail: | |
10533 | return NULL; | |
10534 | } | |
10535 | ||
10536 | ||
10537 | static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10538 | PyObject *resultobj; | |
10539 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10540 | wxPoint *arg2 = 0 ; | |
10541 | wxPoint temp2 ; | |
10542 | PyObject * obj0 = 0 ; | |
10543 | PyObject * obj1 = 0 ; | |
10544 | char *kwnames[] = { | |
10545 | (char *) "self",(char *) "pt", NULL | |
10546 | }; | |
10547 | ||
10548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
10549 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10550 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10551 | { | |
10552 | arg2 = &temp2; | |
10553 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10554 | } | |
10555 | { | |
10556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10557 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
10558 | ||
10559 | wxPyEndAllowThreads(__tstate); | |
10560 | if (PyErr_Occurred()) SWIG_fail; | |
10561 | } | |
10562 | Py_INCREF(Py_None); resultobj = Py_None; | |
10563 | return resultobj; | |
10564 | fail: | |
10565 | return NULL; | |
10566 | } | |
10567 | ||
10568 | ||
10569 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10570 | PyObject *resultobj; | |
10571 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10572 | int arg2 ; | |
10573 | int arg3 ; | |
10574 | PyObject * obj0 = 0 ; | |
10575 | PyObject * obj1 = 0 ; | |
10576 | PyObject * obj2 = 0 ; | |
10577 | char *kwnames[] = { | |
10578 | (char *) "self",(char *) "x",(char *) "y", NULL | |
10579 | }; | |
10580 | ||
10581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10582 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10583 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10584 | arg2 = (int) SWIG_AsInt(obj1); | |
10585 | if (PyErr_Occurred()) SWIG_fail; | |
10586 | arg3 = (int) SWIG_AsInt(obj2); | |
10587 | if (PyErr_Occurred()) SWIG_fail; | |
10588 | { | |
10589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10590 | (arg1)->SetMargins(arg2,arg3); | |
10591 | ||
10592 | wxPyEndAllowThreads(__tstate); | |
10593 | if (PyErr_Occurred()) SWIG_fail; | |
10594 | } | |
10595 | Py_INCREF(Py_None); resultobj = Py_None; | |
10596 | return resultobj; | |
10597 | fail: | |
10598 | return NULL; | |
10599 | } | |
10600 | ||
10601 | ||
10602 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10603 | PyObject *resultobj; | |
10604 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10605 | wxColour *arg2 = 0 ; | |
10606 | wxColour temp2 ; | |
10607 | PyObject * obj0 = 0 ; | |
10608 | PyObject * obj1 = 0 ; | |
10609 | char *kwnames[] = { | |
10610 | (char *) "self",(char *) "col", NULL | |
10611 | }; | |
10612 | ||
10613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
10614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10616 | { | |
10617 | arg2 = &temp2; | |
10618 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10619 | } | |
10620 | { | |
10621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10622 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
10623 | ||
10624 | wxPyEndAllowThreads(__tstate); | |
10625 | if (PyErr_Occurred()) SWIG_fail; | |
10626 | } | |
10627 | Py_INCREF(Py_None); resultobj = Py_None; | |
10628 | return resultobj; | |
10629 | fail: | |
10630 | return NULL; | |
10631 | } | |
10632 | ||
10633 | ||
10634 | static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) { | |
10635 | PyObject *obj; | |
10636 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10637 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
10638 | Py_INCREF(obj); | |
10639 | return Py_BuildValue((char *)""); | |
10640 | } | |
10641 | static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10642 | PyObject *resultobj; | |
10643 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10644 | int arg2 = (int) wxID_ANY ; | |
10645 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
10646 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10647 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10648 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10649 | long arg5 = (long) 0 ; | |
10650 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
10651 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10652 | wxPyHtmlListBox *result; | |
10653 | wxPoint temp3 ; | |
10654 | wxSize temp4 ; | |
10655 | bool temp6 = False ; | |
10656 | PyObject * obj0 = 0 ; | |
10657 | PyObject * obj1 = 0 ; | |
10658 | PyObject * obj2 = 0 ; | |
10659 | PyObject * obj3 = 0 ; | |
10660 | PyObject * obj4 = 0 ; | |
10661 | PyObject * obj5 = 0 ; | |
10662 | char *kwnames[] = { | |
10663 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10664 | }; | |
10665 | ||
10666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
10667 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
10668 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10669 | if (obj1) { | |
10670 | arg2 = (int) SWIG_AsInt(obj1); | |
10671 | if (PyErr_Occurred()) SWIG_fail; | |
10672 | } | |
10673 | if (obj2) { | |
10674 | { | |
10675 | arg3 = &temp3; | |
10676 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10677 | } | |
10678 | } | |
10679 | if (obj3) { | |
10680 | { | |
10681 | arg4 = &temp4; | |
10682 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10683 | } | |
10684 | } | |
10685 | if (obj4) { | |
10686 | arg5 = (long) SWIG_AsLong(obj4); | |
10687 | if (PyErr_Occurred()) SWIG_fail; | |
10688 | } | |
10689 | if (obj5) { | |
10690 | { | |
10691 | arg6 = wxString_in_helper(obj5); | |
10692 | if (arg6 == NULL) SWIG_fail; | |
10693 | temp6 = True; | |
10694 | } | |
10695 | } | |
10696 | { | |
0439c23b | 10697 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10699 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10700 | ||
10701 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10702 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10703 | } |
10704 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); | |
10705 | { | |
10706 | if (temp6) | |
10707 | delete arg6; | |
10708 | } | |
10709 | return resultobj; | |
10710 | fail: | |
10711 | { | |
10712 | if (temp6) | |
10713 | delete arg6; | |
10714 | } | |
10715 | return NULL; | |
10716 | } | |
10717 | ||
10718 | ||
10719 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10720 | PyObject *resultobj; | |
10721 | wxPyHtmlListBox *result; | |
10722 | char *kwnames[] = { | |
10723 | NULL | |
10724 | }; | |
10725 | ||
10726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
10727 | { | |
0439c23b | 10728 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10730 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
10731 | ||
10732 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10733 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10734 | } |
10735 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); | |
10736 | return resultobj; | |
10737 | fail: | |
10738 | return NULL; | |
10739 | } | |
10740 | ||
10741 | ||
10742 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10743 | PyObject *resultobj; | |
10744 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10745 | PyObject *arg2 = (PyObject *) 0 ; | |
10746 | PyObject *arg3 = (PyObject *) 0 ; | |
10747 | PyObject * obj0 = 0 ; | |
10748 | PyObject * obj1 = 0 ; | |
10749 | PyObject * obj2 = 0 ; | |
10750 | char *kwnames[] = { | |
10751 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10752 | }; | |
10753 | ||
10754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10755 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, | |
10756 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10757 | arg2 = obj1; | |
10758 | arg3 = obj2; | |
10759 | { | |
10760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10761 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10762 | ||
10763 | wxPyEndAllowThreads(__tstate); | |
10764 | if (PyErr_Occurred()) SWIG_fail; | |
10765 | } | |
10766 | Py_INCREF(Py_None); resultobj = Py_None; | |
10767 | return resultobj; | |
10768 | fail: | |
10769 | return NULL; | |
10770 | } | |
10771 | ||
10772 | ||
10773 | static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10774 | PyObject *resultobj; | |
10775 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10776 | wxWindow *arg2 = (wxWindow *) 0 ; | |
10777 | int arg3 = (int) wxID_ANY ; | |
10778 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
10779 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10780 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10781 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10782 | long arg6 = (long) 0 ; | |
10783 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
10784 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10785 | bool result; | |
10786 | wxPoint temp4 ; | |
10787 | wxSize temp5 ; | |
10788 | bool temp7 = False ; | |
10789 | PyObject * obj0 = 0 ; | |
10790 | PyObject * obj1 = 0 ; | |
10791 | PyObject * obj2 = 0 ; | |
10792 | PyObject * obj3 = 0 ; | |
10793 | PyObject * obj4 = 0 ; | |
10794 | PyObject * obj5 = 0 ; | |
10795 | PyObject * obj6 = 0 ; | |
10796 | char *kwnames[] = { | |
10797 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10798 | }; | |
10799 | ||
10800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
10801 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, | |
10802 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10803 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
10804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10805 | if (obj2) { | |
10806 | arg3 = (int) SWIG_AsInt(obj2); | |
10807 | if (PyErr_Occurred()) SWIG_fail; | |
10808 | } | |
10809 | if (obj3) { | |
10810 | { | |
10811 | arg4 = &temp4; | |
10812 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10813 | } | |
10814 | } | |
10815 | if (obj4) { | |
10816 | { | |
10817 | arg5 = &temp5; | |
10818 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10819 | } | |
10820 | } | |
10821 | if (obj5) { | |
10822 | arg6 = (long) SWIG_AsLong(obj5); | |
10823 | if (PyErr_Occurred()) SWIG_fail; | |
10824 | } | |
10825 | if (obj6) { | |
10826 | { | |
10827 | arg7 = wxString_in_helper(obj6); | |
10828 | if (arg7 == NULL) SWIG_fail; | |
10829 | temp7 = True; | |
10830 | } | |
10831 | } | |
10832 | { | |
10833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10834 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10835 | ||
10836 | wxPyEndAllowThreads(__tstate); | |
10837 | if (PyErr_Occurred()) SWIG_fail; | |
10838 | } | |
10839 | { | |
10840 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10841 | } | |
10842 | { | |
10843 | if (temp7) | |
10844 | delete arg7; | |
10845 | } | |
10846 | return resultobj; | |
10847 | fail: | |
10848 | { | |
10849 | if (temp7) | |
10850 | delete arg7; | |
10851 | } | |
10852 | return NULL; | |
10853 | } | |
10854 | ||
10855 | ||
10856 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10857 | PyObject *resultobj; | |
10858 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10859 | PyObject * obj0 = 0 ; | |
10860 | char *kwnames[] = { | |
10861 | (char *) "self", NULL | |
10862 | }; | |
10863 | ||
10864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
10865 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, | |
10866 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10867 | { | |
10868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10869 | (arg1)->RefreshAll(); | |
10870 | ||
10871 | wxPyEndAllowThreads(__tstate); | |
10872 | if (PyErr_Occurred()) SWIG_fail; | |
10873 | } | |
10874 | Py_INCREF(Py_None); resultobj = Py_None; | |
10875 | return resultobj; | |
10876 | fail: | |
10877 | return NULL; | |
10878 | } | |
10879 | ||
10880 | ||
10881 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10882 | PyObject *resultobj; | |
10883 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10884 | size_t arg2 ; | |
10885 | PyObject * obj0 = 0 ; | |
10886 | PyObject * obj1 = 0 ; | |
10887 | char *kwnames[] = { | |
10888 | (char *) "self",(char *) "count", NULL | |
10889 | }; | |
10890 | ||
10891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
10892 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, | |
10893 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10894 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10895 | if (PyErr_Occurred()) SWIG_fail; | |
10896 | { | |
10897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10898 | (arg1)->SetItemCount(arg2); | |
10899 | ||
10900 | wxPyEndAllowThreads(__tstate); | |
10901 | if (PyErr_Occurred()) SWIG_fail; | |
10902 | } | |
10903 | Py_INCREF(Py_None); resultobj = Py_None; | |
10904 | return resultobj; | |
10905 | fail: | |
10906 | return NULL; | |
10907 | } | |
10908 | ||
10909 | ||
c24da6d6 RD |
10910 | static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) { |
10911 | PyObject *resultobj; | |
10912 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10913 | wxFileSystem *result; | |
10914 | PyObject * obj0 = 0 ; | |
10915 | char *kwnames[] = { | |
10916 | (char *) "self", NULL | |
10917 | }; | |
10918 | ||
10919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail; | |
10920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, | |
10921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10922 | { | |
10923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10924 | { | |
10925 | wxFileSystem &_result_ref = (arg1)->GetFileSystem(); | |
10926 | result = (wxFileSystem *) &_result_ref; | |
10927 | } | |
10928 | ||
10929 | wxPyEndAllowThreads(__tstate); | |
10930 | if (PyErr_Occurred()) SWIG_fail; | |
10931 | } | |
10932 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0); | |
10933 | return resultobj; | |
10934 | fail: | |
10935 | return NULL; | |
10936 | } | |
10937 | ||
10938 | ||
d55e5bfc RD |
10939 | static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) { |
10940 | PyObject *obj; | |
10941 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10942 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
10943 | Py_INCREF(obj); | |
10944 | return Py_BuildValue((char *)""); | |
10945 | } | |
10946 | static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10947 | PyObject *resultobj; | |
10948 | wxTaskBarIcon *result; | |
10949 | char *kwnames[] = { | |
10950 | NULL | |
10951 | }; | |
10952 | ||
10953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
10954 | { | |
0439c23b | 10955 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10957 | result = (wxTaskBarIcon *)new wxTaskBarIcon(); | |
10958 | ||
10959 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10960 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10961 | } |
10962 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1); | |
10963 | return resultobj; | |
10964 | fail: | |
10965 | return NULL; | |
10966 | } | |
10967 | ||
10968 | ||
10969 | static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10970 | PyObject *resultobj; | |
10971 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10972 | PyObject * obj0 = 0 ; | |
10973 | char *kwnames[] = { | |
10974 | (char *) "self", NULL | |
10975 | }; | |
10976 | ||
10977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail; | |
10978 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, | |
10979 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10980 | { | |
10981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10982 | delete arg1; | |
10983 | ||
10984 | wxPyEndAllowThreads(__tstate); | |
10985 | if (PyErr_Occurred()) SWIG_fail; | |
10986 | } | |
10987 | Py_INCREF(Py_None); resultobj = Py_None; | |
10988 | return resultobj; | |
10989 | fail: | |
10990 | return NULL; | |
10991 | } | |
10992 | ||
10993 | ||
10994 | static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10995 | PyObject *resultobj; | |
10996 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10997 | PyObject * obj0 = 0 ; | |
10998 | char *kwnames[] = { | |
10999 | (char *) "self", NULL | |
11000 | }; | |
11001 | ||
11002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail; | |
11003 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, | |
11004 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11005 | { | |
11006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11007 | wxTaskBarIcon_Destroy(arg1); | |
11008 | ||
11009 | wxPyEndAllowThreads(__tstate); | |
11010 | if (PyErr_Occurred()) SWIG_fail; | |
11011 | } | |
11012 | Py_INCREF(Py_None); resultobj = Py_None; | |
11013 | return resultobj; | |
11014 | fail: | |
11015 | return NULL; | |
11016 | } | |
11017 | ||
11018 | ||
11019 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11020 | PyObject *resultobj; | |
11021 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
11022 | bool result; | |
11023 | PyObject * obj0 = 0 ; | |
11024 | char *kwnames[] = { | |
11025 | (char *) "self", NULL | |
11026 | }; | |
11027 | ||
11028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
11029 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, | |
11030 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11031 | { | |
11032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11033 | result = (bool)((wxTaskBarIcon const *)arg1)->IsOk(); | |
11034 | ||
11035 | wxPyEndAllowThreads(__tstate); | |
11036 | if (PyErr_Occurred()) SWIG_fail; | |
11037 | } | |
11038 | { | |
11039 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11040 | } | |
11041 | return resultobj; | |
11042 | fail: | |
11043 | return NULL; | |
11044 | } | |
11045 | ||
11046 | ||
11047 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11048 | PyObject *resultobj; | |
11049 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
11050 | bool result; | |
11051 | PyObject * obj0 = 0 ; | |
11052 | char *kwnames[] = { | |
11053 | (char *) "self", NULL | |
11054 | }; | |
11055 | ||
11056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
11057 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, | |
11058 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11059 | { | |
11060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11061 | result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled(); | |
11062 | ||
11063 | wxPyEndAllowThreads(__tstate); | |
11064 | if (PyErr_Occurred()) SWIG_fail; | |
11065 | } | |
11066 | { | |
11067 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11068 | } | |
11069 | return resultobj; | |
11070 | fail: | |
11071 | return NULL; | |
11072 | } | |
11073 | ||
11074 | ||
11075 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11076 | PyObject *resultobj; | |
11077 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
11078 | wxIcon *arg2 = 0 ; | |
11079 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11080 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11081 | bool result; | |
11082 | bool temp3 = False ; | |
11083 | PyObject * obj0 = 0 ; | |
11084 | PyObject * obj1 = 0 ; | |
11085 | PyObject * obj2 = 0 ; | |
11086 | char *kwnames[] = { | |
11087 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
11088 | }; | |
11089 | ||
11090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11091 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, | |
11092 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11093 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
11094 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
11095 | SWIG_fail; | |
11096 | if (arg2 == NULL) { | |
11097 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
11098 | SWIG_fail; | |
11099 | } | |
11100 | if (obj2) { | |
11101 | { | |
11102 | arg3 = wxString_in_helper(obj2); | |
11103 | if (arg3 == NULL) SWIG_fail; | |
11104 | temp3 = True; | |
11105 | } | |
11106 | } | |
11107 | { | |
11108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11109 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
11110 | ||
11111 | wxPyEndAllowThreads(__tstate); | |
11112 | if (PyErr_Occurred()) SWIG_fail; | |
11113 | } | |
11114 | { | |
11115 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11116 | } | |
11117 | { | |
11118 | if (temp3) | |
11119 | delete arg3; | |
11120 | } | |
11121 | return resultobj; | |
11122 | fail: | |
11123 | { | |
11124 | if (temp3) | |
11125 | delete arg3; | |
11126 | } | |
11127 | return NULL; | |
11128 | } | |
11129 | ||
11130 | ||
11131 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11132 | PyObject *resultobj; | |
11133 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
11134 | bool result; | |
11135 | PyObject * obj0 = 0 ; | |
11136 | char *kwnames[] = { | |
11137 | (char *) "self", NULL | |
11138 | }; | |
11139 | ||
11140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
11141 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, | |
11142 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11143 | { | |
11144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11145 | result = (bool)(arg1)->RemoveIcon(); | |
11146 | ||
11147 | wxPyEndAllowThreads(__tstate); | |
11148 | if (PyErr_Occurred()) SWIG_fail; | |
11149 | } | |
11150 | { | |
11151 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11152 | } | |
11153 | return resultobj; | |
11154 | fail: | |
11155 | return NULL; | |
11156 | } | |
11157 | ||
11158 | ||
11159 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11160 | PyObject *resultobj; | |
11161 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
11162 | wxMenu *arg2 = (wxMenu *) 0 ; | |
11163 | bool result; | |
11164 | PyObject * obj0 = 0 ; | |
11165 | PyObject * obj1 = 0 ; | |
11166 | char *kwnames[] = { | |
11167 | (char *) "self",(char *) "menu", NULL | |
11168 | }; | |
11169 | ||
11170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
11171 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, | |
11172 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11173 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, | |
11174 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11175 | { | |
11176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11177 | result = (bool)(arg1)->PopupMenu(arg2); | |
11178 | ||
11179 | wxPyEndAllowThreads(__tstate); | |
11180 | if (PyErr_Occurred()) SWIG_fail; | |
11181 | } | |
11182 | { | |
11183 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11184 | } | |
11185 | return resultobj; | |
11186 | fail: | |
11187 | return NULL; | |
11188 | } | |
11189 | ||
11190 | ||
11191 | static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) { | |
11192 | PyObject *obj; | |
11193 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11194 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj); | |
11195 | Py_INCREF(obj); | |
11196 | return Py_BuildValue((char *)""); | |
11197 | } | |
11198 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11199 | PyObject *resultobj; | |
11200 | wxEventType arg1 ; | |
11201 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
11202 | wxTaskBarIconEvent *result; | |
11203 | PyObject * obj0 = 0 ; | |
11204 | PyObject * obj1 = 0 ; | |
11205 | char *kwnames[] = { | |
11206 | (char *) "evtType",(char *) "tbIcon", NULL | |
11207 | }; | |
11208 | ||
11209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; | |
11210 | arg1 = (wxEventType) SWIG_AsInt(obj0); | |
11211 | if (PyErr_Occurred()) SWIG_fail; | |
11212 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon, | |
11213 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11214 | { | |
11215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11216 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
11217 | ||
11218 | wxPyEndAllowThreads(__tstate); | |
11219 | if (PyErr_Occurred()) SWIG_fail; | |
11220 | } | |
11221 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); | |
11222 | return resultobj; | |
11223 | fail: | |
11224 | return NULL; | |
11225 | } | |
11226 | ||
11227 | ||
11228 | static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) { | |
11229 | PyObject *obj; | |
11230 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11231 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
11232 | Py_INCREF(obj); | |
11233 | return Py_BuildValue((char *)""); | |
11234 | } | |
11235 | static int _wrap_FileSelectorPromptStr_set(PyObject *_val) { | |
11236 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); | |
11237 | return 1; | |
11238 | } | |
11239 | ||
11240 | ||
11241 | static PyObject *_wrap_FileSelectorPromptStr_get() { | |
11242 | PyObject *pyobj; | |
11243 | ||
11244 | { | |
11245 | #if wxUSE_UNICODE | |
11246 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
11247 | #else | |
11248 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
11249 | #endif | |
11250 | } | |
11251 | return pyobj; | |
11252 | } | |
11253 | ||
11254 | ||
11255 | static int _wrap_DirSelectorPromptStr_set(PyObject *_val) { | |
11256 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); | |
11257 | return 1; | |
11258 | } | |
11259 | ||
11260 | ||
11261 | static PyObject *_wrap_DirSelectorPromptStr_get() { | |
11262 | PyObject *pyobj; | |
11263 | ||
11264 | { | |
11265 | #if wxUSE_UNICODE | |
11266 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
11267 | #else | |
11268 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
11269 | #endif | |
11270 | } | |
11271 | return pyobj; | |
11272 | } | |
11273 | ||
11274 | ||
11275 | static int _wrap_DirDialogNameStr_set(PyObject *_val) { | |
11276 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); | |
11277 | return 1; | |
11278 | } | |
11279 | ||
11280 | ||
11281 | static PyObject *_wrap_DirDialogNameStr_get() { | |
11282 | PyObject *pyobj; | |
11283 | ||
11284 | { | |
11285 | #if wxUSE_UNICODE | |
11286 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
11287 | #else | |
11288 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
11289 | #endif | |
11290 | } | |
11291 | return pyobj; | |
11292 | } | |
11293 | ||
11294 | ||
11295 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) { | |
11296 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); | |
11297 | return 1; | |
11298 | } | |
11299 | ||
11300 | ||
11301 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() { | |
11302 | PyObject *pyobj; | |
11303 | ||
11304 | { | |
11305 | #if wxUSE_UNICODE | |
11306 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
11307 | #else | |
11308 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
11309 | #endif | |
11310 | } | |
11311 | return pyobj; | |
11312 | } | |
11313 | ||
11314 | ||
11315 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) { | |
11316 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); | |
11317 | return 1; | |
11318 | } | |
11319 | ||
11320 | ||
11321 | static PyObject *_wrap_GetTextFromUserPromptStr_get() { | |
11322 | PyObject *pyobj; | |
11323 | ||
11324 | { | |
11325 | #if wxUSE_UNICODE | |
11326 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
11327 | #else | |
11328 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
11329 | #endif | |
11330 | } | |
11331 | return pyobj; | |
11332 | } | |
11333 | ||
11334 | ||
11335 | static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) { | |
11336 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); | |
11337 | return 1; | |
11338 | } | |
11339 | ||
11340 | ||
11341 | static PyObject *_wrap_MessageBoxCaptionStr_get() { | |
11342 | PyObject *pyobj; | |
11343 | ||
11344 | { | |
11345 | #if wxUSE_UNICODE | |
11346 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
11347 | #else | |
11348 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
11349 | #endif | |
11350 | } | |
11351 | return pyobj; | |
11352 | } | |
11353 | ||
11354 | ||
11355 | static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11356 | PyObject *resultobj; | |
11357 | wxColourData *result; | |
11358 | char *kwnames[] = { | |
11359 | NULL | |
11360 | }; | |
11361 | ||
11362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
11363 | { | |
11364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11365 | result = (wxColourData *)new wxColourData(); | |
11366 | ||
11367 | wxPyEndAllowThreads(__tstate); | |
11368 | if (PyErr_Occurred()) SWIG_fail; | |
11369 | } | |
11370 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); | |
11371 | return resultobj; | |
11372 | fail: | |
11373 | return NULL; | |
11374 | } | |
11375 | ||
11376 | ||
11377 | static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11378 | PyObject *resultobj; | |
11379 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11380 | PyObject * obj0 = 0 ; | |
11381 | char *kwnames[] = { | |
11382 | (char *) "self", NULL | |
11383 | }; | |
11384 | ||
11385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
11386 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, | |
11387 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11388 | { | |
11389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11390 | delete arg1; | |
11391 | ||
11392 | wxPyEndAllowThreads(__tstate); | |
11393 | if (PyErr_Occurred()) SWIG_fail; | |
11394 | } | |
11395 | Py_INCREF(Py_None); resultobj = Py_None; | |
11396 | return resultobj; | |
11397 | fail: | |
11398 | return NULL; | |
11399 | } | |
11400 | ||
11401 | ||
11402 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11403 | PyObject *resultobj; | |
11404 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11405 | bool result; | |
11406 | PyObject * obj0 = 0 ; | |
11407 | char *kwnames[] = { | |
11408 | (char *) "self", NULL | |
11409 | }; | |
11410 | ||
11411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
11412 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, | |
11413 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11414 | { | |
11415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11416 | result = (bool)(arg1)->GetChooseFull(); | |
11417 | ||
11418 | wxPyEndAllowThreads(__tstate); | |
11419 | if (PyErr_Occurred()) SWIG_fail; | |
11420 | } | |
11421 | { | |
11422 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11423 | } | |
11424 | return resultobj; | |
11425 | fail: | |
11426 | return NULL; | |
11427 | } | |
11428 | ||
11429 | ||
11430 | static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11431 | PyObject *resultobj; | |
11432 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11433 | wxColour result; | |
11434 | PyObject * obj0 = 0 ; | |
11435 | char *kwnames[] = { | |
11436 | (char *) "self", NULL | |
11437 | }; | |
11438 | ||
11439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
11440 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, | |
11441 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11442 | { | |
11443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11444 | result = (arg1)->GetColour(); | |
11445 | ||
11446 | wxPyEndAllowThreads(__tstate); | |
11447 | if (PyErr_Occurred()) SWIG_fail; | |
11448 | } | |
11449 | { | |
11450 | wxColour * resultptr; | |
11451 | resultptr = new wxColour((wxColour &) result); | |
11452 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
11453 | } | |
11454 | return resultobj; | |
11455 | fail: | |
11456 | return NULL; | |
11457 | } | |
11458 | ||
11459 | ||
11460 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11461 | PyObject *resultobj; | |
11462 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11463 | int arg2 ; | |
11464 | wxColour result; | |
11465 | PyObject * obj0 = 0 ; | |
11466 | PyObject * obj1 = 0 ; | |
11467 | char *kwnames[] = { | |
11468 | (char *) "self",(char *) "i", NULL | |
11469 | }; | |
11470 | ||
11471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; | |
11472 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, | |
11473 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11474 | arg2 = (int) SWIG_AsInt(obj1); | |
11475 | if (PyErr_Occurred()) SWIG_fail; | |
11476 | { | |
11477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11478 | result = (arg1)->GetCustomColour(arg2); | |
11479 | ||
11480 | wxPyEndAllowThreads(__tstate); | |
11481 | if (PyErr_Occurred()) SWIG_fail; | |
11482 | } | |
11483 | { | |
11484 | wxColour * resultptr; | |
11485 | resultptr = new wxColour((wxColour &) result); | |
11486 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
11487 | } | |
11488 | return resultobj; | |
11489 | fail: | |
11490 | return NULL; | |
11491 | } | |
11492 | ||
11493 | ||
11494 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11495 | PyObject *resultobj; | |
11496 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11497 | int arg2 ; | |
11498 | PyObject * obj0 = 0 ; | |
11499 | PyObject * obj1 = 0 ; | |
11500 | char *kwnames[] = { | |
11501 | (char *) "self",(char *) "flag", NULL | |
11502 | }; | |
11503 | ||
11504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; | |
11505 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, | |
11506 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11507 | arg2 = (int) SWIG_AsInt(obj1); | |
11508 | if (PyErr_Occurred()) SWIG_fail; | |
11509 | { | |
11510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11511 | (arg1)->SetChooseFull(arg2); | |
11512 | ||
11513 | wxPyEndAllowThreads(__tstate); | |
11514 | if (PyErr_Occurred()) SWIG_fail; | |
11515 | } | |
11516 | Py_INCREF(Py_None); resultobj = Py_None; | |
11517 | return resultobj; | |
11518 | fail: | |
11519 | return NULL; | |
11520 | } | |
11521 | ||
11522 | ||
11523 | static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11524 | PyObject *resultobj; | |
11525 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11526 | wxColour *arg2 = 0 ; | |
11527 | wxColour temp2 ; | |
11528 | PyObject * obj0 = 0 ; | |
11529 | PyObject * obj1 = 0 ; | |
11530 | char *kwnames[] = { | |
11531 | (char *) "self",(char *) "colour", NULL | |
11532 | }; | |
11533 | ||
11534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
11535 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, | |
11536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11537 | { | |
11538 | arg2 = &temp2; | |
11539 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
11540 | } | |
11541 | { | |
11542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11543 | (arg1)->SetColour((wxColour const &)*arg2); | |
11544 | ||
11545 | wxPyEndAllowThreads(__tstate); | |
11546 | if (PyErr_Occurred()) SWIG_fail; | |
11547 | } | |
11548 | Py_INCREF(Py_None); resultobj = Py_None; | |
11549 | return resultobj; | |
11550 | fail: | |
11551 | return NULL; | |
11552 | } | |
11553 | ||
11554 | ||
11555 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11556 | PyObject *resultobj; | |
11557 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11558 | int arg2 ; | |
11559 | wxColour *arg3 = 0 ; | |
11560 | wxColour temp3 ; | |
11561 | PyObject * obj0 = 0 ; | |
11562 | PyObject * obj1 = 0 ; | |
11563 | PyObject * obj2 = 0 ; | |
11564 | char *kwnames[] = { | |
11565 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
11566 | }; | |
11567 | ||
11568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11569 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, | |
11570 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11571 | arg2 = (int) SWIG_AsInt(obj1); | |
11572 | if (PyErr_Occurred()) SWIG_fail; | |
11573 | { | |
11574 | arg3 = &temp3; | |
11575 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11576 | } | |
11577 | { | |
11578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11579 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
11580 | ||
11581 | wxPyEndAllowThreads(__tstate); | |
11582 | if (PyErr_Occurred()) SWIG_fail; | |
11583 | } | |
11584 | Py_INCREF(Py_None); resultobj = Py_None; | |
11585 | return resultobj; | |
11586 | fail: | |
11587 | return NULL; | |
11588 | } | |
11589 | ||
11590 | ||
11591 | static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) { | |
11592 | PyObject *obj; | |
11593 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11594 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
11595 | Py_INCREF(obj); | |
11596 | return Py_BuildValue((char *)""); | |
11597 | } | |
11598 | static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11599 | PyObject *resultobj; | |
11600 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11601 | wxColourData *arg2 = (wxColourData *) NULL ; | |
11602 | wxColourDialog *result; | |
11603 | PyObject * obj0 = 0 ; | |
11604 | PyObject * obj1 = 0 ; | |
11605 | char *kwnames[] = { | |
11606 | (char *) "parent",(char *) "data", NULL | |
11607 | }; | |
11608 | ||
11609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
11610 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
11611 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11612 | if (obj1) { | |
11613 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData, | |
11614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11615 | } | |
11616 | { | |
0439c23b | 11617 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
11618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11619 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
11620 | ||
11621 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11622 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
11623 | } |
11624 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); | |
11625 | return resultobj; | |
11626 | fail: | |
11627 | return NULL; | |
11628 | } | |
11629 | ||
11630 | ||
11631 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11632 | PyObject *resultobj; | |
11633 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
11634 | wxColourData *result; | |
11635 | PyObject * obj0 = 0 ; | |
11636 | char *kwnames[] = { | |
11637 | (char *) "self", NULL | |
11638 | }; | |
11639 | ||
11640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
11641 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog, | |
11642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11643 | { | |
11644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11645 | { | |
11646 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
11647 | result = (wxColourData *) &_result_ref; | |
11648 | } | |
11649 | ||
11650 | wxPyEndAllowThreads(__tstate); | |
11651 | if (PyErr_Occurred()) SWIG_fail; | |
11652 | } | |
11653 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); | |
11654 | return resultobj; | |
11655 | fail: | |
11656 | return NULL; | |
11657 | } | |
11658 | ||
11659 | ||
11660 | static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) { | |
11661 | PyObject *obj; | |
11662 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11663 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
11664 | Py_INCREF(obj); | |
11665 | return Py_BuildValue((char *)""); | |
11666 | } | |
11667 | static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11668 | PyObject *resultobj; | |
11669 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11670 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
11671 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11672 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11673 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11674 | long arg4 = (long) 0 ; | |
11675 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
11676 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
11677 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
11678 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
11679 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
11680 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11681 | wxDirDialog *result; | |
11682 | bool temp2 = False ; | |
11683 | bool temp3 = False ; | |
11684 | wxPoint temp5 ; | |
11685 | wxSize temp6 ; | |
11686 | bool temp7 = False ; | |
11687 | PyObject * obj0 = 0 ; | |
11688 | PyObject * obj1 = 0 ; | |
11689 | PyObject * obj2 = 0 ; | |
11690 | PyObject * obj3 = 0 ; | |
11691 | PyObject * obj4 = 0 ; | |
11692 | PyObject * obj5 = 0 ; | |
11693 | PyObject * obj6 = 0 ; | |
11694 | char *kwnames[] = { | |
11695 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
11696 | }; | |
11697 | ||
11698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
11699 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
11700 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11701 | if (obj1) { | |
11702 | { | |
11703 | arg2 = wxString_in_helper(obj1); | |
11704 | if (arg2 == NULL) SWIG_fail; | |
11705 | temp2 = True; | |
11706 | } | |
11707 | } | |
11708 | if (obj2) { | |
11709 | { | |
11710 | arg3 = wxString_in_helper(obj2); | |
11711 | if (arg3 == NULL) SWIG_fail; | |
11712 | temp3 = True; | |
11713 | } | |
11714 | } | |
11715 | if (obj3) { | |
11716 | arg4 = (long) SWIG_AsLong(obj3); | |
11717 | if (PyErr_Occurred()) SWIG_fail; | |
11718 | } | |
11719 | if (obj4) { | |
11720 | { | |
11721 | arg5 = &temp5; | |
11722 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
11723 | } | |
11724 | } | |
11725 | if (obj5) { | |
11726 | { | |
11727 | arg6 = &temp6; | |
11728 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
11729 | } | |
11730 | } | |
11731 | if (obj6) { | |
11732 | { | |
11733 | arg7 = wxString_in_helper(obj6); | |
11734 | if (arg7 == NULL) SWIG_fail; | |
11735 | temp7 = True; | |
11736 | } | |
11737 | } | |
11738 | { | |
0439c23b | 11739 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
11740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11741 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
11742 | ||
11743 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11744 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
11745 | } |
11746 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); | |
11747 | { | |
11748 | if (temp2) | |
11749 | delete arg2; | |
11750 | } | |
11751 | { | |
11752 | if (temp3) | |
11753 | delete arg3; | |
11754 | } | |
11755 | { | |
11756 | if (temp7) | |
11757 | delete arg7; | |
11758 | } | |
11759 | return resultobj; | |
11760 | fail: | |
11761 | { | |
11762 | if (temp2) | |
11763 | delete arg2; | |
11764 | } | |
11765 | { | |
11766 | if (temp3) | |
11767 | delete arg3; | |
11768 | } | |
11769 | { | |
11770 | if (temp7) | |
11771 | delete arg7; | |
11772 | } | |
11773 | return NULL; | |
11774 | } | |
11775 | ||
11776 | ||
11777 | static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11778 | PyObject *resultobj; | |
11779 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11780 | wxString result; | |
11781 | PyObject * obj0 = 0 ; | |
11782 | char *kwnames[] = { | |
11783 | (char *) "self", NULL | |
11784 | }; | |
11785 | ||
11786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
11787 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, | |
11788 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11789 | { | |
11790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11791 | result = (arg1)->GetPath(); | |
11792 | ||
11793 | wxPyEndAllowThreads(__tstate); | |
11794 | if (PyErr_Occurred()) SWIG_fail; | |
11795 | } | |
11796 | { | |
11797 | #if wxUSE_UNICODE | |
11798 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11799 | #else | |
11800 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11801 | #endif | |
11802 | } | |
11803 | return resultobj; | |
11804 | fail: | |
11805 | return NULL; | |
11806 | } | |
11807 | ||
11808 | ||
11809 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11810 | PyObject *resultobj; | |
11811 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11812 | wxString result; | |
11813 | PyObject * obj0 = 0 ; | |
11814 | char *kwnames[] = { | |
11815 | (char *) "self", NULL | |
11816 | }; | |
11817 | ||
11818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
11819 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, | |
11820 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11821 | { | |
11822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11823 | result = (arg1)->GetMessage(); | |
11824 | ||
11825 | wxPyEndAllowThreads(__tstate); | |
11826 | if (PyErr_Occurred()) SWIG_fail; | |
11827 | } | |
11828 | { | |
11829 | #if wxUSE_UNICODE | |
11830 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11831 | #else | |
11832 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11833 | #endif | |
11834 | } | |
11835 | return resultobj; | |
11836 | fail: | |
11837 | return NULL; | |
11838 | } | |
11839 | ||
11840 | ||
11841 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11842 | PyObject *resultobj; | |
11843 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11844 | long result; | |
11845 | PyObject * obj0 = 0 ; | |
11846 | char *kwnames[] = { | |
11847 | (char *) "self", NULL | |
11848 | }; | |
11849 | ||
11850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
11851 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, | |
11852 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11853 | { | |
11854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11855 | result = (long)(arg1)->GetStyle(); | |
11856 | ||
11857 | wxPyEndAllowThreads(__tstate); | |
11858 | if (PyErr_Occurred()) SWIG_fail; | |
11859 | } | |
11860 | resultobj = SWIG_FromLong((long)result); | |
11861 | return resultobj; | |
11862 | fail: | |
11863 | return NULL; | |
11864 | } | |
11865 | ||
11866 | ||
11867 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11868 | PyObject *resultobj; | |
11869 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11870 | wxString *arg2 = 0 ; | |
11871 | bool temp2 = False ; | |
11872 | PyObject * obj0 = 0 ; | |
11873 | PyObject * obj1 = 0 ; | |
11874 | char *kwnames[] = { | |
11875 | (char *) "self",(char *) "message", NULL | |
11876 | }; | |
11877 | ||
11878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
11879 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, | |
11880 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11881 | { | |
11882 | arg2 = wxString_in_helper(obj1); | |
11883 | if (arg2 == NULL) SWIG_fail; | |
11884 | temp2 = True; | |
11885 | } | |
11886 | { | |
11887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11888 | (arg1)->SetMessage((wxString const &)*arg2); | |
11889 | ||
11890 | wxPyEndAllowThreads(__tstate); | |
11891 | if (PyErr_Occurred()) SWIG_fail; | |
11892 | } | |
11893 | Py_INCREF(Py_None); resultobj = Py_None; | |
11894 | { | |
11895 | if (temp2) | |
11896 | delete arg2; | |
11897 | } | |
11898 | return resultobj; | |
11899 | fail: | |
11900 | { | |
11901 | if (temp2) | |
11902 | delete arg2; | |
11903 | } | |
11904 | return NULL; | |
11905 | } | |
11906 | ||
11907 | ||
11908 | static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11909 | PyObject *resultobj; | |
11910 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11911 | wxString *arg2 = 0 ; | |
11912 | bool temp2 = False ; | |
11913 | PyObject * obj0 = 0 ; | |
11914 | PyObject * obj1 = 0 ; | |
11915 | char *kwnames[] = { | |
11916 | (char *) "self",(char *) "path", NULL | |
11917 | }; | |
11918 | ||
11919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
11920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, | |
11921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11922 | { | |
11923 | arg2 = wxString_in_helper(obj1); | |
11924 | if (arg2 == NULL) SWIG_fail; | |
11925 | temp2 = True; | |
11926 | } | |
11927 | { | |
11928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11929 | (arg1)->SetPath((wxString const &)*arg2); | |
11930 | ||
11931 | wxPyEndAllowThreads(__tstate); | |
11932 | if (PyErr_Occurred()) SWIG_fail; | |
11933 | } | |
11934 | Py_INCREF(Py_None); resultobj = Py_None; | |
11935 | { | |
11936 | if (temp2) | |
11937 | delete arg2; | |
11938 | } | |
11939 | return resultobj; | |
11940 | fail: | |
11941 | { | |
11942 | if (temp2) | |
11943 | delete arg2; | |
11944 | } | |
11945 | return NULL; | |
11946 | } | |
11947 | ||
11948 | ||
11949 | static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) { | |
11950 | PyObject *obj; | |
11951 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11952 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
11953 | Py_INCREF(obj); | |
11954 | return Py_BuildValue((char *)""); | |
11955 | } | |
11956 | static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11957 | PyObject *resultobj; | |
11958 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11959 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
11960 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11961 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11962 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11963 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11964 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11965 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
11966 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
11967 | long arg6 = (long) 0 ; | |
11968 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11969 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11970 | wxFileDialog *result; | |
11971 | bool temp2 = False ; | |
11972 | bool temp3 = False ; | |
11973 | bool temp4 = False ; | |
11974 | bool temp5 = False ; | |
11975 | wxPoint temp7 ; | |
11976 | PyObject * obj0 = 0 ; | |
11977 | PyObject * obj1 = 0 ; | |
11978 | PyObject * obj2 = 0 ; | |
11979 | PyObject * obj3 = 0 ; | |
11980 | PyObject * obj4 = 0 ; | |
11981 | PyObject * obj5 = 0 ; | |
11982 | PyObject * obj6 = 0 ; | |
11983 | char *kwnames[] = { | |
11984 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
11985 | }; | |
11986 | ||
11987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
11988 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
11989 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11990 | if (obj1) { | |
11991 | { | |
11992 | arg2 = wxString_in_helper(obj1); | |
11993 | if (arg2 == NULL) SWIG_fail; | |
11994 | temp2 = True; | |
11995 | } | |
11996 | } | |
11997 | if (obj2) { | |
11998 | { | |
11999 | arg3 = wxString_in_helper(obj2); | |
12000 | if (arg3 == NULL) SWIG_fail; | |
12001 | temp3 = True; | |
12002 | } | |
12003 | } | |
12004 | if (obj3) { | |
12005 | { | |
12006 | arg4 = wxString_in_helper(obj3); | |
12007 | if (arg4 == NULL) SWIG_fail; | |
12008 | temp4 = True; | |
12009 | } | |
12010 | } | |
12011 | if (obj4) { | |
12012 | { | |
12013 | arg5 = wxString_in_helper(obj4); | |
12014 | if (arg5 == NULL) SWIG_fail; | |
12015 | temp5 = True; | |
12016 | } | |
12017 | } | |
12018 | if (obj5) { | |
12019 | arg6 = (long) SWIG_AsLong(obj5); | |
12020 | if (PyErr_Occurred()) SWIG_fail; | |
12021 | } | |
12022 | if (obj6) { | |
12023 | { | |
12024 | arg7 = &temp7; | |
12025 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
12026 | } | |
12027 | } | |
12028 | { | |
0439c23b | 12029 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
12030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12031 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
12032 | ||
12033 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12034 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
12035 | } |
12036 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); | |
12037 | { | |
12038 | if (temp2) | |
12039 | delete arg2; | |
12040 | } | |
12041 | { | |
12042 | if (temp3) | |
12043 | delete arg3; | |
12044 | } | |
12045 | { | |
12046 | if (temp4) | |
12047 | delete arg4; | |
12048 | } | |
12049 | { | |
12050 | if (temp5) | |
12051 | delete arg5; | |
12052 | } | |
12053 | return resultobj; | |
12054 | fail: | |
12055 | { | |
12056 | if (temp2) | |
12057 | delete arg2; | |
12058 | } | |
12059 | { | |
12060 | if (temp3) | |
12061 | delete arg3; | |
12062 | } | |
12063 | { | |
12064 | if (temp4) | |
12065 | delete arg4; | |
12066 | } | |
12067 | { | |
12068 | if (temp5) | |
12069 | delete arg5; | |
12070 | } | |
12071 | return NULL; | |
12072 | } | |
12073 | ||
12074 | ||
12075 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12076 | PyObject *resultobj; | |
12077 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12078 | wxString *arg2 = 0 ; | |
12079 | bool temp2 = False ; | |
12080 | PyObject * obj0 = 0 ; | |
12081 | PyObject * obj1 = 0 ; | |
12082 | char *kwnames[] = { | |
12083 | (char *) "self",(char *) "message", NULL | |
12084 | }; | |
12085 | ||
12086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
12087 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12088 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12089 | { | |
12090 | arg2 = wxString_in_helper(obj1); | |
12091 | if (arg2 == NULL) SWIG_fail; | |
12092 | temp2 = True; | |
12093 | } | |
12094 | { | |
12095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12096 | (arg1)->SetMessage((wxString const &)*arg2); | |
12097 | ||
12098 | wxPyEndAllowThreads(__tstate); | |
12099 | if (PyErr_Occurred()) SWIG_fail; | |
12100 | } | |
12101 | Py_INCREF(Py_None); resultobj = Py_None; | |
12102 | { | |
12103 | if (temp2) | |
12104 | delete arg2; | |
12105 | } | |
12106 | return resultobj; | |
12107 | fail: | |
12108 | { | |
12109 | if (temp2) | |
12110 | delete arg2; | |
12111 | } | |
12112 | return NULL; | |
12113 | } | |
12114 | ||
12115 | ||
12116 | static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12117 | PyObject *resultobj; | |
12118 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12119 | wxString *arg2 = 0 ; | |
12120 | bool temp2 = False ; | |
12121 | PyObject * obj0 = 0 ; | |
12122 | PyObject * obj1 = 0 ; | |
12123 | char *kwnames[] = { | |
12124 | (char *) "self",(char *) "path", NULL | |
12125 | }; | |
12126 | ||
12127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
12128 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12129 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12130 | { | |
12131 | arg2 = wxString_in_helper(obj1); | |
12132 | if (arg2 == NULL) SWIG_fail; | |
12133 | temp2 = True; | |
12134 | } | |
12135 | { | |
12136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12137 | (arg1)->SetPath((wxString const &)*arg2); | |
12138 | ||
12139 | wxPyEndAllowThreads(__tstate); | |
12140 | if (PyErr_Occurred()) SWIG_fail; | |
12141 | } | |
12142 | Py_INCREF(Py_None); resultobj = Py_None; | |
12143 | { | |
12144 | if (temp2) | |
12145 | delete arg2; | |
12146 | } | |
12147 | return resultobj; | |
12148 | fail: | |
12149 | { | |
12150 | if (temp2) | |
12151 | delete arg2; | |
12152 | } | |
12153 | return NULL; | |
12154 | } | |
12155 | ||
12156 | ||
12157 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12158 | PyObject *resultobj; | |
12159 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12160 | wxString *arg2 = 0 ; | |
12161 | bool temp2 = False ; | |
12162 | PyObject * obj0 = 0 ; | |
12163 | PyObject * obj1 = 0 ; | |
12164 | char *kwnames[] = { | |
12165 | (char *) "self",(char *) "dir", NULL | |
12166 | }; | |
12167 | ||
12168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
12169 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12170 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12171 | { | |
12172 | arg2 = wxString_in_helper(obj1); | |
12173 | if (arg2 == NULL) SWIG_fail; | |
12174 | temp2 = True; | |
12175 | } | |
12176 | { | |
12177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12178 | (arg1)->SetDirectory((wxString const &)*arg2); | |
12179 | ||
12180 | wxPyEndAllowThreads(__tstate); | |
12181 | if (PyErr_Occurred()) SWIG_fail; | |
12182 | } | |
12183 | Py_INCREF(Py_None); resultobj = Py_None; | |
12184 | { | |
12185 | if (temp2) | |
12186 | delete arg2; | |
12187 | } | |
12188 | return resultobj; | |
12189 | fail: | |
12190 | { | |
12191 | if (temp2) | |
12192 | delete arg2; | |
12193 | } | |
12194 | return NULL; | |
12195 | } | |
12196 | ||
12197 | ||
12198 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12199 | PyObject *resultobj; | |
12200 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12201 | wxString *arg2 = 0 ; | |
12202 | bool temp2 = False ; | |
12203 | PyObject * obj0 = 0 ; | |
12204 | PyObject * obj1 = 0 ; | |
12205 | char *kwnames[] = { | |
12206 | (char *) "self",(char *) "name", NULL | |
12207 | }; | |
12208 | ||
12209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
12210 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12212 | { | |
12213 | arg2 = wxString_in_helper(obj1); | |
12214 | if (arg2 == NULL) SWIG_fail; | |
12215 | temp2 = True; | |
12216 | } | |
12217 | { | |
12218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12219 | (arg1)->SetFilename((wxString const &)*arg2); | |
12220 | ||
12221 | wxPyEndAllowThreads(__tstate); | |
12222 | if (PyErr_Occurred()) SWIG_fail; | |
12223 | } | |
12224 | Py_INCREF(Py_None); resultobj = Py_None; | |
12225 | { | |
12226 | if (temp2) | |
12227 | delete arg2; | |
12228 | } | |
12229 | return resultobj; | |
12230 | fail: | |
12231 | { | |
12232 | if (temp2) | |
12233 | delete arg2; | |
12234 | } | |
12235 | return NULL; | |
12236 | } | |
12237 | ||
12238 | ||
12239 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12240 | PyObject *resultobj; | |
12241 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12242 | wxString *arg2 = 0 ; | |
12243 | bool temp2 = False ; | |
12244 | PyObject * obj0 = 0 ; | |
12245 | PyObject * obj1 = 0 ; | |
12246 | char *kwnames[] = { | |
12247 | (char *) "self",(char *) "wildCard", NULL | |
12248 | }; | |
12249 | ||
12250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
12251 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12252 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12253 | { | |
12254 | arg2 = wxString_in_helper(obj1); | |
12255 | if (arg2 == NULL) SWIG_fail; | |
12256 | temp2 = True; | |
12257 | } | |
12258 | { | |
12259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12260 | (arg1)->SetWildcard((wxString const &)*arg2); | |
12261 | ||
12262 | wxPyEndAllowThreads(__tstate); | |
12263 | if (PyErr_Occurred()) SWIG_fail; | |
12264 | } | |
12265 | Py_INCREF(Py_None); resultobj = Py_None; | |
12266 | { | |
12267 | if (temp2) | |
12268 | delete arg2; | |
12269 | } | |
12270 | return resultobj; | |
12271 | fail: | |
12272 | { | |
12273 | if (temp2) | |
12274 | delete arg2; | |
12275 | } | |
12276 | return NULL; | |
12277 | } | |
12278 | ||
12279 | ||
12280 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12281 | PyObject *resultobj; | |
12282 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12283 | long arg2 ; | |
12284 | PyObject * obj0 = 0 ; | |
12285 | PyObject * obj1 = 0 ; | |
12286 | char *kwnames[] = { | |
12287 | (char *) "self",(char *) "style", NULL | |
12288 | }; | |
12289 | ||
12290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
12291 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12292 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12293 | arg2 = (long) SWIG_AsLong(obj1); | |
12294 | if (PyErr_Occurred()) SWIG_fail; | |
12295 | { | |
12296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12297 | (arg1)->SetStyle(arg2); | |
12298 | ||
12299 | wxPyEndAllowThreads(__tstate); | |
12300 | if (PyErr_Occurred()) SWIG_fail; | |
12301 | } | |
12302 | Py_INCREF(Py_None); resultobj = Py_None; | |
12303 | return resultobj; | |
12304 | fail: | |
12305 | return NULL; | |
12306 | } | |
12307 | ||
12308 | ||
12309 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12310 | PyObject *resultobj; | |
12311 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12312 | int arg2 ; | |
12313 | PyObject * obj0 = 0 ; | |
12314 | PyObject * obj1 = 0 ; | |
12315 | char *kwnames[] = { | |
12316 | (char *) "self",(char *) "filterIndex", NULL | |
12317 | }; | |
12318 | ||
12319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; | |
12320 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12321 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12322 | arg2 = (int) SWIG_AsInt(obj1); | |
12323 | if (PyErr_Occurred()) SWIG_fail; | |
12324 | { | |
12325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12326 | (arg1)->SetFilterIndex(arg2); | |
12327 | ||
12328 | wxPyEndAllowThreads(__tstate); | |
12329 | if (PyErr_Occurred()) SWIG_fail; | |
12330 | } | |
12331 | Py_INCREF(Py_None); resultobj = Py_None; | |
12332 | return resultobj; | |
12333 | fail: | |
12334 | return NULL; | |
12335 | } | |
12336 | ||
12337 | ||
12338 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12339 | PyObject *resultobj; | |
12340 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12341 | wxString result; | |
12342 | PyObject * obj0 = 0 ; | |
12343 | char *kwnames[] = { | |
12344 | (char *) "self", NULL | |
12345 | }; | |
12346 | ||
12347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
12348 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12349 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12350 | { | |
12351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12352 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
12353 | ||
12354 | wxPyEndAllowThreads(__tstate); | |
12355 | if (PyErr_Occurred()) SWIG_fail; | |
12356 | } | |
12357 | { | |
12358 | #if wxUSE_UNICODE | |
12359 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12360 | #else | |
12361 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12362 | #endif | |
12363 | } | |
12364 | return resultobj; | |
12365 | fail: | |
12366 | return NULL; | |
12367 | } | |
12368 | ||
12369 | ||
12370 | static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12371 | PyObject *resultobj; | |
12372 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12373 | wxString result; | |
12374 | PyObject * obj0 = 0 ; | |
12375 | char *kwnames[] = { | |
12376 | (char *) "self", NULL | |
12377 | }; | |
12378 | ||
12379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
12380 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12382 | { | |
12383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12384 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
12385 | ||
12386 | wxPyEndAllowThreads(__tstate); | |
12387 | if (PyErr_Occurred()) SWIG_fail; | |
12388 | } | |
12389 | { | |
12390 | #if wxUSE_UNICODE | |
12391 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12392 | #else | |
12393 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12394 | #endif | |
12395 | } | |
12396 | return resultobj; | |
12397 | fail: | |
12398 | return NULL; | |
12399 | } | |
12400 | ||
12401 | ||
12402 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12403 | PyObject *resultobj; | |
12404 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12405 | wxString result; | |
12406 | PyObject * obj0 = 0 ; | |
12407 | char *kwnames[] = { | |
12408 | (char *) "self", NULL | |
12409 | }; | |
12410 | ||
12411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
12412 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12413 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12414 | { | |
12415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12416 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
12417 | ||
12418 | wxPyEndAllowThreads(__tstate); | |
12419 | if (PyErr_Occurred()) SWIG_fail; | |
12420 | } | |
12421 | { | |
12422 | #if wxUSE_UNICODE | |
12423 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12424 | #else | |
12425 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12426 | #endif | |
12427 | } | |
12428 | return resultobj; | |
12429 | fail: | |
12430 | return NULL; | |
12431 | } | |
12432 | ||
12433 | ||
12434 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12435 | PyObject *resultobj; | |
12436 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12437 | wxString result; | |
12438 | PyObject * obj0 = 0 ; | |
12439 | char *kwnames[] = { | |
12440 | (char *) "self", NULL | |
12441 | }; | |
12442 | ||
12443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
12444 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12445 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12446 | { | |
12447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12448 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
12449 | ||
12450 | wxPyEndAllowThreads(__tstate); | |
12451 | if (PyErr_Occurred()) SWIG_fail; | |
12452 | } | |
12453 | { | |
12454 | #if wxUSE_UNICODE | |
12455 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12456 | #else | |
12457 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12458 | #endif | |
12459 | } | |
12460 | return resultobj; | |
12461 | fail: | |
12462 | return NULL; | |
12463 | } | |
12464 | ||
12465 | ||
12466 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12467 | PyObject *resultobj; | |
12468 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12469 | wxString result; | |
12470 | PyObject * obj0 = 0 ; | |
12471 | char *kwnames[] = { | |
12472 | (char *) "self", NULL | |
12473 | }; | |
12474 | ||
12475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
12476 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12478 | { | |
12479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12480 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
12481 | ||
12482 | wxPyEndAllowThreads(__tstate); | |
12483 | if (PyErr_Occurred()) SWIG_fail; | |
12484 | } | |
12485 | { | |
12486 | #if wxUSE_UNICODE | |
12487 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12488 | #else | |
12489 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12490 | #endif | |
12491 | } | |
12492 | return resultobj; | |
12493 | fail: | |
12494 | return NULL; | |
12495 | } | |
12496 | ||
12497 | ||
12498 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12499 | PyObject *resultobj; | |
12500 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12501 | long result; | |
12502 | PyObject * obj0 = 0 ; | |
12503 | char *kwnames[] = { | |
12504 | (char *) "self", NULL | |
12505 | }; | |
12506 | ||
12507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
12508 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12509 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12510 | { | |
12511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12512 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
12513 | ||
12514 | wxPyEndAllowThreads(__tstate); | |
12515 | if (PyErr_Occurred()) SWIG_fail; | |
12516 | } | |
12517 | resultobj = SWIG_FromLong((long)result); | |
12518 | return resultobj; | |
12519 | fail: | |
12520 | return NULL; | |
12521 | } | |
12522 | ||
12523 | ||
12524 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12525 | PyObject *resultobj; | |
12526 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12527 | int result; | |
12528 | PyObject * obj0 = 0 ; | |
12529 | char *kwnames[] = { | |
12530 | (char *) "self", NULL | |
12531 | }; | |
12532 | ||
12533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
12534 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12535 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12536 | { | |
12537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12538 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
12539 | ||
12540 | wxPyEndAllowThreads(__tstate); | |
12541 | if (PyErr_Occurred()) SWIG_fail; | |
12542 | } | |
12543 | resultobj = SWIG_FromInt((int)result); | |
12544 | return resultobj; | |
12545 | fail: | |
12546 | return NULL; | |
12547 | } | |
12548 | ||
12549 | ||
12550 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12551 | PyObject *resultobj; | |
12552 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12553 | PyObject *result; | |
12554 | PyObject * obj0 = 0 ; | |
12555 | char *kwnames[] = { | |
12556 | (char *) "self", NULL | |
12557 | }; | |
12558 | ||
12559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
12560 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12561 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12562 | { | |
12563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12564 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
12565 | ||
12566 | wxPyEndAllowThreads(__tstate); | |
12567 | if (PyErr_Occurred()) SWIG_fail; | |
12568 | } | |
12569 | resultobj = result; | |
12570 | return resultobj; | |
12571 | fail: | |
12572 | return NULL; | |
12573 | } | |
12574 | ||
12575 | ||
12576 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12577 | PyObject *resultobj; | |
12578 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12579 | PyObject *result; | |
12580 | PyObject * obj0 = 0 ; | |
12581 | char *kwnames[] = { | |
12582 | (char *) "self", NULL | |
12583 | }; | |
12584 | ||
12585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
12586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12588 | { | |
12589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12590 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
12591 | ||
12592 | wxPyEndAllowThreads(__tstate); | |
12593 | if (PyErr_Occurred()) SWIG_fail; | |
12594 | } | |
12595 | resultobj = result; | |
12596 | return resultobj; | |
12597 | fail: | |
12598 | return NULL; | |
12599 | } | |
12600 | ||
12601 | ||
12602 | static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) { | |
12603 | PyObject *obj; | |
12604 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12605 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
12606 | Py_INCREF(obj); | |
12607 | return Py_BuildValue((char *)""); | |
12608 | } | |
12609 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12610 | PyObject *resultobj; | |
12611 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12612 | wxString *arg2 = 0 ; | |
12613 | wxString *arg3 = 0 ; | |
12614 | int arg4 = (int) 0 ; | |
248ed943 | 12615 | wxString *arg5 = (wxString *) NULL ; |
d55e5bfc RD |
12616 | long arg6 = (long) wxCHOICEDLG_STYLE ; |
12617 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12618 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12619 | wxMultiChoiceDialog *result; | |
12620 | bool temp2 = False ; | |
12621 | bool temp3 = False ; | |
12622 | wxPoint temp6 ; | |
12623 | PyObject * obj0 = 0 ; | |
12624 | PyObject * obj1 = 0 ; | |
12625 | PyObject * obj2 = 0 ; | |
12626 | PyObject * obj3 = 0 ; | |
12627 | PyObject * obj4 = 0 ; | |
12628 | PyObject * obj5 = 0 ; | |
12629 | char *kwnames[] = { | |
12630 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
12631 | }; | |
12632 | ||
12633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
12634 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
12635 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12636 | { | |
12637 | arg2 = wxString_in_helper(obj1); | |
12638 | if (arg2 == NULL) SWIG_fail; | |
12639 | temp2 = True; | |
12640 | } | |
12641 | { | |
12642 | arg3 = wxString_in_helper(obj2); | |
12643 | if (arg3 == NULL) SWIG_fail; | |
12644 | temp3 = True; | |
12645 | } | |
12646 | if (obj3) { | |
12647 | { | |
12648 | arg4 = PyList_Size(obj3); | |
12649 | arg5 = wxString_LIST_helper(obj3); | |
12650 | if (arg5 == NULL) SWIG_fail; | |
12651 | } | |
12652 | } | |
12653 | if (obj4) { | |
12654 | arg6 = (long) SWIG_AsLong(obj4); | |
12655 | if (PyErr_Occurred()) SWIG_fail; | |
12656 | } | |
12657 | if (obj5) { | |
12658 | { | |
12659 | arg7 = &temp6; | |
12660 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
12661 | } | |
12662 | } | |
12663 | { | |
0439c23b | 12664 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
12665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12666 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12667 | ||
12668 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12669 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
12670 | } |
12671 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); | |
12672 | { | |
12673 | if (temp2) | |
12674 | delete arg2; | |
12675 | } | |
12676 | { | |
12677 | if (temp3) | |
12678 | delete arg3; | |
12679 | } | |
12680 | { | |
12681 | if (arg5) delete [] arg5; | |
12682 | } | |
12683 | return resultobj; | |
12684 | fail: | |
12685 | { | |
12686 | if (temp2) | |
12687 | delete arg2; | |
12688 | } | |
12689 | { | |
12690 | if (temp3) | |
12691 | delete arg3; | |
12692 | } | |
12693 | { | |
12694 | if (arg5) delete [] arg5; | |
12695 | } | |
12696 | return NULL; | |
12697 | } | |
12698 | ||
12699 | ||
12700 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12701 | PyObject *resultobj; | |
12702 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12703 | wxArrayInt *arg2 = 0 ; | |
12704 | bool temp2 = False ; | |
12705 | PyObject * obj0 = 0 ; | |
12706 | PyObject * obj1 = 0 ; | |
12707 | char *kwnames[] = { | |
12708 | (char *) "self",(char *) "selections", NULL | |
12709 | }; | |
12710 | ||
12711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
12712 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, | |
12713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12714 | { | |
12715 | if (! PySequence_Check(obj1)) { | |
12716 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
12717 | SWIG_fail; | |
12718 | } | |
12719 | arg2 = new wxArrayInt; | |
12720 | temp2 = True; | |
12721 | int i, len=PySequence_Length(obj1); | |
12722 | for (i=0; i<len; i++) { | |
12723 | PyObject* item = PySequence_GetItem(obj1, i); | |
12724 | PyObject* number = PyNumber_Int(item); | |
12725 | arg2->Add(PyInt_AS_LONG(number)); | |
12726 | Py_DECREF(item); | |
12727 | Py_DECREF(number); | |
12728 | } | |
12729 | } | |
12730 | { | |
12731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12732 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
12733 | ||
12734 | wxPyEndAllowThreads(__tstate); | |
12735 | if (PyErr_Occurred()) SWIG_fail; | |
12736 | } | |
12737 | Py_INCREF(Py_None); resultobj = Py_None; | |
12738 | { | |
12739 | if (temp2) delete arg2; | |
12740 | } | |
12741 | return resultobj; | |
12742 | fail: | |
12743 | { | |
12744 | if (temp2) delete arg2; | |
12745 | } | |
12746 | return NULL; | |
12747 | } | |
12748 | ||
12749 | ||
12750 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12751 | PyObject *resultobj; | |
12752 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12753 | PyObject *result; | |
12754 | PyObject * obj0 = 0 ; | |
12755 | char *kwnames[] = { | |
12756 | (char *) "self", NULL | |
12757 | }; | |
12758 | ||
12759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
12760 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, | |
12761 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12762 | { | |
12763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12764 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
12765 | ||
12766 | wxPyEndAllowThreads(__tstate); | |
12767 | if (PyErr_Occurred()) SWIG_fail; | |
12768 | } | |
12769 | resultobj = result; | |
12770 | return resultobj; | |
12771 | fail: | |
12772 | return NULL; | |
12773 | } | |
12774 | ||
12775 | ||
12776 | static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) { | |
12777 | PyObject *obj; | |
12778 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12779 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
12780 | Py_INCREF(obj); | |
12781 | return Py_BuildValue((char *)""); | |
12782 | } | |
12783 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12784 | PyObject *resultobj; | |
12785 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12786 | wxString *arg2 = 0 ; | |
12787 | wxString *arg3 = 0 ; | |
12788 | int arg4 ; | |
12789 | wxString *arg5 = (wxString *) 0 ; | |
12790 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12791 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12792 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12793 | wxSingleChoiceDialog *result; | |
12794 | bool temp2 = False ; | |
12795 | bool temp3 = False ; | |
12796 | wxPoint temp6 ; | |
12797 | PyObject * obj0 = 0 ; | |
12798 | PyObject * obj1 = 0 ; | |
12799 | PyObject * obj2 = 0 ; | |
12800 | PyObject * obj3 = 0 ; | |
12801 | PyObject * obj4 = 0 ; | |
12802 | PyObject * obj5 = 0 ; | |
12803 | char *kwnames[] = { | |
12804 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
12805 | }; | |
12806 | ||
12807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
12808 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
12809 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12810 | { | |
12811 | arg2 = wxString_in_helper(obj1); | |
12812 | if (arg2 == NULL) SWIG_fail; | |
12813 | temp2 = True; | |
12814 | } | |
12815 | { | |
12816 | arg3 = wxString_in_helper(obj2); | |
12817 | if (arg3 == NULL) SWIG_fail; | |
12818 | temp3 = True; | |
12819 | } | |
12820 | { | |
12821 | arg4 = PyList_Size(obj3); | |
12822 | arg5 = wxString_LIST_helper(obj3); | |
12823 | if (arg5 == NULL) SWIG_fail; | |
12824 | } | |
12825 | if (obj4) { | |
12826 | arg6 = (long) SWIG_AsLong(obj4); | |
12827 | if (PyErr_Occurred()) SWIG_fail; | |
12828 | } | |
12829 | if (obj5) { | |
12830 | { | |
12831 | arg7 = &temp6; | |
12832 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
12833 | } | |
12834 | } | |
12835 | { | |
0439c23b | 12836 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
12837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12838 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12839 | ||
12840 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12841 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
12842 | } |
12843 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); | |
12844 | { | |
12845 | if (temp2) | |
12846 | delete arg2; | |
12847 | } | |
12848 | { | |
12849 | if (temp3) | |
12850 | delete arg3; | |
12851 | } | |
12852 | { | |
12853 | if (arg5) delete [] arg5; | |
12854 | } | |
12855 | return resultobj; | |
12856 | fail: | |
12857 | { | |
12858 | if (temp2) | |
12859 | delete arg2; | |
12860 | } | |
12861 | { | |
12862 | if (temp3) | |
12863 | delete arg3; | |
12864 | } | |
12865 | { | |
12866 | if (arg5) delete [] arg5; | |
12867 | } | |
12868 | return NULL; | |
12869 | } | |
12870 | ||
12871 | ||
12872 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12873 | PyObject *resultobj; | |
12874 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12875 | int result; | |
12876 | PyObject * obj0 = 0 ; | |
12877 | char *kwnames[] = { | |
12878 | (char *) "self", NULL | |
12879 | }; | |
12880 | ||
12881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
12882 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, | |
12883 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12884 | { | |
12885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12886 | result = (int)(arg1)->GetSelection(); | |
12887 | ||
12888 | wxPyEndAllowThreads(__tstate); | |
12889 | if (PyErr_Occurred()) SWIG_fail; | |
12890 | } | |
12891 | resultobj = SWIG_FromInt((int)result); | |
12892 | return resultobj; | |
12893 | fail: | |
12894 | return NULL; | |
12895 | } | |
12896 | ||
12897 | ||
12898 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12899 | PyObject *resultobj; | |
12900 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12901 | wxString result; | |
12902 | PyObject * obj0 = 0 ; | |
12903 | char *kwnames[] = { | |
12904 | (char *) "self", NULL | |
12905 | }; | |
12906 | ||
12907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
12908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, | |
12909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12910 | { | |
12911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12912 | result = (arg1)->GetStringSelection(); | |
12913 | ||
12914 | wxPyEndAllowThreads(__tstate); | |
12915 | if (PyErr_Occurred()) SWIG_fail; | |
12916 | } | |
12917 | { | |
12918 | #if wxUSE_UNICODE | |
12919 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12920 | #else | |
12921 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12922 | #endif | |
12923 | } | |
12924 | return resultobj; | |
12925 | fail: | |
12926 | return NULL; | |
12927 | } | |
12928 | ||
12929 | ||
12930 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12931 | PyObject *resultobj; | |
12932 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12933 | int arg2 ; | |
12934 | PyObject * obj0 = 0 ; | |
12935 | PyObject * obj1 = 0 ; | |
12936 | char *kwnames[] = { | |
12937 | (char *) "self",(char *) "sel", NULL | |
12938 | }; | |
12939 | ||
12940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
12941 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, | |
12942 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12943 | arg2 = (int) SWIG_AsInt(obj1); | |
12944 | if (PyErr_Occurred()) SWIG_fail; | |
12945 | { | |
12946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12947 | (arg1)->SetSelection(arg2); | |
12948 | ||
12949 | wxPyEndAllowThreads(__tstate); | |
12950 | if (PyErr_Occurred()) SWIG_fail; | |
12951 | } | |
12952 | Py_INCREF(Py_None); resultobj = Py_None; | |
12953 | return resultobj; | |
12954 | fail: | |
12955 | return NULL; | |
12956 | } | |
12957 | ||
12958 | ||
12959 | static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) { | |
12960 | PyObject *obj; | |
12961 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12962 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
12963 | Py_INCREF(obj); | |
12964 | return Py_BuildValue((char *)""); | |
12965 | } | |
12966 | static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12967 | PyObject *resultobj; | |
12968 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12969 | wxString *arg2 = 0 ; | |
12970 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
12971 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12972 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12973 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12974 | long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
12975 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
12976 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
12977 | wxTextEntryDialog *result; | |
12978 | bool temp2 = False ; | |
12979 | bool temp3 = False ; | |
12980 | bool temp4 = False ; | |
12981 | wxPoint temp6 ; | |
12982 | PyObject * obj0 = 0 ; | |
12983 | PyObject * obj1 = 0 ; | |
12984 | PyObject * obj2 = 0 ; | |
12985 | PyObject * obj3 = 0 ; | |
12986 | PyObject * obj4 = 0 ; | |
12987 | PyObject * obj5 = 0 ; | |
12988 | char *kwnames[] = { | |
12989 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
12990 | }; | |
12991 | ||
12992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
12993 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
12994 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12995 | { | |
12996 | arg2 = wxString_in_helper(obj1); | |
12997 | if (arg2 == NULL) SWIG_fail; | |
12998 | temp2 = True; | |
12999 | } | |
13000 | if (obj2) { | |
13001 | { | |
13002 | arg3 = wxString_in_helper(obj2); | |
13003 | if (arg3 == NULL) SWIG_fail; | |
13004 | temp3 = True; | |
13005 | } | |
13006 | } | |
13007 | if (obj3) { | |
13008 | { | |
13009 | arg4 = wxString_in_helper(obj3); | |
13010 | if (arg4 == NULL) SWIG_fail; | |
13011 | temp4 = True; | |
13012 | } | |
13013 | } | |
13014 | if (obj4) { | |
13015 | arg5 = (long) SWIG_AsLong(obj4); | |
13016 | if (PyErr_Occurred()) SWIG_fail; | |
13017 | } | |
13018 | if (obj5) { | |
13019 | { | |
13020 | arg6 = &temp6; | |
13021 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
13022 | } | |
13023 | } | |
13024 | { | |
0439c23b | 13025 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13027 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
13028 | ||
13029 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13030 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13031 | } |
13032 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); | |
13033 | { | |
13034 | if (temp2) | |
13035 | delete arg2; | |
13036 | } | |
13037 | { | |
13038 | if (temp3) | |
13039 | delete arg3; | |
13040 | } | |
13041 | { | |
13042 | if (temp4) | |
13043 | delete arg4; | |
13044 | } | |
13045 | return resultobj; | |
13046 | fail: | |
13047 | { | |
13048 | if (temp2) | |
13049 | delete arg2; | |
13050 | } | |
13051 | { | |
13052 | if (temp3) | |
13053 | delete arg3; | |
13054 | } | |
13055 | { | |
13056 | if (temp4) | |
13057 | delete arg4; | |
13058 | } | |
13059 | return NULL; | |
13060 | } | |
13061 | ||
13062 | ||
13063 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13064 | PyObject *resultobj; | |
13065 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
13066 | wxString result; | |
13067 | PyObject * obj0 = 0 ; | |
13068 | char *kwnames[] = { | |
13069 | (char *) "self", NULL | |
13070 | }; | |
13071 | ||
13072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
13073 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, | |
13074 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13075 | { | |
13076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13077 | result = (arg1)->GetValue(); | |
13078 | ||
13079 | wxPyEndAllowThreads(__tstate); | |
13080 | if (PyErr_Occurred()) SWIG_fail; | |
13081 | } | |
13082 | { | |
13083 | #if wxUSE_UNICODE | |
13084 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13085 | #else | |
13086 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13087 | #endif | |
13088 | } | |
13089 | return resultobj; | |
13090 | fail: | |
13091 | return NULL; | |
13092 | } | |
13093 | ||
13094 | ||
13095 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13096 | PyObject *resultobj; | |
13097 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
13098 | wxString *arg2 = 0 ; | |
13099 | bool temp2 = False ; | |
13100 | PyObject * obj0 = 0 ; | |
13101 | PyObject * obj1 = 0 ; | |
13102 | char *kwnames[] = { | |
13103 | (char *) "self",(char *) "value", NULL | |
13104 | }; | |
13105 | ||
13106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
13107 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, | |
13108 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13109 | { | |
13110 | arg2 = wxString_in_helper(obj1); | |
13111 | if (arg2 == NULL) SWIG_fail; | |
13112 | temp2 = True; | |
13113 | } | |
13114 | { | |
13115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13116 | (arg1)->SetValue((wxString const &)*arg2); | |
13117 | ||
13118 | wxPyEndAllowThreads(__tstate); | |
13119 | if (PyErr_Occurred()) SWIG_fail; | |
13120 | } | |
13121 | Py_INCREF(Py_None); resultobj = Py_None; | |
13122 | { | |
13123 | if (temp2) | |
13124 | delete arg2; | |
13125 | } | |
13126 | return resultobj; | |
13127 | fail: | |
13128 | { | |
13129 | if (temp2) | |
13130 | delete arg2; | |
13131 | } | |
13132 | return NULL; | |
13133 | } | |
13134 | ||
13135 | ||
13136 | static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) { | |
13137 | PyObject *obj; | |
13138 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13139 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
13140 | Py_INCREF(obj); | |
13141 | return Py_BuildValue((char *)""); | |
13142 | } | |
13143 | static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13144 | PyObject *resultobj; | |
13145 | wxFontData *result; | |
13146 | char *kwnames[] = { | |
13147 | NULL | |
13148 | }; | |
13149 | ||
13150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
13151 | { | |
13152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13153 | result = (wxFontData *)new wxFontData(); | |
13154 | ||
13155 | wxPyEndAllowThreads(__tstate); | |
13156 | if (PyErr_Occurred()) SWIG_fail; | |
13157 | } | |
13158 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); | |
13159 | return resultobj; | |
13160 | fail: | |
13161 | return NULL; | |
13162 | } | |
13163 | ||
13164 | ||
13165 | static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13166 | PyObject *resultobj; | |
13167 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13168 | PyObject * obj0 = 0 ; | |
13169 | char *kwnames[] = { | |
13170 | (char *) "self", NULL | |
13171 | }; | |
13172 | ||
13173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
13174 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13175 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13176 | { | |
13177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13178 | delete arg1; | |
13179 | ||
13180 | wxPyEndAllowThreads(__tstate); | |
13181 | if (PyErr_Occurred()) SWIG_fail; | |
13182 | } | |
13183 | Py_INCREF(Py_None); resultobj = Py_None; | |
13184 | return resultobj; | |
13185 | fail: | |
13186 | return NULL; | |
13187 | } | |
13188 | ||
13189 | ||
13190 | static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13191 | PyObject *resultobj; | |
13192 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13193 | bool arg2 ; | |
13194 | PyObject * obj0 = 0 ; | |
13195 | PyObject * obj1 = 0 ; | |
13196 | char *kwnames[] = { | |
13197 | (char *) "self",(char *) "enable", NULL | |
13198 | }; | |
13199 | ||
13200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
13201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13203 | arg2 = (bool) SWIG_AsBool(obj1); | |
13204 | if (PyErr_Occurred()) SWIG_fail; | |
13205 | { | |
13206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13207 | (arg1)->EnableEffects(arg2); | |
13208 | ||
13209 | wxPyEndAllowThreads(__tstate); | |
13210 | if (PyErr_Occurred()) SWIG_fail; | |
13211 | } | |
13212 | Py_INCREF(Py_None); resultobj = Py_None; | |
13213 | return resultobj; | |
13214 | fail: | |
13215 | return NULL; | |
13216 | } | |
13217 | ||
13218 | ||
13219 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13220 | PyObject *resultobj; | |
13221 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13222 | bool result; | |
13223 | PyObject * obj0 = 0 ; | |
13224 | char *kwnames[] = { | |
13225 | (char *) "self", NULL | |
13226 | }; | |
13227 | ||
13228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
13229 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13231 | { | |
13232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13233 | result = (bool)(arg1)->GetAllowSymbols(); | |
13234 | ||
13235 | wxPyEndAllowThreads(__tstate); | |
13236 | if (PyErr_Occurred()) SWIG_fail; | |
13237 | } | |
13238 | { | |
13239 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13240 | } | |
13241 | return resultobj; | |
13242 | fail: | |
13243 | return NULL; | |
13244 | } | |
13245 | ||
13246 | ||
13247 | static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13248 | PyObject *resultobj; | |
13249 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13250 | wxColour result; | |
13251 | PyObject * obj0 = 0 ; | |
13252 | char *kwnames[] = { | |
13253 | (char *) "self", NULL | |
13254 | }; | |
13255 | ||
13256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
13257 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13258 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13259 | { | |
13260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13261 | result = (arg1)->GetColour(); | |
13262 | ||
13263 | wxPyEndAllowThreads(__tstate); | |
13264 | if (PyErr_Occurred()) SWIG_fail; | |
13265 | } | |
13266 | { | |
13267 | wxColour * resultptr; | |
13268 | resultptr = new wxColour((wxColour &) result); | |
13269 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
13270 | } | |
13271 | return resultobj; | |
13272 | fail: | |
13273 | return NULL; | |
13274 | } | |
13275 | ||
13276 | ||
13277 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13278 | PyObject *resultobj; | |
13279 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13280 | wxFont result; | |
13281 | PyObject * obj0 = 0 ; | |
13282 | char *kwnames[] = { | |
13283 | (char *) "self", NULL | |
13284 | }; | |
13285 | ||
13286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
13287 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13288 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13289 | { | |
13290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13291 | result = (arg1)->GetChosenFont(); | |
13292 | ||
13293 | wxPyEndAllowThreads(__tstate); | |
13294 | if (PyErr_Occurred()) SWIG_fail; | |
13295 | } | |
13296 | { | |
13297 | wxFont * resultptr; | |
13298 | resultptr = new wxFont((wxFont &) result); | |
13299 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); | |
13300 | } | |
13301 | return resultobj; | |
13302 | fail: | |
13303 | return NULL; | |
13304 | } | |
13305 | ||
13306 | ||
13307 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13308 | PyObject *resultobj; | |
13309 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13310 | bool result; | |
13311 | PyObject * obj0 = 0 ; | |
13312 | char *kwnames[] = { | |
13313 | (char *) "self", NULL | |
13314 | }; | |
13315 | ||
13316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
13317 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13318 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13319 | { | |
13320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13321 | result = (bool)(arg1)->GetEnableEffects(); | |
13322 | ||
13323 | wxPyEndAllowThreads(__tstate); | |
13324 | if (PyErr_Occurred()) SWIG_fail; | |
13325 | } | |
13326 | { | |
13327 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13328 | } | |
13329 | return resultobj; | |
13330 | fail: | |
13331 | return NULL; | |
13332 | } | |
13333 | ||
13334 | ||
13335 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13336 | PyObject *resultobj; | |
13337 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13338 | wxFont result; | |
13339 | PyObject * obj0 = 0 ; | |
13340 | char *kwnames[] = { | |
13341 | (char *) "self", NULL | |
13342 | }; | |
13343 | ||
13344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
13345 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13346 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13347 | { | |
13348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13349 | result = (arg1)->GetInitialFont(); | |
13350 | ||
13351 | wxPyEndAllowThreads(__tstate); | |
13352 | if (PyErr_Occurred()) SWIG_fail; | |
13353 | } | |
13354 | { | |
13355 | wxFont * resultptr; | |
13356 | resultptr = new wxFont((wxFont &) result); | |
13357 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); | |
13358 | } | |
13359 | return resultobj; | |
13360 | fail: | |
13361 | return NULL; | |
13362 | } | |
13363 | ||
13364 | ||
13365 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13366 | PyObject *resultobj; | |
13367 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13368 | bool result; | |
13369 | PyObject * obj0 = 0 ; | |
13370 | char *kwnames[] = { | |
13371 | (char *) "self", NULL | |
13372 | }; | |
13373 | ||
13374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
13375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13377 | { | |
13378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13379 | result = (bool)(arg1)->GetShowHelp(); | |
13380 | ||
13381 | wxPyEndAllowThreads(__tstate); | |
13382 | if (PyErr_Occurred()) SWIG_fail; | |
13383 | } | |
13384 | { | |
13385 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13386 | } | |
13387 | return resultobj; | |
13388 | fail: | |
13389 | return NULL; | |
13390 | } | |
13391 | ||
13392 | ||
13393 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13394 | PyObject *resultobj; | |
13395 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13396 | bool arg2 ; | |
13397 | PyObject * obj0 = 0 ; | |
13398 | PyObject * obj1 = 0 ; | |
13399 | char *kwnames[] = { | |
13400 | (char *) "self",(char *) "allowSymbols", NULL | |
13401 | }; | |
13402 | ||
13403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
13404 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13405 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13406 | arg2 = (bool) SWIG_AsBool(obj1); | |
13407 | if (PyErr_Occurred()) SWIG_fail; | |
13408 | { | |
13409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13410 | (arg1)->SetAllowSymbols(arg2); | |
13411 | ||
13412 | wxPyEndAllowThreads(__tstate); | |
13413 | if (PyErr_Occurred()) SWIG_fail; | |
13414 | } | |
13415 | Py_INCREF(Py_None); resultobj = Py_None; | |
13416 | return resultobj; | |
13417 | fail: | |
13418 | return NULL; | |
13419 | } | |
13420 | ||
13421 | ||
13422 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13423 | PyObject *resultobj; | |
13424 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13425 | wxFont *arg2 = 0 ; | |
13426 | PyObject * obj0 = 0 ; | |
13427 | PyObject * obj1 = 0 ; | |
13428 | char *kwnames[] = { | |
13429 | (char *) "self",(char *) "font", NULL | |
13430 | }; | |
13431 | ||
13432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
13433 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13434 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13435 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
13436 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13437 | SWIG_fail; | |
13438 | if (arg2 == NULL) { | |
13439 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
13440 | SWIG_fail; | |
13441 | } | |
13442 | { | |
13443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13444 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
13445 | ||
13446 | wxPyEndAllowThreads(__tstate); | |
13447 | if (PyErr_Occurred()) SWIG_fail; | |
13448 | } | |
13449 | Py_INCREF(Py_None); resultobj = Py_None; | |
13450 | return resultobj; | |
13451 | fail: | |
13452 | return NULL; | |
13453 | } | |
13454 | ||
13455 | ||
13456 | static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13457 | PyObject *resultobj; | |
13458 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13459 | wxColour *arg2 = 0 ; | |
13460 | wxColour temp2 ; | |
13461 | PyObject * obj0 = 0 ; | |
13462 | PyObject * obj1 = 0 ; | |
13463 | char *kwnames[] = { | |
13464 | (char *) "self",(char *) "colour", NULL | |
13465 | }; | |
13466 | ||
13467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
13468 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13469 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13470 | { | |
13471 | arg2 = &temp2; | |
13472 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
13473 | } | |
13474 | { | |
13475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13476 | (arg1)->SetColour((wxColour const &)*arg2); | |
13477 | ||
13478 | wxPyEndAllowThreads(__tstate); | |
13479 | if (PyErr_Occurred()) SWIG_fail; | |
13480 | } | |
13481 | Py_INCREF(Py_None); resultobj = Py_None; | |
13482 | return resultobj; | |
13483 | fail: | |
13484 | return NULL; | |
13485 | } | |
13486 | ||
13487 | ||
13488 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13489 | PyObject *resultobj; | |
13490 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13491 | wxFont *arg2 = 0 ; | |
13492 | PyObject * obj0 = 0 ; | |
13493 | PyObject * obj1 = 0 ; | |
13494 | char *kwnames[] = { | |
13495 | (char *) "self",(char *) "font", NULL | |
13496 | }; | |
13497 | ||
13498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
13499 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13501 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
13502 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13503 | SWIG_fail; | |
13504 | if (arg2 == NULL) { | |
13505 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
13506 | SWIG_fail; | |
13507 | } | |
13508 | { | |
13509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13510 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
13511 | ||
13512 | wxPyEndAllowThreads(__tstate); | |
13513 | if (PyErr_Occurred()) SWIG_fail; | |
13514 | } | |
13515 | Py_INCREF(Py_None); resultobj = Py_None; | |
13516 | return resultobj; | |
13517 | fail: | |
13518 | return NULL; | |
13519 | } | |
13520 | ||
13521 | ||
13522 | static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13523 | PyObject *resultobj; | |
13524 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13525 | int arg2 ; | |
13526 | int arg3 ; | |
13527 | PyObject * obj0 = 0 ; | |
13528 | PyObject * obj1 = 0 ; | |
13529 | PyObject * obj2 = 0 ; | |
13530 | char *kwnames[] = { | |
13531 | (char *) "self",(char *) "min",(char *) "max", NULL | |
13532 | }; | |
13533 | ||
13534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13535 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13537 | arg2 = (int) SWIG_AsInt(obj1); | |
13538 | if (PyErr_Occurred()) SWIG_fail; | |
13539 | arg3 = (int) SWIG_AsInt(obj2); | |
13540 | if (PyErr_Occurred()) SWIG_fail; | |
13541 | { | |
13542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13543 | (arg1)->SetRange(arg2,arg3); | |
13544 | ||
13545 | wxPyEndAllowThreads(__tstate); | |
13546 | if (PyErr_Occurred()) SWIG_fail; | |
13547 | } | |
13548 | Py_INCREF(Py_None); resultobj = Py_None; | |
13549 | return resultobj; | |
13550 | fail: | |
13551 | return NULL; | |
13552 | } | |
13553 | ||
13554 | ||
13555 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13556 | PyObject *resultobj; | |
13557 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13558 | bool arg2 ; | |
13559 | PyObject * obj0 = 0 ; | |
13560 | PyObject * obj1 = 0 ; | |
13561 | char *kwnames[] = { | |
13562 | (char *) "self",(char *) "showHelp", NULL | |
13563 | }; | |
13564 | ||
13565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
13566 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13567 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13568 | arg2 = (bool) SWIG_AsBool(obj1); | |
13569 | if (PyErr_Occurred()) SWIG_fail; | |
13570 | { | |
13571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13572 | (arg1)->SetShowHelp(arg2); | |
13573 | ||
13574 | wxPyEndAllowThreads(__tstate); | |
13575 | if (PyErr_Occurred()) SWIG_fail; | |
13576 | } | |
13577 | Py_INCREF(Py_None); resultobj = Py_None; | |
13578 | return resultobj; | |
13579 | fail: | |
13580 | return NULL; | |
13581 | } | |
13582 | ||
13583 | ||
13584 | static PyObject * FontData_swigregister(PyObject *self, PyObject *args) { | |
13585 | PyObject *obj; | |
13586 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13587 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
13588 | Py_INCREF(obj); | |
13589 | return Py_BuildValue((char *)""); | |
13590 | } | |
13591 | static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13592 | PyObject *resultobj; | |
13593 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13594 | wxFontData *arg2 = 0 ; | |
13595 | wxFontDialog *result; | |
13596 | PyObject * obj0 = 0 ; | |
13597 | PyObject * obj1 = 0 ; | |
13598 | char *kwnames[] = { | |
13599 | (char *) "parent",(char *) "data", NULL | |
13600 | }; | |
13601 | ||
13602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; | |
13603 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
13604 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13605 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData, | |
13606 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13607 | SWIG_fail; | |
13608 | if (arg2 == NULL) { | |
13609 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
13610 | SWIG_fail; | |
13611 | } | |
13612 | { | |
0439c23b | 13613 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13615 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); | |
13616 | ||
13617 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13618 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13619 | } |
13620 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); | |
13621 | return resultobj; | |
13622 | fail: | |
13623 | return NULL; | |
13624 | } | |
13625 | ||
13626 | ||
13627 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13628 | PyObject *resultobj; | |
13629 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
13630 | wxFontData *result; | |
13631 | PyObject * obj0 = 0 ; | |
13632 | char *kwnames[] = { | |
13633 | (char *) "self", NULL | |
13634 | }; | |
13635 | ||
13636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; | |
13637 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog, | |
13638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13639 | { | |
13640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13641 | { | |
13642 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
13643 | result = (wxFontData *) &_result_ref; | |
13644 | } | |
13645 | ||
13646 | wxPyEndAllowThreads(__tstate); | |
13647 | if (PyErr_Occurred()) SWIG_fail; | |
13648 | } | |
13649 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); | |
13650 | return resultobj; | |
13651 | fail: | |
13652 | return NULL; | |
13653 | } | |
13654 | ||
13655 | ||
13656 | static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) { | |
13657 | PyObject *obj; | |
13658 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13659 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
13660 | Py_INCREF(obj); | |
13661 | return Py_BuildValue((char *)""); | |
13662 | } | |
13663 | static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13664 | PyObject *resultobj; | |
13665 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13666 | wxString *arg2 = 0 ; | |
13667 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
13668 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13669 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
13670 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13671 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13672 | wxMessageDialog *result; | |
13673 | bool temp2 = False ; | |
13674 | bool temp3 = False ; | |
13675 | wxPoint temp5 ; | |
13676 | PyObject * obj0 = 0 ; | |
13677 | PyObject * obj1 = 0 ; | |
13678 | PyObject * obj2 = 0 ; | |
13679 | PyObject * obj3 = 0 ; | |
13680 | PyObject * obj4 = 0 ; | |
13681 | char *kwnames[] = { | |
13682 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
13683 | }; | |
13684 | ||
13685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
13686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
13687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13688 | { | |
13689 | arg2 = wxString_in_helper(obj1); | |
13690 | if (arg2 == NULL) SWIG_fail; | |
13691 | temp2 = True; | |
13692 | } | |
13693 | if (obj2) { | |
13694 | { | |
13695 | arg3 = wxString_in_helper(obj2); | |
13696 | if (arg3 == NULL) SWIG_fail; | |
13697 | temp3 = True; | |
13698 | } | |
13699 | } | |
13700 | if (obj3) { | |
13701 | arg4 = (long) SWIG_AsLong(obj3); | |
13702 | if (PyErr_Occurred()) SWIG_fail; | |
13703 | } | |
13704 | if (obj4) { | |
13705 | { | |
13706 | arg5 = &temp5; | |
13707 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13708 | } | |
13709 | } | |
13710 | { | |
0439c23b | 13711 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13713 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
13714 | ||
13715 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13716 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13717 | } |
13718 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); | |
13719 | { | |
13720 | if (temp2) | |
13721 | delete arg2; | |
13722 | } | |
13723 | { | |
13724 | if (temp3) | |
13725 | delete arg3; | |
13726 | } | |
13727 | return resultobj; | |
13728 | fail: | |
13729 | { | |
13730 | if (temp2) | |
13731 | delete arg2; | |
13732 | } | |
13733 | { | |
13734 | if (temp3) | |
13735 | delete arg3; | |
13736 | } | |
13737 | return NULL; | |
13738 | } | |
13739 | ||
13740 | ||
13741 | static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) { | |
13742 | PyObject *obj; | |
13743 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13744 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
13745 | Py_INCREF(obj); | |
13746 | return Py_BuildValue((char *)""); | |
13747 | } | |
13748 | static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13749 | PyObject *resultobj; | |
13750 | wxString *arg1 = 0 ; | |
13751 | wxString *arg2 = 0 ; | |
13752 | int arg3 = (int) 100 ; | |
13753 | wxWindow *arg4 = (wxWindow *) NULL ; | |
13754 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
13755 | wxProgressDialog *result; | |
13756 | bool temp1 = False ; | |
13757 | bool temp2 = False ; | |
13758 | PyObject * obj0 = 0 ; | |
13759 | PyObject * obj1 = 0 ; | |
13760 | PyObject * obj2 = 0 ; | |
13761 | PyObject * obj3 = 0 ; | |
13762 | PyObject * obj4 = 0 ; | |
13763 | char *kwnames[] = { | |
13764 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
13765 | }; | |
13766 | ||
13767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
13768 | { | |
13769 | arg1 = wxString_in_helper(obj0); | |
13770 | if (arg1 == NULL) SWIG_fail; | |
13771 | temp1 = True; | |
13772 | } | |
13773 | { | |
13774 | arg2 = wxString_in_helper(obj1); | |
13775 | if (arg2 == NULL) SWIG_fail; | |
13776 | temp2 = True; | |
13777 | } | |
13778 | if (obj2) { | |
13779 | arg3 = (int) SWIG_AsInt(obj2); | |
13780 | if (PyErr_Occurred()) SWIG_fail; | |
13781 | } | |
13782 | if (obj3) { | |
13783 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, | |
13784 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13785 | } | |
13786 | if (obj4) { | |
13787 | arg5 = (int) SWIG_AsInt(obj4); | |
13788 | if (PyErr_Occurred()) SWIG_fail; | |
13789 | } | |
13790 | { | |
0439c23b | 13791 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13793 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
13794 | ||
13795 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13796 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13797 | } |
13798 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); | |
13799 | { | |
13800 | if (temp1) | |
13801 | delete arg1; | |
13802 | } | |
13803 | { | |
13804 | if (temp2) | |
13805 | delete arg2; | |
13806 | } | |
13807 | return resultobj; | |
13808 | fail: | |
13809 | { | |
13810 | if (temp1) | |
13811 | delete arg1; | |
13812 | } | |
13813 | { | |
13814 | if (temp2) | |
13815 | delete arg2; | |
13816 | } | |
13817 | return NULL; | |
13818 | } | |
13819 | ||
13820 | ||
13821 | static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13822 | PyObject *resultobj; | |
13823 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13824 | int arg2 ; | |
13825 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13826 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13827 | bool result; | |
13828 | bool temp3 = False ; | |
13829 | PyObject * obj0 = 0 ; | |
13830 | PyObject * obj1 = 0 ; | |
13831 | PyObject * obj2 = 0 ; | |
13832 | char *kwnames[] = { | |
13833 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
13834 | }; | |
13835 | ||
13836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13837 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, | |
13838 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13839 | arg2 = (int) SWIG_AsInt(obj1); | |
13840 | if (PyErr_Occurred()) SWIG_fail; | |
13841 | if (obj2) { | |
13842 | { | |
13843 | arg3 = wxString_in_helper(obj2); | |
13844 | if (arg3 == NULL) SWIG_fail; | |
13845 | temp3 = True; | |
13846 | } | |
13847 | } | |
13848 | { | |
13849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13850 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
13851 | ||
13852 | wxPyEndAllowThreads(__tstate); | |
13853 | if (PyErr_Occurred()) SWIG_fail; | |
13854 | } | |
13855 | { | |
13856 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13857 | } | |
13858 | { | |
13859 | if (temp3) | |
13860 | delete arg3; | |
13861 | } | |
13862 | return resultobj; | |
13863 | fail: | |
13864 | { | |
13865 | if (temp3) | |
13866 | delete arg3; | |
13867 | } | |
13868 | return NULL; | |
13869 | } | |
13870 | ||
13871 | ||
13872 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13873 | PyObject *resultobj; | |
13874 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13875 | PyObject * obj0 = 0 ; | |
13876 | char *kwnames[] = { | |
13877 | (char *) "self", NULL | |
13878 | }; | |
13879 | ||
13880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
13881 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, | |
13882 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13883 | { | |
13884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13885 | (arg1)->Resume(); | |
13886 | ||
13887 | wxPyEndAllowThreads(__tstate); | |
13888 | if (PyErr_Occurred()) SWIG_fail; | |
13889 | } | |
13890 | Py_INCREF(Py_None); resultobj = Py_None; | |
13891 | return resultobj; | |
13892 | fail: | |
13893 | return NULL; | |
13894 | } | |
13895 | ||
13896 | ||
13897 | static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) { | |
13898 | PyObject *obj; | |
13899 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13900 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
13901 | Py_INCREF(obj); | |
13902 | return Py_BuildValue((char *)""); | |
13903 | } | |
13904 | static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13905 | PyObject *resultobj; | |
13906 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
13907 | int arg2 = (int) 0 ; | |
13908 | wxFindDialogEvent *result; | |
13909 | PyObject * obj0 = 0 ; | |
13910 | PyObject * obj1 = 0 ; | |
13911 | char *kwnames[] = { | |
13912 | (char *) "commandType",(char *) "id", NULL | |
13913 | }; | |
13914 | ||
13915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; | |
13916 | if (obj0) { | |
13917 | arg1 = (wxEventType) SWIG_AsInt(obj0); | |
13918 | if (PyErr_Occurred()) SWIG_fail; | |
13919 | } | |
13920 | if (obj1) { | |
13921 | arg2 = (int) SWIG_AsInt(obj1); | |
13922 | if (PyErr_Occurred()) SWIG_fail; | |
13923 | } | |
13924 | { | |
13925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13926 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
13927 | ||
13928 | wxPyEndAllowThreads(__tstate); | |
13929 | if (PyErr_Occurred()) SWIG_fail; | |
13930 | } | |
13931 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); | |
13932 | return resultobj; | |
13933 | fail: | |
13934 | return NULL; | |
13935 | } | |
13936 | ||
13937 | ||
13938 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13939 | PyObject *resultobj; | |
13940 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13941 | int result; | |
13942 | PyObject * obj0 = 0 ; | |
13943 | char *kwnames[] = { | |
13944 | (char *) "self", NULL | |
13945 | }; | |
13946 | ||
13947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
13948 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, | |
13949 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13950 | { | |
13951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13952 | result = (int)(arg1)->GetFlags(); | |
13953 | ||
13954 | wxPyEndAllowThreads(__tstate); | |
13955 | if (PyErr_Occurred()) SWIG_fail; | |
13956 | } | |
13957 | resultobj = SWIG_FromInt((int)result); | |
13958 | return resultobj; | |
13959 | fail: | |
13960 | return NULL; | |
13961 | } | |
13962 | ||
13963 | ||
13964 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13965 | PyObject *resultobj; | |
13966 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13967 | wxString *result; | |
13968 | PyObject * obj0 = 0 ; | |
13969 | char *kwnames[] = { | |
13970 | (char *) "self", NULL | |
13971 | }; | |
13972 | ||
13973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
13974 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, | |
13975 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13976 | { | |
13977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13978 | { | |
13979 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13980 | result = (wxString *) &_result_ref; | |
13981 | } | |
13982 | ||
13983 | wxPyEndAllowThreads(__tstate); | |
13984 | if (PyErr_Occurred()) SWIG_fail; | |
13985 | } | |
13986 | { | |
13987 | #if wxUSE_UNICODE | |
13988 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13989 | #else | |
13990 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13991 | #endif | |
13992 | } | |
13993 | return resultobj; | |
13994 | fail: | |
13995 | return NULL; | |
13996 | } | |
13997 | ||
13998 | ||
13999 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14000 | PyObject *resultobj; | |
14001 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14002 | wxString *result; | |
14003 | PyObject * obj0 = 0 ; | |
14004 | char *kwnames[] = { | |
14005 | (char *) "self", NULL | |
14006 | }; | |
14007 | ||
14008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
14009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, | |
14010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14011 | { | |
14012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14013 | { | |
14014 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
14015 | result = (wxString *) &_result_ref; | |
14016 | } | |
14017 | ||
14018 | wxPyEndAllowThreads(__tstate); | |
14019 | if (PyErr_Occurred()) SWIG_fail; | |
14020 | } | |
14021 | { | |
14022 | #if wxUSE_UNICODE | |
14023 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14024 | #else | |
14025 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14026 | #endif | |
14027 | } | |
14028 | return resultobj; | |
14029 | fail: | |
14030 | return NULL; | |
14031 | } | |
14032 | ||
14033 | ||
14034 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14035 | PyObject *resultobj; | |
14036 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14037 | wxFindReplaceDialog *result; | |
14038 | PyObject * obj0 = 0 ; | |
14039 | char *kwnames[] = { | |
14040 | (char *) "self", NULL | |
14041 | }; | |
14042 | ||
14043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
14044 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, | |
14045 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14046 | { | |
14047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14048 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
14049 | ||
14050 | wxPyEndAllowThreads(__tstate); | |
14051 | if (PyErr_Occurred()) SWIG_fail; | |
14052 | } | |
14053 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); | |
14054 | return resultobj; | |
14055 | fail: | |
14056 | return NULL; | |
14057 | } | |
14058 | ||
14059 | ||
14060 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14061 | PyObject *resultobj; | |
14062 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14063 | int arg2 ; | |
14064 | PyObject * obj0 = 0 ; | |
14065 | PyObject * obj1 = 0 ; | |
14066 | char *kwnames[] = { | |
14067 | (char *) "self",(char *) "flags", NULL | |
14068 | }; | |
14069 | ||
14070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
14071 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, | |
14072 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14073 | arg2 = (int) SWIG_AsInt(obj1); | |
14074 | if (PyErr_Occurred()) SWIG_fail; | |
14075 | { | |
14076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14077 | (arg1)->SetFlags(arg2); | |
14078 | ||
14079 | wxPyEndAllowThreads(__tstate); | |
14080 | if (PyErr_Occurred()) SWIG_fail; | |
14081 | } | |
14082 | Py_INCREF(Py_None); resultobj = Py_None; | |
14083 | return resultobj; | |
14084 | fail: | |
14085 | return NULL; | |
14086 | } | |
14087 | ||
14088 | ||
14089 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14090 | PyObject *resultobj; | |
14091 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14092 | wxString *arg2 = 0 ; | |
14093 | bool temp2 = False ; | |
14094 | PyObject * obj0 = 0 ; | |
14095 | PyObject * obj1 = 0 ; | |
14096 | char *kwnames[] = { | |
14097 | (char *) "self",(char *) "str", NULL | |
14098 | }; | |
14099 | ||
14100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
14101 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, | |
14102 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14103 | { | |
14104 | arg2 = wxString_in_helper(obj1); | |
14105 | if (arg2 == NULL) SWIG_fail; | |
14106 | temp2 = True; | |
14107 | } | |
14108 | { | |
14109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14110 | (arg1)->SetFindString((wxString const &)*arg2); | |
14111 | ||
14112 | wxPyEndAllowThreads(__tstate); | |
14113 | if (PyErr_Occurred()) SWIG_fail; | |
14114 | } | |
14115 | Py_INCREF(Py_None); resultobj = Py_None; | |
14116 | { | |
14117 | if (temp2) | |
14118 | delete arg2; | |
14119 | } | |
14120 | return resultobj; | |
14121 | fail: | |
14122 | { | |
14123 | if (temp2) | |
14124 | delete arg2; | |
14125 | } | |
14126 | return NULL; | |
14127 | } | |
14128 | ||
14129 | ||
14130 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14131 | PyObject *resultobj; | |
14132 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14133 | wxString *arg2 = 0 ; | |
14134 | bool temp2 = False ; | |
14135 | PyObject * obj0 = 0 ; | |
14136 | PyObject * obj1 = 0 ; | |
14137 | char *kwnames[] = { | |
14138 | (char *) "self",(char *) "str", NULL | |
14139 | }; | |
14140 | ||
14141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
14142 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, | |
14143 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14144 | { | |
14145 | arg2 = wxString_in_helper(obj1); | |
14146 | if (arg2 == NULL) SWIG_fail; | |
14147 | temp2 = True; | |
14148 | } | |
14149 | { | |
14150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14151 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
14152 | ||
14153 | wxPyEndAllowThreads(__tstate); | |
14154 | if (PyErr_Occurred()) SWIG_fail; | |
14155 | } | |
14156 | Py_INCREF(Py_None); resultobj = Py_None; | |
14157 | { | |
14158 | if (temp2) | |
14159 | delete arg2; | |
14160 | } | |
14161 | return resultobj; | |
14162 | fail: | |
14163 | { | |
14164 | if (temp2) | |
14165 | delete arg2; | |
14166 | } | |
14167 | return NULL; | |
14168 | } | |
14169 | ||
14170 | ||
14171 | static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) { | |
14172 | PyObject *obj; | |
14173 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14174 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
14175 | Py_INCREF(obj); | |
14176 | return Py_BuildValue((char *)""); | |
14177 | } | |
14178 | static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14179 | PyObject *resultobj; | |
14180 | int arg1 = (int) 0 ; | |
14181 | wxFindReplaceData *result; | |
14182 | PyObject * obj0 = 0 ; | |
14183 | char *kwnames[] = { | |
14184 | (char *) "flags", NULL | |
14185 | }; | |
14186 | ||
14187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; | |
14188 | if (obj0) { | |
14189 | arg1 = (int) SWIG_AsInt(obj0); | |
14190 | if (PyErr_Occurred()) SWIG_fail; | |
14191 | } | |
14192 | { | |
14193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14194 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
14195 | ||
14196 | wxPyEndAllowThreads(__tstate); | |
14197 | if (PyErr_Occurred()) SWIG_fail; | |
14198 | } | |
14199 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); | |
14200 | return resultobj; | |
14201 | fail: | |
14202 | return NULL; | |
14203 | } | |
14204 | ||
14205 | ||
14206 | static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14207 | PyObject *resultobj; | |
14208 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14209 | PyObject * obj0 = 0 ; | |
14210 | char *kwnames[] = { | |
14211 | (char *) "self", NULL | |
14212 | }; | |
14213 | ||
14214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
14215 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, | |
14216 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14217 | { | |
14218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14219 | delete arg1; | |
14220 | ||
14221 | wxPyEndAllowThreads(__tstate); | |
14222 | if (PyErr_Occurred()) SWIG_fail; | |
14223 | } | |
14224 | Py_INCREF(Py_None); resultobj = Py_None; | |
14225 | return resultobj; | |
14226 | fail: | |
14227 | return NULL; | |
14228 | } | |
14229 | ||
14230 | ||
14231 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14232 | PyObject *resultobj; | |
14233 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14234 | wxString *result; | |
14235 | PyObject * obj0 = 0 ; | |
14236 | char *kwnames[] = { | |
14237 | (char *) "self", NULL | |
14238 | }; | |
14239 | ||
14240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
14241 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, | |
14242 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14243 | { | |
14244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14245 | { | |
14246 | wxString const &_result_ref = (arg1)->GetFindString(); | |
14247 | result = (wxString *) &_result_ref; | |
14248 | } | |
14249 | ||
14250 | wxPyEndAllowThreads(__tstate); | |
14251 | if (PyErr_Occurred()) SWIG_fail; | |
14252 | } | |
14253 | { | |
14254 | #if wxUSE_UNICODE | |
14255 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14256 | #else | |
14257 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14258 | #endif | |
14259 | } | |
14260 | return resultobj; | |
14261 | fail: | |
14262 | return NULL; | |
14263 | } | |
14264 | ||
14265 | ||
14266 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14267 | PyObject *resultobj; | |
14268 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14269 | wxString *result; | |
14270 | PyObject * obj0 = 0 ; | |
14271 | char *kwnames[] = { | |
14272 | (char *) "self", NULL | |
14273 | }; | |
14274 | ||
14275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
14276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, | |
14277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14278 | { | |
14279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14280 | { | |
14281 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
14282 | result = (wxString *) &_result_ref; | |
14283 | } | |
14284 | ||
14285 | wxPyEndAllowThreads(__tstate); | |
14286 | if (PyErr_Occurred()) SWIG_fail; | |
14287 | } | |
14288 | { | |
14289 | #if wxUSE_UNICODE | |
14290 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14291 | #else | |
14292 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14293 | #endif | |
14294 | } | |
14295 | return resultobj; | |
14296 | fail: | |
14297 | return NULL; | |
14298 | } | |
14299 | ||
14300 | ||
14301 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14302 | PyObject *resultobj; | |
14303 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14304 | int result; | |
14305 | PyObject * obj0 = 0 ; | |
14306 | char *kwnames[] = { | |
14307 | (char *) "self", NULL | |
14308 | }; | |
14309 | ||
14310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
14311 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, | |
14312 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14313 | { | |
14314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14315 | result = (int)(arg1)->GetFlags(); | |
14316 | ||
14317 | wxPyEndAllowThreads(__tstate); | |
14318 | if (PyErr_Occurred()) SWIG_fail; | |
14319 | } | |
14320 | resultobj = SWIG_FromInt((int)result); | |
14321 | return resultobj; | |
14322 | fail: | |
14323 | return NULL; | |
14324 | } | |
14325 | ||
14326 | ||
14327 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14328 | PyObject *resultobj; | |
14329 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14330 | int arg2 ; | |
14331 | PyObject * obj0 = 0 ; | |
14332 | PyObject * obj1 = 0 ; | |
14333 | char *kwnames[] = { | |
14334 | (char *) "self",(char *) "flags", NULL | |
14335 | }; | |
14336 | ||
14337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
14338 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, | |
14339 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14340 | arg2 = (int) SWIG_AsInt(obj1); | |
14341 | if (PyErr_Occurred()) SWIG_fail; | |
14342 | { | |
14343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14344 | (arg1)->SetFlags(arg2); | |
14345 | ||
14346 | wxPyEndAllowThreads(__tstate); | |
14347 | if (PyErr_Occurred()) SWIG_fail; | |
14348 | } | |
14349 | Py_INCREF(Py_None); resultobj = Py_None; | |
14350 | return resultobj; | |
14351 | fail: | |
14352 | return NULL; | |
14353 | } | |
14354 | ||
14355 | ||
14356 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14357 | PyObject *resultobj; | |
14358 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14359 | wxString *arg2 = 0 ; | |
14360 | bool temp2 = False ; | |
14361 | PyObject * obj0 = 0 ; | |
14362 | PyObject * obj1 = 0 ; | |
14363 | char *kwnames[] = { | |
14364 | (char *) "self",(char *) "str", NULL | |
14365 | }; | |
14366 | ||
14367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
14368 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, | |
14369 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14370 | { | |
14371 | arg2 = wxString_in_helper(obj1); | |
14372 | if (arg2 == NULL) SWIG_fail; | |
14373 | temp2 = True; | |
14374 | } | |
14375 | { | |
14376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14377 | (arg1)->SetFindString((wxString const &)*arg2); | |
14378 | ||
14379 | wxPyEndAllowThreads(__tstate); | |
14380 | if (PyErr_Occurred()) SWIG_fail; | |
14381 | } | |
14382 | Py_INCREF(Py_None); resultobj = Py_None; | |
14383 | { | |
14384 | if (temp2) | |
14385 | delete arg2; | |
14386 | } | |
14387 | return resultobj; | |
14388 | fail: | |
14389 | { | |
14390 | if (temp2) | |
14391 | delete arg2; | |
14392 | } | |
14393 | return NULL; | |
14394 | } | |
14395 | ||
14396 | ||
14397 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14398 | PyObject *resultobj; | |
14399 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14400 | wxString *arg2 = 0 ; | |
14401 | bool temp2 = False ; | |
14402 | PyObject * obj0 = 0 ; | |
14403 | PyObject * obj1 = 0 ; | |
14404 | char *kwnames[] = { | |
14405 | (char *) "self",(char *) "str", NULL | |
14406 | }; | |
14407 | ||
14408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
14409 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, | |
14410 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14411 | { | |
14412 | arg2 = wxString_in_helper(obj1); | |
14413 | if (arg2 == NULL) SWIG_fail; | |
14414 | temp2 = True; | |
14415 | } | |
14416 | { | |
14417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14418 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
14419 | ||
14420 | wxPyEndAllowThreads(__tstate); | |
14421 | if (PyErr_Occurred()) SWIG_fail; | |
14422 | } | |
14423 | Py_INCREF(Py_None); resultobj = Py_None; | |
14424 | { | |
14425 | if (temp2) | |
14426 | delete arg2; | |
14427 | } | |
14428 | return resultobj; | |
14429 | fail: | |
14430 | { | |
14431 | if (temp2) | |
14432 | delete arg2; | |
14433 | } | |
14434 | return NULL; | |
14435 | } | |
14436 | ||
14437 | ||
14438 | static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) { | |
14439 | PyObject *obj; | |
14440 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14441 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
14442 | Py_INCREF(obj); | |
14443 | return Py_BuildValue((char *)""); | |
14444 | } | |
14445 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14446 | PyObject *resultobj; | |
14447 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14448 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14449 | wxString *arg3 = 0 ; | |
14450 | int arg4 = (int) 0 ; | |
14451 | wxFindReplaceDialog *result; | |
14452 | bool temp3 = False ; | |
14453 | PyObject * obj0 = 0 ; | |
14454 | PyObject * obj1 = 0 ; | |
14455 | PyObject * obj2 = 0 ; | |
14456 | PyObject * obj3 = 0 ; | |
14457 | char *kwnames[] = { | |
14458 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14459 | }; | |
14460 | ||
14461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
14462 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
14463 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14464 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
14465 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14466 | { | |
14467 | arg3 = wxString_in_helper(obj2); | |
14468 | if (arg3 == NULL) SWIG_fail; | |
14469 | temp3 = True; | |
14470 | } | |
14471 | if (obj3) { | |
14472 | arg4 = (int) SWIG_AsInt(obj3); | |
14473 | if (PyErr_Occurred()) SWIG_fail; | |
14474 | } | |
14475 | { | |
0439c23b | 14476 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14478 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
14479 | ||
14480 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14481 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14482 | } |
14483 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); | |
14484 | { | |
14485 | if (temp3) | |
14486 | delete arg3; | |
14487 | } | |
14488 | return resultobj; | |
14489 | fail: | |
14490 | { | |
14491 | if (temp3) | |
14492 | delete arg3; | |
14493 | } | |
14494 | return NULL; | |
14495 | } | |
14496 | ||
14497 | ||
14498 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14499 | PyObject *resultobj; | |
14500 | wxFindReplaceDialog *result; | |
14501 | char *kwnames[] = { | |
14502 | NULL | |
14503 | }; | |
14504 | ||
14505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
14506 | { | |
0439c23b | 14507 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14509 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
14510 | ||
14511 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14512 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14513 | } |
14514 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); | |
14515 | return resultobj; | |
14516 | fail: | |
14517 | return NULL; | |
14518 | } | |
14519 | ||
14520 | ||
14521 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14522 | PyObject *resultobj; | |
14523 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14524 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14525 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
14526 | wxString *arg4 = 0 ; | |
14527 | int arg5 = (int) 0 ; | |
14528 | bool result; | |
14529 | bool temp4 = False ; | |
14530 | PyObject * obj0 = 0 ; | |
14531 | PyObject * obj1 = 0 ; | |
14532 | PyObject * obj2 = 0 ; | |
14533 | PyObject * obj3 = 0 ; | |
14534 | PyObject * obj4 = 0 ; | |
14535 | char *kwnames[] = { | |
14536 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14537 | }; | |
14538 | ||
14539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
14540 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, | |
14541 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14542 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14543 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14544 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData, | |
14545 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14546 | { | |
14547 | arg4 = wxString_in_helper(obj3); | |
14548 | if (arg4 == NULL) SWIG_fail; | |
14549 | temp4 = True; | |
14550 | } | |
14551 | if (obj4) { | |
14552 | arg5 = (int) SWIG_AsInt(obj4); | |
14553 | if (PyErr_Occurred()) SWIG_fail; | |
14554 | } | |
14555 | { | |
14556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14557 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
14558 | ||
14559 | wxPyEndAllowThreads(__tstate); | |
14560 | if (PyErr_Occurred()) SWIG_fail; | |
14561 | } | |
14562 | { | |
14563 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14564 | } | |
14565 | { | |
14566 | if (temp4) | |
14567 | delete arg4; | |
14568 | } | |
14569 | return resultobj; | |
14570 | fail: | |
14571 | { | |
14572 | if (temp4) | |
14573 | delete arg4; | |
14574 | } | |
14575 | return NULL; | |
14576 | } | |
14577 | ||
14578 | ||
14579 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14580 | PyObject *resultobj; | |
14581 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14582 | wxFindReplaceData *result; | |
14583 | PyObject * obj0 = 0 ; | |
14584 | char *kwnames[] = { | |
14585 | (char *) "self", NULL | |
14586 | }; | |
14587 | ||
14588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
14589 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, | |
14590 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14591 | { | |
14592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14593 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
14594 | ||
14595 | wxPyEndAllowThreads(__tstate); | |
14596 | if (PyErr_Occurred()) SWIG_fail; | |
14597 | } | |
14598 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); | |
14599 | return resultobj; | |
14600 | fail: | |
14601 | return NULL; | |
14602 | } | |
14603 | ||
14604 | ||
14605 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14606 | PyObject *resultobj; | |
14607 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14608 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14609 | PyObject * obj0 = 0 ; | |
14610 | PyObject * obj1 = 0 ; | |
14611 | char *kwnames[] = { | |
14612 | (char *) "self",(char *) "data", NULL | |
14613 | }; | |
14614 | ||
14615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
14616 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, | |
14617 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14618 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
14619 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14620 | { | |
14621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14622 | (arg1)->SetData(arg2); | |
14623 | ||
14624 | wxPyEndAllowThreads(__tstate); | |
14625 | if (PyErr_Occurred()) SWIG_fail; | |
14626 | } | |
14627 | Py_INCREF(Py_None); resultobj = Py_None; | |
14628 | return resultobj; | |
14629 | fail: | |
14630 | return NULL; | |
14631 | } | |
14632 | ||
14633 | ||
14634 | static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) { | |
14635 | PyObject *obj; | |
14636 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14637 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
14638 | Py_INCREF(obj); | |
14639 | return Py_BuildValue((char *)""); | |
14640 | } | |
14641 | static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14642 | PyObject *resultobj; | |
14643 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
14644 | int arg2 = (int) (int)-1 ; |
14645 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
14646 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
14647 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
14648 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14649 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14650 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14651 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14652 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14653 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14654 | wxMDIParentFrame *result; | |
14655 | bool temp3 = False ; | |
14656 | wxPoint temp4 ; | |
14657 | wxSize temp5 ; | |
14658 | bool temp7 = False ; | |
14659 | PyObject * obj0 = 0 ; | |
14660 | PyObject * obj1 = 0 ; | |
14661 | PyObject * obj2 = 0 ; | |
14662 | PyObject * obj3 = 0 ; | |
14663 | PyObject * obj4 = 0 ; | |
14664 | PyObject * obj5 = 0 ; | |
14665 | PyObject * obj6 = 0 ; | |
14666 | char *kwnames[] = { | |
14667 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14668 | }; | |
14669 | ||
248ed943 | 14670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d55e5bfc RD |
14671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
14673 | if (obj1) { |
14674 | arg2 = (int const) SWIG_AsInt(obj1); | |
14675 | if (PyErr_Occurred()) SWIG_fail; | |
14676 | } | |
14677 | if (obj2) { | |
14678 | { | |
14679 | arg3 = wxString_in_helper(obj2); | |
14680 | if (arg3 == NULL) SWIG_fail; | |
14681 | temp3 = True; | |
14682 | } | |
d55e5bfc RD |
14683 | } |
14684 | if (obj3) { | |
14685 | { | |
14686 | arg4 = &temp4; | |
14687 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14688 | } | |
14689 | } | |
14690 | if (obj4) { | |
14691 | { | |
14692 | arg5 = &temp5; | |
14693 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14694 | } | |
14695 | } | |
14696 | if (obj5) { | |
14697 | arg6 = (long) SWIG_AsLong(obj5); | |
14698 | if (PyErr_Occurred()) SWIG_fail; | |
14699 | } | |
14700 | if (obj6) { | |
14701 | { | |
14702 | arg7 = wxString_in_helper(obj6); | |
14703 | if (arg7 == NULL) SWIG_fail; | |
14704 | temp7 = True; | |
14705 | } | |
14706 | } | |
14707 | { | |
0439c23b | 14708 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14710 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14711 | ||
14712 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14713 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14714 | } |
14715 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); | |
14716 | { | |
14717 | if (temp3) | |
14718 | delete arg3; | |
14719 | } | |
14720 | { | |
14721 | if (temp7) | |
14722 | delete arg7; | |
14723 | } | |
14724 | return resultobj; | |
14725 | fail: | |
14726 | { | |
14727 | if (temp3) | |
14728 | delete arg3; | |
14729 | } | |
14730 | { | |
14731 | if (temp7) | |
14732 | delete arg7; | |
14733 | } | |
14734 | return NULL; | |
14735 | } | |
14736 | ||
14737 | ||
14738 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14739 | PyObject *resultobj; | |
14740 | wxMDIParentFrame *result; | |
14741 | char *kwnames[] = { | |
14742 | NULL | |
14743 | }; | |
14744 | ||
14745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
14746 | { | |
0439c23b | 14747 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14749 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
14750 | ||
14751 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14752 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14753 | } |
14754 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); | |
14755 | return resultobj; | |
14756 | fail: | |
14757 | return NULL; | |
14758 | } | |
14759 | ||
14760 | ||
14761 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14762 | PyObject *resultobj; | |
14763 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14764 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
14765 | int arg3 = (int) (int)-1 ; |
14766 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
14767 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
14768 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
14769 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14770 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14771 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14772 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14773 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14774 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14775 | bool result; | |
14776 | bool temp4 = False ; | |
14777 | wxPoint temp5 ; | |
14778 | wxSize temp6 ; | |
14779 | bool temp8 = False ; | |
14780 | PyObject * obj0 = 0 ; | |
14781 | PyObject * obj1 = 0 ; | |
14782 | PyObject * obj2 = 0 ; | |
14783 | PyObject * obj3 = 0 ; | |
14784 | PyObject * obj4 = 0 ; | |
14785 | PyObject * obj5 = 0 ; | |
14786 | PyObject * obj6 = 0 ; | |
14787 | PyObject * obj7 = 0 ; | |
14788 | char *kwnames[] = { | |
14789 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14790 | }; | |
14791 | ||
248ed943 | 14792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d55e5bfc RD |
14793 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14794 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14795 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14796 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
14797 | if (obj2) { |
14798 | arg3 = (int const) SWIG_AsInt(obj2); | |
14799 | if (PyErr_Occurred()) SWIG_fail; | |
14800 | } | |
14801 | if (obj3) { | |
14802 | { | |
14803 | arg4 = wxString_in_helper(obj3); | |
14804 | if (arg4 == NULL) SWIG_fail; | |
14805 | temp4 = True; | |
14806 | } | |
d55e5bfc RD |
14807 | } |
14808 | if (obj4) { | |
14809 | { | |
14810 | arg5 = &temp5; | |
14811 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14812 | } | |
14813 | } | |
14814 | if (obj5) { | |
14815 | { | |
14816 | arg6 = &temp6; | |
14817 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14818 | } | |
14819 | } | |
14820 | if (obj6) { | |
14821 | arg7 = (long) SWIG_AsLong(obj6); | |
14822 | if (PyErr_Occurred()) SWIG_fail; | |
14823 | } | |
14824 | if (obj7) { | |
14825 | { | |
14826 | arg8 = wxString_in_helper(obj7); | |
14827 | if (arg8 == NULL) SWIG_fail; | |
14828 | temp8 = True; | |
14829 | } | |
14830 | } | |
14831 | { | |
14832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14833 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14834 | ||
14835 | wxPyEndAllowThreads(__tstate); | |
14836 | if (PyErr_Occurred()) SWIG_fail; | |
14837 | } | |
14838 | { | |
14839 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14840 | } | |
14841 | { | |
14842 | if (temp4) | |
14843 | delete arg4; | |
14844 | } | |
14845 | { | |
14846 | if (temp8) | |
14847 | delete arg8; | |
14848 | } | |
14849 | return resultobj; | |
14850 | fail: | |
14851 | { | |
14852 | if (temp4) | |
14853 | delete arg4; | |
14854 | } | |
14855 | { | |
14856 | if (temp8) | |
14857 | delete arg8; | |
14858 | } | |
14859 | return NULL; | |
14860 | } | |
14861 | ||
14862 | ||
14863 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14864 | PyObject *resultobj; | |
14865 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14866 | PyObject * obj0 = 0 ; | |
14867 | char *kwnames[] = { | |
14868 | (char *) "self", NULL | |
14869 | }; | |
14870 | ||
14871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
14872 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
14873 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14874 | { | |
14875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14876 | (arg1)->ActivateNext(); | |
14877 | ||
14878 | wxPyEndAllowThreads(__tstate); | |
14879 | if (PyErr_Occurred()) SWIG_fail; | |
14880 | } | |
14881 | Py_INCREF(Py_None); resultobj = Py_None; | |
14882 | return resultobj; | |
14883 | fail: | |
14884 | return NULL; | |
14885 | } | |
14886 | ||
14887 | ||
14888 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14889 | PyObject *resultobj; | |
14890 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14891 | PyObject * obj0 = 0 ; | |
14892 | char *kwnames[] = { | |
14893 | (char *) "self", NULL | |
14894 | }; | |
14895 | ||
14896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
14897 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
14898 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14899 | { | |
14900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14901 | (arg1)->ActivatePrevious(); | |
14902 | ||
14903 | wxPyEndAllowThreads(__tstate); | |
14904 | if (PyErr_Occurred()) SWIG_fail; | |
14905 | } | |
14906 | Py_INCREF(Py_None); resultobj = Py_None; | |
14907 | return resultobj; | |
14908 | fail: | |
14909 | return NULL; | |
14910 | } | |
14911 | ||
14912 | ||
14913 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14914 | PyObject *resultobj; | |
14915 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14916 | PyObject * obj0 = 0 ; | |
14917 | char *kwnames[] = { | |
14918 | (char *) "self", NULL | |
14919 | }; | |
14920 | ||
14921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
14922 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
14923 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14924 | { | |
14925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14926 | (arg1)->ArrangeIcons(); | |
14927 | ||
14928 | wxPyEndAllowThreads(__tstate); | |
14929 | if (PyErr_Occurred()) SWIG_fail; | |
14930 | } | |
14931 | Py_INCREF(Py_None); resultobj = Py_None; | |
14932 | return resultobj; | |
14933 | fail: | |
14934 | return NULL; | |
14935 | } | |
14936 | ||
14937 | ||
14938 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14939 | PyObject *resultobj; | |
14940 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14941 | PyObject * obj0 = 0 ; | |
14942 | char *kwnames[] = { | |
14943 | (char *) "self", NULL | |
14944 | }; | |
14945 | ||
14946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
14947 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
14948 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14949 | { | |
14950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14951 | (arg1)->Cascade(); | |
14952 | ||
14953 | wxPyEndAllowThreads(__tstate); | |
14954 | if (PyErr_Occurred()) SWIG_fail; | |
14955 | } | |
14956 | Py_INCREF(Py_None); resultobj = Py_None; | |
14957 | return resultobj; | |
14958 | fail: | |
14959 | return NULL; | |
14960 | } | |
14961 | ||
14962 | ||
14963 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14964 | PyObject *resultobj; | |
14965 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14966 | wxMDIChildFrame *result; | |
14967 | PyObject * obj0 = 0 ; | |
14968 | char *kwnames[] = { | |
14969 | (char *) "self", NULL | |
14970 | }; | |
14971 | ||
14972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
14973 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
14974 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14975 | { | |
14976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14977 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
14978 | ||
14979 | wxPyEndAllowThreads(__tstate); | |
14980 | if (PyErr_Occurred()) SWIG_fail; | |
14981 | } | |
14982 | { | |
412d302d | 14983 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
14984 | } |
14985 | return resultobj; | |
14986 | fail: | |
14987 | return NULL; | |
14988 | } | |
14989 | ||
14990 | ||
14991 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14992 | PyObject *resultobj; | |
14993 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14994 | wxMDIClientWindow *result; | |
14995 | PyObject * obj0 = 0 ; | |
14996 | char *kwnames[] = { | |
14997 | (char *) "self", NULL | |
14998 | }; | |
14999 | ||
15000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
15001 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15002 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15003 | { | |
15004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15005 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
15006 | ||
15007 | wxPyEndAllowThreads(__tstate); | |
15008 | if (PyErr_Occurred()) SWIG_fail; | |
15009 | } | |
15010 | { | |
412d302d | 15011 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
15012 | } |
15013 | return resultobj; | |
15014 | fail: | |
15015 | return NULL; | |
15016 | } | |
15017 | ||
15018 | ||
15019 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15020 | PyObject *resultobj; | |
15021 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15022 | wxWindow *result; | |
15023 | PyObject * obj0 = 0 ; | |
15024 | char *kwnames[] = { | |
15025 | (char *) "self", NULL | |
15026 | }; | |
15027 | ||
15028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
15029 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15030 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15031 | { | |
15032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15033 | result = (wxWindow *)(arg1)->GetToolBar(); | |
15034 | ||
15035 | wxPyEndAllowThreads(__tstate); | |
15036 | if (PyErr_Occurred()) SWIG_fail; | |
15037 | } | |
15038 | { | |
412d302d | 15039 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
15040 | } |
15041 | return resultobj; | |
15042 | fail: | |
15043 | return NULL; | |
15044 | } | |
15045 | ||
15046 | ||
15047 | static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15048 | PyObject *resultobj; | |
15049 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15050 | wxMenu *result; | |
15051 | PyObject * obj0 = 0 ; | |
15052 | char *kwnames[] = { | |
15053 | (char *) "self", NULL | |
15054 | }; | |
15055 | ||
15056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail; | |
15057 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15058 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15059 | { | |
15060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15061 | result = (wxMenu *)(arg1)->GetWindowMenu(); | |
15062 | ||
15063 | wxPyEndAllowThreads(__tstate); | |
15064 | if (PyErr_Occurred()) SWIG_fail; | |
15065 | } | |
15066 | { | |
412d302d | 15067 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
15068 | } |
15069 | return resultobj; | |
15070 | fail: | |
15071 | return NULL; | |
15072 | } | |
15073 | ||
15074 | ||
15075 | static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15076 | PyObject *resultobj; | |
15077 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15078 | wxMenu *arg2 = (wxMenu *) 0 ; | |
15079 | PyObject * obj0 = 0 ; | |
15080 | PyObject * obj1 = 0 ; | |
15081 | char *kwnames[] = { | |
15082 | (char *) "self",(char *) "menu", NULL | |
15083 | }; | |
15084 | ||
15085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail; | |
15086 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15087 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15088 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, | |
15089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15090 | { | |
15091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15092 | (arg1)->SetWindowMenu(arg2); | |
15093 | ||
15094 | wxPyEndAllowThreads(__tstate); | |
15095 | if (PyErr_Occurred()) SWIG_fail; | |
15096 | } | |
15097 | Py_INCREF(Py_None); resultobj = Py_None; | |
15098 | return resultobj; | |
15099 | fail: | |
15100 | return NULL; | |
15101 | } | |
15102 | ||
15103 | ||
15104 | static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15105 | PyObject *resultobj; | |
15106 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15107 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
15108 | PyObject * obj0 = 0 ; | |
15109 | PyObject * obj1 = 0 ; | |
15110 | char *kwnames[] = { | |
15111 | (char *) "self",(char *) "toolbar", NULL | |
15112 | }; | |
15113 | ||
15114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
15115 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15116 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15117 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar, | |
15118 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15119 | { | |
15120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15121 | (arg1)->SetToolBar(arg2); | |
15122 | ||
15123 | wxPyEndAllowThreads(__tstate); | |
15124 | if (PyErr_Occurred()) SWIG_fail; | |
15125 | } | |
15126 | Py_INCREF(Py_None); resultobj = Py_None; | |
15127 | return resultobj; | |
15128 | fail: | |
15129 | return NULL; | |
15130 | } | |
15131 | ||
15132 | ||
15133 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15134 | PyObject *resultobj; | |
15135 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15136 | PyObject * obj0 = 0 ; | |
15137 | char *kwnames[] = { | |
15138 | (char *) "self", NULL | |
15139 | }; | |
15140 | ||
15141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
15142 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15143 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15144 | { | |
15145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15146 | (arg1)->Tile(); | |
15147 | ||
15148 | wxPyEndAllowThreads(__tstate); | |
15149 | if (PyErr_Occurred()) SWIG_fail; | |
15150 | } | |
15151 | Py_INCREF(Py_None); resultobj = Py_None; | |
15152 | return resultobj; | |
15153 | fail: | |
15154 | return NULL; | |
15155 | } | |
15156 | ||
15157 | ||
15158 | static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) { | |
15159 | PyObject *obj; | |
15160 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15161 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
15162 | Py_INCREF(obj); | |
15163 | return Py_BuildValue((char *)""); | |
15164 | } | |
15165 | static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15166 | PyObject *resultobj; | |
15167 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
248ed943 RD |
15168 | int arg2 = (int) (int)-1 ; |
15169 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15170 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
15171 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
15172 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
15173 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
15174 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
15175 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
15176 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
15177 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
15178 | wxMDIChildFrame *result; | |
15179 | bool temp3 = False ; | |
15180 | wxPoint temp4 ; | |
15181 | wxSize temp5 ; | |
15182 | bool temp7 = False ; | |
15183 | PyObject * obj0 = 0 ; | |
15184 | PyObject * obj1 = 0 ; | |
15185 | PyObject * obj2 = 0 ; | |
15186 | PyObject * obj3 = 0 ; | |
15187 | PyObject * obj4 = 0 ; | |
15188 | PyObject * obj5 = 0 ; | |
15189 | PyObject * obj6 = 0 ; | |
15190 | char *kwnames[] = { | |
15191 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15192 | }; | |
15193 | ||
248ed943 | 15194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d55e5bfc RD |
15195 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15196 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
15197 | if (obj1) { |
15198 | arg2 = (int const) SWIG_AsInt(obj1); | |
15199 | if (PyErr_Occurred()) SWIG_fail; | |
15200 | } | |
15201 | if (obj2) { | |
15202 | { | |
15203 | arg3 = wxString_in_helper(obj2); | |
15204 | if (arg3 == NULL) SWIG_fail; | |
15205 | temp3 = True; | |
15206 | } | |
d55e5bfc RD |
15207 | } |
15208 | if (obj3) { | |
15209 | { | |
15210 | arg4 = &temp4; | |
15211 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
15212 | } | |
15213 | } | |
15214 | if (obj4) { | |
15215 | { | |
15216 | arg5 = &temp5; | |
15217 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
15218 | } | |
15219 | } | |
15220 | if (obj5) { | |
15221 | arg6 = (long) SWIG_AsLong(obj5); | |
15222 | if (PyErr_Occurred()) SWIG_fail; | |
15223 | } | |
15224 | if (obj6) { | |
15225 | { | |
15226 | arg7 = wxString_in_helper(obj6); | |
15227 | if (arg7 == NULL) SWIG_fail; | |
15228 | temp7 = True; | |
15229 | } | |
15230 | } | |
15231 | { | |
0439c23b | 15232 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15234 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
15235 | ||
15236 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15237 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15238 | } |
15239 | { | |
412d302d | 15240 | resultobj = wxPyMake_wxObject(result, 1); |
d55e5bfc RD |
15241 | } |
15242 | { | |
15243 | if (temp3) | |
15244 | delete arg3; | |
15245 | } | |
15246 | { | |
15247 | if (temp7) | |
15248 | delete arg7; | |
15249 | } | |
15250 | return resultobj; | |
15251 | fail: | |
15252 | { | |
15253 | if (temp3) | |
15254 | delete arg3; | |
15255 | } | |
15256 | { | |
15257 | if (temp7) | |
15258 | delete arg7; | |
15259 | } | |
15260 | return NULL; | |
15261 | } | |
15262 | ||
15263 | ||
15264 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15265 | PyObject *resultobj; | |
15266 | wxMDIChildFrame *result; | |
15267 | char *kwnames[] = { | |
15268 | NULL | |
15269 | }; | |
15270 | ||
15271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
15272 | { | |
0439c23b | 15273 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15275 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
15276 | ||
15277 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15278 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15279 | } |
15280 | { | |
412d302d | 15281 | resultobj = wxPyMake_wxObject(result, 1); |
d55e5bfc RD |
15282 | } |
15283 | return resultobj; | |
15284 | fail: | |
15285 | return NULL; | |
15286 | } | |
15287 | ||
15288 | ||
15289 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15290 | PyObject *resultobj; | |
15291 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15292 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
248ed943 RD |
15293 | int arg3 = (int) (int)-1 ; |
15294 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15295 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
15296 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
15297 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
15298 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
15299 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
15300 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
15301 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
15302 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
15303 | bool result; | |
15304 | bool temp4 = False ; | |
15305 | wxPoint temp5 ; | |
15306 | wxSize temp6 ; | |
15307 | bool temp8 = False ; | |
15308 | PyObject * obj0 = 0 ; | |
15309 | PyObject * obj1 = 0 ; | |
15310 | PyObject * obj2 = 0 ; | |
15311 | PyObject * obj3 = 0 ; | |
15312 | PyObject * obj4 = 0 ; | |
15313 | PyObject * obj5 = 0 ; | |
15314 | PyObject * obj6 = 0 ; | |
15315 | PyObject * obj7 = 0 ; | |
15316 | char *kwnames[] = { | |
15317 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15318 | }; | |
15319 | ||
248ed943 | 15320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d55e5bfc RD |
15321 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
15322 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15323 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
15324 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
15325 | if (obj2) { |
15326 | arg3 = (int const) SWIG_AsInt(obj2); | |
15327 | if (PyErr_Occurred()) SWIG_fail; | |
15328 | } | |
15329 | if (obj3) { | |
15330 | { | |
15331 | arg4 = wxString_in_helper(obj3); | |
15332 | if (arg4 == NULL) SWIG_fail; | |
15333 | temp4 = True; | |
15334 | } | |
d55e5bfc RD |
15335 | } |
15336 | if (obj4) { | |
15337 | { | |
15338 | arg5 = &temp5; | |
15339 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
15340 | } | |
15341 | } | |
15342 | if (obj5) { | |
15343 | { | |
15344 | arg6 = &temp6; | |
15345 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
15346 | } | |
15347 | } | |
15348 | if (obj6) { | |
15349 | arg7 = (long) SWIG_AsLong(obj6); | |
15350 | if (PyErr_Occurred()) SWIG_fail; | |
15351 | } | |
15352 | if (obj7) { | |
15353 | { | |
15354 | arg8 = wxString_in_helper(obj7); | |
15355 | if (arg8 == NULL) SWIG_fail; | |
15356 | temp8 = True; | |
15357 | } | |
15358 | } | |
15359 | { | |
15360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15361 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
15362 | ||
15363 | wxPyEndAllowThreads(__tstate); | |
15364 | if (PyErr_Occurred()) SWIG_fail; | |
15365 | } | |
15366 | { | |
15367 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15368 | } | |
15369 | { | |
15370 | if (temp4) | |
15371 | delete arg4; | |
15372 | } | |
15373 | { | |
15374 | if (temp8) | |
15375 | delete arg8; | |
15376 | } | |
15377 | return resultobj; | |
15378 | fail: | |
15379 | { | |
15380 | if (temp4) | |
15381 | delete arg4; | |
15382 | } | |
15383 | { | |
15384 | if (temp8) | |
15385 | delete arg8; | |
15386 | } | |
15387 | return NULL; | |
15388 | } | |
15389 | ||
15390 | ||
15391 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15392 | PyObject *resultobj; | |
15393 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15394 | PyObject * obj0 = 0 ; | |
15395 | char *kwnames[] = { | |
15396 | (char *) "self", NULL | |
15397 | }; | |
15398 | ||
15399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
15400 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, | |
15401 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15402 | { | |
15403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15404 | (arg1)->Activate(); | |
15405 | ||
15406 | wxPyEndAllowThreads(__tstate); | |
15407 | if (PyErr_Occurred()) SWIG_fail; | |
15408 | } | |
15409 | Py_INCREF(Py_None); resultobj = Py_None; | |
15410 | return resultobj; | |
15411 | fail: | |
15412 | return NULL; | |
15413 | } | |
15414 | ||
15415 | ||
15416 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15417 | PyObject *resultobj; | |
15418 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15419 | bool arg2 ; | |
15420 | PyObject * obj0 = 0 ; | |
15421 | PyObject * obj1 = 0 ; | |
15422 | char *kwnames[] = { | |
15423 | (char *) "self",(char *) "maximize", NULL | |
15424 | }; | |
15425 | ||
15426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
15427 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, | |
15428 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15429 | arg2 = (bool) SWIG_AsBool(obj1); | |
15430 | if (PyErr_Occurred()) SWIG_fail; | |
15431 | { | |
15432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15433 | (arg1)->Maximize(arg2); | |
15434 | ||
15435 | wxPyEndAllowThreads(__tstate); | |
15436 | if (PyErr_Occurred()) SWIG_fail; | |
15437 | } | |
15438 | Py_INCREF(Py_None); resultobj = Py_None; | |
15439 | return resultobj; | |
15440 | fail: | |
15441 | return NULL; | |
15442 | } | |
15443 | ||
15444 | ||
15445 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15446 | PyObject *resultobj; | |
15447 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15448 | PyObject * obj0 = 0 ; | |
15449 | char *kwnames[] = { | |
15450 | (char *) "self", NULL | |
15451 | }; | |
15452 | ||
15453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
15454 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, | |
15455 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15456 | { | |
15457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15458 | (arg1)->Restore(); | |
15459 | ||
15460 | wxPyEndAllowThreads(__tstate); | |
15461 | if (PyErr_Occurred()) SWIG_fail; | |
15462 | } | |
15463 | Py_INCREF(Py_None); resultobj = Py_None; | |
15464 | return resultobj; | |
15465 | fail: | |
15466 | return NULL; | |
15467 | } | |
15468 | ||
15469 | ||
15470 | static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) { | |
15471 | PyObject *obj; | |
15472 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15473 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
15474 | Py_INCREF(obj); | |
15475 | return Py_BuildValue((char *)""); | |
15476 | } | |
15477 | static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15478 | PyObject *resultobj; | |
15479 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15480 | long arg2 = (long) 0 ; | |
15481 | wxMDIClientWindow *result; | |
15482 | PyObject * obj0 = 0 ; | |
15483 | PyObject * obj1 = 0 ; | |
15484 | char *kwnames[] = { | |
15485 | (char *) "parent",(char *) "style", NULL | |
15486 | }; | |
15487 | ||
15488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; | |
15489 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15490 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15491 | if (obj1) { | |
15492 | arg2 = (long) SWIG_AsLong(obj1); | |
15493 | if (PyErr_Occurred()) SWIG_fail; | |
15494 | } | |
15495 | { | |
0439c23b | 15496 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15498 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
15499 | ||
15500 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15501 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15502 | } |
15503 | { | |
412d302d | 15504 | resultobj = wxPyMake_wxObject(result, 1); |
d55e5bfc RD |
15505 | } |
15506 | return resultobj; | |
15507 | fail: | |
15508 | return NULL; | |
15509 | } | |
15510 | ||
15511 | ||
15512 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15513 | PyObject *resultobj; | |
15514 | wxMDIClientWindow *result; | |
15515 | char *kwnames[] = { | |
15516 | NULL | |
15517 | }; | |
15518 | ||
15519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
15520 | { | |
0439c23b | 15521 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15523 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
15524 | ||
15525 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15526 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15527 | } |
15528 | { | |
412d302d | 15529 | resultobj = wxPyMake_wxObject(result, 1); |
d55e5bfc RD |
15530 | } |
15531 | return resultobj; | |
15532 | fail: | |
15533 | return NULL; | |
15534 | } | |
15535 | ||
15536 | ||
15537 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15538 | PyObject *resultobj; | |
15539 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
15540 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
15541 | long arg3 = (long) 0 ; | |
15542 | bool result; | |
15543 | PyObject * obj0 = 0 ; | |
15544 | PyObject * obj1 = 0 ; | |
15545 | PyObject * obj2 = 0 ; | |
15546 | char *kwnames[] = { | |
15547 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
15548 | }; | |
15549 | ||
15550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15551 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow, | |
15552 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15553 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
15554 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15555 | if (obj2) { | |
15556 | arg3 = (long) SWIG_AsLong(obj2); | |
15557 | if (PyErr_Occurred()) SWIG_fail; | |
15558 | } | |
15559 | { | |
15560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15561 | result = (bool)(arg1)->Create(arg2,arg3); | |
15562 | ||
15563 | wxPyEndAllowThreads(__tstate); | |
15564 | if (PyErr_Occurred()) SWIG_fail; | |
15565 | } | |
15566 | { | |
15567 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15568 | } | |
15569 | return resultobj; | |
15570 | fail: | |
15571 | return NULL; | |
15572 | } | |
15573 | ||
15574 | ||
15575 | static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) { | |
15576 | PyObject *obj; | |
15577 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15578 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
15579 | Py_INCREF(obj); | |
15580 | return Py_BuildValue((char *)""); | |
15581 | } | |
15582 | static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15583 | PyObject *resultobj; | |
15584 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 15585 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
15586 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15587 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15588 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15589 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15590 | long arg5 = (long) 0 ; | |
15591 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15592 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15593 | wxPyWindow *result; | |
15594 | wxPoint temp3 ; | |
15595 | wxSize temp4 ; | |
15596 | bool temp6 = False ; | |
15597 | PyObject * obj0 = 0 ; | |
15598 | PyObject * obj1 = 0 ; | |
15599 | PyObject * obj2 = 0 ; | |
15600 | PyObject * obj3 = 0 ; | |
15601 | PyObject * obj4 = 0 ; | |
15602 | PyObject * obj5 = 0 ; | |
15603 | char *kwnames[] = { | |
15604 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15605 | }; | |
15606 | ||
248ed943 | 15607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d55e5bfc RD |
15608 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15609 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
15610 | if (obj1) { |
15611 | arg2 = (int const) SWIG_AsInt(obj1); | |
15612 | if (PyErr_Occurred()) SWIG_fail; | |
15613 | } | |
d55e5bfc RD |
15614 | if (obj2) { |
15615 | { | |
15616 | arg3 = &temp3; | |
15617 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15618 | } | |
15619 | } | |
15620 | if (obj3) { | |
15621 | { | |
15622 | arg4 = &temp4; | |
15623 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15624 | } | |
15625 | } | |
15626 | if (obj4) { | |
15627 | arg5 = (long) SWIG_AsLong(obj4); | |
15628 | if (PyErr_Occurred()) SWIG_fail; | |
15629 | } | |
15630 | if (obj5) { | |
15631 | { | |
15632 | arg6 = wxString_in_helper(obj5); | |
15633 | if (arg6 == NULL) SWIG_fail; | |
15634 | temp6 = True; | |
15635 | } | |
15636 | } | |
15637 | { | |
0439c23b | 15638 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15640 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15641 | ||
15642 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15643 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15644 | } |
15645 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
15646 | { | |
15647 | if (temp6) | |
15648 | delete arg6; | |
15649 | } | |
15650 | return resultobj; | |
15651 | fail: | |
15652 | { | |
15653 | if (temp6) | |
15654 | delete arg6; | |
15655 | } | |
15656 | return NULL; | |
15657 | } | |
15658 | ||
15659 | ||
15660 | static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15661 | PyObject *resultobj; | |
15662 | wxPyWindow *result; | |
15663 | char *kwnames[] = { | |
15664 | NULL | |
15665 | }; | |
15666 | ||
15667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail; | |
15668 | { | |
0439c23b | 15669 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15671 | result = (wxPyWindow *)new wxPyWindow(); | |
15672 | ||
15673 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15674 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15675 | } |
15676 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
15677 | return resultobj; | |
15678 | fail: | |
15679 | return NULL; | |
15680 | } | |
15681 | ||
15682 | ||
15683 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15684 | PyObject *resultobj; | |
15685 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15686 | PyObject *arg2 = (PyObject *) 0 ; | |
15687 | PyObject *arg3 = (PyObject *) 0 ; | |
15688 | PyObject * obj0 = 0 ; | |
15689 | PyObject * obj1 = 0 ; | |
15690 | PyObject * obj2 = 0 ; | |
15691 | char *kwnames[] = { | |
15692 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15693 | }; | |
15694 | ||
15695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15696 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15697 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15698 | arg2 = obj1; | |
15699 | arg3 = obj2; | |
15700 | { | |
15701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15702 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15703 | ||
15704 | wxPyEndAllowThreads(__tstate); | |
15705 | if (PyErr_Occurred()) SWIG_fail; | |
15706 | } | |
15707 | Py_INCREF(Py_None); resultobj = Py_None; | |
15708 | return resultobj; | |
15709 | fail: | |
15710 | return NULL; | |
15711 | } | |
15712 | ||
15713 | ||
caef1a4d RD |
15714 | static PyObject *_wrap_PyWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
15715 | PyObject *resultobj; | |
15716 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15717 | wxSize *arg2 = 0 ; | |
15718 | wxSize temp2 ; | |
15719 | PyObject * obj0 = 0 ; | |
15720 | PyObject * obj1 = 0 ; | |
15721 | char *kwnames[] = { | |
15722 | (char *) "self",(char *) "size", NULL | |
15723 | }; | |
15724 | ||
15725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
15726 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15727 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15728 | { | |
15729 | arg2 = &temp2; | |
15730 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
15731 | } | |
15732 | { | |
15733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15734 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
15735 | ||
15736 | wxPyEndAllowThreads(__tstate); | |
15737 | if (PyErr_Occurred()) SWIG_fail; | |
15738 | } | |
15739 | Py_INCREF(Py_None); resultobj = Py_None; | |
15740 | return resultobj; | |
15741 | fail: | |
15742 | return NULL; | |
15743 | } | |
15744 | ||
15745 | ||
d55e5bfc RD |
15746 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
15747 | PyObject *resultobj; | |
15748 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15749 | int arg2 ; | |
15750 | int arg3 ; | |
15751 | int arg4 ; | |
15752 | int arg5 ; | |
15753 | PyObject * obj0 = 0 ; | |
15754 | PyObject * obj1 = 0 ; | |
15755 | PyObject * obj2 = 0 ; | |
15756 | PyObject * obj3 = 0 ; | |
15757 | PyObject * obj4 = 0 ; | |
15758 | char *kwnames[] = { | |
15759 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15760 | }; | |
15761 | ||
15762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
15763 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15764 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15765 | arg2 = (int) SWIG_AsInt(obj1); | |
15766 | if (PyErr_Occurred()) SWIG_fail; | |
15767 | arg3 = (int) SWIG_AsInt(obj2); | |
15768 | if (PyErr_Occurred()) SWIG_fail; | |
15769 | arg4 = (int) SWIG_AsInt(obj3); | |
15770 | if (PyErr_Occurred()) SWIG_fail; | |
15771 | arg5 = (int) SWIG_AsInt(obj4); | |
15772 | if (PyErr_Occurred()) SWIG_fail; | |
15773 | { | |
15774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15775 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15776 | ||
15777 | wxPyEndAllowThreads(__tstate); | |
15778 | if (PyErr_Occurred()) SWIG_fail; | |
15779 | } | |
15780 | Py_INCREF(Py_None); resultobj = Py_None; | |
15781 | return resultobj; | |
15782 | fail: | |
15783 | return NULL; | |
15784 | } | |
15785 | ||
15786 | ||
15787 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15788 | PyObject *resultobj; | |
15789 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15790 | int arg2 ; | |
15791 | int arg3 ; | |
15792 | int arg4 ; | |
15793 | int arg5 ; | |
15794 | int arg6 = (int) wxSIZE_AUTO ; | |
15795 | PyObject * obj0 = 0 ; | |
15796 | PyObject * obj1 = 0 ; | |
15797 | PyObject * obj2 = 0 ; | |
15798 | PyObject * obj3 = 0 ; | |
15799 | PyObject * obj4 = 0 ; | |
15800 | PyObject * obj5 = 0 ; | |
15801 | char *kwnames[] = { | |
15802 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15803 | }; | |
15804 | ||
15805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
15806 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15807 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15808 | arg2 = (int) SWIG_AsInt(obj1); | |
15809 | if (PyErr_Occurred()) SWIG_fail; | |
15810 | arg3 = (int) SWIG_AsInt(obj2); | |
15811 | if (PyErr_Occurred()) SWIG_fail; | |
15812 | arg4 = (int) SWIG_AsInt(obj3); | |
15813 | if (PyErr_Occurred()) SWIG_fail; | |
15814 | arg5 = (int) SWIG_AsInt(obj4); | |
15815 | if (PyErr_Occurred()) SWIG_fail; | |
15816 | if (obj5) { | |
15817 | arg6 = (int) SWIG_AsInt(obj5); | |
15818 | if (PyErr_Occurred()) SWIG_fail; | |
15819 | } | |
15820 | { | |
15821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15822 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15823 | ||
15824 | wxPyEndAllowThreads(__tstate); | |
15825 | if (PyErr_Occurred()) SWIG_fail; | |
15826 | } | |
15827 | Py_INCREF(Py_None); resultobj = Py_None; | |
15828 | return resultobj; | |
15829 | fail: | |
15830 | return NULL; | |
15831 | } | |
15832 | ||
15833 | ||
15834 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15835 | PyObject *resultobj; | |
15836 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15837 | int arg2 ; | |
15838 | int arg3 ; | |
15839 | PyObject * obj0 = 0 ; | |
15840 | PyObject * obj1 = 0 ; | |
15841 | PyObject * obj2 = 0 ; | |
15842 | char *kwnames[] = { | |
15843 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15844 | }; | |
15845 | ||
15846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15847 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15848 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15849 | arg2 = (int) SWIG_AsInt(obj1); | |
15850 | if (PyErr_Occurred()) SWIG_fail; | |
15851 | arg3 = (int) SWIG_AsInt(obj2); | |
15852 | if (PyErr_Occurred()) SWIG_fail; | |
15853 | { | |
15854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15855 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15856 | ||
15857 | wxPyEndAllowThreads(__tstate); | |
15858 | if (PyErr_Occurred()) SWIG_fail; | |
15859 | } | |
15860 | Py_INCREF(Py_None); resultobj = Py_None; | |
15861 | return resultobj; | |
15862 | fail: | |
15863 | return NULL; | |
15864 | } | |
15865 | ||
15866 | ||
15867 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15868 | PyObject *resultobj; | |
15869 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15870 | int arg2 ; | |
15871 | int arg3 ; | |
15872 | PyObject * obj0 = 0 ; | |
15873 | PyObject * obj1 = 0 ; | |
15874 | PyObject * obj2 = 0 ; | |
15875 | char *kwnames[] = { | |
15876 | (char *) "self",(char *) "x",(char *) "y", NULL | |
15877 | }; | |
15878 | ||
15879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15880 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15881 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15882 | arg2 = (int) SWIG_AsInt(obj1); | |
15883 | if (PyErr_Occurred()) SWIG_fail; | |
15884 | arg3 = (int) SWIG_AsInt(obj2); | |
15885 | if (PyErr_Occurred()) SWIG_fail; | |
15886 | { | |
15887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15888 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
15889 | ||
15890 | wxPyEndAllowThreads(__tstate); | |
15891 | if (PyErr_Occurred()) SWIG_fail; | |
15892 | } | |
15893 | Py_INCREF(Py_None); resultobj = Py_None; | |
15894 | return resultobj; | |
15895 | fail: | |
15896 | return NULL; | |
15897 | } | |
15898 | ||
15899 | ||
15900 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15901 | PyObject *resultobj; | |
15902 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15903 | int *arg2 = (int *) 0 ; | |
15904 | int *arg3 = (int *) 0 ; | |
15905 | int temp2 ; | |
15906 | int temp3 ; | |
15907 | PyObject * obj0 = 0 ; | |
15908 | char *kwnames[] = { | |
15909 | (char *) "self", NULL | |
15910 | }; | |
15911 | ||
15912 | arg2 = &temp2; | |
15913 | arg3 = &temp3; | |
15914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
15915 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15916 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15917 | { | |
15918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15919 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
15920 | ||
15921 | wxPyEndAllowThreads(__tstate); | |
15922 | if (PyErr_Occurred()) SWIG_fail; | |
15923 | } | |
15924 | Py_INCREF(Py_None); resultobj = Py_None; | |
15925 | { | |
15926 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15927 | resultobj = t_output_helper(resultobj,o); | |
15928 | } | |
15929 | { | |
15930 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15931 | resultobj = t_output_helper(resultobj,o); | |
15932 | } | |
15933 | return resultobj; | |
15934 | fail: | |
15935 | return NULL; | |
15936 | } | |
15937 | ||
15938 | ||
15939 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15940 | PyObject *resultobj; | |
15941 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15942 | int *arg2 = (int *) 0 ; | |
15943 | int *arg3 = (int *) 0 ; | |
15944 | int temp2 ; | |
15945 | int temp3 ; | |
15946 | PyObject * obj0 = 0 ; | |
15947 | char *kwnames[] = { | |
15948 | (char *) "self", NULL | |
15949 | }; | |
15950 | ||
15951 | arg2 = &temp2; | |
15952 | arg3 = &temp3; | |
15953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
15954 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15955 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15956 | { | |
15957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15958 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
15959 | ||
15960 | wxPyEndAllowThreads(__tstate); | |
15961 | if (PyErr_Occurred()) SWIG_fail; | |
15962 | } | |
15963 | Py_INCREF(Py_None); resultobj = Py_None; | |
15964 | { | |
15965 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15966 | resultobj = t_output_helper(resultobj,o); | |
15967 | } | |
15968 | { | |
15969 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15970 | resultobj = t_output_helper(resultobj,o); | |
15971 | } | |
15972 | return resultobj; | |
15973 | fail: | |
15974 | return NULL; | |
15975 | } | |
15976 | ||
15977 | ||
15978 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15979 | PyObject *resultobj; | |
15980 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15981 | int *arg2 = (int *) 0 ; | |
15982 | int *arg3 = (int *) 0 ; | |
15983 | int temp2 ; | |
15984 | int temp3 ; | |
15985 | PyObject * obj0 = 0 ; | |
15986 | char *kwnames[] = { | |
15987 | (char *) "self", NULL | |
15988 | }; | |
15989 | ||
15990 | arg2 = &temp2; | |
15991 | arg3 = &temp3; | |
15992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
15993 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15994 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15995 | { | |
15996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15997 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
15998 | ||
15999 | wxPyEndAllowThreads(__tstate); | |
16000 | if (PyErr_Occurred()) SWIG_fail; | |
16001 | } | |
16002 | Py_INCREF(Py_None); resultobj = Py_None; | |
16003 | { | |
16004 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16005 | resultobj = t_output_helper(resultobj,o); | |
16006 | } | |
16007 | { | |
16008 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16009 | resultobj = t_output_helper(resultobj,o); | |
16010 | } | |
16011 | return resultobj; | |
16012 | fail: | |
16013 | return NULL; | |
16014 | } | |
16015 | ||
16016 | ||
16017 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16018 | PyObject *resultobj; | |
16019 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16020 | wxSize result; | |
16021 | PyObject * obj0 = 0 ; | |
16022 | char *kwnames[] = { | |
16023 | (char *) "self", NULL | |
16024 | }; | |
16025 | ||
16026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
16027 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16028 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16029 | { | |
16030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16031 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
16032 | ||
16033 | wxPyEndAllowThreads(__tstate); | |
16034 | if (PyErr_Occurred()) SWIG_fail; | |
16035 | } | |
16036 | { | |
16037 | wxSize * resultptr; | |
16038 | resultptr = new wxSize((wxSize &) result); | |
16039 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
16040 | } | |
16041 | return resultobj; | |
16042 | fail: | |
16043 | return NULL; | |
16044 | } | |
16045 | ||
16046 | ||
16047 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16048 | PyObject *resultobj; | |
16049 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16050 | wxSize result; | |
16051 | PyObject * obj0 = 0 ; | |
16052 | char *kwnames[] = { | |
16053 | (char *) "self", NULL | |
16054 | }; | |
16055 | ||
16056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
16057 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16058 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16059 | { | |
16060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16061 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
16062 | ||
16063 | wxPyEndAllowThreads(__tstate); | |
16064 | if (PyErr_Occurred()) SWIG_fail; | |
16065 | } | |
16066 | { | |
16067 | wxSize * resultptr; | |
16068 | resultptr = new wxSize((wxSize &) result); | |
16069 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
16070 | } | |
16071 | return resultobj; | |
16072 | fail: | |
16073 | return NULL; | |
16074 | } | |
16075 | ||
16076 | ||
16077 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16078 | PyObject *resultobj; | |
16079 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16080 | PyObject * obj0 = 0 ; | |
16081 | char *kwnames[] = { | |
16082 | (char *) "self", NULL | |
16083 | }; | |
16084 | ||
16085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
16086 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16087 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16088 | { | |
16089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16090 | (arg1)->base_InitDialog(); | |
16091 | ||
16092 | wxPyEndAllowThreads(__tstate); | |
16093 | if (PyErr_Occurred()) SWIG_fail; | |
16094 | } | |
16095 | Py_INCREF(Py_None); resultobj = Py_None; | |
16096 | return resultobj; | |
16097 | fail: | |
16098 | return NULL; | |
16099 | } | |
16100 | ||
16101 | ||
16102 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16103 | PyObject *resultobj; | |
16104 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16105 | bool result; | |
16106 | PyObject * obj0 = 0 ; | |
16107 | char *kwnames[] = { | |
16108 | (char *) "self", NULL | |
16109 | }; | |
16110 | ||
16111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
16112 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16113 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16114 | { | |
16115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16116 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
16117 | ||
16118 | wxPyEndAllowThreads(__tstate); | |
16119 | if (PyErr_Occurred()) SWIG_fail; | |
16120 | } | |
16121 | { | |
16122 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16123 | } | |
16124 | return resultobj; | |
16125 | fail: | |
16126 | return NULL; | |
16127 | } | |
16128 | ||
16129 | ||
16130 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16131 | PyObject *resultobj; | |
16132 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16133 | bool result; | |
16134 | PyObject * obj0 = 0 ; | |
16135 | char *kwnames[] = { | |
16136 | (char *) "self", NULL | |
16137 | }; | |
16138 | ||
16139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
16140 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16141 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16142 | { | |
16143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16144 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
16145 | ||
16146 | wxPyEndAllowThreads(__tstate); | |
16147 | if (PyErr_Occurred()) SWIG_fail; | |
16148 | } | |
16149 | { | |
16150 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16151 | } | |
16152 | return resultobj; | |
16153 | fail: | |
16154 | return NULL; | |
16155 | } | |
16156 | ||
16157 | ||
16158 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16159 | PyObject *resultobj; | |
16160 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16161 | bool result; | |
16162 | PyObject * obj0 = 0 ; | |
16163 | char *kwnames[] = { | |
16164 | (char *) "self", NULL | |
16165 | }; | |
16166 | ||
16167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
16168 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16169 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16170 | { | |
16171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16172 | result = (bool)(arg1)->base_Validate(); | |
16173 | ||
16174 | wxPyEndAllowThreads(__tstate); | |
16175 | if (PyErr_Occurred()) SWIG_fail; | |
16176 | } | |
16177 | { | |
16178 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16179 | } | |
16180 | return resultobj; | |
16181 | fail: | |
16182 | return NULL; | |
16183 | } | |
16184 | ||
16185 | ||
16186 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16187 | PyObject *resultobj; | |
16188 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16189 | bool result; | |
16190 | PyObject * obj0 = 0 ; | |
16191 | char *kwnames[] = { | |
16192 | (char *) "self", NULL | |
16193 | }; | |
16194 | ||
16195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
16196 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16197 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16198 | { | |
16199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16200 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
16201 | ||
16202 | wxPyEndAllowThreads(__tstate); | |
16203 | if (PyErr_Occurred()) SWIG_fail; | |
16204 | } | |
16205 | { | |
16206 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16207 | } | |
16208 | return resultobj; | |
16209 | fail: | |
16210 | return NULL; | |
16211 | } | |
16212 | ||
16213 | ||
16214 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16215 | PyObject *resultobj; | |
16216 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16217 | bool result; | |
16218 | PyObject * obj0 = 0 ; | |
16219 | char *kwnames[] = { | |
16220 | (char *) "self", NULL | |
16221 | }; | |
16222 | ||
16223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
16224 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16226 | { | |
16227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16228 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
16229 | ||
16230 | wxPyEndAllowThreads(__tstate); | |
16231 | if (PyErr_Occurred()) SWIG_fail; | |
16232 | } | |
16233 | { | |
16234 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16235 | } | |
16236 | return resultobj; | |
16237 | fail: | |
16238 | return NULL; | |
16239 | } | |
16240 | ||
16241 | ||
16242 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16243 | PyObject *resultobj; | |
16244 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16245 | wxSize result; | |
16246 | PyObject * obj0 = 0 ; | |
16247 | char *kwnames[] = { | |
16248 | (char *) "self", NULL | |
16249 | }; | |
16250 | ||
16251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
16252 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16253 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16254 | { | |
16255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16256 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
16257 | ||
16258 | wxPyEndAllowThreads(__tstate); | |
16259 | if (PyErr_Occurred()) SWIG_fail; | |
16260 | } | |
16261 | { | |
16262 | wxSize * resultptr; | |
16263 | resultptr = new wxSize((wxSize &) result); | |
16264 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
16265 | } | |
16266 | return resultobj; | |
16267 | fail: | |
16268 | return NULL; | |
16269 | } | |
16270 | ||
16271 | ||
16272 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16273 | PyObject *resultobj; | |
16274 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16275 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16276 | PyObject * obj0 = 0 ; | |
16277 | PyObject * obj1 = 0 ; | |
16278 | char *kwnames[] = { | |
16279 | (char *) "self",(char *) "child", NULL | |
16280 | }; | |
16281 | ||
16282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
16283 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16285 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16287 | { | |
16288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16289 | (arg1)->base_AddChild(arg2); | |
16290 | ||
16291 | wxPyEndAllowThreads(__tstate); | |
16292 | if (PyErr_Occurred()) SWIG_fail; | |
16293 | } | |
16294 | Py_INCREF(Py_None); resultobj = Py_None; | |
16295 | return resultobj; | |
16296 | fail: | |
16297 | return NULL; | |
16298 | } | |
16299 | ||
16300 | ||
16301 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16302 | PyObject *resultobj; | |
16303 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16304 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16305 | PyObject * obj0 = 0 ; | |
16306 | PyObject * obj1 = 0 ; | |
16307 | char *kwnames[] = { | |
16308 | (char *) "self",(char *) "child", NULL | |
16309 | }; | |
16310 | ||
16311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
16312 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16313 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16314 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16315 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16316 | { | |
16317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16318 | (arg1)->base_RemoveChild(arg2); | |
16319 | ||
16320 | wxPyEndAllowThreads(__tstate); | |
16321 | if (PyErr_Occurred()) SWIG_fail; | |
16322 | } | |
16323 | Py_INCREF(Py_None); resultobj = Py_None; | |
16324 | return resultobj; | |
16325 | fail: | |
16326 | return NULL; | |
16327 | } | |
16328 | ||
16329 | ||
16330 | static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16331 | PyObject *resultobj; | |
16332 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16333 | bool result; | |
16334 | PyObject * obj0 = 0 ; | |
16335 | char *kwnames[] = { | |
16336 | (char *) "self", NULL | |
16337 | }; | |
16338 | ||
16339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
16340 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16341 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16342 | { | |
16343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
caef1a4d | 16344 | result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
16345 | |
16346 | wxPyEndAllowThreads(__tstate); | |
16347 | if (PyErr_Occurred()) SWIG_fail; | |
16348 | } | |
16349 | { | |
16350 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16351 | } | |
16352 | return resultobj; | |
16353 | fail: | |
16354 | return NULL; | |
16355 | } | |
16356 | ||
16357 | ||
16358 | static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16359 | PyObject *resultobj; | |
16360 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16361 | wxColour *arg2 = 0 ; | |
16362 | wxColour temp2 ; | |
16363 | PyObject * obj0 = 0 ; | |
16364 | PyObject * obj1 = 0 ; | |
16365 | char *kwnames[] = { | |
16366 | (char *) "self",(char *) "c", NULL | |
16367 | }; | |
16368 | ||
16369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
16370 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16371 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16372 | { | |
16373 | arg2 = &temp2; | |
16374 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
16375 | } | |
16376 | { | |
16377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16378 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
16379 | ||
16380 | wxPyEndAllowThreads(__tstate); | |
16381 | if (PyErr_Occurred()) SWIG_fail; | |
16382 | } | |
16383 | Py_INCREF(Py_None); resultobj = Py_None; | |
16384 | return resultobj; | |
16385 | fail: | |
16386 | return NULL; | |
16387 | } | |
16388 | ||
16389 | ||
caef1a4d RD |
16390 | static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
16391 | PyObject *resultobj; | |
16392 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16393 | wxVisualAttributes result; | |
16394 | PyObject * obj0 = 0 ; | |
16395 | char *kwnames[] = { | |
16396 | (char *) "self", NULL | |
16397 | }; | |
16398 | ||
16399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
16400 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16401 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16402 | { | |
16403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16404 | result = (arg1)->base_GetDefaultAttributes(); | |
16405 | ||
16406 | wxPyEndAllowThreads(__tstate); | |
16407 | if (PyErr_Occurred()) SWIG_fail; | |
16408 | } | |
16409 | { | |
16410 | wxVisualAttributes * resultptr; | |
16411 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
16412 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
16413 | } | |
16414 | return resultobj; | |
16415 | fail: | |
16416 | return NULL; | |
16417 | } | |
16418 | ||
16419 | ||
d55e5bfc RD |
16420 | static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) { |
16421 | PyObject *obj; | |
16422 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16423 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
16424 | Py_INCREF(obj); | |
16425 | return Py_BuildValue((char *)""); | |
16426 | } | |
16427 | static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16428 | PyObject *resultobj; | |
16429 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 16430 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
16431 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
16432 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
16433 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
16434 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
16435 | long arg5 = (long) 0 ; | |
16436 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
16437 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
16438 | wxPyPanel *result; | |
16439 | wxPoint temp3 ; | |
16440 | wxSize temp4 ; | |
16441 | bool temp6 = False ; | |
16442 | PyObject * obj0 = 0 ; | |
16443 | PyObject * obj1 = 0 ; | |
16444 | PyObject * obj2 = 0 ; | |
16445 | PyObject * obj3 = 0 ; | |
16446 | PyObject * obj4 = 0 ; | |
16447 | PyObject * obj5 = 0 ; | |
16448 | char *kwnames[] = { | |
16449 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16450 | }; | |
16451 | ||
248ed943 | 16452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d55e5bfc RD |
16453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
16454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
16455 | if (obj1) { |
16456 | arg2 = (int const) SWIG_AsInt(obj1); | |
16457 | if (PyErr_Occurred()) SWIG_fail; | |
16458 | } | |
d55e5bfc RD |
16459 | if (obj2) { |
16460 | { | |
16461 | arg3 = &temp3; | |
16462 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
16463 | } | |
16464 | } | |
16465 | if (obj3) { | |
16466 | { | |
16467 | arg4 = &temp4; | |
16468 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
16469 | } | |
16470 | } | |
16471 | if (obj4) { | |
16472 | arg5 = (long) SWIG_AsLong(obj4); | |
16473 | if (PyErr_Occurred()) SWIG_fail; | |
16474 | } | |
16475 | if (obj5) { | |
16476 | { | |
16477 | arg6 = wxString_in_helper(obj5); | |
16478 | if (arg6 == NULL) SWIG_fail; | |
16479 | temp6 = True; | |
16480 | } | |
16481 | } | |
16482 | { | |
0439c23b | 16483 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16485 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
16486 | ||
16487 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16488 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16489 | } |
16490 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
16491 | { | |
16492 | if (temp6) | |
16493 | delete arg6; | |
16494 | } | |
16495 | return resultobj; | |
16496 | fail: | |
16497 | { | |
16498 | if (temp6) | |
16499 | delete arg6; | |
16500 | } | |
16501 | return NULL; | |
16502 | } | |
16503 | ||
16504 | ||
16505 | static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16506 | PyObject *resultobj; | |
16507 | wxPyPanel *result; | |
16508 | char *kwnames[] = { | |
16509 | NULL | |
16510 | }; | |
16511 | ||
16512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail; | |
16513 | { | |
0439c23b | 16514 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16516 | result = (wxPyPanel *)new wxPyPanel(); | |
16517 | ||
16518 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16519 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16520 | } |
16521 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
16522 | return resultobj; | |
16523 | fail: | |
16524 | return NULL; | |
16525 | } | |
16526 | ||
16527 | ||
16528 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16529 | PyObject *resultobj; | |
16530 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16531 | PyObject *arg2 = (PyObject *) 0 ; | |
16532 | PyObject *arg3 = (PyObject *) 0 ; | |
16533 | PyObject * obj0 = 0 ; | |
16534 | PyObject * obj1 = 0 ; | |
16535 | PyObject * obj2 = 0 ; | |
16536 | char *kwnames[] = { | |
16537 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
16538 | }; | |
16539 | ||
16540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
16541 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16542 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16543 | arg2 = obj1; | |
16544 | arg3 = obj2; | |
16545 | { | |
16546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16547 | (arg1)->_setCallbackInfo(arg2,arg3); | |
16548 | ||
16549 | wxPyEndAllowThreads(__tstate); | |
16550 | if (PyErr_Occurred()) SWIG_fail; | |
16551 | } | |
16552 | Py_INCREF(Py_None); resultobj = Py_None; | |
16553 | return resultobj; | |
16554 | fail: | |
16555 | return NULL; | |
16556 | } | |
16557 | ||
16558 | ||
caef1a4d RD |
16559 | static PyObject *_wrap_PyPanel_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
16560 | PyObject *resultobj; | |
16561 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16562 | wxSize *arg2 = 0 ; | |
16563 | wxSize temp2 ; | |
16564 | PyObject * obj0 = 0 ; | |
16565 | PyObject * obj1 = 0 ; | |
16566 | char *kwnames[] = { | |
16567 | (char *) "self",(char *) "size", NULL | |
16568 | }; | |
16569 | ||
16570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
16571 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16572 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16573 | { | |
16574 | arg2 = &temp2; | |
16575 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
16576 | } | |
16577 | { | |
16578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16579 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
16580 | ||
16581 | wxPyEndAllowThreads(__tstate); | |
16582 | if (PyErr_Occurred()) SWIG_fail; | |
16583 | } | |
16584 | Py_INCREF(Py_None); resultobj = Py_None; | |
16585 | return resultobj; | |
16586 | fail: | |
16587 | return NULL; | |
16588 | } | |
16589 | ||
16590 | ||
d55e5bfc RD |
16591 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
16592 | PyObject *resultobj; | |
16593 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16594 | int arg2 ; | |
16595 | int arg3 ; | |
16596 | int arg4 ; | |
16597 | int arg5 ; | |
16598 | PyObject * obj0 = 0 ; | |
16599 | PyObject * obj1 = 0 ; | |
16600 | PyObject * obj2 = 0 ; | |
16601 | PyObject * obj3 = 0 ; | |
16602 | PyObject * obj4 = 0 ; | |
16603 | char *kwnames[] = { | |
16604 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
16605 | }; | |
16606 | ||
16607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
16608 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16609 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16610 | arg2 = (int) SWIG_AsInt(obj1); | |
16611 | if (PyErr_Occurred()) SWIG_fail; | |
16612 | arg3 = (int) SWIG_AsInt(obj2); | |
16613 | if (PyErr_Occurred()) SWIG_fail; | |
16614 | arg4 = (int) SWIG_AsInt(obj3); | |
16615 | if (PyErr_Occurred()) SWIG_fail; | |
16616 | arg5 = (int) SWIG_AsInt(obj4); | |
16617 | if (PyErr_Occurred()) SWIG_fail; | |
16618 | { | |
16619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16620 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
16621 | ||
16622 | wxPyEndAllowThreads(__tstate); | |
16623 | if (PyErr_Occurred()) SWIG_fail; | |
16624 | } | |
16625 | Py_INCREF(Py_None); resultobj = Py_None; | |
16626 | return resultobj; | |
16627 | fail: | |
16628 | return NULL; | |
16629 | } | |
16630 | ||
16631 | ||
16632 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16633 | PyObject *resultobj; | |
16634 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16635 | int arg2 ; | |
16636 | int arg3 ; | |
16637 | int arg4 ; | |
16638 | int arg5 ; | |
16639 | int arg6 = (int) wxSIZE_AUTO ; | |
16640 | PyObject * obj0 = 0 ; | |
16641 | PyObject * obj1 = 0 ; | |
16642 | PyObject * obj2 = 0 ; | |
16643 | PyObject * obj3 = 0 ; | |
16644 | PyObject * obj4 = 0 ; | |
16645 | PyObject * obj5 = 0 ; | |
16646 | char *kwnames[] = { | |
16647 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
16648 | }; | |
16649 | ||
16650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
16651 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16652 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16653 | arg2 = (int) SWIG_AsInt(obj1); | |
16654 | if (PyErr_Occurred()) SWIG_fail; | |
16655 | arg3 = (int) SWIG_AsInt(obj2); | |
16656 | if (PyErr_Occurred()) SWIG_fail; | |
16657 | arg4 = (int) SWIG_AsInt(obj3); | |
16658 | if (PyErr_Occurred()) SWIG_fail; | |
16659 | arg5 = (int) SWIG_AsInt(obj4); | |
16660 | if (PyErr_Occurred()) SWIG_fail; | |
16661 | if (obj5) { | |
16662 | arg6 = (int) SWIG_AsInt(obj5); | |
16663 | if (PyErr_Occurred()) SWIG_fail; | |
16664 | } | |
16665 | { | |
16666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16667 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
16668 | ||
16669 | wxPyEndAllowThreads(__tstate); | |
16670 | if (PyErr_Occurred()) SWIG_fail; | |
16671 | } | |
16672 | Py_INCREF(Py_None); resultobj = Py_None; | |
16673 | return resultobj; | |
16674 | fail: | |
16675 | return NULL; | |
16676 | } | |
16677 | ||
16678 | ||
16679 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16680 | PyObject *resultobj; | |
16681 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16682 | int arg2 ; | |
16683 | int arg3 ; | |
16684 | PyObject * obj0 = 0 ; | |
16685 | PyObject * obj1 = 0 ; | |
16686 | PyObject * obj2 = 0 ; | |
16687 | char *kwnames[] = { | |
16688 | (char *) "self",(char *) "width",(char *) "height", NULL | |
16689 | }; | |
16690 | ||
16691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
16692 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16693 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16694 | arg2 = (int) SWIG_AsInt(obj1); | |
16695 | if (PyErr_Occurred()) SWIG_fail; | |
16696 | arg3 = (int) SWIG_AsInt(obj2); | |
16697 | if (PyErr_Occurred()) SWIG_fail; | |
16698 | { | |
16699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16700 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
16701 | ||
16702 | wxPyEndAllowThreads(__tstate); | |
16703 | if (PyErr_Occurred()) SWIG_fail; | |
16704 | } | |
16705 | Py_INCREF(Py_None); resultobj = Py_None; | |
16706 | return resultobj; | |
16707 | fail: | |
16708 | return NULL; | |
16709 | } | |
16710 | ||
16711 | ||
16712 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16713 | PyObject *resultobj; | |
16714 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16715 | int arg2 ; | |
16716 | int arg3 ; | |
16717 | PyObject * obj0 = 0 ; | |
16718 | PyObject * obj1 = 0 ; | |
16719 | PyObject * obj2 = 0 ; | |
16720 | char *kwnames[] = { | |
16721 | (char *) "self",(char *) "x",(char *) "y", NULL | |
16722 | }; | |
16723 | ||
16724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
16725 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16727 | arg2 = (int) SWIG_AsInt(obj1); | |
16728 | if (PyErr_Occurred()) SWIG_fail; | |
16729 | arg3 = (int) SWIG_AsInt(obj2); | |
16730 | if (PyErr_Occurred()) SWIG_fail; | |
16731 | { | |
16732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16733 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
16734 | ||
16735 | wxPyEndAllowThreads(__tstate); | |
16736 | if (PyErr_Occurred()) SWIG_fail; | |
16737 | } | |
16738 | Py_INCREF(Py_None); resultobj = Py_None; | |
16739 | return resultobj; | |
16740 | fail: | |
16741 | return NULL; | |
16742 | } | |
16743 | ||
16744 | ||
16745 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16746 | PyObject *resultobj; | |
16747 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16748 | int *arg2 = (int *) 0 ; | |
16749 | int *arg3 = (int *) 0 ; | |
16750 | int temp2 ; | |
16751 | int temp3 ; | |
16752 | PyObject * obj0 = 0 ; | |
16753 | char *kwnames[] = { | |
16754 | (char *) "self", NULL | |
16755 | }; | |
16756 | ||
16757 | arg2 = &temp2; | |
16758 | arg3 = &temp3; | |
16759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; | |
16760 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16761 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16762 | { | |
16763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16764 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
16765 | ||
16766 | wxPyEndAllowThreads(__tstate); | |
16767 | if (PyErr_Occurred()) SWIG_fail; | |
16768 | } | |
16769 | Py_INCREF(Py_None); resultobj = Py_None; | |
16770 | { | |
16771 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16772 | resultobj = t_output_helper(resultobj,o); | |
16773 | } | |
16774 | { | |
16775 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16776 | resultobj = t_output_helper(resultobj,o); | |
16777 | } | |
16778 | return resultobj; | |
16779 | fail: | |
16780 | return NULL; | |
16781 | } | |
16782 | ||
16783 | ||
16784 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16785 | PyObject *resultobj; | |
16786 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16787 | int *arg2 = (int *) 0 ; | |
16788 | int *arg3 = (int *) 0 ; | |
16789 | int temp2 ; | |
16790 | int temp3 ; | |
16791 | PyObject * obj0 = 0 ; | |
16792 | char *kwnames[] = { | |
16793 | (char *) "self", NULL | |
16794 | }; | |
16795 | ||
16796 | arg2 = &temp2; | |
16797 | arg3 = &temp3; | |
16798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
16799 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16800 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16801 | { | |
16802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16803 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
16804 | ||
16805 | wxPyEndAllowThreads(__tstate); | |
16806 | if (PyErr_Occurred()) SWIG_fail; | |
16807 | } | |
16808 | Py_INCREF(Py_None); resultobj = Py_None; | |
16809 | { | |
16810 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16811 | resultobj = t_output_helper(resultobj,o); | |
16812 | } | |
16813 | { | |
16814 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16815 | resultobj = t_output_helper(resultobj,o); | |
16816 | } | |
16817 | return resultobj; | |
16818 | fail: | |
16819 | return NULL; | |
16820 | } | |
16821 | ||
16822 | ||
16823 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16824 | PyObject *resultobj; | |
16825 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16826 | int *arg2 = (int *) 0 ; | |
16827 | int *arg3 = (int *) 0 ; | |
16828 | int temp2 ; | |
16829 | int temp3 ; | |
16830 | PyObject * obj0 = 0 ; | |
16831 | char *kwnames[] = { | |
16832 | (char *) "self", NULL | |
16833 | }; | |
16834 | ||
16835 | arg2 = &temp2; | |
16836 | arg3 = &temp3; | |
16837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
16838 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16839 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16840 | { | |
16841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16842 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
16843 | ||
16844 | wxPyEndAllowThreads(__tstate); | |
16845 | if (PyErr_Occurred()) SWIG_fail; | |
16846 | } | |
16847 | Py_INCREF(Py_None); resultobj = Py_None; | |
16848 | { | |
16849 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16850 | resultobj = t_output_helper(resultobj,o); | |
16851 | } | |
16852 | { | |
16853 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16854 | resultobj = t_output_helper(resultobj,o); | |
16855 | } | |
16856 | return resultobj; | |
16857 | fail: | |
16858 | return NULL; | |
16859 | } | |
16860 | ||
16861 | ||
16862 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16863 | PyObject *resultobj; | |
16864 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16865 | wxSize result; | |
16866 | PyObject * obj0 = 0 ; | |
16867 | char *kwnames[] = { | |
16868 | (char *) "self", NULL | |
16869 | }; | |
16870 | ||
16871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
16872 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16873 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16874 | { | |
16875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16876 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
16877 | ||
16878 | wxPyEndAllowThreads(__tstate); | |
16879 | if (PyErr_Occurred()) SWIG_fail; | |
16880 | } | |
16881 | { | |
16882 | wxSize * resultptr; | |
16883 | resultptr = new wxSize((wxSize &) result); | |
16884 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
16885 | } | |
16886 | return resultobj; | |
16887 | fail: | |
16888 | return NULL; | |
16889 | } | |
16890 | ||
16891 | ||
16892 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16893 | PyObject *resultobj; | |
16894 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16895 | wxSize result; | |
16896 | PyObject * obj0 = 0 ; | |
16897 | char *kwnames[] = { | |
16898 | (char *) "self", NULL | |
16899 | }; | |
16900 | ||
16901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
16902 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16903 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16904 | { | |
16905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16906 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
16907 | ||
16908 | wxPyEndAllowThreads(__tstate); | |
16909 | if (PyErr_Occurred()) SWIG_fail; | |
16910 | } | |
16911 | { | |
16912 | wxSize * resultptr; | |
16913 | resultptr = new wxSize((wxSize &) result); | |
16914 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
16915 | } | |
16916 | return resultobj; | |
16917 | fail: | |
16918 | return NULL; | |
16919 | } | |
16920 | ||
16921 | ||
16922 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16923 | PyObject *resultobj; | |
16924 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16925 | PyObject * obj0 = 0 ; | |
16926 | char *kwnames[] = { | |
16927 | (char *) "self", NULL | |
16928 | }; | |
16929 | ||
16930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
16931 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16932 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16933 | { | |
16934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16935 | (arg1)->base_InitDialog(); | |
16936 | ||
16937 | wxPyEndAllowThreads(__tstate); | |
16938 | if (PyErr_Occurred()) SWIG_fail; | |
16939 | } | |
16940 | Py_INCREF(Py_None); resultobj = Py_None; | |
16941 | return resultobj; | |
16942 | fail: | |
16943 | return NULL; | |
16944 | } | |
16945 | ||
16946 | ||
16947 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16948 | PyObject *resultobj; | |
16949 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16950 | bool result; | |
16951 | PyObject * obj0 = 0 ; | |
16952 | char *kwnames[] = { | |
16953 | (char *) "self", NULL | |
16954 | }; | |
16955 | ||
16956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
16957 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16958 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16959 | { | |
16960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16961 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
16962 | ||
16963 | wxPyEndAllowThreads(__tstate); | |
16964 | if (PyErr_Occurred()) SWIG_fail; | |
16965 | } | |
16966 | { | |
16967 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16968 | } | |
16969 | return resultobj; | |
16970 | fail: | |
16971 | return NULL; | |
16972 | } | |
16973 | ||
16974 | ||
16975 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16976 | PyObject *resultobj; | |
16977 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16978 | bool result; | |
16979 | PyObject * obj0 = 0 ; | |
16980 | char *kwnames[] = { | |
16981 | (char *) "self", NULL | |
16982 | }; | |
16983 | ||
16984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
16985 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16986 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16987 | { | |
16988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16989 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
16990 | ||
16991 | wxPyEndAllowThreads(__tstate); | |
16992 | if (PyErr_Occurred()) SWIG_fail; | |
16993 | } | |
16994 | { | |
16995 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16996 | } | |
16997 | return resultobj; | |
16998 | fail: | |
16999 | return NULL; | |
17000 | } | |
17001 | ||
17002 | ||
17003 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17004 | PyObject *resultobj; | |
17005 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17006 | bool result; | |
17007 | PyObject * obj0 = 0 ; | |
17008 | char *kwnames[] = { | |
17009 | (char *) "self", NULL | |
17010 | }; | |
17011 | ||
17012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
17013 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17014 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17015 | { | |
17016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17017 | result = (bool)(arg1)->base_Validate(); | |
17018 | ||
17019 | wxPyEndAllowThreads(__tstate); | |
17020 | if (PyErr_Occurred()) SWIG_fail; | |
17021 | } | |
17022 | { | |
17023 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17024 | } | |
17025 | return resultobj; | |
17026 | fail: | |
17027 | return NULL; | |
17028 | } | |
17029 | ||
17030 | ||
17031 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17032 | PyObject *resultobj; | |
17033 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17034 | bool result; | |
17035 | PyObject * obj0 = 0 ; | |
17036 | char *kwnames[] = { | |
17037 | (char *) "self", NULL | |
17038 | }; | |
17039 | ||
17040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
17041 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17042 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17043 | { | |
17044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17045 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
17046 | ||
17047 | wxPyEndAllowThreads(__tstate); | |
17048 | if (PyErr_Occurred()) SWIG_fail; | |
17049 | } | |
17050 | { | |
17051 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17052 | } | |
17053 | return resultobj; | |
17054 | fail: | |
17055 | return NULL; | |
17056 | } | |
17057 | ||
17058 | ||
17059 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17060 | PyObject *resultobj; | |
17061 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17062 | bool result; | |
17063 | PyObject * obj0 = 0 ; | |
17064 | char *kwnames[] = { | |
17065 | (char *) "self", NULL | |
17066 | }; | |
17067 | ||
17068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
17069 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17071 | { | |
17072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17073 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
17074 | ||
17075 | wxPyEndAllowThreads(__tstate); | |
17076 | if (PyErr_Occurred()) SWIG_fail; | |
17077 | } | |
17078 | { | |
17079 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17080 | } | |
17081 | return resultobj; | |
17082 | fail: | |
17083 | return NULL; | |
17084 | } | |
17085 | ||
17086 | ||
17087 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17088 | PyObject *resultobj; | |
17089 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17090 | wxSize result; | |
17091 | PyObject * obj0 = 0 ; | |
17092 | char *kwnames[] = { | |
17093 | (char *) "self", NULL | |
17094 | }; | |
17095 | ||
17096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
17097 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17098 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17099 | { | |
17100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17101 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
17102 | ||
17103 | wxPyEndAllowThreads(__tstate); | |
17104 | if (PyErr_Occurred()) SWIG_fail; | |
17105 | } | |
17106 | { | |
17107 | wxSize * resultptr; | |
17108 | resultptr = new wxSize((wxSize &) result); | |
17109 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17110 | } | |
17111 | return resultobj; | |
17112 | fail: | |
17113 | return NULL; | |
17114 | } | |
17115 | ||
17116 | ||
17117 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17118 | PyObject *resultobj; | |
17119 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17120 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17121 | PyObject * obj0 = 0 ; | |
17122 | PyObject * obj1 = 0 ; | |
17123 | char *kwnames[] = { | |
17124 | (char *) "self",(char *) "child", NULL | |
17125 | }; | |
17126 | ||
17127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
17128 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17129 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17130 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17131 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17132 | { | |
17133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17134 | (arg1)->base_AddChild(arg2); | |
17135 | ||
17136 | wxPyEndAllowThreads(__tstate); | |
17137 | if (PyErr_Occurred()) SWIG_fail; | |
17138 | } | |
17139 | Py_INCREF(Py_None); resultobj = Py_None; | |
17140 | return resultobj; | |
17141 | fail: | |
17142 | return NULL; | |
17143 | } | |
17144 | ||
17145 | ||
17146 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17147 | PyObject *resultobj; | |
17148 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17149 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17150 | PyObject * obj0 = 0 ; | |
17151 | PyObject * obj1 = 0 ; | |
17152 | char *kwnames[] = { | |
17153 | (char *) "self",(char *) "child", NULL | |
17154 | }; | |
17155 | ||
17156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
17157 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17158 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17159 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17160 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17161 | { | |
17162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17163 | (arg1)->base_RemoveChild(arg2); | |
17164 | ||
17165 | wxPyEndAllowThreads(__tstate); | |
17166 | if (PyErr_Occurred()) SWIG_fail; | |
17167 | } | |
17168 | Py_INCREF(Py_None); resultobj = Py_None; | |
17169 | return resultobj; | |
17170 | fail: | |
17171 | return NULL; | |
17172 | } | |
17173 | ||
17174 | ||
17175 | static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17176 | PyObject *resultobj; | |
17177 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17178 | bool result; | |
17179 | PyObject * obj0 = 0 ; | |
17180 | char *kwnames[] = { | |
17181 | (char *) "self", NULL | |
17182 | }; | |
17183 | ||
17184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
17185 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17186 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17187 | { | |
17188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
caef1a4d | 17189 | result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
17190 | |
17191 | wxPyEndAllowThreads(__tstate); | |
17192 | if (PyErr_Occurred()) SWIG_fail; | |
17193 | } | |
17194 | { | |
17195 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17196 | } | |
17197 | return resultobj; | |
17198 | fail: | |
17199 | return NULL; | |
17200 | } | |
17201 | ||
17202 | ||
17203 | static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17204 | PyObject *resultobj; | |
17205 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17206 | wxColour *arg2 = 0 ; | |
17207 | wxColour temp2 ; | |
17208 | PyObject * obj0 = 0 ; | |
17209 | PyObject * obj1 = 0 ; | |
17210 | char *kwnames[] = { | |
17211 | (char *) "self",(char *) "c", NULL | |
17212 | }; | |
17213 | ||
17214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
17215 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17216 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17217 | { | |
17218 | arg2 = &temp2; | |
17219 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
17220 | } | |
17221 | { | |
17222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17223 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
17224 | ||
17225 | wxPyEndAllowThreads(__tstate); | |
17226 | if (PyErr_Occurred()) SWIG_fail; | |
17227 | } | |
17228 | Py_INCREF(Py_None); resultobj = Py_None; | |
17229 | return resultobj; | |
17230 | fail: | |
17231 | return NULL; | |
17232 | } | |
17233 | ||
17234 | ||
caef1a4d RD |
17235 | static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
17236 | PyObject *resultobj; | |
17237 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17238 | wxVisualAttributes result; | |
17239 | PyObject * obj0 = 0 ; | |
17240 | char *kwnames[] = { | |
17241 | (char *) "self", NULL | |
17242 | }; | |
17243 | ||
17244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
17245 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17246 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17247 | { | |
17248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17249 | result = (arg1)->base_GetDefaultAttributes(); | |
17250 | ||
17251 | wxPyEndAllowThreads(__tstate); | |
17252 | if (PyErr_Occurred()) SWIG_fail; | |
17253 | } | |
17254 | { | |
17255 | wxVisualAttributes * resultptr; | |
17256 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
17257 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
17258 | } | |
17259 | return resultobj; | |
17260 | fail: | |
17261 | return NULL; | |
17262 | } | |
17263 | ||
17264 | ||
d55e5bfc RD |
17265 | static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) { |
17266 | PyObject *obj; | |
17267 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17268 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
17269 | Py_INCREF(obj); | |
17270 | return Py_BuildValue((char *)""); | |
17271 | } | |
17272 | static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17273 | PyObject *resultobj; | |
17274 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 17275 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
17276 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
17277 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
17278 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
17279 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
17280 | long arg5 = (long) 0 ; | |
17281 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
17282 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
17283 | wxPyScrolledWindow *result; | |
17284 | wxPoint temp3 ; | |
17285 | wxSize temp4 ; | |
17286 | bool temp6 = False ; | |
17287 | PyObject * obj0 = 0 ; | |
17288 | PyObject * obj1 = 0 ; | |
17289 | PyObject * obj2 = 0 ; | |
17290 | PyObject * obj3 = 0 ; | |
17291 | PyObject * obj4 = 0 ; | |
17292 | PyObject * obj5 = 0 ; | |
17293 | char *kwnames[] = { | |
17294 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17295 | }; | |
17296 | ||
248ed943 | 17297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d55e5bfc RD |
17298 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
17299 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
17300 | if (obj1) { |
17301 | arg2 = (int const) SWIG_AsInt(obj1); | |
17302 | if (PyErr_Occurred()) SWIG_fail; | |
17303 | } | |
d55e5bfc RD |
17304 | if (obj2) { |
17305 | { | |
17306 | arg3 = &temp3; | |
17307 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
17308 | } | |
17309 | } | |
17310 | if (obj3) { | |
17311 | { | |
17312 | arg4 = &temp4; | |
17313 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
17314 | } | |
17315 | } | |
17316 | if (obj4) { | |
17317 | arg5 = (long) SWIG_AsLong(obj4); | |
17318 | if (PyErr_Occurred()) SWIG_fail; | |
17319 | } | |
17320 | if (obj5) { | |
17321 | { | |
17322 | arg6 = wxString_in_helper(obj5); | |
17323 | if (arg6 == NULL) SWIG_fail; | |
17324 | temp6 = True; | |
17325 | } | |
17326 | } | |
17327 | { | |
0439c23b | 17328 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17330 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
17331 | ||
17332 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17333 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
17334 | } |
17335 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
17336 | { | |
17337 | if (temp6) | |
17338 | delete arg6; | |
17339 | } | |
17340 | return resultobj; | |
17341 | fail: | |
17342 | { | |
17343 | if (temp6) | |
17344 | delete arg6; | |
17345 | } | |
17346 | return NULL; | |
17347 | } | |
17348 | ||
17349 | ||
17350 | static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17351 | PyObject *resultobj; | |
17352 | wxPyScrolledWindow *result; | |
17353 | char *kwnames[] = { | |
17354 | NULL | |
17355 | }; | |
17356 | ||
17357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail; | |
17358 | { | |
0439c23b | 17359 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17361 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(); | |
17362 | ||
17363 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17364 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
17365 | } |
17366 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
17367 | return resultobj; | |
17368 | fail: | |
17369 | return NULL; | |
17370 | } | |
17371 | ||
17372 | ||
17373 | static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17374 | PyObject *resultobj; | |
17375 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17376 | PyObject *arg2 = (PyObject *) 0 ; | |
17377 | PyObject *arg3 = (PyObject *) 0 ; | |
17378 | PyObject * obj0 = 0 ; | |
17379 | PyObject * obj1 = 0 ; | |
17380 | PyObject * obj2 = 0 ; | |
17381 | char *kwnames[] = { | |
17382 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
17383 | }; | |
17384 | ||
17385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17386 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17387 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17388 | arg2 = obj1; | |
17389 | arg3 = obj2; | |
17390 | { | |
17391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17392 | (arg1)->_setCallbackInfo(arg2,arg3); | |
17393 | ||
17394 | wxPyEndAllowThreads(__tstate); | |
17395 | if (PyErr_Occurred()) SWIG_fail; | |
17396 | } | |
17397 | Py_INCREF(Py_None); resultobj = Py_None; | |
17398 | return resultobj; | |
17399 | fail: | |
17400 | return NULL; | |
17401 | } | |
17402 | ||
17403 | ||
caef1a4d RD |
17404 | static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
17405 | PyObject *resultobj; | |
17406 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17407 | wxSize *arg2 = 0 ; | |
17408 | wxSize temp2 ; | |
17409 | PyObject * obj0 = 0 ; | |
17410 | PyObject * obj1 = 0 ; | |
17411 | char *kwnames[] = { | |
17412 | (char *) "self",(char *) "size", NULL | |
17413 | }; | |
17414 | ||
17415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
17416 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17417 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17418 | { | |
17419 | arg2 = &temp2; | |
17420 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
17421 | } | |
17422 | { | |
17423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17424 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
17425 | ||
17426 | wxPyEndAllowThreads(__tstate); | |
17427 | if (PyErr_Occurred()) SWIG_fail; | |
17428 | } | |
17429 | Py_INCREF(Py_None); resultobj = Py_None; | |
17430 | return resultobj; | |
17431 | fail: | |
17432 | return NULL; | |
17433 | } | |
17434 | ||
17435 | ||
d55e5bfc RD |
17436 | static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
17437 | PyObject *resultobj; | |
17438 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17439 | int arg2 ; | |
17440 | int arg3 ; | |
17441 | int arg4 ; | |
17442 | int arg5 ; | |
17443 | PyObject * obj0 = 0 ; | |
17444 | PyObject * obj1 = 0 ; | |
17445 | PyObject * obj2 = 0 ; | |
17446 | PyObject * obj3 = 0 ; | |
17447 | PyObject * obj4 = 0 ; | |
17448 | char *kwnames[] = { | |
17449 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
17450 | }; | |
17451 | ||
17452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
17453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17455 | arg2 = (int) SWIG_AsInt(obj1); | |
17456 | if (PyErr_Occurred()) SWIG_fail; | |
17457 | arg3 = (int) SWIG_AsInt(obj2); | |
17458 | if (PyErr_Occurred()) SWIG_fail; | |
17459 | arg4 = (int) SWIG_AsInt(obj3); | |
17460 | if (PyErr_Occurred()) SWIG_fail; | |
17461 | arg5 = (int) SWIG_AsInt(obj4); | |
17462 | if (PyErr_Occurred()) SWIG_fail; | |
17463 | { | |
17464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17465 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
17466 | ||
17467 | wxPyEndAllowThreads(__tstate); | |
17468 | if (PyErr_Occurred()) SWIG_fail; | |
17469 | } | |
17470 | Py_INCREF(Py_None); resultobj = Py_None; | |
17471 | return resultobj; | |
17472 | fail: | |
17473 | return NULL; | |
17474 | } | |
17475 | ||
17476 | ||
17477 | static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17478 | PyObject *resultobj; | |
17479 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17480 | int arg2 ; | |
17481 | int arg3 ; | |
17482 | int arg4 ; | |
17483 | int arg5 ; | |
17484 | int arg6 = (int) wxSIZE_AUTO ; | |
17485 | PyObject * obj0 = 0 ; | |
17486 | PyObject * obj1 = 0 ; | |
17487 | PyObject * obj2 = 0 ; | |
17488 | PyObject * obj3 = 0 ; | |
17489 | PyObject * obj4 = 0 ; | |
17490 | PyObject * obj5 = 0 ; | |
17491 | char *kwnames[] = { | |
17492 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
17493 | }; | |
17494 | ||
17495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
17496 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17497 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17498 | arg2 = (int) SWIG_AsInt(obj1); | |
17499 | if (PyErr_Occurred()) SWIG_fail; | |
17500 | arg3 = (int) SWIG_AsInt(obj2); | |
17501 | if (PyErr_Occurred()) SWIG_fail; | |
17502 | arg4 = (int) SWIG_AsInt(obj3); | |
17503 | if (PyErr_Occurred()) SWIG_fail; | |
17504 | arg5 = (int) SWIG_AsInt(obj4); | |
17505 | if (PyErr_Occurred()) SWIG_fail; | |
17506 | if (obj5) { | |
17507 | arg6 = (int) SWIG_AsInt(obj5); | |
17508 | if (PyErr_Occurred()) SWIG_fail; | |
17509 | } | |
17510 | { | |
17511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17512 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
17513 | ||
17514 | wxPyEndAllowThreads(__tstate); | |
17515 | if (PyErr_Occurred()) SWIG_fail; | |
17516 | } | |
17517 | Py_INCREF(Py_None); resultobj = Py_None; | |
17518 | return resultobj; | |
17519 | fail: | |
17520 | return NULL; | |
17521 | } | |
17522 | ||
17523 | ||
17524 | static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17525 | PyObject *resultobj; | |
17526 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17527 | int arg2 ; | |
17528 | int arg3 ; | |
17529 | PyObject * obj0 = 0 ; | |
17530 | PyObject * obj1 = 0 ; | |
17531 | PyObject * obj2 = 0 ; | |
17532 | char *kwnames[] = { | |
17533 | (char *) "self",(char *) "width",(char *) "height", NULL | |
17534 | }; | |
17535 | ||
17536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17537 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17538 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17539 | arg2 = (int) SWIG_AsInt(obj1); | |
17540 | if (PyErr_Occurred()) SWIG_fail; | |
17541 | arg3 = (int) SWIG_AsInt(obj2); | |
17542 | if (PyErr_Occurred()) SWIG_fail; | |
17543 | { | |
17544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17545 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
17546 | ||
17547 | wxPyEndAllowThreads(__tstate); | |
17548 | if (PyErr_Occurred()) SWIG_fail; | |
17549 | } | |
17550 | Py_INCREF(Py_None); resultobj = Py_None; | |
17551 | return resultobj; | |
17552 | fail: | |
17553 | return NULL; | |
17554 | } | |
17555 | ||
17556 | ||
17557 | static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17558 | PyObject *resultobj; | |
17559 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17560 | int arg2 ; | |
17561 | int arg3 ; | |
17562 | PyObject * obj0 = 0 ; | |
17563 | PyObject * obj1 = 0 ; | |
17564 | PyObject * obj2 = 0 ; | |
17565 | char *kwnames[] = { | |
17566 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17567 | }; | |
17568 | ||
17569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17570 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17571 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17572 | arg2 = (int) SWIG_AsInt(obj1); | |
17573 | if (PyErr_Occurred()) SWIG_fail; | |
17574 | arg3 = (int) SWIG_AsInt(obj2); | |
17575 | if (PyErr_Occurred()) SWIG_fail; | |
17576 | { | |
17577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17578 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
17579 | ||
17580 | wxPyEndAllowThreads(__tstate); | |
17581 | if (PyErr_Occurred()) SWIG_fail; | |
17582 | } | |
17583 | Py_INCREF(Py_None); resultobj = Py_None; | |
17584 | return resultobj; | |
17585 | fail: | |
17586 | return NULL; | |
17587 | } | |
17588 | ||
17589 | ||
17590 | static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17591 | PyObject *resultobj; | |
17592 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17593 | int *arg2 = (int *) 0 ; | |
17594 | int *arg3 = (int *) 0 ; | |
17595 | int temp2 ; | |
17596 | int temp3 ; | |
17597 | PyObject * obj0 = 0 ; | |
17598 | char *kwnames[] = { | |
17599 | (char *) "self", NULL | |
17600 | }; | |
17601 | ||
17602 | arg2 = &temp2; | |
17603 | arg3 = &temp3; | |
17604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
17605 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17606 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17607 | { | |
17608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17609 | ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
17610 | ||
17611 | wxPyEndAllowThreads(__tstate); | |
17612 | if (PyErr_Occurred()) SWIG_fail; | |
17613 | } | |
17614 | Py_INCREF(Py_None); resultobj = Py_None; | |
17615 | { | |
17616 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
17617 | resultobj = t_output_helper(resultobj,o); | |
17618 | } | |
17619 | { | |
17620 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
17621 | resultobj = t_output_helper(resultobj,o); | |
17622 | } | |
17623 | return resultobj; | |
17624 | fail: | |
17625 | return NULL; | |
17626 | } | |
17627 | ||
17628 | ||
17629 | static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17630 | PyObject *resultobj; | |
17631 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17632 | int *arg2 = (int *) 0 ; | |
17633 | int *arg3 = (int *) 0 ; | |
17634 | int temp2 ; | |
17635 | int temp3 ; | |
17636 | PyObject * obj0 = 0 ; | |
17637 | char *kwnames[] = { | |
17638 | (char *) "self", NULL | |
17639 | }; | |
17640 | ||
17641 | arg2 = &temp2; | |
17642 | arg3 = &temp3; | |
17643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
17644 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17645 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17646 | { | |
17647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17648 | ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
17649 | ||
17650 | wxPyEndAllowThreads(__tstate); | |
17651 | if (PyErr_Occurred()) SWIG_fail; | |
17652 | } | |
17653 | Py_INCREF(Py_None); resultobj = Py_None; | |
17654 | { | |
17655 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
17656 | resultobj = t_output_helper(resultobj,o); | |
17657 | } | |
17658 | { | |
17659 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
17660 | resultobj = t_output_helper(resultobj,o); | |
17661 | } | |
17662 | return resultobj; | |
17663 | fail: | |
17664 | return NULL; | |
17665 | } | |
17666 | ||
17667 | ||
17668 | static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17669 | PyObject *resultobj; | |
17670 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17671 | int *arg2 = (int *) 0 ; | |
17672 | int *arg3 = (int *) 0 ; | |
17673 | int temp2 ; | |
17674 | int temp3 ; | |
17675 | PyObject * obj0 = 0 ; | |
17676 | char *kwnames[] = { | |
17677 | (char *) "self", NULL | |
17678 | }; | |
17679 | ||
17680 | arg2 = &temp2; | |
17681 | arg3 = &temp3; | |
17682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
17683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17685 | { | |
17686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17687 | ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
17688 | ||
17689 | wxPyEndAllowThreads(__tstate); | |
17690 | if (PyErr_Occurred()) SWIG_fail; | |
17691 | } | |
17692 | Py_INCREF(Py_None); resultobj = Py_None; | |
17693 | { | |
17694 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
17695 | resultobj = t_output_helper(resultobj,o); | |
17696 | } | |
17697 | { | |
17698 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
17699 | resultobj = t_output_helper(resultobj,o); | |
17700 | } | |
17701 | return resultobj; | |
17702 | fail: | |
17703 | return NULL; | |
17704 | } | |
17705 | ||
17706 | ||
17707 | static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17708 | PyObject *resultobj; | |
17709 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17710 | wxSize result; | |
17711 | PyObject * obj0 = 0 ; | |
17712 | char *kwnames[] = { | |
17713 | (char *) "self", NULL | |
17714 | }; | |
17715 | ||
17716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
17717 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17719 | { | |
17720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17721 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize(); | |
17722 | ||
17723 | wxPyEndAllowThreads(__tstate); | |
17724 | if (PyErr_Occurred()) SWIG_fail; | |
17725 | } | |
17726 | { | |
17727 | wxSize * resultptr; | |
17728 | resultptr = new wxSize((wxSize &) result); | |
17729 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17730 | } | |
17731 | return resultobj; | |
17732 | fail: | |
17733 | return NULL; | |
17734 | } | |
17735 | ||
17736 | ||
17737 | static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17738 | PyObject *resultobj; | |
17739 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17740 | wxSize result; | |
17741 | PyObject * obj0 = 0 ; | |
17742 | char *kwnames[] = { | |
17743 | (char *) "self", NULL | |
17744 | }; | |
17745 | ||
17746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
17747 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17748 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17749 | { | |
17750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17751 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize(); | |
17752 | ||
17753 | wxPyEndAllowThreads(__tstate); | |
17754 | if (PyErr_Occurred()) SWIG_fail; | |
17755 | } | |
17756 | { | |
17757 | wxSize * resultptr; | |
17758 | resultptr = new wxSize((wxSize &) result); | |
17759 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17760 | } | |
17761 | return resultobj; | |
17762 | fail: | |
17763 | return NULL; | |
17764 | } | |
17765 | ||
17766 | ||
17767 | static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17768 | PyObject *resultobj; | |
17769 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17770 | PyObject * obj0 = 0 ; | |
17771 | char *kwnames[] = { | |
17772 | (char *) "self", NULL | |
17773 | }; | |
17774 | ||
17775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
17776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17778 | { | |
17779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17780 | (arg1)->base_InitDialog(); | |
17781 | ||
17782 | wxPyEndAllowThreads(__tstate); | |
17783 | if (PyErr_Occurred()) SWIG_fail; | |
17784 | } | |
17785 | Py_INCREF(Py_None); resultobj = Py_None; | |
17786 | return resultobj; | |
17787 | fail: | |
17788 | return NULL; | |
17789 | } | |
17790 | ||
17791 | ||
17792 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17793 | PyObject *resultobj; | |
17794 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17795 | bool result; | |
17796 | PyObject * obj0 = 0 ; | |
17797 | char *kwnames[] = { | |
17798 | (char *) "self", NULL | |
17799 | }; | |
17800 | ||
17801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
17802 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17803 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17804 | { | |
17805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17806 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
17807 | ||
17808 | wxPyEndAllowThreads(__tstate); | |
17809 | if (PyErr_Occurred()) SWIG_fail; | |
17810 | } | |
17811 | { | |
17812 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17813 | } | |
17814 | return resultobj; | |
17815 | fail: | |
17816 | return NULL; | |
17817 | } | |
17818 | ||
17819 | ||
17820 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17821 | PyObject *resultobj; | |
17822 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17823 | bool result; | |
17824 | PyObject * obj0 = 0 ; | |
17825 | char *kwnames[] = { | |
17826 | (char *) "self", NULL | |
17827 | }; | |
17828 | ||
17829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
17830 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17831 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17832 | { | |
17833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17834 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
17835 | ||
17836 | wxPyEndAllowThreads(__tstate); | |
17837 | if (PyErr_Occurred()) SWIG_fail; | |
17838 | } | |
17839 | { | |
17840 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17841 | } | |
17842 | return resultobj; | |
17843 | fail: | |
17844 | return NULL; | |
17845 | } | |
17846 | ||
17847 | ||
17848 | static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17849 | PyObject *resultobj; | |
17850 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17851 | bool result; | |
17852 | PyObject * obj0 = 0 ; | |
17853 | char *kwnames[] = { | |
17854 | (char *) "self", NULL | |
17855 | }; | |
17856 | ||
17857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail; | |
17858 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17859 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17860 | { | |
17861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17862 | result = (bool)(arg1)->base_Validate(); | |
17863 | ||
17864 | wxPyEndAllowThreads(__tstate); | |
17865 | if (PyErr_Occurred()) SWIG_fail; | |
17866 | } | |
17867 | { | |
17868 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17869 | } | |
17870 | return resultobj; | |
17871 | fail: | |
17872 | return NULL; | |
17873 | } | |
17874 | ||
17875 | ||
17876 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17877 | PyObject *resultobj; | |
17878 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17879 | bool result; | |
17880 | PyObject * obj0 = 0 ; | |
17881 | char *kwnames[] = { | |
17882 | (char *) "self", NULL | |
17883 | }; | |
17884 | ||
17885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
17886 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17887 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17888 | { | |
17889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17890 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus(); | |
17891 | ||
17892 | wxPyEndAllowThreads(__tstate); | |
17893 | if (PyErr_Occurred()) SWIG_fail; | |
17894 | } | |
17895 | { | |
17896 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17897 | } | |
17898 | return resultobj; | |
17899 | fail: | |
17900 | return NULL; | |
17901 | } | |
17902 | ||
17903 | ||
17904 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17905 | PyObject *resultobj; | |
17906 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17907 | bool result; | |
17908 | PyObject * obj0 = 0 ; | |
17909 | char *kwnames[] = { | |
17910 | (char *) "self", NULL | |
17911 | }; | |
17912 | ||
17913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
17914 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17915 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17916 | { | |
17917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17918 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
17919 | ||
17920 | wxPyEndAllowThreads(__tstate); | |
17921 | if (PyErr_Occurred()) SWIG_fail; | |
17922 | } | |
17923 | { | |
17924 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17925 | } | |
17926 | return resultobj; | |
17927 | fail: | |
17928 | return NULL; | |
17929 | } | |
17930 | ||
17931 | ||
17932 | static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17933 | PyObject *resultobj; | |
17934 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17935 | wxSize result; | |
17936 | PyObject * obj0 = 0 ; | |
17937 | char *kwnames[] = { | |
17938 | (char *) "self", NULL | |
17939 | }; | |
17940 | ||
17941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
17942 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17943 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17944 | { | |
17945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17946 | result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize(); | |
17947 | ||
17948 | wxPyEndAllowThreads(__tstate); | |
17949 | if (PyErr_Occurred()) SWIG_fail; | |
17950 | } | |
17951 | { | |
17952 | wxSize * resultptr; | |
17953 | resultptr = new wxSize((wxSize &) result); | |
17954 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17955 | } | |
17956 | return resultobj; | |
17957 | fail: | |
17958 | return NULL; | |
17959 | } | |
17960 | ||
17961 | ||
17962 | static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17963 | PyObject *resultobj; | |
17964 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17965 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17966 | PyObject * obj0 = 0 ; | |
17967 | PyObject * obj1 = 0 ; | |
17968 | char *kwnames[] = { | |
17969 | (char *) "self",(char *) "child", NULL | |
17970 | }; | |
17971 | ||
17972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
17973 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17974 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17975 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17976 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17977 | { | |
17978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17979 | (arg1)->base_AddChild(arg2); | |
17980 | ||
17981 | wxPyEndAllowThreads(__tstate); | |
17982 | if (PyErr_Occurred()) SWIG_fail; | |
17983 | } | |
17984 | Py_INCREF(Py_None); resultobj = Py_None; | |
17985 | return resultobj; | |
17986 | fail: | |
17987 | return NULL; | |
17988 | } | |
17989 | ||
17990 | ||
17991 | static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17992 | PyObject *resultobj; | |
17993 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17994 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17995 | PyObject * obj0 = 0 ; | |
17996 | PyObject * obj1 = 0 ; | |
17997 | char *kwnames[] = { | |
17998 | (char *) "self",(char *) "child", NULL | |
17999 | }; | |
18000 | ||
18001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
18002 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18003 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18004 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
18005 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18006 | { | |
18007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18008 | (arg1)->base_RemoveChild(arg2); | |
18009 | ||
18010 | wxPyEndAllowThreads(__tstate); | |
18011 | if (PyErr_Occurred()) SWIG_fail; | |
18012 | } | |
18013 | Py_INCREF(Py_None); resultobj = Py_None; | |
18014 | return resultobj; | |
18015 | fail: | |
18016 | return NULL; | |
18017 | } | |
18018 | ||
18019 | ||
18020 | static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18021 | PyObject *resultobj; | |
18022 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18023 | bool result; | |
18024 | PyObject * obj0 = 0 ; | |
18025 | char *kwnames[] = { | |
18026 | (char *) "self", NULL | |
18027 | }; | |
18028 | ||
18029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
18030 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18031 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18032 | { | |
18033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
caef1a4d | 18034 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
18035 | |
18036 | wxPyEndAllowThreads(__tstate); | |
18037 | if (PyErr_Occurred()) SWIG_fail; | |
18038 | } | |
18039 | { | |
18040 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18041 | } | |
18042 | return resultobj; | |
18043 | fail: | |
18044 | return NULL; | |
18045 | } | |
18046 | ||
18047 | ||
18048 | static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18049 | PyObject *resultobj; | |
18050 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18051 | wxColour *arg2 = 0 ; | |
18052 | wxColour temp2 ; | |
18053 | PyObject * obj0 = 0 ; | |
18054 | PyObject * obj1 = 0 ; | |
18055 | char *kwnames[] = { | |
18056 | (char *) "self",(char *) "c", NULL | |
18057 | }; | |
18058 | ||
18059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
18060 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18061 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18062 | { | |
18063 | arg2 = &temp2; | |
18064 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
18065 | } | |
18066 | { | |
18067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18068 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
18069 | ||
18070 | wxPyEndAllowThreads(__tstate); | |
18071 | if (PyErr_Occurred()) SWIG_fail; | |
18072 | } | |
18073 | Py_INCREF(Py_None); resultobj = Py_None; | |
18074 | return resultobj; | |
18075 | fail: | |
18076 | return NULL; | |
18077 | } | |
18078 | ||
18079 | ||
caef1a4d RD |
18080 | static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
18081 | PyObject *resultobj; | |
18082 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18083 | wxVisualAttributes result; | |
18084 | PyObject * obj0 = 0 ; | |
18085 | char *kwnames[] = { | |
18086 | (char *) "self", NULL | |
18087 | }; | |
18088 | ||
18089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
18090 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18091 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18092 | { | |
18093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18094 | result = (arg1)->base_GetDefaultAttributes(); | |
18095 | ||
18096 | wxPyEndAllowThreads(__tstate); | |
18097 | if (PyErr_Occurred()) SWIG_fail; | |
18098 | } | |
18099 | { | |
18100 | wxVisualAttributes * resultptr; | |
18101 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
18102 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
18103 | } | |
18104 | return resultobj; | |
18105 | fail: | |
18106 | return NULL; | |
18107 | } | |
18108 | ||
18109 | ||
d55e5bfc RD |
18110 | static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) { |
18111 | PyObject *obj; | |
18112 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18113 | SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj); | |
18114 | Py_INCREF(obj); | |
18115 | return Py_BuildValue((char *)""); | |
18116 | } | |
18117 | static int _wrap_PrintoutTitleStr_set(PyObject *_val) { | |
18118 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); | |
18119 | return 1; | |
18120 | } | |
18121 | ||
18122 | ||
18123 | static PyObject *_wrap_PrintoutTitleStr_get() { | |
18124 | PyObject *pyobj; | |
18125 | ||
18126 | { | |
18127 | #if wxUSE_UNICODE | |
18128 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
18129 | #else | |
18130 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
18131 | #endif | |
18132 | } | |
18133 | return pyobj; | |
18134 | } | |
18135 | ||
18136 | ||
18137 | static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) { | |
18138 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); | |
18139 | return 1; | |
18140 | } | |
18141 | ||
18142 | ||
18143 | static PyObject *_wrap_PreviewCanvasNameStr_get() { | |
18144 | PyObject *pyobj; | |
18145 | ||
18146 | { | |
18147 | #if wxUSE_UNICODE | |
18148 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
18149 | #else | |
18150 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
18151 | #endif | |
18152 | } | |
18153 | return pyobj; | |
18154 | } | |
18155 | ||
18156 | ||
09c21d3b | 18157 | static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *self, PyObject *args) { |
d55e5bfc RD |
18158 | PyObject *resultobj; |
18159 | wxPrintData *result; | |
d55e5bfc | 18160 | |
09c21d3b | 18161 | if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail; |
d55e5bfc RD |
18162 | { |
18163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18164 | result = (wxPrintData *)new wxPrintData(); | |
18165 | ||
18166 | wxPyEndAllowThreads(__tstate); | |
18167 | if (PyErr_Occurred()) SWIG_fail; | |
18168 | } | |
18169 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
18170 | return resultobj; | |
18171 | fail: | |
18172 | return NULL; | |
18173 | } | |
18174 | ||
18175 | ||
09c21d3b RD |
18176 | static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *self, PyObject *args) { |
18177 | PyObject *resultobj; | |
18178 | wxPrintData *arg1 = 0 ; | |
18179 | wxPrintData *result; | |
18180 | PyObject * obj0 = 0 ; | |
18181 | ||
18182 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail; | |
18183 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18184 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
18185 | SWIG_fail; | |
18186 | if (arg1 == NULL) { | |
18187 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
18188 | SWIG_fail; | |
18189 | } | |
18190 | { | |
18191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18192 | result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1); | |
18193 | ||
18194 | wxPyEndAllowThreads(__tstate); | |
18195 | if (PyErr_Occurred()) SWIG_fail; | |
18196 | } | |
18197 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
18198 | return resultobj; | |
18199 | fail: | |
18200 | return NULL; | |
18201 | } | |
18202 | ||
18203 | ||
18204 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) { | |
18205 | int argc; | |
18206 | PyObject *argv[2]; | |
18207 | int ii; | |
18208 | ||
18209 | argc = PyObject_Length(args); | |
18210 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
18211 | argv[ii] = PyTuple_GetItem(args,ii); | |
18212 | } | |
18213 | if (argc == 0) { | |
18214 | return _wrap_new_PrintData__SWIG_0(self,args); | |
18215 | } | |
18216 | if (argc == 1) { | |
18217 | int _v; | |
18218 | { | |
18219 | void *ptr; | |
18220 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
18221 | _v = 0; | |
18222 | PyErr_Clear(); | |
18223 | } else { | |
18224 | _v = 1; | |
18225 | } | |
18226 | } | |
18227 | if (_v) { | |
18228 | return _wrap_new_PrintData__SWIG_1(self,args); | |
18229 | } | |
18230 | } | |
18231 | ||
18232 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'"); | |
18233 | return NULL; | |
18234 | } | |
18235 | ||
18236 | ||
d55e5bfc RD |
18237 | static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { |
18238 | PyObject *resultobj; | |
18239 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18240 | PyObject * obj0 = 0 ; | |
18241 | char *kwnames[] = { | |
18242 | (char *) "self", NULL | |
18243 | }; | |
18244 | ||
18245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
18246 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18247 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18248 | { | |
18249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18250 | delete arg1; | |
18251 | ||
18252 | wxPyEndAllowThreads(__tstate); | |
18253 | if (PyErr_Occurred()) SWIG_fail; | |
18254 | } | |
18255 | Py_INCREF(Py_None); resultobj = Py_None; | |
18256 | return resultobj; | |
18257 | fail: | |
18258 | return NULL; | |
18259 | } | |
18260 | ||
18261 | ||
18262 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18263 | PyObject *resultobj; | |
18264 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18265 | int result; | |
18266 | PyObject * obj0 = 0 ; | |
18267 | char *kwnames[] = { | |
18268 | (char *) "self", NULL | |
18269 | }; | |
18270 | ||
18271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
18272 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18273 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18274 | { | |
18275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18276 | result = (int)(arg1)->GetNoCopies(); | |
18277 | ||
18278 | wxPyEndAllowThreads(__tstate); | |
18279 | if (PyErr_Occurred()) SWIG_fail; | |
18280 | } | |
18281 | resultobj = SWIG_FromInt((int)result); | |
18282 | return resultobj; | |
18283 | fail: | |
18284 | return NULL; | |
18285 | } | |
18286 | ||
18287 | ||
18288 | static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18289 | PyObject *resultobj; | |
18290 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18291 | bool result; | |
18292 | PyObject * obj0 = 0 ; | |
18293 | char *kwnames[] = { | |
18294 | (char *) "self", NULL | |
18295 | }; | |
18296 | ||
18297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
18298 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18299 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18300 | { | |
18301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18302 | result = (bool)(arg1)->GetCollate(); | |
18303 | ||
18304 | wxPyEndAllowThreads(__tstate); | |
18305 | if (PyErr_Occurred()) SWIG_fail; | |
18306 | } | |
18307 | { | |
18308 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18309 | } | |
18310 | return resultobj; | |
18311 | fail: | |
18312 | return NULL; | |
18313 | } | |
18314 | ||
18315 | ||
18316 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18317 | PyObject *resultobj; | |
18318 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18319 | int result; | |
18320 | PyObject * obj0 = 0 ; | |
18321 | char *kwnames[] = { | |
18322 | (char *) "self", NULL | |
18323 | }; | |
18324 | ||
18325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
18326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18328 | { | |
18329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18330 | result = (int)(arg1)->GetOrientation(); | |
18331 | ||
18332 | wxPyEndAllowThreads(__tstate); | |
18333 | if (PyErr_Occurred()) SWIG_fail; | |
18334 | } | |
18335 | resultobj = SWIG_FromInt((int)result); | |
18336 | return resultobj; | |
18337 | fail: | |
18338 | return NULL; | |
18339 | } | |
18340 | ||
18341 | ||
18342 | static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18343 | PyObject *resultobj; | |
18344 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18345 | bool result; | |
18346 | PyObject * obj0 = 0 ; | |
18347 | char *kwnames[] = { | |
18348 | (char *) "self", NULL | |
18349 | }; | |
18350 | ||
18351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
18352 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18353 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18354 | { | |
18355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18356 | result = (bool)(arg1)->Ok(); | |
18357 | ||
18358 | wxPyEndAllowThreads(__tstate); | |
18359 | if (PyErr_Occurred()) SWIG_fail; | |
18360 | } | |
18361 | { | |
18362 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18363 | } | |
18364 | return resultobj; | |
18365 | fail: | |
18366 | return NULL; | |
18367 | } | |
18368 | ||
18369 | ||
18370 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18371 | PyObject *resultobj; | |
18372 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18373 | wxString *result; | |
18374 | PyObject * obj0 = 0 ; | |
18375 | char *kwnames[] = { | |
18376 | (char *) "self", NULL | |
18377 | }; | |
18378 | ||
18379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
18380 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18382 | { | |
18383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18384 | { | |
18385 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
18386 | result = (wxString *) &_result_ref; | |
18387 | } | |
18388 | ||
18389 | wxPyEndAllowThreads(__tstate); | |
18390 | if (PyErr_Occurred()) SWIG_fail; | |
18391 | } | |
18392 | { | |
18393 | #if wxUSE_UNICODE | |
18394 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18395 | #else | |
18396 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18397 | #endif | |
18398 | } | |
18399 | return resultobj; | |
18400 | fail: | |
18401 | return NULL; | |
18402 | } | |
18403 | ||
18404 | ||
18405 | static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18406 | PyObject *resultobj; | |
18407 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18408 | bool result; | |
18409 | PyObject * obj0 = 0 ; | |
18410 | char *kwnames[] = { | |
18411 | (char *) "self", NULL | |
18412 | }; | |
18413 | ||
18414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
18415 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18416 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18417 | { | |
18418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18419 | result = (bool)(arg1)->GetColour(); | |
18420 | ||
18421 | wxPyEndAllowThreads(__tstate); | |
18422 | if (PyErr_Occurred()) SWIG_fail; | |
18423 | } | |
18424 | { | |
18425 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18426 | } | |
18427 | return resultobj; | |
18428 | fail: | |
18429 | return NULL; | |
18430 | } | |
18431 | ||
18432 | ||
18433 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18434 | PyObject *resultobj; | |
18435 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18436 | int result; | |
18437 | PyObject * obj0 = 0 ; | |
18438 | char *kwnames[] = { | |
18439 | (char *) "self", NULL | |
18440 | }; | |
18441 | ||
18442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
18443 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18444 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18445 | { | |
18446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18447 | result = (int)(arg1)->GetDuplex(); | |
18448 | ||
18449 | wxPyEndAllowThreads(__tstate); | |
18450 | if (PyErr_Occurred()) SWIG_fail; | |
18451 | } | |
18452 | resultobj = SWIG_FromInt((int)result); | |
18453 | return resultobj; | |
18454 | fail: | |
18455 | return NULL; | |
18456 | } | |
18457 | ||
18458 | ||
18459 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18460 | PyObject *resultobj; | |
18461 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18462 | int result; | |
18463 | PyObject * obj0 = 0 ; | |
18464 | char *kwnames[] = { | |
18465 | (char *) "self", NULL | |
18466 | }; | |
18467 | ||
18468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
18469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18471 | { | |
18472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18473 | result = (int)(arg1)->GetPaperId(); | |
18474 | ||
18475 | wxPyEndAllowThreads(__tstate); | |
18476 | if (PyErr_Occurred()) SWIG_fail; | |
18477 | } | |
18478 | resultobj = SWIG_FromInt((int)result); | |
18479 | return resultobj; | |
18480 | fail: | |
18481 | return NULL; | |
18482 | } | |
18483 | ||
18484 | ||
18485 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18486 | PyObject *resultobj; | |
18487 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18488 | wxSize *result; | |
18489 | PyObject * obj0 = 0 ; | |
18490 | char *kwnames[] = { | |
18491 | (char *) "self", NULL | |
18492 | }; | |
18493 | ||
18494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
18495 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18496 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18497 | { | |
18498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18499 | { | |
18500 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
18501 | result = (wxSize *) &_result_ref; | |
18502 | } | |
18503 | ||
18504 | wxPyEndAllowThreads(__tstate); | |
18505 | if (PyErr_Occurred()) SWIG_fail; | |
18506 | } | |
18507 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); | |
18508 | return resultobj; | |
18509 | fail: | |
18510 | return NULL; | |
18511 | } | |
18512 | ||
18513 | ||
18514 | static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18515 | PyObject *resultobj; | |
18516 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18517 | int result; | |
18518 | PyObject * obj0 = 0 ; | |
18519 | char *kwnames[] = { | |
18520 | (char *) "self", NULL | |
18521 | }; | |
18522 | ||
18523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
18524 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18525 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18526 | { | |
18527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18528 | result = (int)(arg1)->GetQuality(); | |
18529 | ||
18530 | wxPyEndAllowThreads(__tstate); | |
18531 | if (PyErr_Occurred()) SWIG_fail; | |
18532 | } | |
18533 | resultobj = SWIG_FromInt((int)result); | |
18534 | return resultobj; | |
18535 | fail: | |
18536 | return NULL; | |
18537 | } | |
18538 | ||
18539 | ||
18540 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18541 | PyObject *resultobj; | |
18542 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18543 | int arg2 ; | |
18544 | PyObject * obj0 = 0 ; | |
18545 | PyObject * obj1 = 0 ; | |
18546 | char *kwnames[] = { | |
18547 | (char *) "self",(char *) "v", NULL | |
18548 | }; | |
18549 | ||
18550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; | |
18551 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18552 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18553 | arg2 = (int) SWIG_AsInt(obj1); | |
18554 | if (PyErr_Occurred()) SWIG_fail; | |
18555 | { | |
18556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18557 | (arg1)->SetNoCopies(arg2); | |
18558 | ||
18559 | wxPyEndAllowThreads(__tstate); | |
18560 | if (PyErr_Occurred()) SWIG_fail; | |
18561 | } | |
18562 | Py_INCREF(Py_None); resultobj = Py_None; | |
18563 | return resultobj; | |
18564 | fail: | |
18565 | return NULL; | |
18566 | } | |
18567 | ||
18568 | ||
18569 | static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18570 | PyObject *resultobj; | |
18571 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18572 | bool arg2 ; | |
18573 | PyObject * obj0 = 0 ; | |
18574 | PyObject * obj1 = 0 ; | |
18575 | char *kwnames[] = { | |
18576 | (char *) "self",(char *) "flag", NULL | |
18577 | }; | |
18578 | ||
18579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
18580 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18581 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18582 | arg2 = (bool) SWIG_AsBool(obj1); | |
18583 | if (PyErr_Occurred()) SWIG_fail; | |
18584 | { | |
18585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18586 | (arg1)->SetCollate(arg2); | |
18587 | ||
18588 | wxPyEndAllowThreads(__tstate); | |
18589 | if (PyErr_Occurred()) SWIG_fail; | |
18590 | } | |
18591 | Py_INCREF(Py_None); resultobj = Py_None; | |
18592 | return resultobj; | |
18593 | fail: | |
18594 | return NULL; | |
18595 | } | |
18596 | ||
18597 | ||
18598 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18599 | PyObject *resultobj; | |
18600 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18601 | int arg2 ; | |
18602 | PyObject * obj0 = 0 ; | |
18603 | PyObject * obj1 = 0 ; | |
18604 | char *kwnames[] = { | |
18605 | (char *) "self",(char *) "orient", NULL | |
18606 | }; | |
18607 | ||
18608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
18609 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18610 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18611 | arg2 = (int) SWIG_AsInt(obj1); | |
18612 | if (PyErr_Occurred()) SWIG_fail; | |
18613 | { | |
18614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18615 | (arg1)->SetOrientation(arg2); | |
18616 | ||
18617 | wxPyEndAllowThreads(__tstate); | |
18618 | if (PyErr_Occurred()) SWIG_fail; | |
18619 | } | |
18620 | Py_INCREF(Py_None); resultobj = Py_None; | |
18621 | return resultobj; | |
18622 | fail: | |
18623 | return NULL; | |
18624 | } | |
18625 | ||
18626 | ||
18627 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18628 | PyObject *resultobj; | |
18629 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18630 | wxString *arg2 = 0 ; | |
18631 | bool temp2 = False ; | |
18632 | PyObject * obj0 = 0 ; | |
18633 | PyObject * obj1 = 0 ; | |
18634 | char *kwnames[] = { | |
18635 | (char *) "self",(char *) "name", NULL | |
18636 | }; | |
18637 | ||
18638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
18639 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18640 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18641 | { | |
18642 | arg2 = wxString_in_helper(obj1); | |
18643 | if (arg2 == NULL) SWIG_fail; | |
18644 | temp2 = True; | |
18645 | } | |
18646 | { | |
18647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18648 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
18649 | ||
18650 | wxPyEndAllowThreads(__tstate); | |
18651 | if (PyErr_Occurred()) SWIG_fail; | |
18652 | } | |
18653 | Py_INCREF(Py_None); resultobj = Py_None; | |
18654 | { | |
18655 | if (temp2) | |
18656 | delete arg2; | |
18657 | } | |
18658 | return resultobj; | |
18659 | fail: | |
18660 | { | |
18661 | if (temp2) | |
18662 | delete arg2; | |
18663 | } | |
18664 | return NULL; | |
18665 | } | |
18666 | ||
18667 | ||
18668 | static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18669 | PyObject *resultobj; | |
18670 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18671 | bool arg2 ; | |
18672 | PyObject * obj0 = 0 ; | |
18673 | PyObject * obj1 = 0 ; | |
18674 | char *kwnames[] = { | |
18675 | (char *) "self",(char *) "colour", NULL | |
18676 | }; | |
18677 | ||
18678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
18679 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18680 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18681 | arg2 = (bool) SWIG_AsBool(obj1); | |
18682 | if (PyErr_Occurred()) SWIG_fail; | |
18683 | { | |
18684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18685 | (arg1)->SetColour(arg2); | |
18686 | ||
18687 | wxPyEndAllowThreads(__tstate); | |
18688 | if (PyErr_Occurred()) SWIG_fail; | |
18689 | } | |
18690 | Py_INCREF(Py_None); resultobj = Py_None; | |
18691 | return resultobj; | |
18692 | fail: | |
18693 | return NULL; | |
18694 | } | |
18695 | ||
18696 | ||
18697 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18698 | PyObject *resultobj; | |
18699 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18700 | int arg2 ; | |
18701 | PyObject * obj0 = 0 ; | |
18702 | PyObject * obj1 = 0 ; | |
18703 | char *kwnames[] = { | |
18704 | (char *) "self",(char *) "duplex", NULL | |
18705 | }; | |
18706 | ||
18707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; | |
18708 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18709 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18710 | arg2 = (wxDuplexMode) SWIG_AsInt(obj1); | |
18711 | if (PyErr_Occurred()) SWIG_fail; | |
18712 | { | |
18713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18714 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
18715 | ||
18716 | wxPyEndAllowThreads(__tstate); | |
18717 | if (PyErr_Occurred()) SWIG_fail; | |
18718 | } | |
18719 | Py_INCREF(Py_None); resultobj = Py_None; | |
18720 | return resultobj; | |
18721 | fail: | |
18722 | return NULL; | |
18723 | } | |
18724 | ||
18725 | ||
18726 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18727 | PyObject *resultobj; | |
18728 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18729 | int arg2 ; | |
18730 | PyObject * obj0 = 0 ; | |
18731 | PyObject * obj1 = 0 ; | |
18732 | char *kwnames[] = { | |
18733 | (char *) "self",(char *) "sizeId", NULL | |
18734 | }; | |
18735 | ||
18736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; | |
18737 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18738 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18739 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
18740 | if (PyErr_Occurred()) SWIG_fail; | |
18741 | { | |
18742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18743 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
18744 | ||
18745 | wxPyEndAllowThreads(__tstate); | |
18746 | if (PyErr_Occurred()) SWIG_fail; | |
18747 | } | |
18748 | Py_INCREF(Py_None); resultobj = Py_None; | |
18749 | return resultobj; | |
18750 | fail: | |
18751 | return NULL; | |
18752 | } | |
18753 | ||
18754 | ||
18755 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18756 | PyObject *resultobj; | |
18757 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18758 | wxSize *arg2 = 0 ; | |
18759 | wxSize temp2 ; | |
18760 | PyObject * obj0 = 0 ; | |
18761 | PyObject * obj1 = 0 ; | |
18762 | char *kwnames[] = { | |
18763 | (char *) "self",(char *) "sz", NULL | |
18764 | }; | |
18765 | ||
18766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
18767 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18768 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18769 | { | |
18770 | arg2 = &temp2; | |
18771 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18772 | } | |
18773 | { | |
18774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18775 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
18776 | ||
18777 | wxPyEndAllowThreads(__tstate); | |
18778 | if (PyErr_Occurred()) SWIG_fail; | |
18779 | } | |
18780 | Py_INCREF(Py_None); resultobj = Py_None; | |
18781 | return resultobj; | |
18782 | fail: | |
18783 | return NULL; | |
18784 | } | |
18785 | ||
18786 | ||
18787 | static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18788 | PyObject *resultobj; | |
18789 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18790 | int arg2 ; | |
18791 | PyObject * obj0 = 0 ; | |
18792 | PyObject * obj1 = 0 ; | |
18793 | char *kwnames[] = { | |
18794 | (char *) "self",(char *) "quality", NULL | |
18795 | }; | |
18796 | ||
18797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; | |
18798 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18799 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18800 | arg2 = (int) SWIG_AsInt(obj1); | |
18801 | if (PyErr_Occurred()) SWIG_fail; | |
18802 | { | |
18803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18804 | (arg1)->SetQuality(arg2); | |
18805 | ||
18806 | wxPyEndAllowThreads(__tstate); | |
18807 | if (PyErr_Occurred()) SWIG_fail; | |
18808 | } | |
18809 | Py_INCREF(Py_None); resultobj = Py_None; | |
18810 | return resultobj; | |
18811 | fail: | |
18812 | return NULL; | |
18813 | } | |
18814 | ||
18815 | ||
18816 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18817 | PyObject *resultobj; | |
18818 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18819 | wxString *result; | |
18820 | PyObject * obj0 = 0 ; | |
18821 | char *kwnames[] = { | |
18822 | (char *) "self", NULL | |
18823 | }; | |
18824 | ||
18825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; | |
18826 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18827 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18828 | { | |
18829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18830 | { | |
18831 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); | |
18832 | result = (wxString *) &_result_ref; | |
18833 | } | |
18834 | ||
18835 | wxPyEndAllowThreads(__tstate); | |
18836 | if (PyErr_Occurred()) SWIG_fail; | |
18837 | } | |
18838 | { | |
18839 | #if wxUSE_UNICODE | |
18840 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18841 | #else | |
18842 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18843 | #endif | |
18844 | } | |
18845 | return resultobj; | |
18846 | fail: | |
18847 | return NULL; | |
18848 | } | |
18849 | ||
18850 | ||
18851 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18852 | PyObject *resultobj; | |
18853 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18854 | wxString *result; | |
18855 | PyObject * obj0 = 0 ; | |
18856 | char *kwnames[] = { | |
18857 | (char *) "self", NULL | |
18858 | }; | |
18859 | ||
18860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; | |
18861 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18862 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18863 | { | |
18864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18865 | { | |
18866 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); | |
18867 | result = (wxString *) &_result_ref; | |
18868 | } | |
18869 | ||
18870 | wxPyEndAllowThreads(__tstate); | |
18871 | if (PyErr_Occurred()) SWIG_fail; | |
18872 | } | |
18873 | { | |
18874 | #if wxUSE_UNICODE | |
18875 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18876 | #else | |
18877 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18878 | #endif | |
18879 | } | |
18880 | return resultobj; | |
18881 | fail: | |
18882 | return NULL; | |
18883 | } | |
18884 | ||
18885 | ||
18886 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18887 | PyObject *resultobj; | |
18888 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18889 | wxString *result; | |
18890 | PyObject * obj0 = 0 ; | |
18891 | char *kwnames[] = { | |
18892 | (char *) "self", NULL | |
18893 | }; | |
18894 | ||
18895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; | |
18896 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18897 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18898 | { | |
18899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18900 | { | |
18901 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); | |
18902 | result = (wxString *) &_result_ref; | |
18903 | } | |
18904 | ||
18905 | wxPyEndAllowThreads(__tstate); | |
18906 | if (PyErr_Occurred()) SWIG_fail; | |
18907 | } | |
18908 | { | |
18909 | #if wxUSE_UNICODE | |
18910 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18911 | #else | |
18912 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18913 | #endif | |
18914 | } | |
18915 | return resultobj; | |
18916 | fail: | |
18917 | return NULL; | |
18918 | } | |
18919 | ||
18920 | ||
18921 | static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18922 | PyObject *resultobj; | |
18923 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18924 | wxString *result; | |
18925 | PyObject * obj0 = 0 ; | |
18926 | char *kwnames[] = { | |
18927 | (char *) "self", NULL | |
18928 | }; | |
18929 | ||
18930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; | |
18931 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18932 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18933 | { | |
18934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18935 | { | |
18936 | wxString const &_result_ref = (arg1)->GetFilename(); | |
18937 | result = (wxString *) &_result_ref; | |
18938 | } | |
18939 | ||
18940 | wxPyEndAllowThreads(__tstate); | |
18941 | if (PyErr_Occurred()) SWIG_fail; | |
18942 | } | |
18943 | { | |
18944 | #if wxUSE_UNICODE | |
18945 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18946 | #else | |
18947 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18948 | #endif | |
18949 | } | |
18950 | return resultobj; | |
18951 | fail: | |
18952 | return NULL; | |
18953 | } | |
18954 | ||
18955 | ||
18956 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18957 | PyObject *resultobj; | |
18958 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18959 | wxString *result; | |
18960 | PyObject * obj0 = 0 ; | |
18961 | char *kwnames[] = { | |
18962 | (char *) "self", NULL | |
18963 | }; | |
18964 | ||
18965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
18966 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18967 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18968 | { | |
18969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18970 | { | |
18971 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
18972 | result = (wxString *) &_result_ref; | |
18973 | } | |
18974 | ||
18975 | wxPyEndAllowThreads(__tstate); | |
18976 | if (PyErr_Occurred()) SWIG_fail; | |
18977 | } | |
18978 | { | |
18979 | #if wxUSE_UNICODE | |
18980 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18981 | #else | |
18982 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18983 | #endif | |
18984 | } | |
18985 | return resultobj; | |
18986 | fail: | |
18987 | return NULL; | |
18988 | } | |
18989 | ||
18990 | ||
18991 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18992 | PyObject *resultobj; | |
18993 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18994 | double result; | |
18995 | PyObject * obj0 = 0 ; | |
18996 | char *kwnames[] = { | |
18997 | (char *) "self", NULL | |
18998 | }; | |
18999 | ||
19000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
19001 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19002 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19003 | { | |
19004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19005 | result = (double)(arg1)->GetPrinterScaleX(); | |
19006 | ||
19007 | wxPyEndAllowThreads(__tstate); | |
19008 | if (PyErr_Occurred()) SWIG_fail; | |
19009 | } | |
19010 | resultobj = SWIG_FromDouble((double)result); | |
19011 | return resultobj; | |
19012 | fail: | |
19013 | return NULL; | |
19014 | } | |
19015 | ||
19016 | ||
19017 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19018 | PyObject *resultobj; | |
19019 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19020 | double result; | |
19021 | PyObject * obj0 = 0 ; | |
19022 | char *kwnames[] = { | |
19023 | (char *) "self", NULL | |
19024 | }; | |
19025 | ||
19026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
19027 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19028 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19029 | { | |
19030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19031 | result = (double)(arg1)->GetPrinterScaleY(); | |
19032 | ||
19033 | wxPyEndAllowThreads(__tstate); | |
19034 | if (PyErr_Occurred()) SWIG_fail; | |
19035 | } | |
19036 | resultobj = SWIG_FromDouble((double)result); | |
19037 | return resultobj; | |
19038 | fail: | |
19039 | return NULL; | |
19040 | } | |
19041 | ||
19042 | ||
19043 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19044 | PyObject *resultobj; | |
19045 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19046 | long result; | |
19047 | PyObject * obj0 = 0 ; | |
19048 | char *kwnames[] = { | |
19049 | (char *) "self", NULL | |
19050 | }; | |
19051 | ||
19052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
19053 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19054 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19055 | { | |
19056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19057 | result = (long)(arg1)->GetPrinterTranslateX(); | |
19058 | ||
19059 | wxPyEndAllowThreads(__tstate); | |
19060 | if (PyErr_Occurred()) SWIG_fail; | |
19061 | } | |
19062 | resultobj = SWIG_FromLong((long)result); | |
19063 | return resultobj; | |
19064 | fail: | |
19065 | return NULL; | |
19066 | } | |
19067 | ||
19068 | ||
19069 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19070 | PyObject *resultobj; | |
19071 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19072 | long result; | |
19073 | PyObject * obj0 = 0 ; | |
19074 | char *kwnames[] = { | |
19075 | (char *) "self", NULL | |
19076 | }; | |
19077 | ||
19078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
19079 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19081 | { | |
19082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19083 | result = (long)(arg1)->GetPrinterTranslateY(); | |
19084 | ||
19085 | wxPyEndAllowThreads(__tstate); | |
19086 | if (PyErr_Occurred()) SWIG_fail; | |
19087 | } | |
19088 | resultobj = SWIG_FromLong((long)result); | |
19089 | return resultobj; | |
19090 | fail: | |
19091 | return NULL; | |
19092 | } | |
19093 | ||
19094 | ||
19095 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19096 | PyObject *resultobj; | |
19097 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19098 | int result; | |
19099 | PyObject * obj0 = 0 ; | |
19100 | char *kwnames[] = { | |
19101 | (char *) "self", NULL | |
19102 | }; | |
19103 | ||
19104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
19105 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19106 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19107 | { | |
19108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19109 | result = (int)(arg1)->GetPrintMode(); | |
19110 | ||
19111 | wxPyEndAllowThreads(__tstate); | |
19112 | if (PyErr_Occurred()) SWIG_fail; | |
19113 | } | |
19114 | resultobj = SWIG_FromInt((int)result); | |
19115 | return resultobj; | |
19116 | fail: | |
19117 | return NULL; | |
19118 | } | |
19119 | ||
19120 | ||
19121 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19122 | PyObject *resultobj; | |
19123 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19124 | wxString *arg2 = 0 ; | |
19125 | bool temp2 = False ; | |
19126 | PyObject * obj0 = 0 ; | |
19127 | PyObject * obj1 = 0 ; | |
19128 | char *kwnames[] = { | |
19129 | (char *) "self",(char *) "command", NULL | |
19130 | }; | |
19131 | ||
19132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; | |
19133 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19134 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19135 | { | |
19136 | arg2 = wxString_in_helper(obj1); | |
19137 | if (arg2 == NULL) SWIG_fail; | |
19138 | temp2 = True; | |
19139 | } | |
19140 | { | |
19141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19142 | (arg1)->SetPrinterCommand((wxString const &)*arg2); | |
19143 | ||
19144 | wxPyEndAllowThreads(__tstate); | |
19145 | if (PyErr_Occurred()) SWIG_fail; | |
19146 | } | |
19147 | Py_INCREF(Py_None); resultobj = Py_None; | |
19148 | { | |
19149 | if (temp2) | |
19150 | delete arg2; | |
19151 | } | |
19152 | return resultobj; | |
19153 | fail: | |
19154 | { | |
19155 | if (temp2) | |
19156 | delete arg2; | |
19157 | } | |
19158 | return NULL; | |
19159 | } | |
19160 | ||
19161 | ||
19162 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19163 | PyObject *resultobj; | |
19164 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19165 | wxString *arg2 = 0 ; | |
19166 | bool temp2 = False ; | |
19167 | PyObject * obj0 = 0 ; | |
19168 | PyObject * obj1 = 0 ; | |
19169 | char *kwnames[] = { | |
19170 | (char *) "self",(char *) "options", NULL | |
19171 | }; | |
19172 | ||
19173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
19174 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19175 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19176 | { | |
19177 | arg2 = wxString_in_helper(obj1); | |
19178 | if (arg2 == NULL) SWIG_fail; | |
19179 | temp2 = True; | |
19180 | } | |
19181 | { | |
19182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19183 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
19184 | ||
19185 | wxPyEndAllowThreads(__tstate); | |
19186 | if (PyErr_Occurred()) SWIG_fail; | |
19187 | } | |
19188 | Py_INCREF(Py_None); resultobj = Py_None; | |
19189 | { | |
19190 | if (temp2) | |
19191 | delete arg2; | |
19192 | } | |
19193 | return resultobj; | |
19194 | fail: | |
19195 | { | |
19196 | if (temp2) | |
19197 | delete arg2; | |
19198 | } | |
19199 | return NULL; | |
19200 | } | |
19201 | ||
19202 | ||
19203 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19204 | PyObject *resultobj; | |
19205 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19206 | wxString *arg2 = 0 ; | |
19207 | bool temp2 = False ; | |
19208 | PyObject * obj0 = 0 ; | |
19209 | PyObject * obj1 = 0 ; | |
19210 | char *kwnames[] = { | |
19211 | (char *) "self",(char *) "command", NULL | |
19212 | }; | |
19213 | ||
19214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
19215 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19216 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19217 | { | |
19218 | arg2 = wxString_in_helper(obj1); | |
19219 | if (arg2 == NULL) SWIG_fail; | |
19220 | temp2 = True; | |
19221 | } | |
19222 | { | |
19223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19224 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
19225 | ||
19226 | wxPyEndAllowThreads(__tstate); | |
19227 | if (PyErr_Occurred()) SWIG_fail; | |
19228 | } | |
19229 | Py_INCREF(Py_None); resultobj = Py_None; | |
19230 | { | |
19231 | if (temp2) | |
19232 | delete arg2; | |
19233 | } | |
19234 | return resultobj; | |
19235 | fail: | |
19236 | { | |
19237 | if (temp2) | |
19238 | delete arg2; | |
19239 | } | |
19240 | return NULL; | |
19241 | } | |
19242 | ||
19243 | ||
19244 | static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19245 | PyObject *resultobj; | |
19246 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19247 | wxString *arg2 = 0 ; | |
19248 | bool temp2 = False ; | |
19249 | PyObject * obj0 = 0 ; | |
19250 | PyObject * obj1 = 0 ; | |
19251 | char *kwnames[] = { | |
19252 | (char *) "self",(char *) "filename", NULL | |
19253 | }; | |
19254 | ||
19255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
19256 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19257 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19258 | { | |
19259 | arg2 = wxString_in_helper(obj1); | |
19260 | if (arg2 == NULL) SWIG_fail; | |
19261 | temp2 = True; | |
19262 | } | |
19263 | { | |
19264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19265 | (arg1)->SetFilename((wxString const &)*arg2); | |
19266 | ||
19267 | wxPyEndAllowThreads(__tstate); | |
19268 | if (PyErr_Occurred()) SWIG_fail; | |
19269 | } | |
19270 | Py_INCREF(Py_None); resultobj = Py_None; | |
19271 | { | |
19272 | if (temp2) | |
19273 | delete arg2; | |
19274 | } | |
19275 | return resultobj; | |
19276 | fail: | |
19277 | { | |
19278 | if (temp2) | |
19279 | delete arg2; | |
19280 | } | |
19281 | return NULL; | |
19282 | } | |
19283 | ||
19284 | ||
19285 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19286 | PyObject *resultobj; | |
19287 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19288 | wxString *arg2 = 0 ; | |
19289 | bool temp2 = False ; | |
19290 | PyObject * obj0 = 0 ; | |
19291 | PyObject * obj1 = 0 ; | |
19292 | char *kwnames[] = { | |
19293 | (char *) "self",(char *) "path", NULL | |
19294 | }; | |
19295 | ||
19296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
19297 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19298 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19299 | { | |
19300 | arg2 = wxString_in_helper(obj1); | |
19301 | if (arg2 == NULL) SWIG_fail; | |
19302 | temp2 = True; | |
19303 | } | |
19304 | { | |
19305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19306 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
19307 | ||
19308 | wxPyEndAllowThreads(__tstate); | |
19309 | if (PyErr_Occurred()) SWIG_fail; | |
19310 | } | |
19311 | Py_INCREF(Py_None); resultobj = Py_None; | |
19312 | { | |
19313 | if (temp2) | |
19314 | delete arg2; | |
19315 | } | |
19316 | return resultobj; | |
19317 | fail: | |
19318 | { | |
19319 | if (temp2) | |
19320 | delete arg2; | |
19321 | } | |
19322 | return NULL; | |
19323 | } | |
19324 | ||
19325 | ||
19326 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19327 | PyObject *resultobj; | |
19328 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19329 | double arg2 ; | |
19330 | PyObject * obj0 = 0 ; | |
19331 | PyObject * obj1 = 0 ; | |
19332 | char *kwnames[] = { | |
19333 | (char *) "self",(char *) "x", NULL | |
19334 | }; | |
19335 | ||
19336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; | |
19337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19339 | arg2 = (double) SWIG_AsDouble(obj1); | |
19340 | if (PyErr_Occurred()) SWIG_fail; | |
19341 | { | |
19342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19343 | (arg1)->SetPrinterScaleX(arg2); | |
19344 | ||
19345 | wxPyEndAllowThreads(__tstate); | |
19346 | if (PyErr_Occurred()) SWIG_fail; | |
19347 | } | |
19348 | Py_INCREF(Py_None); resultobj = Py_None; | |
19349 | return resultobj; | |
19350 | fail: | |
19351 | return NULL; | |
19352 | } | |
19353 | ||
19354 | ||
19355 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19356 | PyObject *resultobj; | |
19357 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19358 | double arg2 ; | |
19359 | PyObject * obj0 = 0 ; | |
19360 | PyObject * obj1 = 0 ; | |
19361 | char *kwnames[] = { | |
19362 | (char *) "self",(char *) "y", NULL | |
19363 | }; | |
19364 | ||
19365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; | |
19366 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19367 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19368 | arg2 = (double) SWIG_AsDouble(obj1); | |
19369 | if (PyErr_Occurred()) SWIG_fail; | |
19370 | { | |
19371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19372 | (arg1)->SetPrinterScaleY(arg2); | |
19373 | ||
19374 | wxPyEndAllowThreads(__tstate); | |
19375 | if (PyErr_Occurred()) SWIG_fail; | |
19376 | } | |
19377 | Py_INCREF(Py_None); resultobj = Py_None; | |
19378 | return resultobj; | |
19379 | fail: | |
19380 | return NULL; | |
19381 | } | |
19382 | ||
19383 | ||
19384 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19385 | PyObject *resultobj; | |
19386 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19387 | double arg2 ; | |
19388 | double arg3 ; | |
19389 | PyObject * obj0 = 0 ; | |
19390 | PyObject * obj1 = 0 ; | |
19391 | PyObject * obj2 = 0 ; | |
19392 | char *kwnames[] = { | |
19393 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19394 | }; | |
19395 | ||
19396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19397 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19399 | arg2 = (double) SWIG_AsDouble(obj1); | |
19400 | if (PyErr_Occurred()) SWIG_fail; | |
19401 | arg3 = (double) SWIG_AsDouble(obj2); | |
19402 | if (PyErr_Occurred()) SWIG_fail; | |
19403 | { | |
19404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19405 | (arg1)->SetPrinterScaling(arg2,arg3); | |
19406 | ||
19407 | wxPyEndAllowThreads(__tstate); | |
19408 | if (PyErr_Occurred()) SWIG_fail; | |
19409 | } | |
19410 | Py_INCREF(Py_None); resultobj = Py_None; | |
19411 | return resultobj; | |
19412 | fail: | |
19413 | return NULL; | |
19414 | } | |
19415 | ||
19416 | ||
19417 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19418 | PyObject *resultobj; | |
19419 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19420 | long arg2 ; | |
19421 | PyObject * obj0 = 0 ; | |
19422 | PyObject * obj1 = 0 ; | |
19423 | char *kwnames[] = { | |
19424 | (char *) "self",(char *) "x", NULL | |
19425 | }; | |
19426 | ||
19427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; | |
19428 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19429 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19430 | arg2 = (long) SWIG_AsLong(obj1); | |
19431 | if (PyErr_Occurred()) SWIG_fail; | |
19432 | { | |
19433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19434 | (arg1)->SetPrinterTranslateX(arg2); | |
19435 | ||
19436 | wxPyEndAllowThreads(__tstate); | |
19437 | if (PyErr_Occurred()) SWIG_fail; | |
19438 | } | |
19439 | Py_INCREF(Py_None); resultobj = Py_None; | |
19440 | return resultobj; | |
19441 | fail: | |
19442 | return NULL; | |
19443 | } | |
19444 | ||
19445 | ||
19446 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19447 | PyObject *resultobj; | |
19448 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19449 | long arg2 ; | |
19450 | PyObject * obj0 = 0 ; | |
19451 | PyObject * obj1 = 0 ; | |
19452 | char *kwnames[] = { | |
19453 | (char *) "self",(char *) "y", NULL | |
19454 | }; | |
19455 | ||
19456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; | |
19457 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19458 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19459 | arg2 = (long) SWIG_AsLong(obj1); | |
19460 | if (PyErr_Occurred()) SWIG_fail; | |
19461 | { | |
19462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19463 | (arg1)->SetPrinterTranslateY(arg2); | |
19464 | ||
19465 | wxPyEndAllowThreads(__tstate); | |
19466 | if (PyErr_Occurred()) SWIG_fail; | |
19467 | } | |
19468 | Py_INCREF(Py_None); resultobj = Py_None; | |
19469 | return resultobj; | |
19470 | fail: | |
19471 | return NULL; | |
19472 | } | |
19473 | ||
19474 | ||
19475 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19476 | PyObject *resultobj; | |
19477 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19478 | long arg2 ; | |
19479 | long arg3 ; | |
19480 | PyObject * obj0 = 0 ; | |
19481 | PyObject * obj1 = 0 ; | |
19482 | PyObject * obj2 = 0 ; | |
19483 | char *kwnames[] = { | |
19484 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19485 | }; | |
19486 | ||
19487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19488 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19489 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19490 | arg2 = (long) SWIG_AsLong(obj1); | |
19491 | if (PyErr_Occurred()) SWIG_fail; | |
19492 | arg3 = (long) SWIG_AsLong(obj2); | |
19493 | if (PyErr_Occurred()) SWIG_fail; | |
19494 | { | |
19495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19496 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
19497 | ||
19498 | wxPyEndAllowThreads(__tstate); | |
19499 | if (PyErr_Occurred()) SWIG_fail; | |
19500 | } | |
19501 | Py_INCREF(Py_None); resultobj = Py_None; | |
19502 | return resultobj; | |
19503 | fail: | |
19504 | return NULL; | |
19505 | } | |
19506 | ||
19507 | ||
19508 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19509 | PyObject *resultobj; | |
19510 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19511 | int arg2 ; | |
19512 | PyObject * obj0 = 0 ; | |
19513 | PyObject * obj1 = 0 ; | |
19514 | char *kwnames[] = { | |
19515 | (char *) "self",(char *) "printMode", NULL | |
19516 | }; | |
19517 | ||
19518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; | |
19519 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19520 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19521 | arg2 = (wxPrintMode) SWIG_AsInt(obj1); | |
19522 | if (PyErr_Occurred()) SWIG_fail; | |
19523 | { | |
19524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19525 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
19526 | ||
19527 | wxPyEndAllowThreads(__tstate); | |
19528 | if (PyErr_Occurred()) SWIG_fail; | |
19529 | } | |
19530 | Py_INCREF(Py_None); resultobj = Py_None; | |
19531 | return resultobj; | |
19532 | fail: | |
19533 | return NULL; | |
19534 | } | |
19535 | ||
19536 | ||
19537 | static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19538 | PyObject *resultobj; | |
19539 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19540 | wxOutputStream *result; | |
19541 | PyObject * obj0 = 0 ; | |
19542 | char *kwnames[] = { | |
19543 | (char *) "self", NULL | |
19544 | }; | |
19545 | ||
19546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail; | |
19547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19549 | { | |
19550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19551 | result = (wxOutputStream *)(arg1)->GetOutputStream(); | |
19552 | ||
19553 | wxPyEndAllowThreads(__tstate); | |
19554 | if (PyErr_Occurred()) SWIG_fail; | |
19555 | } | |
19556 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0); | |
19557 | return resultobj; | |
19558 | fail: | |
19559 | return NULL; | |
19560 | } | |
19561 | ||
19562 | ||
19563 | static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19564 | PyObject *resultobj; | |
19565 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19566 | wxOutputStream *arg2 = (wxOutputStream *) 0 ; | |
19567 | PyObject * obj0 = 0 ; | |
19568 | PyObject * obj1 = 0 ; | |
19569 | char *kwnames[] = { | |
19570 | (char *) "self",(char *) "outputstream", NULL | |
19571 | }; | |
19572 | ||
19573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail; | |
19574 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19575 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19576 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream, | |
19577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19578 | { | |
19579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19580 | (arg1)->SetOutputStream(arg2); | |
19581 | ||
19582 | wxPyEndAllowThreads(__tstate); | |
19583 | if (PyErr_Occurred()) SWIG_fail; | |
19584 | } | |
19585 | Py_INCREF(Py_None); resultobj = Py_None; | |
19586 | return resultobj; | |
19587 | fail: | |
19588 | return NULL; | |
19589 | } | |
19590 | ||
19591 | ||
19592 | static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) { | |
19593 | PyObject *obj; | |
19594 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19595 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
19596 | Py_INCREF(obj); | |
19597 | return Py_BuildValue((char *)""); | |
19598 | } | |
09c21d3b | 19599 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *self, PyObject *args) { |
d55e5bfc RD |
19600 | PyObject *resultobj; |
19601 | wxPageSetupDialogData *result; | |
d55e5bfc | 19602 | |
09c21d3b | 19603 | if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail; |
d55e5bfc RD |
19604 | { |
19605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19606 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
19607 | ||
19608 | wxPyEndAllowThreads(__tstate); | |
19609 | if (PyErr_Occurred()) SWIG_fail; | |
19610 | } | |
19611 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
19612 | return resultobj; | |
19613 | fail: | |
19614 | return NULL; | |
19615 | } | |
19616 | ||
19617 | ||
09c21d3b RD |
19618 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *self, PyObject *args) { |
19619 | PyObject *resultobj; | |
19620 | wxPageSetupDialogData *arg1 = 0 ; | |
19621 | wxPageSetupDialogData *result; | |
19622 | PyObject * obj0 = 0 ; | |
19623 | ||
19624 | if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail; | |
19625 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19626 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
19627 | SWIG_fail; | |
19628 | if (arg1 == NULL) { | |
19629 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
19630 | SWIG_fail; | |
19631 | } | |
19632 | { | |
19633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19634 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1); | |
19635 | ||
19636 | wxPyEndAllowThreads(__tstate); | |
19637 | if (PyErr_Occurred()) SWIG_fail; | |
19638 | } | |
19639 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
19640 | return resultobj; | |
19641 | fail: | |
19642 | return NULL; | |
19643 | } | |
19644 | ||
19645 | ||
19646 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) { | |
19647 | int argc; | |
19648 | PyObject *argv[2]; | |
19649 | int ii; | |
19650 | ||
19651 | argc = PyObject_Length(args); | |
19652 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
19653 | argv[ii] = PyTuple_GetItem(args,ii); | |
19654 | } | |
19655 | if (argc == 0) { | |
19656 | return _wrap_new_PageSetupDialogData__SWIG_0(self,args); | |
19657 | } | |
19658 | if (argc == 1) { | |
19659 | int _v; | |
19660 | { | |
19661 | void *ptr; | |
19662 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) { | |
19663 | _v = 0; | |
19664 | PyErr_Clear(); | |
19665 | } else { | |
19666 | _v = 1; | |
19667 | } | |
19668 | } | |
19669 | if (_v) { | |
19670 | return _wrap_new_PageSetupDialogData__SWIG_1(self,args); | |
19671 | } | |
19672 | } | |
19673 | ||
19674 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'"); | |
19675 | return NULL; | |
19676 | } | |
19677 | ||
19678 | ||
d55e5bfc RD |
19679 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { |
19680 | PyObject *resultobj; | |
19681 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19682 | PyObject * obj0 = 0 ; | |
19683 | char *kwnames[] = { | |
19684 | (char *) "self", NULL | |
19685 | }; | |
19686 | ||
19687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
19688 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19690 | { | |
19691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19692 | delete arg1; | |
19693 | ||
19694 | wxPyEndAllowThreads(__tstate); | |
19695 | if (PyErr_Occurred()) SWIG_fail; | |
19696 | } | |
19697 | Py_INCREF(Py_None); resultobj = Py_None; | |
19698 | return resultobj; | |
19699 | fail: | |
19700 | return NULL; | |
19701 | } | |
19702 | ||
19703 | ||
19704 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19705 | PyObject *resultobj; | |
19706 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19707 | bool arg2 ; | |
19708 | PyObject * obj0 = 0 ; | |
19709 | PyObject * obj1 = 0 ; | |
19710 | char *kwnames[] = { | |
19711 | (char *) "self",(char *) "flag", NULL | |
19712 | }; | |
19713 | ||
19714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
19715 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19717 | arg2 = (bool) SWIG_AsBool(obj1); | |
19718 | if (PyErr_Occurred()) SWIG_fail; | |
19719 | { | |
19720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19721 | (arg1)->EnableHelp(arg2); | |
19722 | ||
19723 | wxPyEndAllowThreads(__tstate); | |
19724 | if (PyErr_Occurred()) SWIG_fail; | |
19725 | } | |
19726 | Py_INCREF(Py_None); resultobj = Py_None; | |
19727 | return resultobj; | |
19728 | fail: | |
19729 | return NULL; | |
19730 | } | |
19731 | ||
19732 | ||
19733 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19734 | PyObject *resultobj; | |
19735 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19736 | bool arg2 ; | |
19737 | PyObject * obj0 = 0 ; | |
19738 | PyObject * obj1 = 0 ; | |
19739 | char *kwnames[] = { | |
19740 | (char *) "self",(char *) "flag", NULL | |
19741 | }; | |
19742 | ||
19743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
19744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19746 | arg2 = (bool) SWIG_AsBool(obj1); | |
19747 | if (PyErr_Occurred()) SWIG_fail; | |
19748 | { | |
19749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19750 | (arg1)->EnableMargins(arg2); | |
19751 | ||
19752 | wxPyEndAllowThreads(__tstate); | |
19753 | if (PyErr_Occurred()) SWIG_fail; | |
19754 | } | |
19755 | Py_INCREF(Py_None); resultobj = Py_None; | |
19756 | return resultobj; | |
19757 | fail: | |
19758 | return NULL; | |
19759 | } | |
19760 | ||
19761 | ||
19762 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19763 | PyObject *resultobj; | |
19764 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19765 | bool arg2 ; | |
19766 | PyObject * obj0 = 0 ; | |
19767 | PyObject * obj1 = 0 ; | |
19768 | char *kwnames[] = { | |
19769 | (char *) "self",(char *) "flag", NULL | |
19770 | }; | |
19771 | ||
19772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
19773 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19774 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19775 | arg2 = (bool) SWIG_AsBool(obj1); | |
19776 | if (PyErr_Occurred()) SWIG_fail; | |
19777 | { | |
19778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19779 | (arg1)->EnableOrientation(arg2); | |
19780 | ||
19781 | wxPyEndAllowThreads(__tstate); | |
19782 | if (PyErr_Occurred()) SWIG_fail; | |
19783 | } | |
19784 | Py_INCREF(Py_None); resultobj = Py_None; | |
19785 | return resultobj; | |
19786 | fail: | |
19787 | return NULL; | |
19788 | } | |
19789 | ||
19790 | ||
19791 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19792 | PyObject *resultobj; | |
19793 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19794 | bool arg2 ; | |
19795 | PyObject * obj0 = 0 ; | |
19796 | PyObject * obj1 = 0 ; | |
19797 | char *kwnames[] = { | |
19798 | (char *) "self",(char *) "flag", NULL | |
19799 | }; | |
19800 | ||
19801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
19802 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19803 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19804 | arg2 = (bool) SWIG_AsBool(obj1); | |
19805 | if (PyErr_Occurred()) SWIG_fail; | |
19806 | { | |
19807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19808 | (arg1)->EnablePaper(arg2); | |
19809 | ||
19810 | wxPyEndAllowThreads(__tstate); | |
19811 | if (PyErr_Occurred()) SWIG_fail; | |
19812 | } | |
19813 | Py_INCREF(Py_None); resultobj = Py_None; | |
19814 | return resultobj; | |
19815 | fail: | |
19816 | return NULL; | |
19817 | } | |
19818 | ||
19819 | ||
19820 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19821 | PyObject *resultobj; | |
19822 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19823 | bool arg2 ; | |
19824 | PyObject * obj0 = 0 ; | |
19825 | PyObject * obj1 = 0 ; | |
19826 | char *kwnames[] = { | |
19827 | (char *) "self",(char *) "flag", NULL | |
19828 | }; | |
19829 | ||
19830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
19831 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19832 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19833 | arg2 = (bool) SWIG_AsBool(obj1); | |
19834 | if (PyErr_Occurred()) SWIG_fail; | |
19835 | { | |
19836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19837 | (arg1)->EnablePrinter(arg2); | |
19838 | ||
19839 | wxPyEndAllowThreads(__tstate); | |
19840 | if (PyErr_Occurred()) SWIG_fail; | |
19841 | } | |
19842 | Py_INCREF(Py_None); resultobj = Py_None; | |
19843 | return resultobj; | |
19844 | fail: | |
19845 | return NULL; | |
19846 | } | |
19847 | ||
19848 | ||
19849 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19850 | PyObject *resultobj; | |
19851 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19852 | bool result; | |
19853 | PyObject * obj0 = 0 ; | |
19854 | char *kwnames[] = { | |
19855 | (char *) "self", NULL | |
19856 | }; | |
19857 | ||
19858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
19859 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19860 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19861 | { | |
19862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19863 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
19864 | ||
19865 | wxPyEndAllowThreads(__tstate); | |
19866 | if (PyErr_Occurred()) SWIG_fail; | |
19867 | } | |
19868 | { | |
19869 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19870 | } | |
19871 | return resultobj; | |
19872 | fail: | |
19873 | return NULL; | |
19874 | } | |
19875 | ||
19876 | ||
19877 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19878 | PyObject *resultobj; | |
19879 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19880 | bool result; | |
19881 | PyObject * obj0 = 0 ; | |
19882 | char *kwnames[] = { | |
19883 | (char *) "self", NULL | |
19884 | }; | |
19885 | ||
19886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
19887 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19888 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19889 | { | |
19890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19891 | result = (bool)(arg1)->GetEnableMargins(); | |
19892 | ||
19893 | wxPyEndAllowThreads(__tstate); | |
19894 | if (PyErr_Occurred()) SWIG_fail; | |
19895 | } | |
19896 | { | |
19897 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19898 | } | |
19899 | return resultobj; | |
19900 | fail: | |
19901 | return NULL; | |
19902 | } | |
19903 | ||
19904 | ||
19905 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19906 | PyObject *resultobj; | |
19907 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19908 | bool result; | |
19909 | PyObject * obj0 = 0 ; | |
19910 | char *kwnames[] = { | |
19911 | (char *) "self", NULL | |
19912 | }; | |
19913 | ||
19914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
19915 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19916 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19917 | { | |
19918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19919 | result = (bool)(arg1)->GetEnableOrientation(); | |
19920 | ||
19921 | wxPyEndAllowThreads(__tstate); | |
19922 | if (PyErr_Occurred()) SWIG_fail; | |
19923 | } | |
19924 | { | |
19925 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19926 | } | |
19927 | return resultobj; | |
19928 | fail: | |
19929 | return NULL; | |
19930 | } | |
19931 | ||
19932 | ||
19933 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19934 | PyObject *resultobj; | |
19935 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19936 | bool result; | |
19937 | PyObject * obj0 = 0 ; | |
19938 | char *kwnames[] = { | |
19939 | (char *) "self", NULL | |
19940 | }; | |
19941 | ||
19942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
19943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19945 | { | |
19946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19947 | result = (bool)(arg1)->GetEnablePaper(); | |
19948 | ||
19949 | wxPyEndAllowThreads(__tstate); | |
19950 | if (PyErr_Occurred()) SWIG_fail; | |
19951 | } | |
19952 | { | |
19953 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19954 | } | |
19955 | return resultobj; | |
19956 | fail: | |
19957 | return NULL; | |
19958 | } | |
19959 | ||
19960 | ||
19961 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19962 | PyObject *resultobj; | |
19963 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19964 | bool result; | |
19965 | PyObject * obj0 = 0 ; | |
19966 | char *kwnames[] = { | |
19967 | (char *) "self", NULL | |
19968 | }; | |
19969 | ||
19970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
19971 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19972 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19973 | { | |
19974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19975 | result = (bool)(arg1)->GetEnablePrinter(); | |
19976 | ||
19977 | wxPyEndAllowThreads(__tstate); | |
19978 | if (PyErr_Occurred()) SWIG_fail; | |
19979 | } | |
19980 | { | |
19981 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19982 | } | |
19983 | return resultobj; | |
19984 | fail: | |
19985 | return NULL; | |
19986 | } | |
19987 | ||
19988 | ||
19989 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19990 | PyObject *resultobj; | |
19991 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19992 | bool result; | |
19993 | PyObject * obj0 = 0 ; | |
19994 | char *kwnames[] = { | |
19995 | (char *) "self", NULL | |
19996 | }; | |
19997 | ||
19998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
19999 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20000 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20001 | { | |
20002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20003 | result = (bool)(arg1)->GetEnableHelp(); | |
20004 | ||
20005 | wxPyEndAllowThreads(__tstate); | |
20006 | if (PyErr_Occurred()) SWIG_fail; | |
20007 | } | |
20008 | { | |
20009 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20010 | } | |
20011 | return resultobj; | |
20012 | fail: | |
20013 | return NULL; | |
20014 | } | |
20015 | ||
20016 | ||
20017 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20018 | PyObject *resultobj; | |
20019 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20020 | bool result; | |
20021 | PyObject * obj0 = 0 ; | |
20022 | char *kwnames[] = { | |
20023 | (char *) "self", NULL | |
20024 | }; | |
20025 | ||
20026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
20027 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20028 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20029 | { | |
20030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20031 | result = (bool)(arg1)->GetDefaultInfo(); | |
20032 | ||
20033 | wxPyEndAllowThreads(__tstate); | |
20034 | if (PyErr_Occurred()) SWIG_fail; | |
20035 | } | |
20036 | { | |
20037 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20038 | } | |
20039 | return resultobj; | |
20040 | fail: | |
20041 | return NULL; | |
20042 | } | |
20043 | ||
20044 | ||
20045 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20046 | PyObject *resultobj; | |
20047 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20048 | wxPoint result; | |
20049 | PyObject * obj0 = 0 ; | |
20050 | char *kwnames[] = { | |
20051 | (char *) "self", NULL | |
20052 | }; | |
20053 | ||
20054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
20055 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20056 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20057 | { | |
20058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20059 | result = (arg1)->GetMarginTopLeft(); | |
20060 | ||
20061 | wxPyEndAllowThreads(__tstate); | |
20062 | if (PyErr_Occurred()) SWIG_fail; | |
20063 | } | |
20064 | { | |
20065 | wxPoint * resultptr; | |
20066 | resultptr = new wxPoint((wxPoint &) result); | |
20067 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
20068 | } | |
20069 | return resultobj; | |
20070 | fail: | |
20071 | return NULL; | |
20072 | } | |
20073 | ||
20074 | ||
20075 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20076 | PyObject *resultobj; | |
20077 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20078 | wxPoint result; | |
20079 | PyObject * obj0 = 0 ; | |
20080 | char *kwnames[] = { | |
20081 | (char *) "self", NULL | |
20082 | }; | |
20083 | ||
20084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
20085 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20086 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20087 | { | |
20088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20089 | result = (arg1)->GetMarginBottomRight(); | |
20090 | ||
20091 | wxPyEndAllowThreads(__tstate); | |
20092 | if (PyErr_Occurred()) SWIG_fail; | |
20093 | } | |
20094 | { | |
20095 | wxPoint * resultptr; | |
20096 | resultptr = new wxPoint((wxPoint &) result); | |
20097 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
20098 | } | |
20099 | return resultobj; | |
20100 | fail: | |
20101 | return NULL; | |
20102 | } | |
20103 | ||
20104 | ||
20105 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20106 | PyObject *resultobj; | |
20107 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20108 | wxPoint result; | |
20109 | PyObject * obj0 = 0 ; | |
20110 | char *kwnames[] = { | |
20111 | (char *) "self", NULL | |
20112 | }; | |
20113 | ||
20114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
20115 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20116 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20117 | { | |
20118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20119 | result = (arg1)->GetMinMarginTopLeft(); | |
20120 | ||
20121 | wxPyEndAllowThreads(__tstate); | |
20122 | if (PyErr_Occurred()) SWIG_fail; | |
20123 | } | |
20124 | { | |
20125 | wxPoint * resultptr; | |
20126 | resultptr = new wxPoint((wxPoint &) result); | |
20127 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
20128 | } | |
20129 | return resultobj; | |
20130 | fail: | |
20131 | return NULL; | |
20132 | } | |
20133 | ||
20134 | ||
20135 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20136 | PyObject *resultobj; | |
20137 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20138 | wxPoint result; | |
20139 | PyObject * obj0 = 0 ; | |
20140 | char *kwnames[] = { | |
20141 | (char *) "self", NULL | |
20142 | }; | |
20143 | ||
20144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
20145 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20146 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20147 | { | |
20148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20149 | result = (arg1)->GetMinMarginBottomRight(); | |
20150 | ||
20151 | wxPyEndAllowThreads(__tstate); | |
20152 | if (PyErr_Occurred()) SWIG_fail; | |
20153 | } | |
20154 | { | |
20155 | wxPoint * resultptr; | |
20156 | resultptr = new wxPoint((wxPoint &) result); | |
20157 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
20158 | } | |
20159 | return resultobj; | |
20160 | fail: | |
20161 | return NULL; | |
20162 | } | |
20163 | ||
20164 | ||
20165 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20166 | PyObject *resultobj; | |
20167 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20168 | int result; | |
20169 | PyObject * obj0 = 0 ; | |
20170 | char *kwnames[] = { | |
20171 | (char *) "self", NULL | |
20172 | }; | |
20173 | ||
20174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
20175 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20177 | { | |
20178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20179 | result = (int)(arg1)->GetPaperId(); | |
20180 | ||
20181 | wxPyEndAllowThreads(__tstate); | |
20182 | if (PyErr_Occurred()) SWIG_fail; | |
20183 | } | |
20184 | resultobj = SWIG_FromInt((int)result); | |
20185 | return resultobj; | |
20186 | fail: | |
20187 | return NULL; | |
20188 | } | |
20189 | ||
20190 | ||
20191 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20192 | PyObject *resultobj; | |
20193 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20194 | wxSize result; | |
20195 | PyObject * obj0 = 0 ; | |
20196 | char *kwnames[] = { | |
20197 | (char *) "self", NULL | |
20198 | }; | |
20199 | ||
20200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
20201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20203 | { | |
20204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20205 | result = (arg1)->GetPaperSize(); | |
20206 | ||
20207 | wxPyEndAllowThreads(__tstate); | |
20208 | if (PyErr_Occurred()) SWIG_fail; | |
20209 | } | |
20210 | { | |
20211 | wxSize * resultptr; | |
20212 | resultptr = new wxSize((wxSize &) result); | |
20213 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
20214 | } | |
20215 | return resultobj; | |
20216 | fail: | |
20217 | return NULL; | |
20218 | } | |
20219 | ||
20220 | ||
20221 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20222 | PyObject *resultobj; | |
20223 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20224 | wxPrintData *result; | |
20225 | PyObject * obj0 = 0 ; | |
20226 | char *kwnames[] = { | |
20227 | (char *) "self", NULL | |
20228 | }; | |
20229 | ||
20230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
20231 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20232 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20233 | { | |
20234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20235 | { | |
20236 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
20237 | result = (wxPrintData *) &_result_ref; | |
20238 | } | |
20239 | ||
20240 | wxPyEndAllowThreads(__tstate); | |
20241 | if (PyErr_Occurred()) SWIG_fail; | |
20242 | } | |
20243 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); | |
20244 | return resultobj; | |
20245 | fail: | |
20246 | return NULL; | |
20247 | } | |
20248 | ||
20249 | ||
20250 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20251 | PyObject *resultobj; | |
20252 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20253 | bool result; | |
20254 | PyObject * obj0 = 0 ; | |
20255 | char *kwnames[] = { | |
20256 | (char *) "self", NULL | |
20257 | }; | |
20258 | ||
20259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
20260 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20261 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20262 | { | |
20263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20264 | result = (bool)(arg1)->Ok(); | |
20265 | ||
20266 | wxPyEndAllowThreads(__tstate); | |
20267 | if (PyErr_Occurred()) SWIG_fail; | |
20268 | } | |
20269 | { | |
20270 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20271 | } | |
20272 | return resultobj; | |
20273 | fail: | |
20274 | return NULL; | |
20275 | } | |
20276 | ||
20277 | ||
20278 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20279 | PyObject *resultobj; | |
20280 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20281 | bool arg2 ; | |
20282 | PyObject * obj0 = 0 ; | |
20283 | PyObject * obj1 = 0 ; | |
20284 | char *kwnames[] = { | |
20285 | (char *) "self",(char *) "flag", NULL | |
20286 | }; | |
20287 | ||
20288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
20289 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20290 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20291 | arg2 = (bool) SWIG_AsBool(obj1); | |
20292 | if (PyErr_Occurred()) SWIG_fail; | |
20293 | { | |
20294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20295 | (arg1)->SetDefaultInfo(arg2); | |
20296 | ||
20297 | wxPyEndAllowThreads(__tstate); | |
20298 | if (PyErr_Occurred()) SWIG_fail; | |
20299 | } | |
20300 | Py_INCREF(Py_None); resultobj = Py_None; | |
20301 | return resultobj; | |
20302 | fail: | |
20303 | return NULL; | |
20304 | } | |
20305 | ||
20306 | ||
20307 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20308 | PyObject *resultobj; | |
20309 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20310 | bool arg2 ; | |
20311 | PyObject * obj0 = 0 ; | |
20312 | PyObject * obj1 = 0 ; | |
20313 | char *kwnames[] = { | |
20314 | (char *) "self",(char *) "flag", NULL | |
20315 | }; | |
20316 | ||
20317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
20318 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20319 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20320 | arg2 = (bool) SWIG_AsBool(obj1); | |
20321 | if (PyErr_Occurred()) SWIG_fail; | |
20322 | { | |
20323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20324 | (arg1)->SetDefaultMinMargins(arg2); | |
20325 | ||
20326 | wxPyEndAllowThreads(__tstate); | |
20327 | if (PyErr_Occurred()) SWIG_fail; | |
20328 | } | |
20329 | Py_INCREF(Py_None); resultobj = Py_None; | |
20330 | return resultobj; | |
20331 | fail: | |
20332 | return NULL; | |
20333 | } | |
20334 | ||
20335 | ||
20336 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20337 | PyObject *resultobj; | |
20338 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20339 | wxPoint *arg2 = 0 ; | |
20340 | wxPoint temp2 ; | |
20341 | PyObject * obj0 = 0 ; | |
20342 | PyObject * obj1 = 0 ; | |
20343 | char *kwnames[] = { | |
20344 | (char *) "self",(char *) "pt", NULL | |
20345 | }; | |
20346 | ||
20347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
20348 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20349 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20350 | { | |
20351 | arg2 = &temp2; | |
20352 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20353 | } | |
20354 | { | |
20355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20356 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
20357 | ||
20358 | wxPyEndAllowThreads(__tstate); | |
20359 | if (PyErr_Occurred()) SWIG_fail; | |
20360 | } | |
20361 | Py_INCREF(Py_None); resultobj = Py_None; | |
20362 | return resultobj; | |
20363 | fail: | |
20364 | return NULL; | |
20365 | } | |
20366 | ||
20367 | ||
20368 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20369 | PyObject *resultobj; | |
20370 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20371 | wxPoint *arg2 = 0 ; | |
20372 | wxPoint temp2 ; | |
20373 | PyObject * obj0 = 0 ; | |
20374 | PyObject * obj1 = 0 ; | |
20375 | char *kwnames[] = { | |
20376 | (char *) "self",(char *) "pt", NULL | |
20377 | }; | |
20378 | ||
20379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
20380 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20382 | { | |
20383 | arg2 = &temp2; | |
20384 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20385 | } | |
20386 | { | |
20387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20388 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
20389 | ||
20390 | wxPyEndAllowThreads(__tstate); | |
20391 | if (PyErr_Occurred()) SWIG_fail; | |
20392 | } | |
20393 | Py_INCREF(Py_None); resultobj = Py_None; | |
20394 | return resultobj; | |
20395 | fail: | |
20396 | return NULL; | |
20397 | } | |
20398 | ||
20399 | ||
20400 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20401 | PyObject *resultobj; | |
20402 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20403 | wxPoint *arg2 = 0 ; | |
20404 | wxPoint temp2 ; | |
20405 | PyObject * obj0 = 0 ; | |
20406 | PyObject * obj1 = 0 ; | |
20407 | char *kwnames[] = { | |
20408 | (char *) "self",(char *) "pt", NULL | |
20409 | }; | |
20410 | ||
20411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
20412 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20413 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20414 | { | |
20415 | arg2 = &temp2; | |
20416 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20417 | } | |
20418 | { | |
20419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20420 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
20421 | ||
20422 | wxPyEndAllowThreads(__tstate); | |
20423 | if (PyErr_Occurred()) SWIG_fail; | |
20424 | } | |
20425 | Py_INCREF(Py_None); resultobj = Py_None; | |
20426 | return resultobj; | |
20427 | fail: | |
20428 | return NULL; | |
20429 | } | |
20430 | ||
20431 | ||
20432 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20433 | PyObject *resultobj; | |
20434 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20435 | wxPoint *arg2 = 0 ; | |
20436 | wxPoint temp2 ; | |
20437 | PyObject * obj0 = 0 ; | |
20438 | PyObject * obj1 = 0 ; | |
20439 | char *kwnames[] = { | |
20440 | (char *) "self",(char *) "pt", NULL | |
20441 | }; | |
20442 | ||
20443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
20444 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20445 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20446 | { | |
20447 | arg2 = &temp2; | |
20448 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20449 | } | |
20450 | { | |
20451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20452 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
20453 | ||
20454 | wxPyEndAllowThreads(__tstate); | |
20455 | if (PyErr_Occurred()) SWIG_fail; | |
20456 | } | |
20457 | Py_INCREF(Py_None); resultobj = Py_None; | |
20458 | return resultobj; | |
20459 | fail: | |
20460 | return NULL; | |
20461 | } | |
20462 | ||
20463 | ||
20464 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20465 | PyObject *resultobj; | |
20466 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20467 | int arg2 ; | |
20468 | PyObject * obj0 = 0 ; | |
20469 | PyObject * obj1 = 0 ; | |
20470 | char *kwnames[] = { | |
20471 | (char *) "self",(char *) "id", NULL | |
20472 | }; | |
20473 | ||
20474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; | |
20475 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20476 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20477 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
20478 | if (PyErr_Occurred()) SWIG_fail; | |
20479 | { | |
20480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20481 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
20482 | ||
20483 | wxPyEndAllowThreads(__tstate); | |
20484 | if (PyErr_Occurred()) SWIG_fail; | |
20485 | } | |
20486 | Py_INCREF(Py_None); resultobj = Py_None; | |
20487 | return resultobj; | |
20488 | fail: | |
20489 | return NULL; | |
20490 | } | |
20491 | ||
20492 | ||
20493 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20494 | PyObject *resultobj; | |
20495 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20496 | wxSize *arg2 = 0 ; | |
20497 | wxSize temp2 ; | |
20498 | PyObject * obj0 = 0 ; | |
20499 | PyObject * obj1 = 0 ; | |
20500 | char *kwnames[] = { | |
20501 | (char *) "self",(char *) "size", NULL | |
20502 | }; | |
20503 | ||
20504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
20505 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20506 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20507 | { | |
20508 | arg2 = &temp2; | |
20509 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
20510 | } | |
20511 | { | |
20512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20513 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
20514 | ||
20515 | wxPyEndAllowThreads(__tstate); | |
20516 | if (PyErr_Occurred()) SWIG_fail; | |
20517 | } | |
20518 | Py_INCREF(Py_None); resultobj = Py_None; | |
20519 | return resultobj; | |
20520 | fail: | |
20521 | return NULL; | |
20522 | } | |
20523 | ||
20524 | ||
20525 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20526 | PyObject *resultobj; | |
20527 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20528 | wxPrintData *arg2 = 0 ; | |
20529 | PyObject * obj0 = 0 ; | |
20530 | PyObject * obj1 = 0 ; | |
20531 | char *kwnames[] = { | |
20532 | (char *) "self",(char *) "printData", NULL | |
20533 | }; | |
20534 | ||
20535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
20536 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20537 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20538 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
20539 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
20540 | SWIG_fail; | |
20541 | if (arg2 == NULL) { | |
20542 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
20543 | SWIG_fail; | |
20544 | } | |
20545 | { | |
20546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20547 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
20548 | ||
20549 | wxPyEndAllowThreads(__tstate); | |
20550 | if (PyErr_Occurred()) SWIG_fail; | |
20551 | } | |
20552 | Py_INCREF(Py_None); resultobj = Py_None; | |
20553 | return resultobj; | |
20554 | fail: | |
20555 | return NULL; | |
20556 | } | |
20557 | ||
20558 | ||
20559 | static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) { | |
20560 | PyObject *obj; | |
20561 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20562 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
20563 | Py_INCREF(obj); | |
20564 | return Py_BuildValue((char *)""); | |
20565 | } | |
20566 | static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20567 | PyObject *resultobj; | |
20568 | wxWindow *arg1 = (wxWindow *) 0 ; | |
20569 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
20570 | wxPageSetupDialog *result; | |
20571 | PyObject * obj0 = 0 ; | |
20572 | PyObject * obj1 = 0 ; | |
20573 | char *kwnames[] = { | |
20574 | (char *) "parent",(char *) "data", NULL | |
20575 | }; | |
20576 | ||
20577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
20578 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
20579 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20580 | if (obj1) { | |
20581 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData, | |
20582 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20583 | } | |
20584 | { | |
0439c23b | 20585 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
20586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
20587 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
20588 | ||
20589 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 20590 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
20591 | } |
20592 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); | |
20593 | return resultobj; | |
20594 | fail: | |
20595 | return NULL; | |
20596 | } | |
20597 | ||
20598 | ||
20599 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20600 | PyObject *resultobj; | |
20601 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
20602 | wxPageSetupDialogData *result; | |
20603 | PyObject * obj0 = 0 ; | |
20604 | char *kwnames[] = { | |
20605 | (char *) "self", NULL | |
20606 | }; | |
20607 | ||
20608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
20609 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, | |
20610 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20611 | { | |
20612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20613 | { | |
20614 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
20615 | result = (wxPageSetupDialogData *) &_result_ref; | |
20616 | } | |
20617 | ||
20618 | wxPyEndAllowThreads(__tstate); | |
20619 | if (PyErr_Occurred()) SWIG_fail; | |
20620 | } | |
20621 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
20622 | return resultobj; | |
20623 | fail: | |
20624 | return NULL; | |
20625 | } | |
20626 | ||
20627 | ||
20628 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20629 | PyObject *resultobj; | |
20630 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
20631 | int result; | |
20632 | PyObject * obj0 = 0 ; | |
20633 | char *kwnames[] = { | |
20634 | (char *) "self", NULL | |
20635 | }; | |
20636 | ||
20637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
20638 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, | |
20639 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20640 | { | |
20641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20642 | result = (int)(arg1)->ShowModal(); | |
20643 | ||
20644 | wxPyEndAllowThreads(__tstate); | |
20645 | if (PyErr_Occurred()) SWIG_fail; | |
20646 | } | |
20647 | resultobj = SWIG_FromInt((int)result); | |
20648 | return resultobj; | |
20649 | fail: | |
20650 | return NULL; | |
20651 | } | |
20652 | ||
20653 | ||
20654 | static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) { | |
20655 | PyObject *obj; | |
20656 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20657 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
20658 | Py_INCREF(obj); | |
20659 | return Py_BuildValue((char *)""); | |
20660 | } | |
20661 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) { | |
20662 | PyObject *resultobj; | |
20663 | wxPrintDialogData *result; | |
20664 | ||
20665 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; | |
20666 | { | |
20667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20668 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
20669 | ||
20670 | wxPyEndAllowThreads(__tstate); | |
20671 | if (PyErr_Occurred()) SWIG_fail; | |
20672 | } | |
20673 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
20674 | return resultobj; | |
20675 | fail: | |
20676 | return NULL; | |
20677 | } | |
20678 | ||
20679 | ||
20680 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) { | |
20681 | PyObject *resultobj; | |
20682 | wxPrintData *arg1 = 0 ; | |
20683 | wxPrintDialogData *result; | |
20684 | PyObject * obj0 = 0 ; | |
20685 | ||
20686 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
20687 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
20688 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
20689 | SWIG_fail; | |
20690 | if (arg1 == NULL) { | |
20691 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
20692 | SWIG_fail; | |
20693 | } | |
20694 | { | |
20695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20696 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
20697 | ||
20698 | wxPyEndAllowThreads(__tstate); | |
20699 | if (PyErr_Occurred()) SWIG_fail; | |
20700 | } | |
20701 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
20702 | return resultobj; | |
20703 | fail: | |
20704 | return NULL; | |
20705 | } | |
20706 | ||
20707 | ||
20708 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { | |
20709 | int argc; | |
20710 | PyObject *argv[2]; | |
20711 | int ii; | |
20712 | ||
20713 | argc = PyObject_Length(args); | |
20714 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
20715 | argv[ii] = PyTuple_GetItem(args,ii); | |
20716 | } | |
20717 | if (argc == 0) { | |
20718 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
20719 | } | |
20720 | if (argc == 1) { | |
20721 | int _v; | |
20722 | { | |
20723 | void *ptr; | |
20724 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
20725 | _v = 0; | |
20726 | PyErr_Clear(); | |
20727 | } else { | |
20728 | _v = 1; | |
20729 | } | |
20730 | } | |
20731 | if (_v) { | |
20732 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
20733 | } | |
20734 | } | |
20735 | ||
20736 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'"); | |
20737 | return NULL; | |
20738 | } | |
20739 | ||
20740 | ||
20741 | static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20742 | PyObject *resultobj; | |
20743 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20744 | PyObject * obj0 = 0 ; | |
20745 | char *kwnames[] = { | |
20746 | (char *) "self", NULL | |
20747 | }; | |
20748 | ||
20749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
20750 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
20751 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20752 | { | |
20753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20754 | delete arg1; | |
20755 | ||
20756 | wxPyEndAllowThreads(__tstate); | |
20757 | if (PyErr_Occurred()) SWIG_fail; | |
20758 | } | |
20759 | Py_INCREF(Py_None); resultobj = Py_None; | |
20760 | return resultobj; | |
20761 | fail: | |
20762 | return NULL; | |
20763 | } | |
20764 | ||
20765 | ||
20766 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20767 | PyObject *resultobj; | |
20768 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20769 | int result; | |
20770 | PyObject * obj0 = 0 ; | |
20771 | char *kwnames[] = { | |
20772 | (char *) "self", NULL | |
20773 | }; | |
20774 | ||
20775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
20776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
20777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20778 | { | |
20779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20780 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
20781 | ||
20782 | wxPyEndAllowThreads(__tstate); | |
20783 | if (PyErr_Occurred()) SWIG_fail; | |
20784 | } | |
20785 | resultobj = SWIG_FromInt((int)result); | |
20786 | return resultobj; | |
20787 | fail: | |
20788 | return NULL; | |
20789 | } | |
20790 | ||
20791 | ||
20792 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20793 | PyObject *resultobj; | |
20794 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20795 | int result; | |
20796 | PyObject * obj0 = 0 ; | |
20797 | char *kwnames[] = { | |
20798 | (char *) "self", NULL | |
20799 | }; | |
20800 | ||
20801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
20802 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
20803 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20804 | { | |
20805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20806 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
20807 | ||
20808 | wxPyEndAllowThreads(__tstate); | |
20809 | if (PyErr_Occurred()) SWIG_fail; | |
20810 | } | |
20811 | resultobj = SWIG_FromInt((int)result); | |
20812 | return resultobj; | |
20813 | fail: | |
20814 | return NULL; | |
20815 | } | |
20816 | ||
20817 | ||
20818 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20819 | PyObject *resultobj; | |
20820 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20821 | int result; | |
20822 | PyObject * obj0 = 0 ; | |
20823 | char *kwnames[] = { | |
20824 | (char *) "self", NULL | |
20825 | }; | |
20826 | ||
20827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
20828 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
20829 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20830 | { | |
20831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20832 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
20833 | ||
20834 | wxPyEndAllowThreads(__tstate); | |
20835 | if (PyErr_Occurred()) SWIG_fail; | |
20836 | } | |
20837 | resultobj = SWIG_FromInt((int)result); | |
20838 | return resultobj; | |
20839 | fail: | |
20840 | return NULL; | |
20841 | } | |
20842 | ||
20843 | ||
20844 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20845 | PyObject *resultobj; | |
20846 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20847 | int result; | |
20848 | PyObject * obj0 = 0 ; | |
20849 | char *kwnames[] = { | |
20850 | (char *) "self", NULL | |
20851 | }; | |
20852 | ||
20853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
20854 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
20855 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20856 | { | |
20857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20858 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
20859 | ||
20860 | wxPyEndAllowThreads(__tstate); | |
20861 | if (PyErr_Occurred()) SWIG_fail; | |
20862 | } | |
20863 | resultobj = SWIG_FromInt((int)result); | |
20864 | return resultobj; | |
20865 | fail: | |
20866 | return NULL; | |
20867 | } | |
20868 | ||
20869 | ||
20870 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20871 | PyObject *resultobj; | |
20872 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20873 | int result; | |
20874 | PyObject * obj0 = 0 ; | |
20875 | char *kwnames[] = { | |
20876 | (char *) "self", NULL | |
20877 | }; | |
20878 | ||
20879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
20880 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
20881 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20882 | { | |
20883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20884 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
20885 | ||
20886 | wxPyEndAllowThreads(__tstate); | |
20887 | if (PyErr_Occurred()) SWIG_fail; | |
20888 | } | |
20889 | resultobj = SWIG_FromInt((int)result); | |
20890 | return resultobj; | |
20891 | fail: | |
20892 | return NULL; | |
20893 | } | |
20894 | ||
20895 | ||
20896 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20897 | PyObject *resultobj; | |
20898 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20899 | bool result; | |
20900 | PyObject * obj0 = 0 ; | |
20901 | char *kwnames[] = { | |
20902 | (char *) "self", NULL | |
20903 | }; | |
20904 | ||
20905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
20906 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
20907 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20908 | { | |
20909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20910 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
20911 | ||
20912 | wxPyEndAllowThreads(__tstate); | |
20913 | if (PyErr_Occurred()) SWIG_fail; | |
20914 | } | |
20915 | { | |
20916 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20917 | } | |
20918 | return resultobj; | |
20919 | fail: | |
20920 | return NULL; | |
20921 | } | |
20922 | ||
20923 | ||
20924 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20925 | PyObject *resultobj; | |
20926 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20927 | bool result; | |
20928 | PyObject * obj0 = 0 ; | |
20929 | char *kwnames[] = { | |
20930 | (char *) "self", NULL | |
20931 | }; | |
20932 | ||
20933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
20934 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
20935 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20936 | { | |
20937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20938 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
20939 | ||
20940 | wxPyEndAllowThreads(__tstate); | |
20941 | if (PyErr_Occurred()) SWIG_fail; | |
20942 | } | |
20943 | { | |
20944 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20945 | } | |
20946 | return resultobj; | |
20947 | fail: | |
20948 | return NULL; | |
20949 | } | |
20950 | ||
20951 | ||
20952 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20953 | PyObject *resultobj; | |
20954 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20955 | bool result; | |
20956 | PyObject * obj0 = 0 ; | |
20957 | char *kwnames[] = { | |
20958 | (char *) "self", NULL | |
20959 | }; | |
20960 | ||
20961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
20962 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
20963 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20964 | { | |
20965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20966 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
20967 | ||
20968 | wxPyEndAllowThreads(__tstate); | |
20969 | if (PyErr_Occurred()) SWIG_fail; | |
20970 | } | |
20971 | { | |
20972 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20973 | } | |
20974 | return resultobj; | |
20975 | fail: | |
20976 | return NULL; | |
20977 | } | |
20978 | ||
20979 | ||
20980 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20981 | PyObject *resultobj; | |
20982 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20983 | bool result; | |
20984 | PyObject * obj0 = 0 ; | |
20985 | char *kwnames[] = { | |
20986 | (char *) "self", NULL | |
20987 | }; | |
20988 | ||
20989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
20990 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
20991 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20992 | { | |
20993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20994 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
20995 | ||
20996 | wxPyEndAllowThreads(__tstate); | |
20997 | if (PyErr_Occurred()) SWIG_fail; | |
20998 | } | |
20999 | { | |
21000 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21001 | } | |
21002 | return resultobj; | |
21003 | fail: | |
21004 | return NULL; | |
21005 | } | |
21006 | ||
21007 | ||
21008 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21009 | PyObject *resultobj; | |
21010 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21011 | bool result; | |
21012 | PyObject * obj0 = 0 ; | |
21013 | char *kwnames[] = { | |
21014 | (char *) "self", NULL | |
21015 | }; | |
21016 | ||
21017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
21018 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21019 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21020 | { | |
21021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21022 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
21023 | ||
21024 | wxPyEndAllowThreads(__tstate); | |
21025 | if (PyErr_Occurred()) SWIG_fail; | |
21026 | } | |
21027 | { | |
21028 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21029 | } | |
21030 | return resultobj; | |
21031 | fail: | |
21032 | return NULL; | |
21033 | } | |
21034 | ||
21035 | ||
21036 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21037 | PyObject *resultobj; | |
21038 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21039 | int arg2 ; | |
21040 | PyObject * obj0 = 0 ; | |
21041 | PyObject * obj1 = 0 ; | |
21042 | char *kwnames[] = { | |
21043 | (char *) "self",(char *) "v", NULL | |
21044 | }; | |
21045 | ||
21046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; | |
21047 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21048 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21049 | arg2 = (int) SWIG_AsInt(obj1); | |
21050 | if (PyErr_Occurred()) SWIG_fail; | |
21051 | { | |
21052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21053 | (arg1)->SetFromPage(arg2); | |
21054 | ||
21055 | wxPyEndAllowThreads(__tstate); | |
21056 | if (PyErr_Occurred()) SWIG_fail; | |
21057 | } | |
21058 | Py_INCREF(Py_None); resultobj = Py_None; | |
21059 | return resultobj; | |
21060 | fail: | |
21061 | return NULL; | |
21062 | } | |
21063 | ||
21064 | ||
21065 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21066 | PyObject *resultobj; | |
21067 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21068 | int arg2 ; | |
21069 | PyObject * obj0 = 0 ; | |
21070 | PyObject * obj1 = 0 ; | |
21071 | char *kwnames[] = { | |
21072 | (char *) "self",(char *) "v", NULL | |
21073 | }; | |
21074 | ||
21075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; | |
21076 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21077 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21078 | arg2 = (int) SWIG_AsInt(obj1); | |
21079 | if (PyErr_Occurred()) SWIG_fail; | |
21080 | { | |
21081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21082 | (arg1)->SetToPage(arg2); | |
21083 | ||
21084 | wxPyEndAllowThreads(__tstate); | |
21085 | if (PyErr_Occurred()) SWIG_fail; | |
21086 | } | |
21087 | Py_INCREF(Py_None); resultobj = Py_None; | |
21088 | return resultobj; | |
21089 | fail: | |
21090 | return NULL; | |
21091 | } | |
21092 | ||
21093 | ||
21094 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21095 | PyObject *resultobj; | |
21096 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21097 | int arg2 ; | |
21098 | PyObject * obj0 = 0 ; | |
21099 | PyObject * obj1 = 0 ; | |
21100 | char *kwnames[] = { | |
21101 | (char *) "self",(char *) "v", NULL | |
21102 | }; | |
21103 | ||
21104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; | |
21105 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21106 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21107 | arg2 = (int) SWIG_AsInt(obj1); | |
21108 | if (PyErr_Occurred()) SWIG_fail; | |
21109 | { | |
21110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21111 | (arg1)->SetMinPage(arg2); | |
21112 | ||
21113 | wxPyEndAllowThreads(__tstate); | |
21114 | if (PyErr_Occurred()) SWIG_fail; | |
21115 | } | |
21116 | Py_INCREF(Py_None); resultobj = Py_None; | |
21117 | return resultobj; | |
21118 | fail: | |
21119 | return NULL; | |
21120 | } | |
21121 | ||
21122 | ||
21123 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21124 | PyObject *resultobj; | |
21125 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21126 | int arg2 ; | |
21127 | PyObject * obj0 = 0 ; | |
21128 | PyObject * obj1 = 0 ; | |
21129 | char *kwnames[] = { | |
21130 | (char *) "self",(char *) "v", NULL | |
21131 | }; | |
21132 | ||
21133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; | |
21134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21136 | arg2 = (int) SWIG_AsInt(obj1); | |
21137 | if (PyErr_Occurred()) SWIG_fail; | |
21138 | { | |
21139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21140 | (arg1)->SetMaxPage(arg2); | |
21141 | ||
21142 | wxPyEndAllowThreads(__tstate); | |
21143 | if (PyErr_Occurred()) SWIG_fail; | |
21144 | } | |
21145 | Py_INCREF(Py_None); resultobj = Py_None; | |
21146 | return resultobj; | |
21147 | fail: | |
21148 | return NULL; | |
21149 | } | |
21150 | ||
21151 | ||
21152 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21153 | PyObject *resultobj; | |
21154 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21155 | int arg2 ; | |
21156 | PyObject * obj0 = 0 ; | |
21157 | PyObject * obj1 = 0 ; | |
21158 | char *kwnames[] = { | |
21159 | (char *) "self",(char *) "v", NULL | |
21160 | }; | |
21161 | ||
21162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; | |
21163 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21164 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21165 | arg2 = (int) SWIG_AsInt(obj1); | |
21166 | if (PyErr_Occurred()) SWIG_fail; | |
21167 | { | |
21168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21169 | (arg1)->SetNoCopies(arg2); | |
21170 | ||
21171 | wxPyEndAllowThreads(__tstate); | |
21172 | if (PyErr_Occurred()) SWIG_fail; | |
21173 | } | |
21174 | Py_INCREF(Py_None); resultobj = Py_None; | |
21175 | return resultobj; | |
21176 | fail: | |
21177 | return NULL; | |
21178 | } | |
21179 | ||
21180 | ||
21181 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21182 | PyObject *resultobj; | |
21183 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21184 | bool arg2 ; | |
21185 | PyObject * obj0 = 0 ; | |
21186 | PyObject * obj1 = 0 ; | |
21187 | char *kwnames[] = { | |
21188 | (char *) "self",(char *) "flag", NULL | |
21189 | }; | |
21190 | ||
21191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
21192 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21193 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21194 | arg2 = (bool) SWIG_AsBool(obj1); | |
21195 | if (PyErr_Occurred()) SWIG_fail; | |
21196 | { | |
21197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21198 | (arg1)->SetAllPages(arg2); | |
21199 | ||
21200 | wxPyEndAllowThreads(__tstate); | |
21201 | if (PyErr_Occurred()) SWIG_fail; | |
21202 | } | |
21203 | Py_INCREF(Py_None); resultobj = Py_None; | |
21204 | return resultobj; | |
21205 | fail: | |
21206 | return NULL; | |
21207 | } | |
21208 | ||
21209 | ||
21210 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21211 | PyObject *resultobj; | |
21212 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21213 | bool arg2 ; | |
21214 | PyObject * obj0 = 0 ; | |
21215 | PyObject * obj1 = 0 ; | |
21216 | char *kwnames[] = { | |
21217 | (char *) "self",(char *) "flag", NULL | |
21218 | }; | |
21219 | ||
21220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
21221 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21222 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21223 | arg2 = (bool) SWIG_AsBool(obj1); | |
21224 | if (PyErr_Occurred()) SWIG_fail; | |
21225 | { | |
21226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21227 | (arg1)->SetSelection(arg2); | |
21228 | ||
21229 | wxPyEndAllowThreads(__tstate); | |
21230 | if (PyErr_Occurred()) SWIG_fail; | |
21231 | } | |
21232 | Py_INCREF(Py_None); resultobj = Py_None; | |
21233 | return resultobj; | |
21234 | fail: | |
21235 | return NULL; | |
21236 | } | |
21237 | ||
21238 | ||
21239 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21240 | PyObject *resultobj; | |
21241 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21242 | bool arg2 ; | |
21243 | PyObject * obj0 = 0 ; | |
21244 | PyObject * obj1 = 0 ; | |
21245 | char *kwnames[] = { | |
21246 | (char *) "self",(char *) "flag", NULL | |
21247 | }; | |
21248 | ||
21249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
21250 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21251 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21252 | arg2 = (bool) SWIG_AsBool(obj1); | |
21253 | if (PyErr_Occurred()) SWIG_fail; | |
21254 | { | |
21255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21256 | (arg1)->SetCollate(arg2); | |
21257 | ||
21258 | wxPyEndAllowThreads(__tstate); | |
21259 | if (PyErr_Occurred()) SWIG_fail; | |
21260 | } | |
21261 | Py_INCREF(Py_None); resultobj = Py_None; | |
21262 | return resultobj; | |
21263 | fail: | |
21264 | return NULL; | |
21265 | } | |
21266 | ||
21267 | ||
21268 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21269 | PyObject *resultobj; | |
21270 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21271 | bool arg2 ; | |
21272 | PyObject * obj0 = 0 ; | |
21273 | PyObject * obj1 = 0 ; | |
21274 | char *kwnames[] = { | |
21275 | (char *) "self",(char *) "flag", NULL | |
21276 | }; | |
21277 | ||
21278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
21279 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21280 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21281 | arg2 = (bool) SWIG_AsBool(obj1); | |
21282 | if (PyErr_Occurred()) SWIG_fail; | |
21283 | { | |
21284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21285 | (arg1)->SetPrintToFile(arg2); | |
21286 | ||
21287 | wxPyEndAllowThreads(__tstate); | |
21288 | if (PyErr_Occurred()) SWIG_fail; | |
21289 | } | |
21290 | Py_INCREF(Py_None); resultobj = Py_None; | |
21291 | return resultobj; | |
21292 | fail: | |
21293 | return NULL; | |
21294 | } | |
21295 | ||
21296 | ||
21297 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21298 | PyObject *resultobj; | |
21299 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21300 | bool arg2 ; | |
21301 | PyObject * obj0 = 0 ; | |
21302 | PyObject * obj1 = 0 ; | |
21303 | char *kwnames[] = { | |
21304 | (char *) "self",(char *) "flag", NULL | |
21305 | }; | |
21306 | ||
21307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
21308 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21309 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21310 | arg2 = (bool) SWIG_AsBool(obj1); | |
21311 | if (PyErr_Occurred()) SWIG_fail; | |
21312 | { | |
21313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21314 | (arg1)->SetSetupDialog(arg2); | |
21315 | ||
21316 | wxPyEndAllowThreads(__tstate); | |
21317 | if (PyErr_Occurred()) SWIG_fail; | |
21318 | } | |
21319 | Py_INCREF(Py_None); resultobj = Py_None; | |
21320 | return resultobj; | |
21321 | fail: | |
21322 | return NULL; | |
21323 | } | |
21324 | ||
21325 | ||
21326 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21327 | PyObject *resultobj; | |
21328 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21329 | bool arg2 ; | |
21330 | PyObject * obj0 = 0 ; | |
21331 | PyObject * obj1 = 0 ; | |
21332 | char *kwnames[] = { | |
21333 | (char *) "self",(char *) "flag", NULL | |
21334 | }; | |
21335 | ||
21336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
21337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21339 | arg2 = (bool) SWIG_AsBool(obj1); | |
21340 | if (PyErr_Occurred()) SWIG_fail; | |
21341 | { | |
21342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21343 | (arg1)->EnablePrintToFile(arg2); | |
21344 | ||
21345 | wxPyEndAllowThreads(__tstate); | |
21346 | if (PyErr_Occurred()) SWIG_fail; | |
21347 | } | |
21348 | Py_INCREF(Py_None); resultobj = Py_None; | |
21349 | return resultobj; | |
21350 | fail: | |
21351 | return NULL; | |
21352 | } | |
21353 | ||
21354 | ||
21355 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21356 | PyObject *resultobj; | |
21357 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21358 | bool arg2 ; | |
21359 | PyObject * obj0 = 0 ; | |
21360 | PyObject * obj1 = 0 ; | |
21361 | char *kwnames[] = { | |
21362 | (char *) "self",(char *) "flag", NULL | |
21363 | }; | |
21364 | ||
21365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
21366 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21367 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21368 | arg2 = (bool) SWIG_AsBool(obj1); | |
21369 | if (PyErr_Occurred()) SWIG_fail; | |
21370 | { | |
21371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21372 | (arg1)->EnableSelection(arg2); | |
21373 | ||
21374 | wxPyEndAllowThreads(__tstate); | |
21375 | if (PyErr_Occurred()) SWIG_fail; | |
21376 | } | |
21377 | Py_INCREF(Py_None); resultobj = Py_None; | |
21378 | return resultobj; | |
21379 | fail: | |
21380 | return NULL; | |
21381 | } | |
21382 | ||
21383 | ||
21384 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21385 | PyObject *resultobj; | |
21386 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21387 | bool arg2 ; | |
21388 | PyObject * obj0 = 0 ; | |
21389 | PyObject * obj1 = 0 ; | |
21390 | char *kwnames[] = { | |
21391 | (char *) "self",(char *) "flag", NULL | |
21392 | }; | |
21393 | ||
21394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
21395 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21396 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21397 | arg2 = (bool) SWIG_AsBool(obj1); | |
21398 | if (PyErr_Occurred()) SWIG_fail; | |
21399 | { | |
21400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21401 | (arg1)->EnablePageNumbers(arg2); | |
21402 | ||
21403 | wxPyEndAllowThreads(__tstate); | |
21404 | if (PyErr_Occurred()) SWIG_fail; | |
21405 | } | |
21406 | Py_INCREF(Py_None); resultobj = Py_None; | |
21407 | return resultobj; | |
21408 | fail: | |
21409 | return NULL; | |
21410 | } | |
21411 | ||
21412 | ||
21413 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21414 | PyObject *resultobj; | |
21415 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21416 | bool arg2 ; | |
21417 | PyObject * obj0 = 0 ; | |
21418 | PyObject * obj1 = 0 ; | |
21419 | char *kwnames[] = { | |
21420 | (char *) "self",(char *) "flag", NULL | |
21421 | }; | |
21422 | ||
21423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
21424 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21425 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21426 | arg2 = (bool) SWIG_AsBool(obj1); | |
21427 | if (PyErr_Occurred()) SWIG_fail; | |
21428 | { | |
21429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21430 | (arg1)->EnableHelp(arg2); | |
21431 | ||
21432 | wxPyEndAllowThreads(__tstate); | |
21433 | if (PyErr_Occurred()) SWIG_fail; | |
21434 | } | |
21435 | Py_INCREF(Py_None); resultobj = Py_None; | |
21436 | return resultobj; | |
21437 | fail: | |
21438 | return NULL; | |
21439 | } | |
21440 | ||
21441 | ||
21442 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21443 | PyObject *resultobj; | |
21444 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21445 | bool result; | |
21446 | PyObject * obj0 = 0 ; | |
21447 | char *kwnames[] = { | |
21448 | (char *) "self", NULL | |
21449 | }; | |
21450 | ||
21451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
21452 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21453 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21454 | { | |
21455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21456 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
21457 | ||
21458 | wxPyEndAllowThreads(__tstate); | |
21459 | if (PyErr_Occurred()) SWIG_fail; | |
21460 | } | |
21461 | { | |
21462 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21463 | } | |
21464 | return resultobj; | |
21465 | fail: | |
21466 | return NULL; | |
21467 | } | |
21468 | ||
21469 | ||
21470 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21471 | PyObject *resultobj; | |
21472 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21473 | bool result; | |
21474 | PyObject * obj0 = 0 ; | |
21475 | char *kwnames[] = { | |
21476 | (char *) "self", NULL | |
21477 | }; | |
21478 | ||
21479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
21480 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21481 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21482 | { | |
21483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21484 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
21485 | ||
21486 | wxPyEndAllowThreads(__tstate); | |
21487 | if (PyErr_Occurred()) SWIG_fail; | |
21488 | } | |
21489 | { | |
21490 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21491 | } | |
21492 | return resultobj; | |
21493 | fail: | |
21494 | return NULL; | |
21495 | } | |
21496 | ||
21497 | ||
21498 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21499 | PyObject *resultobj; | |
21500 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21501 | bool result; | |
21502 | PyObject * obj0 = 0 ; | |
21503 | char *kwnames[] = { | |
21504 | (char *) "self", NULL | |
21505 | }; | |
21506 | ||
21507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
21508 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21509 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21510 | { | |
21511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21512 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
21513 | ||
21514 | wxPyEndAllowThreads(__tstate); | |
21515 | if (PyErr_Occurred()) SWIG_fail; | |
21516 | } | |
21517 | { | |
21518 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21519 | } | |
21520 | return resultobj; | |
21521 | fail: | |
21522 | return NULL; | |
21523 | } | |
21524 | ||
21525 | ||
21526 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21527 | PyObject *resultobj; | |
21528 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21529 | bool result; | |
21530 | PyObject * obj0 = 0 ; | |
21531 | char *kwnames[] = { | |
21532 | (char *) "self", NULL | |
21533 | }; | |
21534 | ||
21535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
21536 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21537 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21538 | { | |
21539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21540 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
21541 | ||
21542 | wxPyEndAllowThreads(__tstate); | |
21543 | if (PyErr_Occurred()) SWIG_fail; | |
21544 | } | |
21545 | { | |
21546 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21547 | } | |
21548 | return resultobj; | |
21549 | fail: | |
21550 | return NULL; | |
21551 | } | |
21552 | ||
21553 | ||
21554 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21555 | PyObject *resultobj; | |
21556 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21557 | bool result; | |
21558 | PyObject * obj0 = 0 ; | |
21559 | char *kwnames[] = { | |
21560 | (char *) "self", NULL | |
21561 | }; | |
21562 | ||
21563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
21564 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21565 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21566 | { | |
21567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21568 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
21569 | ||
21570 | wxPyEndAllowThreads(__tstate); | |
21571 | if (PyErr_Occurred()) SWIG_fail; | |
21572 | } | |
21573 | { | |
21574 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21575 | } | |
21576 | return resultobj; | |
21577 | fail: | |
21578 | return NULL; | |
21579 | } | |
21580 | ||
21581 | ||
21582 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21583 | PyObject *resultobj; | |
21584 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21585 | wxPrintData *result; | |
21586 | PyObject * obj0 = 0 ; | |
21587 | char *kwnames[] = { | |
21588 | (char *) "self", NULL | |
21589 | }; | |
21590 | ||
21591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
21592 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21593 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21594 | { | |
21595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21596 | { | |
21597 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
21598 | result = (wxPrintData *) &_result_ref; | |
21599 | } | |
21600 | ||
21601 | wxPyEndAllowThreads(__tstate); | |
21602 | if (PyErr_Occurred()) SWIG_fail; | |
21603 | } | |
21604 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); | |
21605 | return resultobj; | |
21606 | fail: | |
21607 | return NULL; | |
21608 | } | |
21609 | ||
21610 | ||
21611 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21612 | PyObject *resultobj; | |
21613 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21614 | wxPrintData *arg2 = 0 ; | |
21615 | PyObject * obj0 = 0 ; | |
21616 | PyObject * obj1 = 0 ; | |
21617 | char *kwnames[] = { | |
21618 | (char *) "self",(char *) "printData", NULL | |
21619 | }; | |
21620 | ||
21621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
21622 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21623 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21624 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
21625 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
21626 | SWIG_fail; | |
21627 | if (arg2 == NULL) { | |
21628 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
21629 | SWIG_fail; | |
21630 | } | |
21631 | { | |
21632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21633 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
21634 | ||
21635 | wxPyEndAllowThreads(__tstate); | |
21636 | if (PyErr_Occurred()) SWIG_fail; | |
21637 | } | |
21638 | Py_INCREF(Py_None); resultobj = Py_None; | |
21639 | return resultobj; | |
21640 | fail: | |
21641 | return NULL; | |
21642 | } | |
21643 | ||
21644 | ||
21645 | static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) { | |
21646 | PyObject *obj; | |
21647 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21648 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
21649 | Py_INCREF(obj); | |
21650 | return Py_BuildValue((char *)""); | |
21651 | } | |
21652 | static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21653 | PyObject *resultobj; | |
21654 | wxWindow *arg1 = (wxWindow *) 0 ; | |
21655 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
21656 | wxPrintDialog *result; | |
21657 | PyObject * obj0 = 0 ; | |
21658 | PyObject * obj1 = 0 ; | |
21659 | char *kwnames[] = { | |
21660 | (char *) "parent",(char *) "data", NULL | |
21661 | }; | |
21662 | ||
21663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
21664 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
21665 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21666 | if (obj1) { | |
21667 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData, | |
21668 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21669 | } | |
21670 | { | |
0439c23b | 21671 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
21672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
21673 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
21674 | ||
21675 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 21676 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
21677 | } |
21678 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); | |
21679 | return resultobj; | |
21680 | fail: | |
21681 | return NULL; | |
21682 | } | |
21683 | ||
21684 | ||
21685 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21686 | PyObject *resultobj; | |
21687 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
21688 | wxPrintDialogData *result; | |
21689 | PyObject * obj0 = 0 ; | |
21690 | char *kwnames[] = { | |
21691 | (char *) "self", NULL | |
21692 | }; | |
21693 | ||
21694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
21695 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, | |
21696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21697 | { | |
21698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21699 | { | |
21700 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
21701 | result = (wxPrintDialogData *) &_result_ref; | |
21702 | } | |
21703 | ||
21704 | wxPyEndAllowThreads(__tstate); | |
21705 | if (PyErr_Occurred()) SWIG_fail; | |
21706 | } | |
21707 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
21708 | return resultobj; | |
21709 | fail: | |
21710 | return NULL; | |
21711 | } | |
21712 | ||
21713 | ||
21714 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21715 | PyObject *resultobj; | |
21716 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
21717 | wxDC *result; | |
21718 | PyObject * obj0 = 0 ; | |
21719 | char *kwnames[] = { | |
21720 | (char *) "self", NULL | |
21721 | }; | |
21722 | ||
21723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; | |
21724 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, | |
21725 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21726 | { | |
21727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21728 | result = (wxDC *)(arg1)->GetPrintDC(); | |
21729 | ||
21730 | wxPyEndAllowThreads(__tstate); | |
21731 | if (PyErr_Occurred()) SWIG_fail; | |
21732 | } | |
21733 | { | |
412d302d | 21734 | resultobj = wxPyMake_wxObject(result, 1); |
d55e5bfc RD |
21735 | } |
21736 | return resultobj; | |
21737 | fail: | |
21738 | return NULL; | |
21739 | } | |
21740 | ||
21741 | ||
21742 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21743 | PyObject *resultobj; | |
21744 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
21745 | int result; | |
21746 | PyObject * obj0 = 0 ; | |
21747 | char *kwnames[] = { | |
21748 | (char *) "self", NULL | |
21749 | }; | |
21750 | ||
21751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
21752 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, | |
21753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21754 | { | |
21755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21756 | result = (int)(arg1)->ShowModal(); | |
21757 | ||
21758 | wxPyEndAllowThreads(__tstate); | |
21759 | if (PyErr_Occurred()) SWIG_fail; | |
21760 | } | |
21761 | resultobj = SWIG_FromInt((int)result); | |
21762 | return resultobj; | |
21763 | fail: | |
21764 | return NULL; | |
21765 | } | |
21766 | ||
21767 | ||
21768 | static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) { | |
21769 | PyObject *obj; | |
21770 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21771 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
21772 | Py_INCREF(obj); | |
21773 | return Py_BuildValue((char *)""); | |
21774 | } | |
21775 | static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21776 | PyObject *resultobj; | |
21777 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
21778 | wxPrinter *result; | |
21779 | PyObject * obj0 = 0 ; | |
21780 | char *kwnames[] = { | |
21781 | (char *) "data", NULL | |
21782 | }; | |
21783 | ||
21784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
21785 | if (obj0) { | |
21786 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21787 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21788 | } | |
21789 | { | |
0439c23b | 21790 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
21791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
21792 | result = (wxPrinter *)new wxPrinter(arg1); | |
21793 | ||
21794 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 21795 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
21796 | } |
21797 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); | |
21798 | return resultobj; | |
21799 | fail: | |
21800 | return NULL; | |
21801 | } | |
21802 | ||
21803 | ||
21804 | static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21805 | PyObject *resultobj; | |
21806 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21807 | PyObject * obj0 = 0 ; | |
21808 | char *kwnames[] = { | |
21809 | (char *) "self", NULL | |
21810 | }; | |
21811 | ||
21812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
21813 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, | |
21814 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21815 | { | |
21816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21817 | delete arg1; | |
21818 | ||
21819 | wxPyEndAllowThreads(__tstate); | |
21820 | if (PyErr_Occurred()) SWIG_fail; | |
21821 | } | |
21822 | Py_INCREF(Py_None); resultobj = Py_None; | |
21823 | return resultobj; | |
21824 | fail: | |
21825 | return NULL; | |
21826 | } | |
21827 | ||
21828 | ||
21829 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21830 | PyObject *resultobj; | |
21831 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21832 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21833 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
21834 | PyObject * obj0 = 0 ; | |
21835 | PyObject * obj1 = 0 ; | |
21836 | PyObject * obj2 = 0 ; | |
21837 | char *kwnames[] = { | |
21838 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
21839 | }; | |
21840 | ||
21841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
21842 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, | |
21843 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21844 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21845 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21846 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
21847 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21848 | { | |
21849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21850 | (arg1)->CreateAbortWindow(arg2,arg3); | |
21851 | ||
21852 | wxPyEndAllowThreads(__tstate); | |
21853 | if (PyErr_Occurred()) SWIG_fail; | |
21854 | } | |
21855 | Py_INCREF(Py_None); resultobj = Py_None; | |
21856 | return resultobj; | |
21857 | fail: | |
21858 | return NULL; | |
21859 | } | |
21860 | ||
21861 | ||
21862 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21863 | PyObject *resultobj; | |
21864 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21865 | wxPrintDialogData *result; | |
21866 | PyObject * obj0 = 0 ; | |
21867 | char *kwnames[] = { | |
21868 | (char *) "self", NULL | |
21869 | }; | |
21870 | ||
21871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
21872 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, | |
21873 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21874 | { | |
21875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21876 | { | |
21877 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
21878 | result = (wxPrintDialogData *) &_result_ref; | |
21879 | } | |
21880 | ||
21881 | wxPyEndAllowThreads(__tstate); | |
21882 | if (PyErr_Occurred()) SWIG_fail; | |
21883 | } | |
21884 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
21885 | return resultobj; | |
21886 | fail: | |
21887 | return NULL; | |
21888 | } | |
21889 | ||
21890 | ||
21891 | static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21892 | PyObject *resultobj; | |
21893 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21894 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21895 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
21896 | int arg4 = (int) True ; | |
21897 | bool result; | |
21898 | PyObject * obj0 = 0 ; | |
21899 | PyObject * obj1 = 0 ; | |
21900 | PyObject * obj2 = 0 ; | |
21901 | PyObject * obj3 = 0 ; | |
21902 | char *kwnames[] = { | |
21903 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL | |
21904 | }; | |
21905 | ||
21906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
21907 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, | |
21908 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21909 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21910 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21911 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
21912 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21913 | if (obj3) { | |
21914 | arg4 = (int) SWIG_AsInt(obj3); | |
21915 | if (PyErr_Occurred()) SWIG_fail; | |
21916 | } | |
21917 | { | |
21918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21919 | result = (bool)(arg1)->Print(arg2,arg3,arg4); | |
21920 | ||
21921 | wxPyEndAllowThreads(__tstate); | |
21922 | if (PyErr_Occurred()) SWIG_fail; | |
21923 | } | |
21924 | { | |
21925 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21926 | } | |
21927 | return resultobj; | |
21928 | fail: | |
21929 | return NULL; | |
21930 | } | |
21931 | ||
21932 | ||
21933 | static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21934 | PyObject *resultobj; | |
21935 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21936 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21937 | wxDC *result; | |
21938 | PyObject * obj0 = 0 ; | |
21939 | PyObject * obj1 = 0 ; | |
21940 | char *kwnames[] = { | |
21941 | (char *) "self",(char *) "parent", NULL | |
21942 | }; | |
21943 | ||
21944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
21945 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, | |
21946 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21947 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21948 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21949 | { | |
21950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21951 | result = (wxDC *)(arg1)->PrintDialog(arg2); | |
21952 | ||
21953 | wxPyEndAllowThreads(__tstate); | |
21954 | if (PyErr_Occurred()) SWIG_fail; | |
21955 | } | |
21956 | { | |
412d302d | 21957 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
21958 | } |
21959 | return resultobj; | |
21960 | fail: | |
21961 | return NULL; | |
21962 | } | |
21963 | ||
21964 | ||
21965 | static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21966 | PyObject *resultobj; | |
21967 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21968 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21969 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
21970 | wxString *arg4 = 0 ; | |
21971 | bool temp4 = False ; | |
21972 | PyObject * obj0 = 0 ; | |
21973 | PyObject * obj1 = 0 ; | |
21974 | PyObject * obj2 = 0 ; | |
21975 | PyObject * obj3 = 0 ; | |
21976 | char *kwnames[] = { | |
21977 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL | |
21978 | }; | |
21979 | ||
21980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
21981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, | |
21982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21983 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21984 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21985 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
21986 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21987 | { | |
21988 | arg4 = wxString_in_helper(obj3); | |
21989 | if (arg4 == NULL) SWIG_fail; | |
21990 | temp4 = True; | |
21991 | } | |
21992 | { | |
21993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21994 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); | |
21995 | ||
21996 | wxPyEndAllowThreads(__tstate); | |
21997 | if (PyErr_Occurred()) SWIG_fail; | |
21998 | } | |
21999 | Py_INCREF(Py_None); resultobj = Py_None; | |
22000 | { | |
22001 | if (temp4) | |
22002 | delete arg4; | |
22003 | } | |
22004 | return resultobj; | |
22005 | fail: | |
22006 | { | |
22007 | if (temp4) | |
22008 | delete arg4; | |
22009 | } | |
22010 | return NULL; | |
22011 | } | |
22012 | ||
22013 | ||
22014 | static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22015 | PyObject *resultobj; | |
22016 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22017 | wxWindow *arg2 = (wxWindow *) 0 ; | |
22018 | bool result; | |
22019 | PyObject * obj0 = 0 ; | |
22020 | PyObject * obj1 = 0 ; | |
22021 | char *kwnames[] = { | |
22022 | (char *) "self",(char *) "parent", NULL | |
22023 | }; | |
22024 | ||
22025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; | |
22026 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, | |
22027 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22028 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22029 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22030 | { | |
22031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22032 | result = (bool)(arg1)->Setup(arg2); | |
22033 | ||
22034 | wxPyEndAllowThreads(__tstate); | |
22035 | if (PyErr_Occurred()) SWIG_fail; | |
22036 | } | |
22037 | { | |
22038 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22039 | } | |
22040 | return resultobj; | |
22041 | fail: | |
22042 | return NULL; | |
22043 | } | |
22044 | ||
22045 | ||
22046 | static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22047 | PyObject *resultobj; | |
22048 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22049 | bool result; | |
22050 | PyObject * obj0 = 0 ; | |
22051 | char *kwnames[] = { | |
22052 | (char *) "self", NULL | |
22053 | }; | |
22054 | ||
22055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
22056 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, | |
22057 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22058 | { | |
22059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22060 | result = (bool)(arg1)->GetAbort(); | |
22061 | ||
22062 | wxPyEndAllowThreads(__tstate); | |
22063 | if (PyErr_Occurred()) SWIG_fail; | |
22064 | } | |
22065 | { | |
22066 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22067 | } | |
22068 | return resultobj; | |
22069 | fail: | |
22070 | return NULL; | |
22071 | } | |
22072 | ||
22073 | ||
22074 | static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22075 | PyObject *resultobj; | |
22076 | int result; | |
22077 | char *kwnames[] = { | |
22078 | NULL | |
22079 | }; | |
22080 | ||
22081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
22082 | { | |
22083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22084 | result = (int)wxPrinter::GetLastError(); | |
22085 | ||
22086 | wxPyEndAllowThreads(__tstate); | |
22087 | if (PyErr_Occurred()) SWIG_fail; | |
22088 | } | |
22089 | resultobj = SWIG_FromInt((int)result); | |
22090 | return resultobj; | |
22091 | fail: | |
22092 | return NULL; | |
22093 | } | |
22094 | ||
22095 | ||
22096 | static PyObject * Printer_swigregister(PyObject *self, PyObject *args) { | |
22097 | PyObject *obj; | |
22098 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22099 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
22100 | Py_INCREF(obj); | |
22101 | return Py_BuildValue((char *)""); | |
22102 | } | |
22103 | static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22104 | PyObject *resultobj; | |
22105 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
22106 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
22107 | wxPyPrintout *result; | |
22108 | bool temp1 = False ; | |
22109 | PyObject * obj0 = 0 ; | |
22110 | char *kwnames[] = { | |
22111 | (char *) "title", NULL | |
22112 | }; | |
22113 | ||
22114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
22115 | if (obj0) { | |
22116 | { | |
22117 | arg1 = wxString_in_helper(obj0); | |
22118 | if (arg1 == NULL) SWIG_fail; | |
22119 | temp1 = True; | |
22120 | } | |
22121 | } | |
22122 | { | |
0439c23b | 22123 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
22124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22125 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
22126 | ||
22127 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 22128 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
22129 | } |
22130 | { | |
412d302d | 22131 | resultobj = wxPyMake_wxObject(result, 1); |
d55e5bfc RD |
22132 | } |
22133 | { | |
22134 | if (temp1) | |
22135 | delete arg1; | |
22136 | } | |
22137 | return resultobj; | |
22138 | fail: | |
22139 | { | |
22140 | if (temp1) | |
22141 | delete arg1; | |
22142 | } | |
22143 | return NULL; | |
22144 | } | |
22145 | ||
22146 | ||
22147 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22148 | PyObject *resultobj; | |
22149 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22150 | PyObject *arg2 = (PyObject *) 0 ; | |
22151 | PyObject *arg3 = (PyObject *) 0 ; | |
22152 | PyObject * obj0 = 0 ; | |
22153 | PyObject * obj1 = 0 ; | |
22154 | PyObject * obj2 = 0 ; | |
22155 | char *kwnames[] = { | |
22156 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22157 | }; | |
22158 | ||
22159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22160 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22161 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22162 | arg2 = obj1; | |
22163 | arg3 = obj2; | |
22164 | { | |
22165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22166 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22167 | ||
22168 | wxPyEndAllowThreads(__tstate); | |
22169 | if (PyErr_Occurred()) SWIG_fail; | |
22170 | } | |
22171 | Py_INCREF(Py_None); resultobj = Py_None; | |
22172 | return resultobj; | |
22173 | fail: | |
22174 | return NULL; | |
22175 | } | |
22176 | ||
22177 | ||
22178 | static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22179 | PyObject *resultobj; | |
22180 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22181 | wxString result; | |
22182 | PyObject * obj0 = 0 ; | |
22183 | char *kwnames[] = { | |
22184 | (char *) "self", NULL | |
22185 | }; | |
22186 | ||
22187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
22188 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22189 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22190 | { | |
22191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22192 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
22193 | ||
22194 | wxPyEndAllowThreads(__tstate); | |
22195 | if (PyErr_Occurred()) SWIG_fail; | |
22196 | } | |
22197 | { | |
22198 | #if wxUSE_UNICODE | |
22199 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
22200 | #else | |
22201 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
22202 | #endif | |
22203 | } | |
22204 | return resultobj; | |
22205 | fail: | |
22206 | return NULL; | |
22207 | } | |
22208 | ||
22209 | ||
22210 | static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22211 | PyObject *resultobj; | |
22212 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22213 | wxDC *result; | |
22214 | PyObject * obj0 = 0 ; | |
22215 | char *kwnames[] = { | |
22216 | (char *) "self", NULL | |
22217 | }; | |
22218 | ||
22219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
22220 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22221 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22222 | { | |
22223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22224 | result = (wxDC *)(arg1)->GetDC(); | |
22225 | ||
22226 | wxPyEndAllowThreads(__tstate); | |
22227 | if (PyErr_Occurred()) SWIG_fail; | |
22228 | } | |
22229 | { | |
412d302d | 22230 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
22231 | } |
22232 | return resultobj; | |
22233 | fail: | |
22234 | return NULL; | |
22235 | } | |
22236 | ||
22237 | ||
22238 | static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22239 | PyObject *resultobj; | |
22240 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22241 | wxDC *arg2 = (wxDC *) 0 ; | |
22242 | PyObject * obj0 = 0 ; | |
22243 | PyObject * obj1 = 0 ; | |
22244 | char *kwnames[] = { | |
22245 | (char *) "self",(char *) "dc", NULL | |
22246 | }; | |
22247 | ||
22248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
22249 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22250 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22251 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
22252 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22253 | { | |
22254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22255 | (arg1)->SetDC(arg2); | |
22256 | ||
22257 | wxPyEndAllowThreads(__tstate); | |
22258 | if (PyErr_Occurred()) SWIG_fail; | |
22259 | } | |
22260 | Py_INCREF(Py_None); resultobj = Py_None; | |
22261 | return resultobj; | |
22262 | fail: | |
22263 | return NULL; | |
22264 | } | |
22265 | ||
22266 | ||
22267 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22268 | PyObject *resultobj; | |
22269 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22270 | int arg2 ; | |
22271 | int arg3 ; | |
22272 | PyObject * obj0 = 0 ; | |
22273 | PyObject * obj1 = 0 ; | |
22274 | PyObject * obj2 = 0 ; | |
22275 | char *kwnames[] = { | |
22276 | (char *) "self",(char *) "w",(char *) "h", NULL | |
22277 | }; | |
22278 | ||
22279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22280 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22281 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22282 | arg2 = (int) SWIG_AsInt(obj1); | |
22283 | if (PyErr_Occurred()) SWIG_fail; | |
22284 | arg3 = (int) SWIG_AsInt(obj2); | |
22285 | if (PyErr_Occurred()) SWIG_fail; | |
22286 | { | |
22287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22288 | (arg1)->SetPageSizePixels(arg2,arg3); | |
22289 | ||
22290 | wxPyEndAllowThreads(__tstate); | |
22291 | if (PyErr_Occurred()) SWIG_fail; | |
22292 | } | |
22293 | Py_INCREF(Py_None); resultobj = Py_None; | |
22294 | return resultobj; | |
22295 | fail: | |
22296 | return NULL; | |
22297 | } | |
22298 | ||
22299 | ||
22300 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22301 | PyObject *resultobj; | |
22302 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22303 | int *arg2 = (int *) 0 ; | |
22304 | int *arg3 = (int *) 0 ; | |
22305 | int temp2 ; | |
22306 | int temp3 ; | |
22307 | PyObject * obj0 = 0 ; | |
22308 | char *kwnames[] = { | |
22309 | (char *) "self", NULL | |
22310 | }; | |
22311 | ||
22312 | arg2 = &temp2; | |
22313 | arg3 = &temp3; | |
22314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; | |
22315 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22316 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22317 | { | |
22318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22319 | (arg1)->GetPageSizePixels(arg2,arg3); | |
22320 | ||
22321 | wxPyEndAllowThreads(__tstate); | |
22322 | if (PyErr_Occurred()) SWIG_fail; | |
22323 | } | |
22324 | Py_INCREF(Py_None); resultobj = Py_None; | |
22325 | { | |
22326 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
22327 | resultobj = t_output_helper(resultobj,o); | |
22328 | } | |
22329 | { | |
22330 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
22331 | resultobj = t_output_helper(resultobj,o); | |
22332 | } | |
22333 | return resultobj; | |
22334 | fail: | |
22335 | return NULL; | |
22336 | } | |
22337 | ||
22338 | ||
22339 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22340 | PyObject *resultobj; | |
22341 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22342 | int arg2 ; | |
22343 | int arg3 ; | |
22344 | PyObject * obj0 = 0 ; | |
22345 | PyObject * obj1 = 0 ; | |
22346 | PyObject * obj2 = 0 ; | |
22347 | char *kwnames[] = { | |
22348 | (char *) "self",(char *) "w",(char *) "h", NULL | |
22349 | }; | |
22350 | ||
22351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22352 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22353 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22354 | arg2 = (int) SWIG_AsInt(obj1); | |
22355 | if (PyErr_Occurred()) SWIG_fail; | |
22356 | arg3 = (int) SWIG_AsInt(obj2); | |
22357 | if (PyErr_Occurred()) SWIG_fail; | |
22358 | { | |
22359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22360 | (arg1)->SetPageSizeMM(arg2,arg3); | |
22361 | ||
22362 | wxPyEndAllowThreads(__tstate); | |
22363 | if (PyErr_Occurred()) SWIG_fail; | |
22364 | } | |
22365 | Py_INCREF(Py_None); resultobj = Py_None; | |
22366 | return resultobj; | |
22367 | fail: | |
22368 | return NULL; | |
22369 | } | |
22370 | ||
22371 | ||
22372 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22373 | PyObject *resultobj; | |
22374 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22375 | int *arg2 = (int *) 0 ; | |
22376 | int *arg3 = (int *) 0 ; | |
22377 | int temp2 ; | |
22378 | int temp3 ; | |
22379 | PyObject * obj0 = 0 ; | |
22380 | char *kwnames[] = { | |
22381 | (char *) "self", NULL | |
22382 | }; | |
22383 | ||
22384 | arg2 = &temp2; | |
22385 | arg3 = &temp3; | |
22386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; | |
22387 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22388 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22389 | { | |
22390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22391 | (arg1)->GetPageSizeMM(arg2,arg3); | |
22392 | ||
22393 | wxPyEndAllowThreads(__tstate); | |
22394 | if (PyErr_Occurred()) SWIG_fail; | |
22395 | } | |
22396 | Py_INCREF(Py_None); resultobj = Py_None; | |
22397 | { | |
22398 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
22399 | resultobj = t_output_helper(resultobj,o); | |
22400 | } | |
22401 | { | |
22402 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
22403 | resultobj = t_output_helper(resultobj,o); | |
22404 | } | |
22405 | return resultobj; | |
22406 | fail: | |
22407 | return NULL; | |
22408 | } | |
22409 | ||
22410 | ||
22411 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22412 | PyObject *resultobj; | |
22413 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22414 | int arg2 ; | |
22415 | int arg3 ; | |
22416 | PyObject * obj0 = 0 ; | |
22417 | PyObject * obj1 = 0 ; | |
22418 | PyObject * obj2 = 0 ; | |
22419 | char *kwnames[] = { | |
22420 | (char *) "self",(char *) "x",(char *) "y", NULL | |
22421 | }; | |
22422 | ||
22423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22424 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22425 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22426 | arg2 = (int) SWIG_AsInt(obj1); | |
22427 | if (PyErr_Occurred()) SWIG_fail; | |
22428 | arg3 = (int) SWIG_AsInt(obj2); | |
22429 | if (PyErr_Occurred()) SWIG_fail; | |
22430 | { | |
22431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22432 | (arg1)->SetPPIScreen(arg2,arg3); | |
22433 | ||
22434 | wxPyEndAllowThreads(__tstate); | |
22435 | if (PyErr_Occurred()) SWIG_fail; | |
22436 | } | |
22437 | Py_INCREF(Py_None); resultobj = Py_None; | |
22438 | return resultobj; | |
22439 | fail: | |
22440 | return NULL; | |
22441 | } | |
22442 | ||
22443 | ||
22444 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22445 | PyObject *resultobj; | |
22446 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22447 | int *arg2 = (int *) 0 ; | |
22448 | int *arg3 = (int *) 0 ; | |
22449 | int temp2 ; | |
22450 | int temp3 ; | |
22451 | PyObject * obj0 = 0 ; | |
22452 | char *kwnames[] = { | |
22453 | (char *) "self", NULL | |
22454 | }; | |
22455 | ||
22456 | arg2 = &temp2; | |
22457 | arg3 = &temp3; | |
22458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; | |
22459 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22460 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22461 | { | |
22462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22463 | (arg1)->GetPPIScreen(arg2,arg3); | |
22464 | ||
22465 | wxPyEndAllowThreads(__tstate); | |
22466 | if (PyErr_Occurred()) SWIG_fail; | |
22467 | } | |
22468 | Py_INCREF(Py_None); resultobj = Py_None; | |
22469 | { | |
22470 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
22471 | resultobj = t_output_helper(resultobj,o); | |
22472 | } | |
22473 | { | |
22474 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
22475 | resultobj = t_output_helper(resultobj,o); | |
22476 | } | |
22477 | return resultobj; | |
22478 | fail: | |
22479 | return NULL; | |
22480 | } | |
22481 | ||
22482 | ||
22483 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22484 | PyObject *resultobj; | |
22485 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22486 | int arg2 ; | |
22487 | int arg3 ; | |
22488 | PyObject * obj0 = 0 ; | |
22489 | PyObject * obj1 = 0 ; | |
22490 | PyObject * obj2 = 0 ; | |
22491 | char *kwnames[] = { | |
22492 | (char *) "self",(char *) "x",(char *) "y", NULL | |
22493 | }; | |
22494 | ||
22495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22496 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22497 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22498 | arg2 = (int) SWIG_AsInt(obj1); | |
22499 | if (PyErr_Occurred()) SWIG_fail; | |
22500 | arg3 = (int) SWIG_AsInt(obj2); | |
22501 | if (PyErr_Occurred()) SWIG_fail; | |
22502 | { | |
22503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22504 | (arg1)->SetPPIPrinter(arg2,arg3); | |
22505 | ||
22506 | wxPyEndAllowThreads(__tstate); | |
22507 | if (PyErr_Occurred()) SWIG_fail; | |
22508 | } | |
22509 | Py_INCREF(Py_None); resultobj = Py_None; | |
22510 | return resultobj; | |
22511 | fail: | |
22512 | return NULL; | |
22513 | } | |
22514 | ||
22515 | ||
22516 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22517 | PyObject *resultobj; | |
22518 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22519 | int *arg2 = (int *) 0 ; | |
22520 | int *arg3 = (int *) 0 ; | |
22521 | int temp2 ; | |
22522 | int temp3 ; | |
22523 | PyObject * obj0 = 0 ; | |
22524 | char *kwnames[] = { | |
22525 | (char *) "self", NULL | |
22526 | }; | |
22527 | ||
22528 | arg2 = &temp2; | |
22529 | arg3 = &temp3; | |
22530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; | |
22531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22533 | { | |
22534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22535 | (arg1)->GetPPIPrinter(arg2,arg3); | |
22536 | ||
22537 | wxPyEndAllowThreads(__tstate); | |
22538 | if (PyErr_Occurred()) SWIG_fail; | |
22539 | } | |
22540 | Py_INCREF(Py_None); resultobj = Py_None; | |
22541 | { | |
22542 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
22543 | resultobj = t_output_helper(resultobj,o); | |
22544 | } | |
22545 | { | |
22546 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
22547 | resultobj = t_output_helper(resultobj,o); | |
22548 | } | |
22549 | return resultobj; | |
22550 | fail: | |
22551 | return NULL; | |
22552 | } | |
22553 | ||
22554 | ||
22555 | static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22556 | PyObject *resultobj; | |
22557 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22558 | bool result; | |
22559 | PyObject * obj0 = 0 ; | |
22560 | char *kwnames[] = { | |
22561 | (char *) "self", NULL | |
22562 | }; | |
22563 | ||
22564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
22565 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22566 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22567 | { | |
22568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22569 | result = (bool)(arg1)->IsPreview(); | |
22570 | ||
22571 | wxPyEndAllowThreads(__tstate); | |
22572 | if (PyErr_Occurred()) SWIG_fail; | |
22573 | } | |
22574 | { | |
22575 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22576 | } | |
22577 | return resultobj; | |
22578 | fail: | |
22579 | return NULL; | |
22580 | } | |
22581 | ||
22582 | ||
22583 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22584 | PyObject *resultobj; | |
22585 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22586 | bool arg2 ; | |
22587 | PyObject * obj0 = 0 ; | |
22588 | PyObject * obj1 = 0 ; | |
22589 | char *kwnames[] = { | |
22590 | (char *) "self",(char *) "p", NULL | |
22591 | }; | |
22592 | ||
22593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
22594 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22595 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22596 | arg2 = (bool) SWIG_AsBool(obj1); | |
22597 | if (PyErr_Occurred()) SWIG_fail; | |
22598 | { | |
22599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22600 | (arg1)->SetIsPreview(arg2); | |
22601 | ||
22602 | wxPyEndAllowThreads(__tstate); | |
22603 | if (PyErr_Occurred()) SWIG_fail; | |
22604 | } | |
22605 | Py_INCREF(Py_None); resultobj = Py_None; | |
22606 | return resultobj; | |
22607 | fail: | |
22608 | return NULL; | |
22609 | } | |
22610 | ||
22611 | ||
22612 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22613 | PyObject *resultobj; | |
22614 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22615 | int arg2 ; | |
22616 | int arg3 ; | |
22617 | bool result; | |
22618 | PyObject * obj0 = 0 ; | |
22619 | PyObject * obj1 = 0 ; | |
22620 | PyObject * obj2 = 0 ; | |
22621 | char *kwnames[] = { | |
22622 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
22623 | }; | |
22624 | ||
22625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22626 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22627 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22628 | arg2 = (int) SWIG_AsInt(obj1); | |
22629 | if (PyErr_Occurred()) SWIG_fail; | |
22630 | arg3 = (int) SWIG_AsInt(obj2); | |
22631 | if (PyErr_Occurred()) SWIG_fail; | |
22632 | { | |
22633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22634 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
22635 | ||
22636 | wxPyEndAllowThreads(__tstate); | |
22637 | if (PyErr_Occurred()) SWIG_fail; | |
22638 | } | |
22639 | { | |
22640 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22641 | } | |
22642 | return resultobj; | |
22643 | fail: | |
22644 | return NULL; | |
22645 | } | |
22646 | ||
22647 | ||
22648 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22649 | PyObject *resultobj; | |
22650 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22651 | PyObject * obj0 = 0 ; | |
22652 | char *kwnames[] = { | |
22653 | (char *) "self", NULL | |
22654 | }; | |
22655 | ||
22656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
22657 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22659 | { | |
22660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22661 | (arg1)->base_OnEndDocument(); | |
22662 | ||
22663 | wxPyEndAllowThreads(__tstate); | |
22664 | if (PyErr_Occurred()) SWIG_fail; | |
22665 | } | |
22666 | Py_INCREF(Py_None); resultobj = Py_None; | |
22667 | return resultobj; | |
22668 | fail: | |
22669 | return NULL; | |
22670 | } | |
22671 | ||
22672 | ||
22673 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22674 | PyObject *resultobj; | |
22675 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22676 | PyObject * obj0 = 0 ; | |
22677 | char *kwnames[] = { | |
22678 | (char *) "self", NULL | |
22679 | }; | |
22680 | ||
22681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
22682 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22683 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22684 | { | |
22685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22686 | (arg1)->base_OnBeginPrinting(); | |
22687 | ||
22688 | wxPyEndAllowThreads(__tstate); | |
22689 | if (PyErr_Occurred()) SWIG_fail; | |
22690 | } | |
22691 | Py_INCREF(Py_None); resultobj = Py_None; | |
22692 | return resultobj; | |
22693 | fail: | |
22694 | return NULL; | |
22695 | } | |
22696 | ||
22697 | ||
22698 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22699 | PyObject *resultobj; | |
22700 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22701 | PyObject * obj0 = 0 ; | |
22702 | char *kwnames[] = { | |
22703 | (char *) "self", NULL | |
22704 | }; | |
22705 | ||
22706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
22707 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22708 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22709 | { | |
22710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22711 | (arg1)->base_OnEndPrinting(); | |
22712 | ||
22713 | wxPyEndAllowThreads(__tstate); | |
22714 | if (PyErr_Occurred()) SWIG_fail; | |
22715 | } | |
22716 | Py_INCREF(Py_None); resultobj = Py_None; | |
22717 | return resultobj; | |
22718 | fail: | |
22719 | return NULL; | |
22720 | } | |
22721 | ||
22722 | ||
22723 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22724 | PyObject *resultobj; | |
22725 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22726 | PyObject * obj0 = 0 ; | |
22727 | char *kwnames[] = { | |
22728 | (char *) "self", NULL | |
22729 | }; | |
22730 | ||
22731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
22732 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22733 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22734 | { | |
22735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22736 | (arg1)->base_OnPreparePrinting(); | |
22737 | ||
22738 | wxPyEndAllowThreads(__tstate); | |
22739 | if (PyErr_Occurred()) SWIG_fail; | |
22740 | } | |
22741 | Py_INCREF(Py_None); resultobj = Py_None; | |
22742 | return resultobj; | |
22743 | fail: | |
22744 | return NULL; | |
22745 | } | |
22746 | ||
22747 | ||
22748 | static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22749 | PyObject *resultobj; | |
22750 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22751 | int arg2 ; | |
22752 | bool result; | |
22753 | PyObject * obj0 = 0 ; | |
22754 | PyObject * obj1 = 0 ; | |
22755 | char *kwnames[] = { | |
22756 | (char *) "self",(char *) "page", NULL | |
22757 | }; | |
22758 | ||
22759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; | |
22760 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22761 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22762 | arg2 = (int) SWIG_AsInt(obj1); | |
22763 | if (PyErr_Occurred()) SWIG_fail; | |
22764 | { | |
22765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22766 | result = (bool)(arg1)->base_HasPage(arg2); | |
22767 | ||
22768 | wxPyEndAllowThreads(__tstate); | |
22769 | if (PyErr_Occurred()) SWIG_fail; | |
22770 | } | |
22771 | { | |
22772 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22773 | } | |
22774 | return resultobj; | |
22775 | fail: | |
22776 | return NULL; | |
22777 | } | |
22778 | ||
22779 | ||
22780 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22781 | PyObject *resultobj; | |
22782 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22783 | int *arg2 = (int *) 0 ; | |
22784 | int *arg3 = (int *) 0 ; | |
22785 | int *arg4 = (int *) 0 ; | |
22786 | int *arg5 = (int *) 0 ; | |
22787 | int temp2 ; | |
22788 | int temp3 ; | |
22789 | int temp4 ; | |
22790 | int temp5 ; | |
22791 | PyObject * obj0 = 0 ; | |
22792 | char *kwnames[] = { | |
22793 | (char *) "self", NULL | |
22794 | }; | |
22795 | ||
22796 | arg2 = &temp2; | |
22797 | arg3 = &temp3; | |
22798 | arg4 = &temp4; | |
22799 | arg5 = &temp5; | |
22800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; | |
22801 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22802 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22803 | { | |
22804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22805 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
22806 | ||
22807 | wxPyEndAllowThreads(__tstate); | |
22808 | if (PyErr_Occurred()) SWIG_fail; | |
22809 | } | |
22810 | Py_INCREF(Py_None); resultobj = Py_None; | |
22811 | { | |
22812 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
22813 | resultobj = t_output_helper(resultobj,o); | |
22814 | } | |
22815 | { | |
22816 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
22817 | resultobj = t_output_helper(resultobj,o); | |
22818 | } | |
22819 | { | |
22820 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
22821 | resultobj = t_output_helper(resultobj,o); | |
22822 | } | |
22823 | { | |
22824 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
22825 | resultobj = t_output_helper(resultobj,o); | |
22826 | } | |
22827 | return resultobj; | |
22828 | fail: | |
22829 | return NULL; | |
22830 | } | |
22831 | ||
22832 | ||
22833 | static PyObject * Printout_swigregister(PyObject *self, PyObject *args) { | |
22834 | PyObject *obj; | |
22835 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22836 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
22837 | Py_INCREF(obj); | |
22838 | return Py_BuildValue((char *)""); | |
22839 | } | |
22840 | static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22841 | PyObject *resultobj; | |
22842 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22843 | wxWindow *arg2 = (wxWindow *) 0 ; | |
22844 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
22845 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
22846 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
22847 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
22848 | long arg5 = (long) 0 ; | |
22849 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
22850 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
22851 | wxPreviewCanvas *result; | |
22852 | wxPoint temp3 ; | |
22853 | wxSize temp4 ; | |
22854 | bool temp6 = False ; | |
22855 | PyObject * obj0 = 0 ; | |
22856 | PyObject * obj1 = 0 ; | |
22857 | PyObject * obj2 = 0 ; | |
22858 | PyObject * obj3 = 0 ; | |
22859 | PyObject * obj4 = 0 ; | |
22860 | PyObject * obj5 = 0 ; | |
22861 | char *kwnames[] = { | |
22862 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22863 | }; | |
22864 | ||
22865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
22866 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
22867 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22868 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22869 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22870 | if (obj2) { | |
22871 | { | |
22872 | arg3 = &temp3; | |
22873 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
22874 | } | |
22875 | } | |
22876 | if (obj3) { | |
22877 | { | |
22878 | arg4 = &temp4; | |
22879 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
22880 | } | |
22881 | } | |
22882 | if (obj4) { | |
22883 | arg5 = (long) SWIG_AsLong(obj4); | |
22884 | if (PyErr_Occurred()) SWIG_fail; | |
22885 | } | |
22886 | if (obj5) { | |
22887 | { | |
22888 | arg6 = wxString_in_helper(obj5); | |
22889 | if (arg6 == NULL) SWIG_fail; | |
22890 | temp6 = True; | |
22891 | } | |
22892 | } | |
22893 | { | |
0439c23b | 22894 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
22895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22896 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
22897 | ||
22898 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 22899 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
22900 | } |
22901 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); | |
22902 | { | |
22903 | if (temp6) | |
22904 | delete arg6; | |
22905 | } | |
22906 | return resultobj; | |
22907 | fail: | |
22908 | { | |
22909 | if (temp6) | |
22910 | delete arg6; | |
22911 | } | |
22912 | return NULL; | |
22913 | } | |
22914 | ||
22915 | ||
22916 | static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) { | |
22917 | PyObject *obj; | |
22918 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22919 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
22920 | Py_INCREF(obj); | |
22921 | return Py_BuildValue((char *)""); | |
22922 | } | |
22923 | static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22924 | PyObject *resultobj; | |
22925 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22926 | wxFrame *arg2 = (wxFrame *) 0 ; | |
22927 | wxString *arg3 = 0 ; | |
22928 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22929 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22930 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22931 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22932 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
22933 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
22934 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22935 | wxPreviewFrame *result; | |
22936 | bool temp3 = False ; | |
22937 | wxPoint temp4 ; | |
22938 | wxSize temp5 ; | |
22939 | bool temp7 = False ; | |
22940 | PyObject * obj0 = 0 ; | |
22941 | PyObject * obj1 = 0 ; | |
22942 | PyObject * obj2 = 0 ; | |
22943 | PyObject * obj3 = 0 ; | |
22944 | PyObject * obj4 = 0 ; | |
22945 | PyObject * obj5 = 0 ; | |
22946 | PyObject * obj6 = 0 ; | |
22947 | char *kwnames[] = { | |
22948 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22949 | }; | |
22950 | ||
22951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
22952 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
22953 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22954 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
22955 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22956 | { | |
22957 | arg3 = wxString_in_helper(obj2); | |
22958 | if (arg3 == NULL) SWIG_fail; | |
22959 | temp3 = True; | |
22960 | } | |
22961 | if (obj3) { | |
22962 | { | |
22963 | arg4 = &temp4; | |
22964 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22965 | } | |
22966 | } | |
22967 | if (obj4) { | |
22968 | { | |
22969 | arg5 = &temp5; | |
22970 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22971 | } | |
22972 | } | |
22973 | if (obj5) { | |
22974 | arg6 = (long) SWIG_AsLong(obj5); | |
22975 | if (PyErr_Occurred()) SWIG_fail; | |
22976 | } | |
22977 | if (obj6) { | |
22978 | { | |
22979 | arg7 = wxString_in_helper(obj6); | |
22980 | if (arg7 == NULL) SWIG_fail; | |
22981 | temp7 = True; | |
22982 | } | |
22983 | } | |
22984 | { | |
0439c23b | 22985 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
22986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22987 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22988 | ||
22989 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 22990 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
22991 | } |
22992 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); | |
22993 | { | |
22994 | if (temp3) | |
22995 | delete arg3; | |
22996 | } | |
22997 | { | |
22998 | if (temp7) | |
22999 | delete arg7; | |
23000 | } | |
23001 | return resultobj; | |
23002 | fail: | |
23003 | { | |
23004 | if (temp3) | |
23005 | delete arg3; | |
23006 | } | |
23007 | { | |
23008 | if (temp7) | |
23009 | delete arg7; | |
23010 | } | |
23011 | return NULL; | |
23012 | } | |
23013 | ||
23014 | ||
23015 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23016 | PyObject *resultobj; | |
23017 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23018 | PyObject * obj0 = 0 ; | |
23019 | char *kwnames[] = { | |
23020 | (char *) "self", NULL | |
23021 | }; | |
23022 | ||
23023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
23024 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, | |
23025 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23026 | { | |
23027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23028 | (arg1)->Initialize(); | |
23029 | ||
23030 | wxPyEndAllowThreads(__tstate); | |
23031 | if (PyErr_Occurred()) SWIG_fail; | |
23032 | } | |
23033 | Py_INCREF(Py_None); resultobj = Py_None; | |
23034 | return resultobj; | |
23035 | fail: | |
23036 | return NULL; | |
23037 | } | |
23038 | ||
23039 | ||
23040 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23041 | PyObject *resultobj; | |
23042 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23043 | PyObject * obj0 = 0 ; | |
23044 | char *kwnames[] = { | |
23045 | (char *) "self", NULL | |
23046 | }; | |
23047 | ||
23048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
23049 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, | |
23050 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23051 | { | |
23052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23053 | (arg1)->CreateControlBar(); | |
23054 | ||
23055 | wxPyEndAllowThreads(__tstate); | |
23056 | if (PyErr_Occurred()) SWIG_fail; | |
23057 | } | |
23058 | Py_INCREF(Py_None); resultobj = Py_None; | |
23059 | return resultobj; | |
23060 | fail: | |
23061 | return NULL; | |
23062 | } | |
23063 | ||
23064 | ||
23065 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23066 | PyObject *resultobj; | |
23067 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23068 | PyObject * obj0 = 0 ; | |
23069 | char *kwnames[] = { | |
23070 | (char *) "self", NULL | |
23071 | }; | |
23072 | ||
23073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
23074 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, | |
23075 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23076 | { | |
23077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23078 | (arg1)->CreateCanvas(); | |
23079 | ||
23080 | wxPyEndAllowThreads(__tstate); | |
23081 | if (PyErr_Occurred()) SWIG_fail; | |
23082 | } | |
23083 | Py_INCREF(Py_None); resultobj = Py_None; | |
23084 | return resultobj; | |
23085 | fail: | |
23086 | return NULL; | |
23087 | } | |
23088 | ||
23089 | ||
23090 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23091 | PyObject *resultobj; | |
23092 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23093 | wxPreviewControlBar *result; | |
23094 | PyObject * obj0 = 0 ; | |
23095 | char *kwnames[] = { | |
23096 | (char *) "self", NULL | |
23097 | }; | |
23098 | ||
23099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
23100 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, | |
23101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23102 | { | |
23103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23104 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
23105 | ||
23106 | wxPyEndAllowThreads(__tstate); | |
23107 | if (PyErr_Occurred()) SWIG_fail; | |
23108 | } | |
23109 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); | |
23110 | return resultobj; | |
23111 | fail: | |
23112 | return NULL; | |
23113 | } | |
23114 | ||
23115 | ||
23116 | static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
23117 | PyObject *obj; | |
23118 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23119 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
23120 | Py_INCREF(obj); | |
23121 | return Py_BuildValue((char *)""); | |
23122 | } | |
23123 | static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23124 | PyObject *resultobj; | |
23125 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23126 | long arg2 ; | |
23127 | wxWindow *arg3 = (wxWindow *) 0 ; | |
23128 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
23129 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
23130 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
23131 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
23132 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
23133 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
23134 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
23135 | wxPreviewControlBar *result; | |
23136 | wxPoint temp4 ; | |
23137 | wxSize temp5 ; | |
23138 | bool temp7 = False ; | |
23139 | PyObject * obj0 = 0 ; | |
23140 | PyObject * obj1 = 0 ; | |
23141 | PyObject * obj2 = 0 ; | |
23142 | PyObject * obj3 = 0 ; | |
23143 | PyObject * obj4 = 0 ; | |
23144 | PyObject * obj5 = 0 ; | |
23145 | PyObject * obj6 = 0 ; | |
23146 | char *kwnames[] = { | |
23147 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
23148 | }; | |
23149 | ||
23150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
23151 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23152 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23153 | arg2 = (long) SWIG_AsLong(obj1); | |
23154 | if (PyErr_Occurred()) SWIG_fail; | |
23155 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
23156 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23157 | if (obj3) { | |
23158 | { | |
23159 | arg4 = &temp4; | |
23160 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
23161 | } | |
23162 | } | |
23163 | if (obj4) { | |
23164 | { | |
23165 | arg5 = &temp5; | |
23166 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
23167 | } | |
23168 | } | |
23169 | if (obj5) { | |
23170 | arg6 = (long) SWIG_AsLong(obj5); | |
23171 | if (PyErr_Occurred()) SWIG_fail; | |
23172 | } | |
23173 | if (obj6) { | |
23174 | { | |
23175 | arg7 = wxString_in_helper(obj6); | |
23176 | if (arg7 == NULL) SWIG_fail; | |
23177 | temp7 = True; | |
23178 | } | |
23179 | } | |
23180 | { | |
0439c23b | 23181 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
23182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23183 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
23184 | ||
23185 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23186 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
23187 | } |
23188 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); | |
23189 | { | |
23190 | if (temp7) | |
23191 | delete arg7; | |
23192 | } | |
23193 | return resultobj; | |
23194 | fail: | |
23195 | { | |
23196 | if (temp7) | |
23197 | delete arg7; | |
23198 | } | |
23199 | return NULL; | |
23200 | } | |
23201 | ||
23202 | ||
23203 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23204 | PyObject *resultobj; | |
23205 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23206 | int result; | |
23207 | PyObject * obj0 = 0 ; | |
23208 | char *kwnames[] = { | |
23209 | (char *) "self", NULL | |
23210 | }; | |
23211 | ||
23212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
23213 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23214 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23215 | { | |
23216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23217 | result = (int)(arg1)->GetZoomControl(); | |
23218 | ||
23219 | wxPyEndAllowThreads(__tstate); | |
23220 | if (PyErr_Occurred()) SWIG_fail; | |
23221 | } | |
23222 | resultobj = SWIG_FromInt((int)result); | |
23223 | return resultobj; | |
23224 | fail: | |
23225 | return NULL; | |
23226 | } | |
23227 | ||
23228 | ||
23229 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23230 | PyObject *resultobj; | |
23231 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23232 | int arg2 ; | |
23233 | PyObject * obj0 = 0 ; | |
23234 | PyObject * obj1 = 0 ; | |
23235 | char *kwnames[] = { | |
23236 | (char *) "self",(char *) "zoom", NULL | |
23237 | }; | |
23238 | ||
23239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; | |
23240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23242 | arg2 = (int) SWIG_AsInt(obj1); | |
23243 | if (PyErr_Occurred()) SWIG_fail; | |
23244 | { | |
23245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23246 | (arg1)->SetZoomControl(arg2); | |
23247 | ||
23248 | wxPyEndAllowThreads(__tstate); | |
23249 | if (PyErr_Occurred()) SWIG_fail; | |
23250 | } | |
23251 | Py_INCREF(Py_None); resultobj = Py_None; | |
23252 | return resultobj; | |
23253 | fail: | |
23254 | return NULL; | |
23255 | } | |
23256 | ||
23257 | ||
23258 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23259 | PyObject *resultobj; | |
23260 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23261 | wxPrintPreview *result; | |
23262 | PyObject * obj0 = 0 ; | |
23263 | char *kwnames[] = { | |
23264 | (char *) "self", NULL | |
23265 | }; | |
23266 | ||
23267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
23268 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23269 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23270 | { | |
23271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23272 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
23273 | ||
23274 | wxPyEndAllowThreads(__tstate); | |
23275 | if (PyErr_Occurred()) SWIG_fail; | |
23276 | } | |
23277 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); | |
23278 | return resultobj; | |
23279 | fail: | |
23280 | return NULL; | |
23281 | } | |
23282 | ||
23283 | ||
23284 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23285 | PyObject *resultobj; | |
23286 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23287 | PyObject * obj0 = 0 ; | |
23288 | char *kwnames[] = { | |
23289 | (char *) "self", NULL | |
23290 | }; | |
23291 | ||
23292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
23293 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23294 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23295 | { | |
23296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23297 | (arg1)->OnNext(); | |
23298 | ||
23299 | wxPyEndAllowThreads(__tstate); | |
23300 | if (PyErr_Occurred()) SWIG_fail; | |
23301 | } | |
23302 | Py_INCREF(Py_None); resultobj = Py_None; | |
23303 | return resultobj; | |
23304 | fail: | |
23305 | return NULL; | |
23306 | } | |
23307 | ||
23308 | ||
23309 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23310 | PyObject *resultobj; | |
23311 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23312 | PyObject * obj0 = 0 ; | |
23313 | char *kwnames[] = { | |
23314 | (char *) "self", NULL | |
23315 | }; | |
23316 | ||
23317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
23318 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23319 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23320 | { | |
23321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23322 | (arg1)->OnPrevious(); | |
23323 | ||
23324 | wxPyEndAllowThreads(__tstate); | |
23325 | if (PyErr_Occurred()) SWIG_fail; | |
23326 | } | |
23327 | Py_INCREF(Py_None); resultobj = Py_None; | |
23328 | return resultobj; | |
23329 | fail: | |
23330 | return NULL; | |
23331 | } | |
23332 | ||
23333 | ||
23334 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23335 | PyObject *resultobj; | |
23336 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23337 | PyObject * obj0 = 0 ; | |
23338 | char *kwnames[] = { | |
23339 | (char *) "self", NULL | |
23340 | }; | |
23341 | ||
23342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
23343 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23344 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23345 | { | |
23346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23347 | (arg1)->OnFirst(); | |
23348 | ||
23349 | wxPyEndAllowThreads(__tstate); | |
23350 | if (PyErr_Occurred()) SWIG_fail; | |
23351 | } | |
23352 | Py_INCREF(Py_None); resultobj = Py_None; | |
23353 | return resultobj; | |
23354 | fail: | |
23355 | return NULL; | |
23356 | } | |
23357 | ||
23358 | ||
23359 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23360 | PyObject *resultobj; | |
23361 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23362 | PyObject * obj0 = 0 ; | |
23363 | char *kwnames[] = { | |
23364 | (char *) "self", NULL | |
23365 | }; | |
23366 | ||
23367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
23368 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23369 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23370 | { | |
23371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23372 | (arg1)->OnLast(); | |
23373 | ||
23374 | wxPyEndAllowThreads(__tstate); | |
23375 | if (PyErr_Occurred()) SWIG_fail; | |
23376 | } | |
23377 | Py_INCREF(Py_None); resultobj = Py_None; | |
23378 | return resultobj; | |
23379 | fail: | |
23380 | return NULL; | |
23381 | } | |
23382 | ||
23383 | ||
23384 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23385 | PyObject *resultobj; | |
23386 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23387 | PyObject * obj0 = 0 ; | |
23388 | char *kwnames[] = { | |
23389 | (char *) "self", NULL | |
23390 | }; | |
23391 | ||
23392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
23393 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23394 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23395 | { | |
23396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23397 | (arg1)->OnGoto(); | |
23398 | ||
23399 | wxPyEndAllowThreads(__tstate); | |
23400 | if (PyErr_Occurred()) SWIG_fail; | |
23401 | } | |
23402 | Py_INCREF(Py_None); resultobj = Py_None; | |
23403 | return resultobj; | |
23404 | fail: | |
23405 | return NULL; | |
23406 | } | |
23407 | ||
23408 | ||
23409 | static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
23410 | PyObject *obj; | |
23411 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23412 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
23413 | Py_INCREF(obj); | |
23414 | return Py_BuildValue((char *)""); | |
23415 | } | |
23416 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) { | |
23417 | PyObject *resultobj; | |
23418 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23419 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
23420 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; | |
23421 | wxPrintPreview *result; | |
23422 | PyObject * obj0 = 0 ; | |
23423 | PyObject * obj1 = 0 ; | |
23424 | PyObject * obj2 = 0 ; | |
23425 | ||
23426 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
23427 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
23428 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23429 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23430 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23431 | if (obj2) { | |
23432 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, | |
23433 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23434 | } | |
23435 | { | |
0439c23b | 23436 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
23437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23438 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
23439 | ||
23440 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23441 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
23442 | } |
23443 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
23444 | return resultobj; | |
23445 | fail: | |
23446 | return NULL; | |
23447 | } | |
23448 | ||
23449 | ||
23450 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) { | |
23451 | PyObject *resultobj; | |
23452 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23453 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
23454 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
23455 | wxPrintPreview *result; | |
23456 | PyObject * obj0 = 0 ; | |
23457 | PyObject * obj1 = 0 ; | |
23458 | PyObject * obj2 = 0 ; | |
23459 | ||
23460 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
23461 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
23462 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23463 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23464 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23465 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
23466 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23467 | { | |
0439c23b | 23468 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
23469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23470 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
23471 | ||
23472 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23473 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
23474 | } |
23475 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
23476 | return resultobj; | |
23477 | fail: | |
23478 | return NULL; | |
23479 | } | |
23480 | ||
23481 | ||
23482 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
23483 | int argc; | |
23484 | PyObject *argv[4]; | |
23485 | int ii; | |
23486 | ||
23487 | argc = PyObject_Length(args); | |
23488 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
23489 | argv[ii] = PyTuple_GetItem(args,ii); | |
23490 | } | |
23491 | if ((argc >= 2) && (argc <= 3)) { | |
23492 | int _v; | |
23493 | { | |
23494 | void *ptr; | |
23495 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23496 | _v = 0; | |
23497 | PyErr_Clear(); | |
23498 | } else { | |
23499 | _v = 1; | |
23500 | } | |
23501 | } | |
23502 | if (_v) { | |
23503 | { | |
23504 | void *ptr; | |
23505 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23506 | _v = 0; | |
23507 | PyErr_Clear(); | |
23508 | } else { | |
23509 | _v = 1; | |
23510 | } | |
23511 | } | |
23512 | if (_v) { | |
23513 | if (argc <= 2) { | |
23514 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
23515 | } | |
23516 | { | |
23517 | void *ptr; | |
23518 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
23519 | _v = 0; | |
23520 | PyErr_Clear(); | |
23521 | } else { | |
23522 | _v = 1; | |
23523 | } | |
23524 | } | |
23525 | if (_v) { | |
23526 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
23527 | } | |
23528 | } | |
23529 | } | |
23530 | } | |
23531 | if (argc == 3) { | |
23532 | int _v; | |
23533 | { | |
23534 | void *ptr; | |
23535 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23536 | _v = 0; | |
23537 | PyErr_Clear(); | |
23538 | } else { | |
23539 | _v = 1; | |
23540 | } | |
23541 | } | |
23542 | if (_v) { | |
23543 | { | |
23544 | void *ptr; | |
23545 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23546 | _v = 0; | |
23547 | PyErr_Clear(); | |
23548 | } else { | |
23549 | _v = 1; | |
23550 | } | |
23551 | } | |
23552 | if (_v) { | |
23553 | { | |
23554 | void *ptr; | |
23555 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
23556 | _v = 0; | |
23557 | PyErr_Clear(); | |
23558 | } else { | |
23559 | _v = 1; | |
23560 | } | |
23561 | } | |
23562 | if (_v) { | |
23563 | return _wrap_new_PrintPreview__SWIG_1(self,args); | |
23564 | } | |
23565 | } | |
23566 | } | |
23567 | } | |
23568 | ||
23569 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'"); | |
23570 | return NULL; | |
23571 | } | |
23572 | ||
23573 | ||
23574 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23575 | PyObject *resultobj; | |
23576 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23577 | int arg2 ; | |
23578 | bool result; | |
23579 | PyObject * obj0 = 0 ; | |
23580 | PyObject * obj1 = 0 ; | |
23581 | char *kwnames[] = { | |
23582 | (char *) "self",(char *) "pageNum", NULL | |
23583 | }; | |
23584 | ||
23585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; | |
23586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23588 | arg2 = (int) SWIG_AsInt(obj1); | |
23589 | if (PyErr_Occurred()) SWIG_fail; | |
23590 | { | |
23591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23592 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
23593 | ||
23594 | wxPyEndAllowThreads(__tstate); | |
23595 | if (PyErr_Occurred()) SWIG_fail; | |
23596 | } | |
23597 | { | |
23598 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23599 | } | |
23600 | return resultobj; | |
23601 | fail: | |
23602 | return NULL; | |
23603 | } | |
23604 | ||
23605 | ||
23606 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23607 | PyObject *resultobj; | |
23608 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23609 | int result; | |
23610 | PyObject * obj0 = 0 ; | |
23611 | char *kwnames[] = { | |
23612 | (char *) "self", NULL | |
23613 | }; | |
23614 | ||
23615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
23616 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23617 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23618 | { | |
23619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23620 | result = (int)(arg1)->GetCurrentPage(); | |
23621 | ||
23622 | wxPyEndAllowThreads(__tstate); | |
23623 | if (PyErr_Occurred()) SWIG_fail; | |
23624 | } | |
23625 | resultobj = SWIG_FromInt((int)result); | |
23626 | return resultobj; | |
23627 | fail: | |
23628 | return NULL; | |
23629 | } | |
23630 | ||
23631 | ||
23632 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23633 | PyObject *resultobj; | |
23634 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23635 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
23636 | PyObject * obj0 = 0 ; | |
23637 | PyObject * obj1 = 0 ; | |
23638 | char *kwnames[] = { | |
23639 | (char *) "self",(char *) "printout", NULL | |
23640 | }; | |
23641 | ||
23642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
23643 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23644 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23645 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23646 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23647 | { | |
23648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23649 | (arg1)->SetPrintout(arg2); | |
23650 | ||
23651 | wxPyEndAllowThreads(__tstate); | |
23652 | if (PyErr_Occurred()) SWIG_fail; | |
23653 | } | |
23654 | Py_INCREF(Py_None); resultobj = Py_None; | |
23655 | return resultobj; | |
23656 | fail: | |
23657 | return NULL; | |
23658 | } | |
23659 | ||
23660 | ||
23661 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23662 | PyObject *resultobj; | |
23663 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23664 | wxPyPrintout *result; | |
23665 | PyObject * obj0 = 0 ; | |
23666 | char *kwnames[] = { | |
23667 | (char *) "self", NULL | |
23668 | }; | |
23669 | ||
23670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
23671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23673 | { | |
23674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23675 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
23676 | ||
23677 | wxPyEndAllowThreads(__tstate); | |
23678 | if (PyErr_Occurred()) SWIG_fail; | |
23679 | } | |
23680 | { | |
412d302d | 23681 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
23682 | } |
23683 | return resultobj; | |
23684 | fail: | |
23685 | return NULL; | |
23686 | } | |
23687 | ||
23688 | ||
23689 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23690 | PyObject *resultobj; | |
23691 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23692 | wxPyPrintout *result; | |
23693 | PyObject * obj0 = 0 ; | |
23694 | char *kwnames[] = { | |
23695 | (char *) "self", NULL | |
23696 | }; | |
23697 | ||
23698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
23699 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23700 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23701 | { | |
23702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23703 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
23704 | ||
23705 | wxPyEndAllowThreads(__tstate); | |
23706 | if (PyErr_Occurred()) SWIG_fail; | |
23707 | } | |
23708 | { | |
412d302d | 23709 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
23710 | } |
23711 | return resultobj; | |
23712 | fail: | |
23713 | return NULL; | |
23714 | } | |
23715 | ||
23716 | ||
23717 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23718 | PyObject *resultobj; | |
23719 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23720 | wxFrame *arg2 = (wxFrame *) 0 ; | |
23721 | PyObject * obj0 = 0 ; | |
23722 | PyObject * obj1 = 0 ; | |
23723 | char *kwnames[] = { | |
23724 | (char *) "self",(char *) "frame", NULL | |
23725 | }; | |
23726 | ||
23727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
23728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23730 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
23731 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23732 | { | |
23733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23734 | (arg1)->SetFrame(arg2); | |
23735 | ||
23736 | wxPyEndAllowThreads(__tstate); | |
23737 | if (PyErr_Occurred()) SWIG_fail; | |
23738 | } | |
23739 | Py_INCREF(Py_None); resultobj = Py_None; | |
23740 | return resultobj; | |
23741 | fail: | |
23742 | return NULL; | |
23743 | } | |
23744 | ||
23745 | ||
23746 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23747 | PyObject *resultobj; | |
23748 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23749 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23750 | PyObject * obj0 = 0 ; | |
23751 | PyObject * obj1 = 0 ; | |
23752 | char *kwnames[] = { | |
23753 | (char *) "self",(char *) "canvas", NULL | |
23754 | }; | |
23755 | ||
23756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
23757 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23758 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23759 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23760 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23761 | { | |
23762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23763 | (arg1)->SetCanvas(arg2); | |
23764 | ||
23765 | wxPyEndAllowThreads(__tstate); | |
23766 | if (PyErr_Occurred()) SWIG_fail; | |
23767 | } | |
23768 | Py_INCREF(Py_None); resultobj = Py_None; | |
23769 | return resultobj; | |
23770 | fail: | |
23771 | return NULL; | |
23772 | } | |
23773 | ||
23774 | ||
23775 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23776 | PyObject *resultobj; | |
23777 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23778 | wxFrame *result; | |
23779 | PyObject * obj0 = 0 ; | |
23780 | char *kwnames[] = { | |
23781 | (char *) "self", NULL | |
23782 | }; | |
23783 | ||
23784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
23785 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23786 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23787 | { | |
23788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23789 | result = (wxFrame *)(arg1)->GetFrame(); | |
23790 | ||
23791 | wxPyEndAllowThreads(__tstate); | |
23792 | if (PyErr_Occurred()) SWIG_fail; | |
23793 | } | |
23794 | { | |
412d302d | 23795 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
23796 | } |
23797 | return resultobj; | |
23798 | fail: | |
23799 | return NULL; | |
23800 | } | |
23801 | ||
23802 | ||
23803 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23804 | PyObject *resultobj; | |
23805 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23806 | wxPreviewCanvas *result; | |
23807 | PyObject * obj0 = 0 ; | |
23808 | char *kwnames[] = { | |
23809 | (char *) "self", NULL | |
23810 | }; | |
23811 | ||
23812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
23813 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23814 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23815 | { | |
23816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23817 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
23818 | ||
23819 | wxPyEndAllowThreads(__tstate); | |
23820 | if (PyErr_Occurred()) SWIG_fail; | |
23821 | } | |
23822 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); | |
23823 | return resultobj; | |
23824 | fail: | |
23825 | return NULL; | |
23826 | } | |
23827 | ||
23828 | ||
23829 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23830 | PyObject *resultobj; | |
23831 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23832 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23833 | wxDC *arg3 = 0 ; | |
23834 | bool result; | |
23835 | PyObject * obj0 = 0 ; | |
23836 | PyObject * obj1 = 0 ; | |
23837 | PyObject * obj2 = 0 ; | |
23838 | char *kwnames[] = { | |
23839 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
23840 | }; | |
23841 | ||
23842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
23843 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23844 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23845 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23846 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23847 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
23848 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
23849 | SWIG_fail; | |
23850 | if (arg3 == NULL) { | |
23851 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
23852 | SWIG_fail; | |
23853 | } | |
23854 | { | |
23855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23856 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
23857 | ||
23858 | wxPyEndAllowThreads(__tstate); | |
23859 | if (PyErr_Occurred()) SWIG_fail; | |
23860 | } | |
23861 | { | |
23862 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23863 | } | |
23864 | return resultobj; | |
23865 | fail: | |
23866 | return NULL; | |
23867 | } | |
23868 | ||
23869 | ||
23870 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23871 | PyObject *resultobj; | |
23872 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23873 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23874 | wxDC *arg3 = 0 ; | |
23875 | bool result; | |
23876 | PyObject * obj0 = 0 ; | |
23877 | PyObject * obj1 = 0 ; | |
23878 | PyObject * obj2 = 0 ; | |
23879 | char *kwnames[] = { | |
23880 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
23881 | }; | |
23882 | ||
23883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
23884 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23885 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23886 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23887 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23888 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
23889 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
23890 | SWIG_fail; | |
23891 | if (arg3 == NULL) { | |
23892 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
23893 | SWIG_fail; | |
23894 | } | |
23895 | { | |
23896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23897 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
23898 | ||
23899 | wxPyEndAllowThreads(__tstate); | |
23900 | if (PyErr_Occurred()) SWIG_fail; | |
23901 | } | |
23902 | { | |
23903 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23904 | } | |
23905 | return resultobj; | |
23906 | fail: | |
23907 | return NULL; | |
23908 | } | |
23909 | ||
23910 | ||
23911 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23912 | PyObject *resultobj; | |
23913 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23914 | int arg2 ; | |
23915 | bool result; | |
23916 | PyObject * obj0 = 0 ; | |
23917 | PyObject * obj1 = 0 ; | |
23918 | char *kwnames[] = { | |
23919 | (char *) "self",(char *) "pageNum", NULL | |
23920 | }; | |
23921 | ||
23922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; | |
23923 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23925 | arg2 = (int) SWIG_AsInt(obj1); | |
23926 | if (PyErr_Occurred()) SWIG_fail; | |
23927 | { | |
23928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23929 | result = (bool)(arg1)->RenderPage(arg2); | |
23930 | ||
23931 | wxPyEndAllowThreads(__tstate); | |
23932 | if (PyErr_Occurred()) SWIG_fail; | |
23933 | } | |
23934 | { | |
23935 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23936 | } | |
23937 | return resultobj; | |
23938 | fail: | |
23939 | return NULL; | |
23940 | } | |
23941 | ||
23942 | ||
23943 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23944 | PyObject *resultobj; | |
23945 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23946 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23947 | PyObject * obj0 = 0 ; | |
23948 | PyObject * obj1 = 0 ; | |
23949 | char *kwnames[] = { | |
23950 | (char *) "self",(char *) "canvas", NULL | |
23951 | }; | |
23952 | ||
23953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
23954 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23955 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23956 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23957 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23958 | { | |
23959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23960 | (arg1)->AdjustScrollbars(arg2); | |
23961 | ||
23962 | wxPyEndAllowThreads(__tstate); | |
23963 | if (PyErr_Occurred()) SWIG_fail; | |
23964 | } | |
23965 | Py_INCREF(Py_None); resultobj = Py_None; | |
23966 | return resultobj; | |
23967 | fail: | |
23968 | return NULL; | |
23969 | } | |
23970 | ||
23971 | ||
23972 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23973 | PyObject *resultobj; | |
23974 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23975 | wxPrintDialogData *result; | |
23976 | PyObject * obj0 = 0 ; | |
23977 | char *kwnames[] = { | |
23978 | (char *) "self", NULL | |
23979 | }; | |
23980 | ||
23981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
23982 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23983 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23984 | { | |
23985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23986 | { | |
23987 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
23988 | result = (wxPrintDialogData *) &_result_ref; | |
23989 | } | |
23990 | ||
23991 | wxPyEndAllowThreads(__tstate); | |
23992 | if (PyErr_Occurred()) SWIG_fail; | |
23993 | } | |
23994 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
23995 | return resultobj; | |
23996 | fail: | |
23997 | return NULL; | |
23998 | } | |
23999 | ||
24000 | ||
24001 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24002 | PyObject *resultobj; | |
24003 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24004 | int arg2 ; | |
24005 | PyObject * obj0 = 0 ; | |
24006 | PyObject * obj1 = 0 ; | |
24007 | char *kwnames[] = { | |
24008 | (char *) "self",(char *) "percent", NULL | |
24009 | }; | |
24010 | ||
24011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
24012 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24013 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24014 | arg2 = (int) SWIG_AsInt(obj1); | |
24015 | if (PyErr_Occurred()) SWIG_fail; | |
24016 | { | |
24017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24018 | (arg1)->SetZoom(arg2); | |
24019 | ||
24020 | wxPyEndAllowThreads(__tstate); | |
24021 | if (PyErr_Occurred()) SWIG_fail; | |
24022 | } | |
24023 | Py_INCREF(Py_None); resultobj = Py_None; | |
24024 | return resultobj; | |
24025 | fail: | |
24026 | return NULL; | |
24027 | } | |
24028 | ||
24029 | ||
24030 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24031 | PyObject *resultobj; | |
24032 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24033 | int result; | |
24034 | PyObject * obj0 = 0 ; | |
24035 | char *kwnames[] = { | |
24036 | (char *) "self", NULL | |
24037 | }; | |
24038 | ||
24039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
24040 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24041 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24042 | { | |
24043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24044 | result = (int)(arg1)->GetZoom(); | |
24045 | ||
24046 | wxPyEndAllowThreads(__tstate); | |
24047 | if (PyErr_Occurred()) SWIG_fail; | |
24048 | } | |
24049 | resultobj = SWIG_FromInt((int)result); | |
24050 | return resultobj; | |
24051 | fail: | |
24052 | return NULL; | |
24053 | } | |
24054 | ||
24055 | ||
24056 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24057 | PyObject *resultobj; | |
24058 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24059 | int result; | |
24060 | PyObject * obj0 = 0 ; | |
24061 | char *kwnames[] = { | |
24062 | (char *) "self", NULL | |
24063 | }; | |
24064 | ||
24065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
24066 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24067 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24068 | { | |
24069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24070 | result = (int)(arg1)->GetMaxPage(); | |
24071 | ||
24072 | wxPyEndAllowThreads(__tstate); | |
24073 | if (PyErr_Occurred()) SWIG_fail; | |
24074 | } | |
24075 | resultobj = SWIG_FromInt((int)result); | |
24076 | return resultobj; | |
24077 | fail: | |
24078 | return NULL; | |
24079 | } | |
24080 | ||
24081 | ||
24082 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24083 | PyObject *resultobj; | |
24084 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24085 | int result; | |
24086 | PyObject * obj0 = 0 ; | |
24087 | char *kwnames[] = { | |
24088 | (char *) "self", NULL | |
24089 | }; | |
24090 | ||
24091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
24092 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24093 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24094 | { | |
24095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24096 | result = (int)(arg1)->GetMinPage(); | |
24097 | ||
24098 | wxPyEndAllowThreads(__tstate); | |
24099 | if (PyErr_Occurred()) SWIG_fail; | |
24100 | } | |
24101 | resultobj = SWIG_FromInt((int)result); | |
24102 | return resultobj; | |
24103 | fail: | |
24104 | return NULL; | |
24105 | } | |
24106 | ||
24107 | ||
24108 | static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24109 | PyObject *resultobj; | |
24110 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24111 | bool result; | |
24112 | PyObject * obj0 = 0 ; | |
24113 | char *kwnames[] = { | |
24114 | (char *) "self", NULL | |
24115 | }; | |
24116 | ||
24117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
24118 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24119 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24120 | { | |
24121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24122 | result = (bool)(arg1)->Ok(); | |
24123 | ||
24124 | wxPyEndAllowThreads(__tstate); | |
24125 | if (PyErr_Occurred()) SWIG_fail; | |
24126 | } | |
24127 | { | |
24128 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24129 | } | |
24130 | return resultobj; | |
24131 | fail: | |
24132 | return NULL; | |
24133 | } | |
24134 | ||
24135 | ||
24136 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24137 | PyObject *resultobj; | |
24138 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24139 | bool arg2 ; | |
24140 | PyObject * obj0 = 0 ; | |
24141 | PyObject * obj1 = 0 ; | |
24142 | char *kwnames[] = { | |
24143 | (char *) "self",(char *) "ok", NULL | |
24144 | }; | |
24145 | ||
24146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
24147 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24149 | arg2 = (bool) SWIG_AsBool(obj1); | |
24150 | if (PyErr_Occurred()) SWIG_fail; | |
24151 | { | |
24152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24153 | (arg1)->SetOk(arg2); | |
24154 | ||
24155 | wxPyEndAllowThreads(__tstate); | |
24156 | if (PyErr_Occurred()) SWIG_fail; | |
24157 | } | |
24158 | Py_INCREF(Py_None); resultobj = Py_None; | |
24159 | return resultobj; | |
24160 | fail: | |
24161 | return NULL; | |
24162 | } | |
24163 | ||
24164 | ||
24165 | static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24166 | PyObject *resultobj; | |
24167 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24168 | bool arg2 ; | |
24169 | bool result; | |
24170 | PyObject * obj0 = 0 ; | |
24171 | PyObject * obj1 = 0 ; | |
24172 | char *kwnames[] = { | |
24173 | (char *) "self",(char *) "interactive", NULL | |
24174 | }; | |
24175 | ||
24176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
24177 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24178 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24179 | arg2 = (bool) SWIG_AsBool(obj1); | |
24180 | if (PyErr_Occurred()) SWIG_fail; | |
24181 | { | |
24182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24183 | result = (bool)(arg1)->Print(arg2); | |
24184 | ||
24185 | wxPyEndAllowThreads(__tstate); | |
24186 | if (PyErr_Occurred()) SWIG_fail; | |
24187 | } | |
24188 | { | |
24189 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24190 | } | |
24191 | return resultobj; | |
24192 | fail: | |
24193 | return NULL; | |
24194 | } | |
24195 | ||
24196 | ||
24197 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24198 | PyObject *resultobj; | |
24199 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24200 | PyObject * obj0 = 0 ; | |
24201 | char *kwnames[] = { | |
24202 | (char *) "self", NULL | |
24203 | }; | |
24204 | ||
24205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
24206 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24207 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24208 | { | |
24209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24210 | (arg1)->DetermineScaling(); | |
24211 | ||
24212 | wxPyEndAllowThreads(__tstate); | |
24213 | if (PyErr_Occurred()) SWIG_fail; | |
24214 | } | |
24215 | Py_INCREF(Py_None); resultobj = Py_None; | |
24216 | return resultobj; | |
24217 | fail: | |
24218 | return NULL; | |
24219 | } | |
24220 | ||
24221 | ||
24222 | static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) { | |
24223 | PyObject *obj; | |
24224 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24225 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
24226 | Py_INCREF(obj); | |
24227 | return Py_BuildValue((char *)""); | |
24228 | } | |
24229 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) { | |
24230 | PyObject *resultobj; | |
24231 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24232 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
24233 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; | |
24234 | wxPyPrintPreview *result; | |
24235 | PyObject * obj0 = 0 ; | |
24236 | PyObject * obj1 = 0 ; | |
24237 | PyObject * obj2 = 0 ; | |
24238 | ||
24239 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
24240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
24241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24242 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
24243 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24244 | if (obj2) { | |
24245 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, | |
24246 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24247 | } | |
24248 | { | |
0439c23b | 24249 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24251 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
24252 | ||
24253 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24254 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24255 | } |
24256 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
24257 | return resultobj; | |
24258 | fail: | |
24259 | return NULL; | |
24260 | } | |
24261 | ||
24262 | ||
24263 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) { | |
24264 | PyObject *resultobj; | |
24265 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24266 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
24267 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
24268 | wxPyPrintPreview *result; | |
24269 | PyObject * obj0 = 0 ; | |
24270 | PyObject * obj1 = 0 ; | |
24271 | PyObject * obj2 = 0 ; | |
24272 | ||
24273 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
24274 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
24275 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24276 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
24277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24278 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
24279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24280 | { | |
0439c23b | 24281 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24283 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
24284 | ||
24285 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24286 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24287 | } |
24288 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
24289 | return resultobj; | |
24290 | fail: | |
24291 | return NULL; | |
24292 | } | |
24293 | ||
24294 | ||
24295 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
24296 | int argc; | |
24297 | PyObject *argv[4]; | |
24298 | int ii; | |
24299 | ||
24300 | argc = PyObject_Length(args); | |
24301 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
24302 | argv[ii] = PyTuple_GetItem(args,ii); | |
24303 | } | |
24304 | if ((argc >= 2) && (argc <= 3)) { | |
24305 | int _v; | |
24306 | { | |
24307 | void *ptr; | |
24308 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24309 | _v = 0; | |
24310 | PyErr_Clear(); | |
24311 | } else { | |
24312 | _v = 1; | |
24313 | } | |
24314 | } | |
24315 | if (_v) { | |
24316 | { | |
24317 | void *ptr; | |
24318 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24319 | _v = 0; | |
24320 | PyErr_Clear(); | |
24321 | } else { | |
24322 | _v = 1; | |
24323 | } | |
24324 | } | |
24325 | if (_v) { | |
24326 | if (argc <= 2) { | |
24327 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
24328 | } | |
24329 | { | |
24330 | void *ptr; | |
24331 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
24332 | _v = 0; | |
24333 | PyErr_Clear(); | |
24334 | } else { | |
24335 | _v = 1; | |
24336 | } | |
24337 | } | |
24338 | if (_v) { | |
24339 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
24340 | } | |
24341 | } | |
24342 | } | |
24343 | } | |
24344 | if (argc == 3) { | |
24345 | int _v; | |
24346 | { | |
24347 | void *ptr; | |
24348 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24349 | _v = 0; | |
24350 | PyErr_Clear(); | |
24351 | } else { | |
24352 | _v = 1; | |
24353 | } | |
24354 | } | |
24355 | if (_v) { | |
24356 | { | |
24357 | void *ptr; | |
24358 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24359 | _v = 0; | |
24360 | PyErr_Clear(); | |
24361 | } else { | |
24362 | _v = 1; | |
24363 | } | |
24364 | } | |
24365 | if (_v) { | |
24366 | { | |
24367 | void *ptr; | |
24368 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
24369 | _v = 0; | |
24370 | PyErr_Clear(); | |
24371 | } else { | |
24372 | _v = 1; | |
24373 | } | |
24374 | } | |
24375 | if (_v) { | |
24376 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); | |
24377 | } | |
24378 | } | |
24379 | } | |
24380 | } | |
24381 | ||
24382 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'"); | |
24383 | return NULL; | |
24384 | } | |
24385 | ||
24386 | ||
24387 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24388 | PyObject *resultobj; | |
24389 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24390 | PyObject *arg2 = (PyObject *) 0 ; | |
24391 | PyObject *arg3 = (PyObject *) 0 ; | |
24392 | PyObject * obj0 = 0 ; | |
24393 | PyObject * obj1 = 0 ; | |
24394 | PyObject * obj2 = 0 ; | |
24395 | char *kwnames[] = { | |
24396 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24397 | }; | |
24398 | ||
24399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
24400 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24401 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24402 | arg2 = obj1; | |
24403 | arg3 = obj2; | |
24404 | { | |
24405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24406 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24407 | ||
24408 | wxPyEndAllowThreads(__tstate); | |
24409 | if (PyErr_Occurred()) SWIG_fail; | |
24410 | } | |
24411 | Py_INCREF(Py_None); resultobj = Py_None; | |
24412 | return resultobj; | |
24413 | fail: | |
24414 | return NULL; | |
24415 | } | |
24416 | ||
24417 | ||
24418 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24419 | PyObject *resultobj; | |
24420 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24421 | int arg2 ; | |
24422 | bool result; | |
24423 | PyObject * obj0 = 0 ; | |
24424 | PyObject * obj1 = 0 ; | |
24425 | char *kwnames[] = { | |
24426 | (char *) "self",(char *) "pageNum", NULL | |
24427 | }; | |
24428 | ||
24429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; | |
24430 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24431 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24432 | arg2 = (int) SWIG_AsInt(obj1); | |
24433 | if (PyErr_Occurred()) SWIG_fail; | |
24434 | { | |
24435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24436 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
24437 | ||
24438 | wxPyEndAllowThreads(__tstate); | |
24439 | if (PyErr_Occurred()) SWIG_fail; | |
24440 | } | |
24441 | { | |
24442 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24443 | } | |
24444 | return resultobj; | |
24445 | fail: | |
24446 | return NULL; | |
24447 | } | |
24448 | ||
24449 | ||
24450 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24451 | PyObject *resultobj; | |
24452 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24453 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24454 | wxDC *arg3 = 0 ; | |
24455 | bool result; | |
24456 | PyObject * obj0 = 0 ; | |
24457 | PyObject * obj1 = 0 ; | |
24458 | PyObject * obj2 = 0 ; | |
24459 | char *kwnames[] = { | |
24460 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
24461 | }; | |
24462 | ||
24463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
24464 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24465 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24466 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24467 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24468 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
24469 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
24470 | SWIG_fail; | |
24471 | if (arg3 == NULL) { | |
24472 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
24473 | SWIG_fail; | |
24474 | } | |
24475 | { | |
24476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24477 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
24478 | ||
24479 | wxPyEndAllowThreads(__tstate); | |
24480 | if (PyErr_Occurred()) SWIG_fail; | |
24481 | } | |
24482 | { | |
24483 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24484 | } | |
24485 | return resultobj; | |
24486 | fail: | |
24487 | return NULL; | |
24488 | } | |
24489 | ||
24490 | ||
24491 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24492 | PyObject *resultobj; | |
24493 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24494 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24495 | wxDC *arg3 = 0 ; | |
24496 | bool result; | |
24497 | PyObject * obj0 = 0 ; | |
24498 | PyObject * obj1 = 0 ; | |
24499 | PyObject * obj2 = 0 ; | |
24500 | char *kwnames[] = { | |
24501 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
24502 | }; | |
24503 | ||
24504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
24505 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24506 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24507 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24508 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24509 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
24510 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
24511 | SWIG_fail; | |
24512 | if (arg3 == NULL) { | |
24513 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
24514 | SWIG_fail; | |
24515 | } | |
24516 | { | |
24517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24518 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
24519 | ||
24520 | wxPyEndAllowThreads(__tstate); | |
24521 | if (PyErr_Occurred()) SWIG_fail; | |
24522 | } | |
24523 | { | |
24524 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24525 | } | |
24526 | return resultobj; | |
24527 | fail: | |
24528 | return NULL; | |
24529 | } | |
24530 | ||
24531 | ||
24532 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24533 | PyObject *resultobj; | |
24534 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24535 | int arg2 ; | |
24536 | bool result; | |
24537 | PyObject * obj0 = 0 ; | |
24538 | PyObject * obj1 = 0 ; | |
24539 | char *kwnames[] = { | |
24540 | (char *) "self",(char *) "pageNum", NULL | |
24541 | }; | |
24542 | ||
24543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; | |
24544 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24545 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24546 | arg2 = (int) SWIG_AsInt(obj1); | |
24547 | if (PyErr_Occurred()) SWIG_fail; | |
24548 | { | |
24549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24550 | result = (bool)(arg1)->base_RenderPage(arg2); | |
24551 | ||
24552 | wxPyEndAllowThreads(__tstate); | |
24553 | if (PyErr_Occurred()) SWIG_fail; | |
24554 | } | |
24555 | { | |
24556 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24557 | } | |
24558 | return resultobj; | |
24559 | fail: | |
24560 | return NULL; | |
24561 | } | |
24562 | ||
24563 | ||
24564 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24565 | PyObject *resultobj; | |
24566 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24567 | int arg2 ; | |
24568 | PyObject * obj0 = 0 ; | |
24569 | PyObject * obj1 = 0 ; | |
24570 | char *kwnames[] = { | |
24571 | (char *) "self",(char *) "percent", NULL | |
24572 | }; | |
24573 | ||
24574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
24575 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24576 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24577 | arg2 = (int) SWIG_AsInt(obj1); | |
24578 | if (PyErr_Occurred()) SWIG_fail; | |
24579 | { | |
24580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24581 | (arg1)->base_SetZoom(arg2); | |
24582 | ||
24583 | wxPyEndAllowThreads(__tstate); | |
24584 | if (PyErr_Occurred()) SWIG_fail; | |
24585 | } | |
24586 | Py_INCREF(Py_None); resultobj = Py_None; | |
24587 | return resultobj; | |
24588 | fail: | |
24589 | return NULL; | |
24590 | } | |
24591 | ||
24592 | ||
24593 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24594 | PyObject *resultobj; | |
24595 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24596 | bool arg2 ; | |
24597 | bool result; | |
24598 | PyObject * obj0 = 0 ; | |
24599 | PyObject * obj1 = 0 ; | |
24600 | char *kwnames[] = { | |
24601 | (char *) "self",(char *) "interactive", NULL | |
24602 | }; | |
24603 | ||
24604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
24605 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24606 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24607 | arg2 = (bool) SWIG_AsBool(obj1); | |
24608 | if (PyErr_Occurred()) SWIG_fail; | |
24609 | { | |
24610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24611 | result = (bool)(arg1)->base_Print(arg2); | |
24612 | ||
24613 | wxPyEndAllowThreads(__tstate); | |
24614 | if (PyErr_Occurred()) SWIG_fail; | |
24615 | } | |
24616 | { | |
24617 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24618 | } | |
24619 | return resultobj; | |
24620 | fail: | |
24621 | return NULL; | |
24622 | } | |
24623 | ||
24624 | ||
24625 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24626 | PyObject *resultobj; | |
24627 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24628 | PyObject * obj0 = 0 ; | |
24629 | char *kwnames[] = { | |
24630 | (char *) "self", NULL | |
24631 | }; | |
24632 | ||
24633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
24634 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24635 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24636 | { | |
24637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24638 | (arg1)->base_DetermineScaling(); | |
24639 | ||
24640 | wxPyEndAllowThreads(__tstate); | |
24641 | if (PyErr_Occurred()) SWIG_fail; | |
24642 | } | |
24643 | Py_INCREF(Py_None); resultobj = Py_None; | |
24644 | return resultobj; | |
24645 | fail: | |
24646 | return NULL; | |
24647 | } | |
24648 | ||
24649 | ||
24650 | static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) { | |
24651 | PyObject *obj; | |
24652 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24653 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
24654 | Py_INCREF(obj); | |
24655 | return Py_BuildValue((char *)""); | |
24656 | } | |
24657 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24658 | PyObject *resultobj; | |
24659 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24660 | wxFrame *arg2 = (wxFrame *) 0 ; | |
24661 | wxString *arg3 = 0 ; | |
24662 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
24663 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
24664 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
24665 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
24666 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
24667 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
24668 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
24669 | wxPyPreviewFrame *result; | |
24670 | bool temp3 = False ; | |
24671 | wxPoint temp4 ; | |
24672 | wxSize temp5 ; | |
24673 | bool temp7 = False ; | |
24674 | PyObject * obj0 = 0 ; | |
24675 | PyObject * obj1 = 0 ; | |
24676 | PyObject * obj2 = 0 ; | |
24677 | PyObject * obj3 = 0 ; | |
24678 | PyObject * obj4 = 0 ; | |
24679 | PyObject * obj5 = 0 ; | |
24680 | PyObject * obj6 = 0 ; | |
24681 | char *kwnames[] = { | |
24682 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
24683 | }; | |
24684 | ||
24685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
24686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24688 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
24689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24690 | { | |
24691 | arg3 = wxString_in_helper(obj2); | |
24692 | if (arg3 == NULL) SWIG_fail; | |
24693 | temp3 = True; | |
24694 | } | |
24695 | if (obj3) { | |
24696 | { | |
24697 | arg4 = &temp4; | |
24698 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
24699 | } | |
24700 | } | |
24701 | if (obj4) { | |
24702 | { | |
24703 | arg5 = &temp5; | |
24704 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
24705 | } | |
24706 | } | |
24707 | if (obj5) { | |
24708 | arg6 = (long) SWIG_AsLong(obj5); | |
24709 | if (PyErr_Occurred()) SWIG_fail; | |
24710 | } | |
24711 | if (obj6) { | |
24712 | { | |
24713 | arg7 = wxString_in_helper(obj6); | |
24714 | if (arg7 == NULL) SWIG_fail; | |
24715 | temp7 = True; | |
24716 | } | |
24717 | } | |
24718 | { | |
0439c23b | 24719 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24721 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
24722 | ||
24723 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24724 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24725 | } |
24726 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); | |
24727 | { | |
24728 | if (temp3) | |
24729 | delete arg3; | |
24730 | } | |
24731 | { | |
24732 | if (temp7) | |
24733 | delete arg7; | |
24734 | } | |
24735 | return resultobj; | |
24736 | fail: | |
24737 | { | |
24738 | if (temp3) | |
24739 | delete arg3; | |
24740 | } | |
24741 | { | |
24742 | if (temp7) | |
24743 | delete arg7; | |
24744 | } | |
24745 | return NULL; | |
24746 | } | |
24747 | ||
24748 | ||
24749 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24750 | PyObject *resultobj; | |
24751 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24752 | PyObject *arg2 = (PyObject *) 0 ; | |
24753 | PyObject *arg3 = (PyObject *) 0 ; | |
24754 | PyObject * obj0 = 0 ; | |
24755 | PyObject * obj1 = 0 ; | |
24756 | PyObject * obj2 = 0 ; | |
24757 | char *kwnames[] = { | |
24758 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24759 | }; | |
24760 | ||
24761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
24762 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, | |
24763 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24764 | arg2 = obj1; | |
24765 | arg3 = obj2; | |
24766 | { | |
24767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24768 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24769 | ||
24770 | wxPyEndAllowThreads(__tstate); | |
24771 | if (PyErr_Occurred()) SWIG_fail; | |
24772 | } | |
24773 | Py_INCREF(Py_None); resultobj = Py_None; | |
24774 | return resultobj; | |
24775 | fail: | |
24776 | return NULL; | |
24777 | } | |
24778 | ||
24779 | ||
24780 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24781 | PyObject *resultobj; | |
24782 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24783 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24784 | PyObject * obj0 = 0 ; | |
24785 | PyObject * obj1 = 0 ; | |
24786 | char *kwnames[] = { | |
24787 | (char *) "self",(char *) "canvas", NULL | |
24788 | }; | |
24789 | ||
24790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
24791 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, | |
24792 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24793 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24794 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24795 | { | |
24796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24797 | (arg1)->SetPreviewCanvas(arg2); | |
24798 | ||
24799 | wxPyEndAllowThreads(__tstate); | |
24800 | if (PyErr_Occurred()) SWIG_fail; | |
24801 | } | |
24802 | Py_INCREF(Py_None); resultobj = Py_None; | |
24803 | return resultobj; | |
24804 | fail: | |
24805 | return NULL; | |
24806 | } | |
24807 | ||
24808 | ||
24809 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24810 | PyObject *resultobj; | |
24811 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24812 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
24813 | PyObject * obj0 = 0 ; | |
24814 | PyObject * obj1 = 0 ; | |
24815 | char *kwnames[] = { | |
24816 | (char *) "self",(char *) "bar", NULL | |
24817 | }; | |
24818 | ||
24819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
24820 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, | |
24821 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24822 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar, | |
24823 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24824 | { | |
24825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24826 | (arg1)->SetControlBar(arg2); | |
24827 | ||
24828 | wxPyEndAllowThreads(__tstate); | |
24829 | if (PyErr_Occurred()) SWIG_fail; | |
24830 | } | |
24831 | Py_INCREF(Py_None); resultobj = Py_None; | |
24832 | return resultobj; | |
24833 | fail: | |
24834 | return NULL; | |
24835 | } | |
24836 | ||
24837 | ||
24838 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24839 | PyObject *resultobj; | |
24840 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24841 | PyObject * obj0 = 0 ; | |
24842 | char *kwnames[] = { | |
24843 | (char *) "self", NULL | |
24844 | }; | |
24845 | ||
24846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
24847 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, | |
24848 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24849 | { | |
24850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24851 | (arg1)->base_Initialize(); | |
24852 | ||
24853 | wxPyEndAllowThreads(__tstate); | |
24854 | if (PyErr_Occurred()) SWIG_fail; | |
24855 | } | |
24856 | Py_INCREF(Py_None); resultobj = Py_None; | |
24857 | return resultobj; | |
24858 | fail: | |
24859 | return NULL; | |
24860 | } | |
24861 | ||
24862 | ||
24863 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24864 | PyObject *resultobj; | |
24865 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24866 | PyObject * obj0 = 0 ; | |
24867 | char *kwnames[] = { | |
24868 | (char *) "self", NULL | |
24869 | }; | |
24870 | ||
24871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
24872 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, | |
24873 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24874 | { | |
24875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24876 | (arg1)->base_CreateCanvas(); | |
24877 | ||
24878 | wxPyEndAllowThreads(__tstate); | |
24879 | if (PyErr_Occurred()) SWIG_fail; | |
24880 | } | |
24881 | Py_INCREF(Py_None); resultobj = Py_None; | |
24882 | return resultobj; | |
24883 | fail: | |
24884 | return NULL; | |
24885 | } | |
24886 | ||
24887 | ||
24888 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24889 | PyObject *resultobj; | |
24890 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24891 | PyObject * obj0 = 0 ; | |
24892 | char *kwnames[] = { | |
24893 | (char *) "self", NULL | |
24894 | }; | |
24895 | ||
24896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
24897 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, | |
24898 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24899 | { | |
24900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24901 | (arg1)->base_CreateControlBar(); | |
24902 | ||
24903 | wxPyEndAllowThreads(__tstate); | |
24904 | if (PyErr_Occurred()) SWIG_fail; | |
24905 | } | |
24906 | Py_INCREF(Py_None); resultobj = Py_None; | |
24907 | return resultobj; | |
24908 | fail: | |
24909 | return NULL; | |
24910 | } | |
24911 | ||
24912 | ||
24913 | static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
24914 | PyObject *obj; | |
24915 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24916 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
24917 | Py_INCREF(obj); | |
24918 | return Py_BuildValue((char *)""); | |
24919 | } | |
24920 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24921 | PyObject *resultobj; | |
24922 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24923 | long arg2 ; | |
24924 | wxWindow *arg3 = (wxWindow *) 0 ; | |
24925 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
24926 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
24927 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
24928 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
24929 | long arg6 = (long) 0 ; | |
24930 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
24931 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
24932 | wxPyPreviewControlBar *result; | |
24933 | wxPoint temp4 ; | |
24934 | wxSize temp5 ; | |
24935 | bool temp7 = False ; | |
24936 | PyObject * obj0 = 0 ; | |
24937 | PyObject * obj1 = 0 ; | |
24938 | PyObject * obj2 = 0 ; | |
24939 | PyObject * obj3 = 0 ; | |
24940 | PyObject * obj4 = 0 ; | |
24941 | PyObject * obj5 = 0 ; | |
24942 | PyObject * obj6 = 0 ; | |
24943 | char *kwnames[] = { | |
24944 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
24945 | }; | |
24946 | ||
24947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
24948 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24949 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24950 | arg2 = (long) SWIG_AsLong(obj1); | |
24951 | if (PyErr_Occurred()) SWIG_fail; | |
24952 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
24953 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24954 | if (obj3) { | |
24955 | { | |
24956 | arg4 = &temp4; | |
24957 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
24958 | } | |
24959 | } | |
24960 | if (obj4) { | |
24961 | { | |
24962 | arg5 = &temp5; | |
24963 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
24964 | } | |
24965 | } | |
24966 | if (obj5) { | |
24967 | arg6 = (long) SWIG_AsLong(obj5); | |
24968 | if (PyErr_Occurred()) SWIG_fail; | |
24969 | } | |
24970 | if (obj6) { | |
24971 | { | |
24972 | arg7 = wxString_in_helper(obj6); | |
24973 | if (arg7 == NULL) SWIG_fail; | |
24974 | temp7 = True; | |
24975 | } | |
24976 | } | |
24977 | { | |
0439c23b | 24978 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24980 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
24981 | ||
24982 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24983 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24984 | } |
24985 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); | |
24986 | { | |
24987 | if (temp7) | |
24988 | delete arg7; | |
24989 | } | |
24990 | return resultobj; | |
24991 | fail: | |
24992 | { | |
24993 | if (temp7) | |
24994 | delete arg7; | |
24995 | } | |
24996 | return NULL; | |
24997 | } | |
24998 | ||
24999 | ||
25000 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
25001 | PyObject *resultobj; | |
25002 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25003 | PyObject *arg2 = (PyObject *) 0 ; | |
25004 | PyObject *arg3 = (PyObject *) 0 ; | |
25005 | PyObject * obj0 = 0 ; | |
25006 | PyObject * obj1 = 0 ; | |
25007 | PyObject * obj2 = 0 ; | |
25008 | char *kwnames[] = { | |
25009 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
25010 | }; | |
25011 | ||
25012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
25013 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, | |
25014 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25015 | arg2 = obj1; | |
25016 | arg3 = obj2; | |
25017 | { | |
25018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25019 | (arg1)->_setCallbackInfo(arg2,arg3); | |
25020 | ||
25021 | wxPyEndAllowThreads(__tstate); | |
25022 | if (PyErr_Occurred()) SWIG_fail; | |
25023 | } | |
25024 | Py_INCREF(Py_None); resultobj = Py_None; | |
25025 | return resultobj; | |
25026 | fail: | |
25027 | return NULL; | |
25028 | } | |
25029 | ||
25030 | ||
25031 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
25032 | PyObject *resultobj; | |
25033 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25034 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
25035 | PyObject * obj0 = 0 ; | |
25036 | PyObject * obj1 = 0 ; | |
25037 | char *kwnames[] = { | |
25038 | (char *) "self",(char *) "preview", NULL | |
25039 | }; | |
25040 | ||
25041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
25042 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, | |
25043 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25044 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview, | |
25045 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25046 | { | |
25047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25048 | (arg1)->SetPrintPreview(arg2); | |
25049 | ||
25050 | wxPyEndAllowThreads(__tstate); | |
25051 | if (PyErr_Occurred()) SWIG_fail; | |
25052 | } | |
25053 | Py_INCREF(Py_None); resultobj = Py_None; | |
25054 | return resultobj; | |
25055 | fail: | |
25056 | return NULL; | |
25057 | } | |
25058 | ||
25059 | ||
25060 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
25061 | PyObject *resultobj; | |
25062 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25063 | PyObject * obj0 = 0 ; | |
25064 | char *kwnames[] = { | |
25065 | (char *) "self", NULL | |
25066 | }; | |
25067 | ||
25068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
25069 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, | |
25070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25071 | { | |
25072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25073 | (arg1)->base_CreateButtons(); | |
25074 | ||
25075 | wxPyEndAllowThreads(__tstate); | |
25076 | if (PyErr_Occurred()) SWIG_fail; | |
25077 | } | |
25078 | Py_INCREF(Py_None); resultobj = Py_None; | |
25079 | return resultobj; | |
25080 | fail: | |
25081 | return NULL; | |
25082 | } | |
25083 | ||
25084 | ||
25085 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
25086 | PyObject *resultobj; | |
25087 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25088 | int arg2 ; | |
25089 | PyObject * obj0 = 0 ; | |
25090 | PyObject * obj1 = 0 ; | |
25091 | char *kwnames[] = { | |
25092 | (char *) "self",(char *) "zoom", NULL | |
25093 | }; | |
25094 | ||
25095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; | |
25096 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, | |
25097 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25098 | arg2 = (int) SWIG_AsInt(obj1); | |
25099 | if (PyErr_Occurred()) SWIG_fail; | |
25100 | { | |
25101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25102 | (arg1)->base_SetZoomControl(arg2); | |
25103 | ||
25104 | wxPyEndAllowThreads(__tstate); | |
25105 | if (PyErr_Occurred()) SWIG_fail; | |
25106 | } | |
25107 | Py_INCREF(Py_None); resultobj = Py_None; | |
25108 | return resultobj; | |
25109 | fail: | |
25110 | return NULL; | |
25111 | } | |
25112 | ||
25113 | ||
25114 | static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
25115 | PyObject *obj; | |
25116 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25117 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
25118 | Py_INCREF(obj); | |
25119 | return Py_BuildValue((char *)""); | |
25120 | } | |
25121 | static PyMethodDef SwigMethods[] = { | |
25122 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS }, | |
25123 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS }, | |
25124 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS }, | |
25125 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
f20a2e1f | 25126 | { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d55e5bfc RD |
25127 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS }, |
25128 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
25129 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
25130 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
25131 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
25132 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS }, | |
25133 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
25134 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
25135 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS }, | |
25136 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS }, | |
25137 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS }, | |
25138 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS }, | |
25139 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS }, | |
25140 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS }, | |
25141 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS }, | |
25142 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS }, | |
25143 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS }, | |
25144 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
25145 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS }, | |
25146 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
25147 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
25148 | { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS }, | |
25149 | { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS }, | |
f20a2e1f | 25150 | { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d55e5bfc RD |
25151 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS }, |
25152 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
25153 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS }, | |
25154 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS }, | |
25155 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS }, | |
25156 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS }, | |
25157 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS }, | |
25158 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
25159 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS }, | |
25160 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
25161 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
25162 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
25163 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
25164 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS }, | |
25165 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS }, | |
25166 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS }, | |
25167 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS }, | |
25168 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS }, | |
25169 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS }, | |
25170 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
25171 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
25172 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
25173 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS }, | |
25174 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
25175 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
25176 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
25177 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
25178 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
25179 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
25180 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
25181 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
25182 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
25183 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS }, | |
25184 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
25185 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
25186 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS }, | |
25187 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS }, | |
f20a2e1f | 25188 | { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d55e5bfc RD |
25189 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS }, |
25190 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS }, | |
25191 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS }, | |
25192 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
25193 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
25194 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
25195 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS }, | |
25196 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS }, | |
25197 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS }, | |
25198 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
25199 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS }, | |
f20a2e1f | 25200 | { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d55e5bfc RD |
25201 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS }, |
25202 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
25203 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
25204 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
25205 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS }, | |
25206 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS }, | |
25207 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
25208 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
25209 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS }, | |
25210 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS }, | |
25211 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS }, | |
25212 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS }, | |
25213 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS }, | |
25214 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS }, | |
25215 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS }, | |
25216 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
25217 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS }, | |
25218 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
25219 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
25220 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
25221 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
25222 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
25223 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
25224 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
25225 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS }, | |
25226 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
25227 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS }, | |
25228 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS }, | |
f20a2e1f | 25229 | { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d55e5bfc RD |
25230 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS }, |
25231 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
25232 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
25233 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
25234 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS }, | |
25235 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS }, | |
25236 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
25237 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
25238 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
25239 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS }, | |
25240 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS }, | |
25241 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS }, | |
25242 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS }, | |
25243 | { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS }, | |
25244 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS }, | |
25245 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
25246 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
25247 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
25248 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
25249 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
25250 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
25251 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
25252 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
25253 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
25254 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
25255 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
25256 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
f20a2e1f | 25257 | { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d55e5bfc RD |
25258 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS }, |
25259 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS }, | |
25260 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
25261 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
25262 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS }, | |
25263 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
25264 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
25265 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS }, | |
25266 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS }, | |
25267 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
25268 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
25269 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
25270 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
25271 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS }, | |
25272 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS }, | |
25273 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS }, | |
25274 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
25275 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
25276 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
25277 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
25278 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
25279 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
25280 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
25281 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
25282 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
25283 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
25284 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
25285 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
25286 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
25287 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
25288 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS }, | |
25289 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS }, | |
25290 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS }, | |
25291 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS }, | |
25292 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
25293 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
25294 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
25295 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
25296 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS }, | |
25297 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS }, | |
25298 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
25299 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
25300 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25301 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25302 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
25303 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
25304 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25305 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25306 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
25307 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
25308 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS }, | |
25309 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS }, | |
25310 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25311 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25312 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS }, | |
25313 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS }, | |
25314 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS }, | |
25315 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
25316 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
25317 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
25318 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
25319 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25320 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
25321 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS }, | |
25322 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25323 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS }, | |
25324 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
25325 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
25326 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS }, | |
25327 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS }, | |
25328 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
25329 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS }, | |
25330 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
25331 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
25332 | { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
25333 | { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS }, | |
25334 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS }, | |
25335 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
25336 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
25337 | { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
25338 | { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS }, | |
25339 | { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS }, | |
25340 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS }, | |
25341 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS }, | |
25342 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS }, | |
25343 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS }, | |
25344 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS }, | |
25345 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
25346 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
25347 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
25348 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
25349 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
25350 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
25351 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS }, | |
25352 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS }, | |
25353 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS }, | |
25354 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS }, | |
25355 | { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS }, | |
25356 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
25357 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
25358 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
25359 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
25360 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
25361 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
25362 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS }, | |
25363 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS }, | |
25364 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS }, | |
25365 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
25366 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
25367 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
25368 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS }, | |
25369 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
25370 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS }, | |
25371 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
25372 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS }, | |
25373 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS }, | |
25374 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS }, | |
25375 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS }, | |
25376 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
25377 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
25378 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS }, | |
25379 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
25380 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS }, | |
25381 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS }, | |
25382 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
25383 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
25384 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS }, | |
25385 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
25386 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS }, | |
25387 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
25388 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS }, | |
25389 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
25390 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
25391 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
25392 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
25393 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
25394 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
c24da6d6 | 25395 | { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS }, |
d55e5bfc RD |
25396 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS }, |
25397 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
25398 | { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
25399 | { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
25400 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS }, | |
25401 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS }, | |
25402 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
25403 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS }, | |
25404 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS }, | |
25405 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS }, | |
25406 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS }, | |
25407 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS }, | |
25408 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
25409 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
25410 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
25411 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
25412 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
25413 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
25414 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
25415 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
25416 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS }, | |
25417 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS }, | |
25418 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS }, | |
25419 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS }, | |
25420 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS }, | |
25421 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
25422 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
25423 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
25424 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
25425 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
25426 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS }, | |
25427 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS }, | |
25428 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
25429 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
25430 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
25431 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
25432 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
25433 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
25434 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
25435 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
25436 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
25437 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
25438 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
25439 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
25440 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
25441 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
25442 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS }, | |
25443 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS }, | |
25444 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS }, | |
25445 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
25446 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS }, | |
25447 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS }, | |
25448 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS }, | |
25449 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
25450 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
25451 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
25452 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
25453 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS }, | |
25454 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS }, | |
25455 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
25456 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
25457 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS }, | |
25458 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS }, | |
25459 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS }, | |
25460 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
25461 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
25462 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
25463 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
25464 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
25465 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
25466 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
25467 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
25468 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
25469 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
25470 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
25471 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
25472 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
25473 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS }, | |
25474 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS }, | |
25475 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS }, | |
25476 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS }, | |
25477 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS }, | |
25478 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS }, | |
25479 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS }, | |
25480 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS }, | |
25481 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS }, | |
25482 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS }, | |
25483 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS }, | |
25484 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25485 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
25486 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
25487 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS }, | |
25488 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25489 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
25490 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
25491 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS }, | |
25492 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
25493 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
25494 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
25495 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
25496 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25497 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25498 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
25499 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
25500 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS }, | |
25501 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
25502 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
25503 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
25504 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS }, | |
25505 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS }, | |
25506 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS }, | |
25507 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
25508 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
25509 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
25510 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS }, | |
25511 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS }, | |
25512 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS }, | |
25513 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS }, | |
25514 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS }, | |
25515 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
25516 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
25517 | { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS }, | |
25518 | { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS }, | |
25519 | { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
25520 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS }, | |
25521 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS }, | |
25522 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
25523 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
25524 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
25525 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS }, | |
25526 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
25527 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS }, | |
25528 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS }, | |
25529 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
25530 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
25531 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
25532 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS }, | |
25533 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS }, | |
25534 | { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS }, | |
25535 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
caef1a4d | 25536 | { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS }, |
d55e5bfc RD |
25537 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, |
25538 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
25539 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
25540 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
25541 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
25542 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
25543 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
25544 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
25545 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
25546 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
25547 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
25548 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
25549 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
25550 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
25551 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
25552 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
25553 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
25554 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
25555 | { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS }, | |
25556 | { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS }, | |
caef1a4d | 25557 | { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d55e5bfc RD |
25558 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS }, |
25559 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS }, | |
25560 | { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS }, | |
25561 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
caef1a4d | 25562 | { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS }, |
d55e5bfc RD |
25563 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, |
25564 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
25565 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
25566 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
25567 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
25568 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
25569 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
25570 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
25571 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
25572 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
25573 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
25574 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
25575 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
25576 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
25577 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
25578 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
25579 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
25580 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
25581 | { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS }, | |
25582 | { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS }, | |
caef1a4d | 25583 | { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d55e5bfc RD |
25584 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS }, |
25585 | { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
25586 | { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
25587 | { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
caef1a4d | 25588 | { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS }, |
d55e5bfc RD |
25589 | { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, |
25590 | { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
25591 | { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
25592 | { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
25593 | { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
25594 | { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
25595 | { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
25596 | { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
25597 | { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
25598 | { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
25599 | { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
25600 | { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
25601 | { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
25602 | { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
25603 | { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
25604 | { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
25605 | { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
25606 | { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
25607 | { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS }, | |
25608 | { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS }, | |
caef1a4d | 25609 | { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d55e5bfc | 25610 | { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS }, |
09c21d3b | 25611 | { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS }, |
d55e5bfc RD |
25612 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS }, |
25613 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
25614 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
25615 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25616 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
25617 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
25618 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
25619 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
25620 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
25621 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
25622 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS }, | |
25623 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
25624 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
25625 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25626 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
25627 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
25628 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
25629 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
25630 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
25631 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS }, | |
25632 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
25633 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
25634 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
25635 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
25636 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
25637 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
25638 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
25639 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
25640 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
25641 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
25642 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
25643 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
25644 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
25645 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
25646 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
25647 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
25648 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
25649 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS }, | |
25650 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
25651 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
25652 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS }, | |
25653 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
25654 | { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS }, | |
25655 | { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS }, | |
25656 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS }, | |
09c21d3b | 25657 | { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS }, |
d55e5bfc RD |
25658 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, |
25659 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
25660 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
25661 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25662 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
25663 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
25664 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
25665 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
25666 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25667 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
25668 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
25669 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
25670 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
25671 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
25672 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
25673 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
25674 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
25675 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
25676 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
25677 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
25678 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
25679 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
25680 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
25681 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
25682 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
25683 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
25684 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
25685 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
25686 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
25687 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
25688 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS }, | |
25689 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
25690 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
25691 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
25692 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS }, | |
25693 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS }, | |
25694 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
25695 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
25696 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS }, | |
25697 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
25698 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
25699 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
25700 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
25701 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
25702 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
25703 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
25704 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
25705 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
25706 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS }, | |
25707 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
25708 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
25709 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
25710 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
25711 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
25712 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
25713 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
25714 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
25715 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
25716 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
25717 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
25718 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
25719 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
25720 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
25721 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
25722 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
25723 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
25724 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
25725 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
25726 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS }, | |
25727 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
25728 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
25729 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS }, | |
25730 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
25731 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS }, | |
25732 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS }, | |
25733 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS }, | |
25734 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS }, | |
25735 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
25736 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS }, | |
25737 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
25738 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS }, | |
25739 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS }, | |
25740 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS }, | |
25741 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS }, | |
25742 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS }, | |
25743 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS }, | |
25744 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
25745 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
25746 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
25747 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
25748 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, | |
25749 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, | |
25750 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, | |
25751 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, | |
25752 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
25753 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
25754 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
25755 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
25756 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS }, | |
25757 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS }, | |
25758 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS }, | |
25759 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS }, | |
25760 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS }, | |
25761 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS }, | |
25762 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS }, | |
25763 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS }, | |
25764 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS }, | |
25765 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS }, | |
25766 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
25767 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS }, | |
25768 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
25769 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
25770 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
25771 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
25772 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
25773 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS }, | |
25774 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
25775 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
25776 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
25777 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
25778 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS }, | |
25779 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS }, | |
25780 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS }, | |
25781 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS }, | |
25782 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS }, | |
25783 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS }, | |
25784 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS }, | |
25785 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
25786 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
25787 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
25788 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
25789 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS }, | |
25790 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS }, | |
25791 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
25792 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
25793 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
25794 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
25795 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
25796 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
25797 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
25798 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
25799 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
25800 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
25801 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
25802 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
25803 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS }, | |
25804 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS }, | |
25805 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS }, | |
25806 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
25807 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS }, | |
25808 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS }, | |
25809 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
25810 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
25811 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
25812 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
25813 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
25814 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
25815 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS }, | |
25816 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
25817 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS }, | |
25818 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
25819 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
25820 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
25821 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
25822 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
25823 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
25824 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
25825 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS }, | |
25826 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
25827 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
25828 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
25829 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS }, | |
25830 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
25831 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS }, | |
25832 | { NULL, NULL } | |
25833 | }; | |
25834 | ||
25835 | ||
25836 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
25837 | ||
25838 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
25839 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25840 | } | |
25841 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
25842 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
25843 | } | |
25844 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
25845 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
25846 | } | |
25847 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
25848 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
25849 | } | |
25850 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
25851 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
25852 | } | |
25853 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
25854 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
25855 | } | |
25856 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
25857 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
25858 | } | |
25859 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
25860 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
25861 | } | |
25862 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
25863 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
25864 | } | |
25865 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
25866 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
25867 | } | |
25868 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
25869 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
25870 | } | |
25871 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
25872 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
25873 | } | |
25874 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
25875 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
25876 | } | |
25877 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
25878 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
25879 | } | |
25880 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
25881 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
25882 | } | |
25883 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
25884 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
25885 | } | |
25886 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
25887 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
25888 | } | |
25889 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
25890 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
25891 | } | |
25892 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
25893 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
25894 | } | |
25895 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
25896 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
25897 | } | |
25898 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
25899 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
25900 | } | |
25901 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
25902 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
25903 | } | |
25904 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
25905 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
25906 | } | |
25907 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
25908 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
25909 | } | |
25910 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
25911 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
25912 | } | |
25913 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
25914 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
25915 | } | |
25916 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
25917 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
25918 | } | |
25919 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
25920 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
25921 | } | |
25922 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
25923 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
25924 | } | |
25925 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
25926 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
25927 | } | |
25928 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
25929 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
25930 | } | |
25931 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
25932 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
25933 | } | |
25934 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
25935 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
25936 | } | |
25937 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
25938 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
25939 | } | |
25940 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
25941 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
25942 | } | |
25943 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
25944 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
25945 | } | |
25946 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
25947 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
25948 | } | |
25949 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
25950 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
25951 | } | |
25952 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
25953 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
25954 | } | |
25955 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
25956 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
25957 | } | |
25958 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
25959 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
25960 | } | |
25961 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
25962 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
25963 | } | |
25964 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
25965 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
25966 | } | |
25967 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
25968 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
25969 | } | |
25970 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
25971 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
25972 | } | |
25973 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
25974 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
25975 | } | |
25976 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
25977 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
25978 | } | |
25979 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
25980 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
25981 | } | |
25982 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
25983 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
25984 | } | |
25985 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
25986 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
25987 | } | |
25988 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
25989 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
25990 | } | |
25991 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
25992 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
25993 | } | |
25994 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
25995 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
25996 | } | |
25997 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
25998 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
25999 | } | |
26000 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
26001 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
26002 | } | |
26003 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
26004 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
26005 | } | |
26006 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
26007 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
26008 | } | |
26009 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
26010 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
26011 | } | |
26012 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
26013 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
26014 | } | |
26015 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
26016 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26017 | } | |
26018 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
26019 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26020 | } | |
26021 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
26022 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26023 | } | |
26024 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
26025 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
26026 | } | |
26027 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
26028 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26029 | } | |
26030 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
26031 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
26032 | } | |
26033 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
26034 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
26035 | } | |
26036 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
26037 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
26038 | } | |
26039 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
26040 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
26041 | } | |
26042 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
26043 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
26044 | } | |
26045 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
26046 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
26047 | } | |
26048 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
26049 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
26050 | } | |
26051 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
26052 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26053 | } | |
26054 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
26055 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
26056 | } | |
26057 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
26058 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
26059 | } | |
26060 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
26061 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26062 | } | |
26063 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
26064 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
26065 | } | |
26066 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
26067 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
26068 | } | |
26069 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
26070 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
26071 | } | |
26072 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
26073 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
26074 | } | |
26075 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
26076 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26077 | } | |
26078 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
26079 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26080 | } | |
26081 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
26082 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26083 | } | |
26084 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
26085 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
26086 | } | |
26087 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
26088 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26089 | } | |
26090 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
26091 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
26092 | } | |
26093 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
26094 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
26095 | } | |
26096 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
26097 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
26098 | } | |
26099 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
26100 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
26101 | } | |
26102 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
26103 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
26104 | } | |
26105 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
26106 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
26107 | } | |
26108 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
26109 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
26110 | } | |
26111 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
26112 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
26113 | } | |
26114 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
26115 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
26116 | } | |
26117 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
26118 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26119 | } | |
26120 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
26121 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
26122 | } | |
26123 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
26124 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
26125 | } | |
26126 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
26127 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
26128 | } | |
26129 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
26130 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26131 | } | |
26132 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
26133 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
26134 | } | |
26135 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
26136 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
26137 | } | |
26138 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
26139 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
26140 | } | |
26141 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
26142 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
26143 | } | |
26144 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
26145 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
26146 | } | |
26147 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
26148 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
26149 | } | |
26150 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
26151 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26152 | } | |
26153 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
26154 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
26155 | } | |
26156 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
26157 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
26158 | } | |
26159 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
26160 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
26161 | } | |
26162 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
26163 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
26164 | } | |
26165 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
26166 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
26167 | } | |
26168 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
26169 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
26170 | } | |
26171 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
26172 | return (void *)((wxObject *) ((wxSizer *) x)); | |
26173 | } | |
26174 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
26175 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
26176 | } | |
26177 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
26178 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
26179 | } | |
26180 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
26181 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
26182 | } | |
26183 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
26184 | return (void *)((wxObject *) ((wxEvent *) x)); | |
26185 | } | |
26186 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
26187 | return (void *)((wxObject *) ((wxFontData *) x)); | |
26188 | } | |
26189 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
26190 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
26191 | } | |
26192 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
26193 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
26194 | } | |
26195 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
26196 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
26197 | } | |
26198 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
26199 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
26200 | } | |
26201 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
26202 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
26203 | } | |
26204 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
26205 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
26206 | } | |
26207 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
26208 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
26209 | } | |
26210 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
26211 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
26212 | } | |
26213 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
26214 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
26215 | } | |
26216 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
26217 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
26218 | } | |
26219 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
26220 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
26221 | } | |
26222 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
26223 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
26224 | } | |
26225 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
26226 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
26227 | } | |
26228 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
26229 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26230 | } | |
26231 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
26232 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
26233 | } | |
26234 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
26235 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
26236 | } | |
26237 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
26238 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
26239 | } | |
26240 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
26241 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
26242 | } | |
26243 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
26244 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
26245 | } | |
26246 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
26247 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
26248 | } | |
26249 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
26250 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
26251 | } | |
26252 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
26253 | return (void *)((wxObject *) ((wxColourData *) x)); | |
26254 | } | |
26255 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
26256 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
26257 | } | |
26258 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
26259 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
26260 | } | |
26261 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
26262 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
26263 | } | |
26264 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
26265 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
26266 | } | |
26267 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
26268 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
26269 | } | |
26270 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
26271 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26272 | } | |
26273 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
26274 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26275 | } | |
26276 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
26277 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
26278 | } | |
26279 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
26280 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
26281 | } | |
26282 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
26283 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
26284 | } | |
26285 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
26286 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
26287 | } | |
26288 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
26289 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
26290 | } | |
26291 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
26292 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
26293 | } | |
26294 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
26295 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
26296 | } | |
26297 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
26298 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
26299 | } | |
26300 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
26301 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
26302 | } | |
26303 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
26304 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
26305 | } | |
26306 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
26307 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
26308 | } | |
26309 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
26310 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
26311 | } | |
26312 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
26313 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
26314 | } | |
26315 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
26316 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
26317 | } | |
26318 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
26319 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
26320 | } | |
26321 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
26322 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
26323 | } | |
26324 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
26325 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
26326 | } | |
26327 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
26328 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
26329 | } | |
26330 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
26331 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
26332 | } | |
26333 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
26334 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
26335 | } | |
26336 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
26337 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
26338 | } | |
26339 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
26340 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
26341 | } | |
26342 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
26343 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
26344 | } | |
26345 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
26346 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
26347 | } | |
26348 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
26349 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
26350 | } | |
26351 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
26352 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
26353 | } | |
26354 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
26355 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
26356 | } | |
26357 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
26358 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
26359 | } | |
26360 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
26361 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
26362 | } | |
26363 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
26364 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26365 | } | |
26366 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
26367 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26368 | } | |
26369 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
26370 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
26371 | } | |
26372 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
26373 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
26374 | } | |
26375 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
26376 | return (void *)((wxObject *) ((wxImage *) x)); | |
26377 | } | |
26378 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
26379 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
26380 | } | |
26381 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
26382 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
26383 | } | |
26384 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
26385 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
26386 | } | |
26387 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
26388 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
26389 | } | |
26390 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
26391 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
26392 | } | |
26393 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
26394 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
26395 | } | |
26396 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
26397 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
26398 | } | |
26399 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
26400 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
26401 | } | |
26402 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
26403 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
26404 | } | |
26405 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
26406 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
26407 | } | |
26408 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
26409 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
26410 | } | |
26411 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
26412 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
26413 | } | |
26414 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
26415 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
26416 | } | |
26417 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
26418 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
26419 | } | |
26420 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
26421 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
26422 | } | |
26423 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
26424 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
26425 | } | |
26426 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
26427 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
26428 | } | |
26429 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
26430 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26431 | } | |
26432 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
26433 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
26434 | } | |
26435 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
26436 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26437 | } | |
26438 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
26439 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26440 | } | |
26441 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
26442 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26443 | } | |
26444 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
26445 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
26446 | } | |
26447 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
26448 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26449 | } | |
26450 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
26451 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
26452 | } | |
26453 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
26454 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
26455 | } | |
26456 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
26457 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
26458 | } | |
26459 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
26460 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
26461 | } | |
26462 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
26463 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
26464 | } | |
26465 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
26466 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
26467 | } | |
26468 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
26469 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
26470 | } | |
26471 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
26472 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
26473 | } | |
26474 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
26475 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
26476 | } | |
26477 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
26478 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
26479 | } | |
26480 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
26481 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
26482 | } | |
26483 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
26484 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
26485 | } | |
26486 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
26487 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
26488 | } | |
26489 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
26490 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
26491 | } | |
26492 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
26493 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
26494 | } | |
26495 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
26496 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
26497 | } | |
26498 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
26499 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
26500 | } | |
26501 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
26502 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
26503 | } | |
26504 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
26505 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
26506 | } | |
26507 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
26508 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
26509 | } | |
26510 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
26511 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26512 | } | |
26513 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
26514 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
26515 | } | |
26516 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
26517 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
26518 | } | |
26519 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
26520 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
26521 | } | |
26522 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
26523 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
26524 | } | |
26525 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
26526 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
26527 | } | |
26528 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
26529 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
26530 | } | |
26531 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
26532 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
26533 | } | |
26534 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
26535 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
26536 | } | |
26537 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
26538 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26539 | } | |
26540 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
26541 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26542 | } | |
26543 | static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { | |
26544 | return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26545 | } | |
26546 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
26547 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26548 | } | |
26549 | static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) { | |
26550 | return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26551 | } | |
26552 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
26553 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26554 | } | |
26555 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
26556 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
26557 | } | |
26558 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
26559 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
26560 | } | |
26561 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
26562 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
26563 | } | |
26564 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
26565 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
26566 | } | |
26567 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
26568 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
26569 | } | |
26570 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
26571 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
26572 | } | |
26573 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
26574 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
26575 | } | |
26576 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
26577 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
26578 | } | |
26579 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
26580 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
26581 | } | |
26582 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
26583 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
26584 | } | |
26585 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
26586 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
26587 | } | |
26588 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
26589 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
26590 | } | |
26591 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
26592 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
26593 | } | |
26594 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
26595 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
26596 | } | |
26597 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
26598 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
26599 | } | |
26600 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
26601 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26602 | } | |
26603 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
26604 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26605 | } | |
26606 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
26607 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
26608 | } | |
26609 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
26610 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
26611 | } | |
26612 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
26613 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26614 | } | |
26615 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
26616 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
26617 | } | |
26618 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
26619 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
26620 | } | |
26621 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
26622 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
26623 | } | |
26624 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
26625 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
26626 | } | |
26627 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
26628 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
26629 | } | |
26630 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
26631 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
26632 | } | |
26633 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
26634 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
26635 | } | |
26636 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
26637 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
26638 | } | |
26639 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
26640 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26641 | } | |
26642 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
26643 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26644 | } | |
26645 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
26646 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
26647 | } | |
26648 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
26649 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
26650 | } | |
26651 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
26652 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
26653 | } | |
26654 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
26655 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
26656 | } | |
26657 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
26658 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26659 | } | |
26660 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
26661 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26662 | } | |
26663 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
26664 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26665 | } | |
26666 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
26667 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
26668 | } | |
26669 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
26670 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26671 | } | |
26672 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
26673 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
26674 | } | |
26675 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
26676 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
26677 | } | |
26678 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
26679 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
26680 | } | |
26681 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
26682 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
26683 | } | |
26684 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
26685 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
26686 | } | |
26687 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
26688 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26689 | } | |
26690 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
26691 | return (void *)((wxWindow *) ((wxControl *) x)); | |
26692 | } | |
26693 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
26694 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
26695 | } | |
26696 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
26697 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26698 | } | |
26699 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
26700 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
26701 | } | |
26702 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
26703 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
26704 | } | |
26705 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
26706 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
26707 | } | |
26708 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
26709 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26710 | } | |
26711 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
26712 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26713 | } | |
26714 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
26715 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26716 | } | |
26717 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
26718 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
26719 | } | |
26720 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
26721 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26722 | } | |
26723 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
26724 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
26725 | } | |
26726 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
26727 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
26728 | } | |
26729 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
26730 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
26731 | } | |
26732 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
26733 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
26734 | } | |
26735 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
26736 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
26737 | } | |
26738 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
26739 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
26740 | } | |
26741 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
26742 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
26743 | } | |
26744 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
26745 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
26746 | } | |
26747 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { | |
26748 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26749 | } | |
26750 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
26751 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26752 | } | |
26753 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
26754 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
26755 | } | |
26756 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
26757 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
26758 | } | |
26759 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
26760 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
26761 | } | |
26762 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
26763 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
26764 | } | |
26765 | static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) { | |
26766 | return (void *)((wxDialog *) ((wxPageSetupDialog *) x)); | |
26767 | } | |
26768 | static void *_p_wxPrintDialogTo_p_wxDialog(void *x) { | |
26769 | return (void *)((wxDialog *) ((wxPrintDialog *) x)); | |
26770 | } | |
26771 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { | |
26772 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
26773 | } | |
26774 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
26775 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26776 | } | |
26777 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
26778 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26779 | } | |
26780 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
26781 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
26782 | } | |
26783 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { | |
26784 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
26785 | } | |
26786 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
26787 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
26788 | } | |
26789 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
26790 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
26791 | } | |
26792 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
26793 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26794 | } | |
26795 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { | |
26796 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26797 | } | |
26798 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
26799 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26800 | } | |
26801 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
26802 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26803 | } | |
26804 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
26805 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
26806 | } | |
26807 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
26808 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26809 | } | |
26810 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
26811 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
26812 | } | |
26813 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
26814 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26815 | } | |
26816 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
26817 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
26818 | } | |
26819 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
26820 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
26821 | } | |
26822 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
26823 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
26824 | } | |
26825 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
26826 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
26827 | } | |
26828 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
26829 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
26830 | } | |
26831 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
26832 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
26833 | } | |
26834 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
26835 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
26836 | } | |
26837 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
26838 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
26839 | } | |
26840 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
26841 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
26842 | } | |
26843 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
26844 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
26845 | } | |
26846 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
26847 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
26848 | } | |
26849 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
26850 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26851 | } | |
26852 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26853 | static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0, 0, 0, 0},{"_p_wxPreviewFrame", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26854 | static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26855 | static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0, 0, 0, 0},{"_p_wxPyPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26856 | static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
09c21d3b | 26857 | static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
26858 | static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
26859 | static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26860 | static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26861 | static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26862 | static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26863 | static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0, 0, 0, 0},{"_p_wxFindDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26864 | static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0, 0, 0, 0},{"_p_wxPreviewCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26865 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26866 | static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26867 | static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26868 | static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0, 0, 0, 0},{"_p_wxFindReplaceData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26869 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26870 | static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26871 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26872 | static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
f20a2e1f | 26873 | static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
26874 | static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
26875 | static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0, 0, 0, 0},{"_p_wxColourData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26876 | static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26877 | static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26878 | static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26879 | static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0, 0, 0, 0},{"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26880 | static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0, 0, 0, 0},{"_p_wxProgressDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26881 | static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0, 0, 0, 0},{"_p_wxMessageDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26882 | static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26883 | static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26884 | static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26885 | static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26886 | static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0, 0, 0, 0},{"_p_wxPrinter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26887 | static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26888 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26889 | static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26890 | static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0, 0, 0, 0},{"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26891 | static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0, 0, 0, 0},{"_p_wxPyVListBox", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26892 | static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26893 | static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26894 | static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0, 0, 0, 0},{"_p_wxMiniFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26895 | static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26896 | static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26897 | static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26898 | static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26899 | static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0, 0, 0, 0},{"_p_wxStatusBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26900 | static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0, 0, 0, 0},{"_p_wxMDIParentFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26901 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26902 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26903 | static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
d55e5bfc RD |
26904 | static swig_type_info _swigt__p_wxPyScrolledWindow[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
26905 | static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0, 0, 0, 0},{"_p_wxMDIClientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26906 | static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0, 0, 0, 0},{"_p_wxTipWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26907 | static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0, 0, 0, 0},{"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26908 | static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
f20a2e1f | 26909 | static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
26910 | static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
26911 | static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26912 | static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26913 | static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26914 | static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26915 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26916 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
d55e5bfc RD |
26917 | static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
26918 | static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0, 0, 0, 0},{"_p_wxPrintPreview", 0, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26919 | static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26920 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26921 | static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0, 0, 0, 0},{"_p_wxPyPrintPreview", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26922 | static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0, 0, 0, 0},{"_p_wxFontDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26923 | static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0, 0, 0, 0},{"_p_wxDirDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26924 | static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26925 | static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26926 | static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26927 | static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0, 0, 0, 0},{"_p_wxPageSetupDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26928 | static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
c24da6d6 | 26929 | static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
26930 | static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
26931 | static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26932 | static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPreviewControlBar", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26933 | static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26934 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26935 | static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26936 | static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26937 | static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0, 0, 0, 0},{"_p_wxPrintDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26938 | ||
26939 | static swig_type_info *swig_types_initial[] = { | |
26940 | _swigt__p_wxQueryLayoutInfoEvent, | |
26941 | _swigt__p_wxPreviewFrame, | |
26942 | _swigt__p_wxPyPreviewFrame, | |
26943 | _swigt__p_wxPyPanel, | |
26944 | _swigt__p_wxMenu, | |
09c21d3b | 26945 | _swigt__p_wxPrintData, |
d55e5bfc RD |
26946 | _swigt__p_wxFontData, |
26947 | _swigt__p_wxEvent, | |
26948 | _swigt__p_wxTaskBarIcon, | |
26949 | _swigt__p_wxIconBundle, | |
26950 | _swigt__p_wxLayoutAlgorithm, | |
26951 | _swigt__p_wxFindDialogEvent, | |
26952 | _swigt__p_wxPreviewCanvas, | |
26953 | _swigt__p_wxFont, | |
26954 | _swigt__p_wxSplitterEvent, | |
26955 | _swigt__p_wxRegion, | |
26956 | _swigt__p_wxFindReplaceData, | |
26957 | _swigt__p_int, | |
26958 | _swigt__p_wxSize, | |
26959 | _swigt__p_wxDC, | |
26960 | _swigt__p_wxIcon, | |
f20a2e1f | 26961 | _swigt__p_wxVisualAttributes, |
d55e5bfc RD |
26962 | _swigt__p_wxMDIChildFrame, |
26963 | _swigt__p_wxColourData, | |
26964 | _swigt__p_wxNotifyEvent, | |
26965 | _swigt__p_wxPyWindow, | |
26966 | _swigt__p_wxSplashScreen, | |
26967 | _swigt__p_wxFindReplaceDialog, | |
26968 | _swigt__p_wxProgressDialog, | |
26969 | _swigt__p_wxMessageDialog, | |
26970 | _swigt__p_wxTextEntryDialog, | |
26971 | _swigt__p_wxSingleChoiceDialog, | |
26972 | _swigt__p_wxMultiChoiceDialog, | |
26973 | _swigt__p_wxFileDialog, | |
26974 | _swigt__p_wxPrinter, | |
26975 | _swigt__p_wxArrayInt, | |
26976 | _swigt__p_wxEvtHandler, | |
26977 | _swigt__p_wxCalculateLayoutEvent, | |
26978 | _swigt__p_wxPyHtmlListBox, | |
26979 | _swigt__p_wxPyVListBox, | |
26980 | _swigt__p_wxRect, | |
26981 | _swigt__p_char, | |
26982 | _swigt__p_wxMiniFrame, | |
26983 | _swigt__p_wxFrame, | |
26984 | _swigt__p_wxPyPrintout, | |
26985 | _swigt__p_wxTaskBarIconEvent, | |
26986 | _swigt__p_wxScrollWinEvent, | |
26987 | _swigt__p_wxStatusBar, | |
26988 | _swigt__p_wxMDIParentFrame, | |
26989 | _swigt__p_wxPoint, | |
26990 | _swigt__p_wxObject, | |
26991 | _swigt__p_wxOutputStream, | |
d55e5bfc RD |
26992 | _swigt__p_wxPyScrolledWindow, |
26993 | _swigt__p_wxMDIClientWindow, | |
26994 | _swigt__p_wxTipWindow, | |
26995 | _swigt__p_wxSashLayoutWindow, | |
26996 | _swigt__p_wxSplitterWindow, | |
f20a2e1f | 26997 | _swigt__p_wxSplashScreenWindow, |
d55e5bfc RD |
26998 | _swigt__p_wxPyVScrolledWindow, |
26999 | _swigt__p_wxPyPopupTransientWindow, | |
27000 | _swigt__p_wxPopupWindow, | |
27001 | _swigt__p_wxSashWindow, | |
27002 | _swigt__p_wxTopLevelWindow, | |
27003 | _swigt__p_wxWindow, | |
27004 | _swigt__p_wxScrolledWindow, | |
d55e5bfc RD |
27005 | _swigt__p_wxMenuBar, |
27006 | _swigt__p_wxPrintPreview, | |
27007 | _swigt__p_wxSashEvent, | |
27008 | _swigt__p_wxString, | |
27009 | _swigt__p_wxPyPrintPreview, | |
27010 | _swigt__p_wxFontDialog, | |
27011 | _swigt__p_wxDirDialog, | |
27012 | _swigt__p_wxColourDialog, | |
27013 | _swigt__p_wxDialog, | |
27014 | _swigt__p_wxPanel, | |
27015 | _swigt__p_wxPageSetupDialog, | |
27016 | _swigt__p_wxPrintDialog, | |
c24da6d6 | 27017 | _swigt__p_wxFileSystem, |
d55e5bfc RD |
27018 | _swigt__p_wxBitmap, |
27019 | _swigt__p_wxCommandEvent, | |
27020 | _swigt__p_wxPreviewControlBar, | |
27021 | _swigt__p_wxPyPreviewControlBar, | |
27022 | _swigt__p_wxColour, | |
27023 | _swigt__p_wxToolBar, | |
27024 | _swigt__p_wxPageSetupDialogData, | |
27025 | _swigt__p_wxPrintDialogData, | |
27026 | 0 | |
27027 | }; | |
27028 | ||
27029 | ||
27030 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
27031 | ||
27032 | static swig_const_info swig_const_table[] = { | |
27033 | {0}}; | |
27034 | ||
27035 | #ifdef __cplusplus | |
27036 | } | |
27037 | #endif | |
27038 | ||
27039 | #ifdef __cplusplus | |
27040 | extern "C" | |
27041 | #endif | |
27042 | SWIGEXPORT(void) SWIG_init(void) { | |
27043 | static PyObject *SWIG_globals = 0; | |
27044 | static int typeinit = 0; | |
27045 | PyObject *m, *d; | |
27046 | int i; | |
27047 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
27048 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
27049 | d = PyModule_GetDict(m); | |
27050 | ||
27051 | if (!typeinit) { | |
27052 | for (i = 0; swig_types_initial[i]; i++) { | |
27053 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
27054 | } | |
27055 | typeinit = 1; | |
27056 | } | |
27057 | SWIG_InstallConstants(d,swig_const_table); | |
27058 | ||
27059 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
27060 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
27061 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
27062 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
27063 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
27064 | PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP)); | |
27065 | PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE)); | |
27066 | PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE)); | |
27067 | PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE)); | |
27068 | PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX)); | |
27069 | PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME)); | |
27070 | PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU)); | |
27071 | PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX)); | |
27072 | PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX)); | |
27073 | PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ)); | |
27074 | PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT)); | |
27075 | PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX)); | |
27076 | PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER)); | |
27077 | PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT)); | |
27078 | PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE)); | |
27079 | PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE)); | |
27080 | PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW)); | |
27081 | PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT)); | |
27082 | PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU)); | |
27083 | PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR)); | |
27084 | PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED)); | |
27085 | PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL)); | |
27086 | PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS)); | |
27087 | PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS)); | |
27088 | PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D)); | |
27089 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR)); | |
27090 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR)); | |
27091 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR)); | |
27092 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER)); | |
27093 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION)); | |
27094 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL)); | |
27095 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG)); | |
27096 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT)); | |
27097 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN)); | |
27098 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE)); | |
27099 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT)); | |
27100 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT)); | |
27101 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); | |
27102 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER)); | |
27103 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH)); | |
27104 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT)); | |
27105 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE)); | |
27106 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH)); | |
27107 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER)); | |
27108 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME)); | |
27109 | PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER)); | |
27110 | PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D)); | |
27111 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL)); | |
27112 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL)); | |
27113 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE)); | |
27114 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING)); | |
27115 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN)); | |
27116 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); | |
27117 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
27118 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
27119 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
27120 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); | |
27121 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
27122 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE)); | |
27123 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING)); | |
27124 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN)); | |
27125 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER)); | |
27126 | PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER)); | |
27127 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH)); | |
27128 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER)); | |
27129 | PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D)); | |
27130 | PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP)); | |
27131 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT)); | |
27132 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM)); | |
27133 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT)); | |
27134 | PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE)); | |
27135 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK)); | |
27136 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE)); | |
27137 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); | |
27138 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL)); | |
27139 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL)); | |
27140 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE)); | |
27141 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP)); | |
27142 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT)); | |
27143 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT)); | |
27144 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM)); | |
27145 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y)); | |
27146 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X)); | |
27147 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH)); | |
27148 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY)); | |
27149 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); | |
27150 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
27151 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); | |
27152 | ||
27153 | // Map renamed classes back to their common name for OOR | |
27154 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
27155 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
27156 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
27157 | ||
27158 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
27159 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
27160 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
27161 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
27162 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
27163 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
27164 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
27165 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); | |
27166 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
27167 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
27168 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
27169 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
27170 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
27171 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE)); | |
27172 | PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN)); | |
27173 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD)); | |
27174 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE)); | |
27175 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG)); | |
27176 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN)); | |
27177 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE)); | |
27178 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD)); | |
27179 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); | |
27180 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
27181 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
27182 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
27183 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
27184 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001)); | |
27185 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001)); | |
27186 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002)); | |
27187 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003)); | |
27188 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004)); | |
27189 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005)); | |
27190 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100)); | |
27191 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600)); | |
27192 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); | |
27193 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
27194 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE)); | |
27195 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW)); | |
27196 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE)); | |
27197 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER)); | |
27198 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM)); | |
27199 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR)); | |
27200 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED)); | |
27201 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR)); | |
27202 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT)); | |
27203 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS)); | |
27204 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT)); | |
27205 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM)); | |
27206 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST)); | |
27207 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST)); | |
27208 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO)); | |
27209 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT)); | |
27210 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE)); | |
27211 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT)); | |
27212 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS)); | |
27213 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT)); | |
27214 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM)); | |
27215 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST)); | |
27216 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST)); | |
27217 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO)); | |
27218 | ||
27219 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
27220 | ||
27221 | } | |
27222 |