]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
a41e16b6 | 3 | * Version 1.3.22 |
d14a1e28 RD |
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 | |
c9c7117a RD |
48 | #define SWIG_PackData SWIG_Python_PackData |
49 | #define SWIG_UnpackData SWIG_Python_UnpackData | |
50 | ||
d14a1e28 RD |
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 | ||
cc6dd355 RD |
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 | |
d14a1e28 | 82 | #else |
cc6dd355 RD |
83 | # define SWIGEXPORT(a) a |
84 | # define SWIGIMPORT(a) a | |
d14a1e28 RD |
85 | #endif |
86 | ||
87 | #ifdef SWIG_GLOBAL | |
cc6dd355 | 88 | # define SWIGRUNTIME(a) SWIGEXPORT(a) |
d14a1e28 | 89 | #else |
cc6dd355 | 90 | # define SWIGRUNTIME(a) static a |
d14a1e28 RD |
91 | #endif |
92 | ||
d14a1e28 RD |
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 { | |
cc6dd355 | 101 | const char *name; |
d14a1e28 RD |
102 | swig_converter_func converter; |
103 | const char *str; | |
cc6dd355 | 104 | void *clientdata; |
d14a1e28 RD |
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 *); | |
cc6dd355 RD |
118 | SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); |
119 | SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); | |
d14a1e28 RD |
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 | ||
d14a1e28 RD |
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 | ||
d14a1e28 RD |
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) | |
a41e16b6 | 173 | |
d14a1e28 RD |
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) | |
d14a1e28 RD |
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 | ||
994141e6 | 186 | typedef double (*py_objasdbl_conv)(PyObject *obj); |
d14a1e28 | 187 | |
cc6dd355 RD |
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[]); | |
d14a1e28 | 196 | |
d14a1e28 RD |
197 | |
198 | /* Contract support */ | |
199 | ||
9d1d5697 | 200 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else |
d14a1e28 | 201 | |
d14a1e28 RD |
202 | #ifdef __cplusplus |
203 | } | |
204 | #endif | |
205 | ||
206 | ||
d14a1e28 RD |
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] | |
1e0c8722 RD |
212 | #define SWIGTYPE_p_wxPyPanel swig_types[3] |
213 | #define SWIGTYPE_p_wxMenu swig_types[4] | |
214 | #define SWIGTYPE_p_wxPrintData swig_types[5] | |
215 | #define SWIGTYPE_p_wxFontData swig_types[6] | |
216 | #define SWIGTYPE_p_wxEvent swig_types[7] | |
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] | |
230 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[21] | |
231 | #define SWIGTYPE_p_wxColourData swig_types[22] | |
232 | #define SWIGTYPE_p_wxNotifyEvent swig_types[23] | |
233 | #define SWIGTYPE_p_wxPyWindow swig_types[24] | |
234 | #define SWIGTYPE_p_wxSplashScreen swig_types[25] | |
235 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26] | |
236 | #define SWIGTYPE_p_wxProgressDialog swig_types[27] | |
237 | #define SWIGTYPE_p_wxMessageDialog swig_types[28] | |
238 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[29] | |
239 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30] | |
240 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31] | |
241 | #define SWIGTYPE_p_wxFileDialog swig_types[32] | |
242 | #define SWIGTYPE_p_wxPrinter swig_types[33] | |
243 | #define SWIGTYPE_p_wxArrayInt swig_types[34] | |
244 | #define SWIGTYPE_p_wxEvtHandler swig_types[35] | |
245 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36] | |
246 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37] | |
247 | #define SWIGTYPE_p_wxPyVListBox swig_types[38] | |
248 | #define SWIGTYPE_p_wxRect swig_types[39] | |
994141e6 RD |
249 | #define SWIGTYPE_p_char swig_types[40] |
250 | #define SWIGTYPE_p_wxMiniFrame swig_types[41] | |
251 | #define SWIGTYPE_p_wxFrame swig_types[42] | |
252 | #define SWIGTYPE_p_wxPyPrintout swig_types[43] | |
253 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44] | |
254 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[45] | |
255 | #define SWIGTYPE_p_wxStatusBar swig_types[46] | |
256 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[47] | |
257 | #define SWIGTYPE_p_wxPoint swig_types[48] | |
258 | #define SWIGTYPE_p_wxObject swig_types[49] | |
db914595 RD |
259 | #define SWIGTYPE_p_wxOutputStream swig_types[50] |
260 | #define SWIGTYPE_p_unsigned_long swig_types[51] | |
1cb4a8aa 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_wxPyVScrolledWindow swig_types[57] | |
267 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58] | |
268 | #define SWIGTYPE_p_wxPopupWindow swig_types[59] | |
269 | #define SWIGTYPE_p_wxSashWindow swig_types[60] | |
270 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[61] | |
271 | #define SWIGTYPE_p_wxWindow swig_types[62] | |
272 | #define SWIGTYPE_p_wxScrolledWindow swig_types[63] | |
273 | #define SWIGTYPE_p_wxSplashScreenWindow 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_wxBitmap swig_types[77] | |
287 | #define SWIGTYPE_p_wxCommandEvent swig_types[78] | |
288 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[79] | |
289 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80] | |
290 | #define SWIGTYPE_p_wxColour swig_types[81] | |
291 | #define SWIGTYPE_p_wxToolBar swig_types[82] | |
292 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[83] | |
293 | #define SWIGTYPE_p_wxPrintDialogData swig_types[84] | |
294 | static swig_type_info *swig_types[86]; | |
d14a1e28 RD |
295 | |
296 | /* -------- TYPES TABLE (END) -------- */ | |
297 | ||
298 | ||
299 | /*----------------------------------------------- | |
300 | @(target):= _windows.so | |
301 | ------------------------------------------------*/ | |
302 | #define SWIG_init init_windows | |
303 | ||
304 | #define SWIG_name "_windows" | |
305 | ||
15afbcd0 | 306 | /* Auxiliar swig macros */ |
994141e6 | 307 | |
994141e6 | 308 | #ifdef __cplusplus |
15afbcd0 | 309 | #define SWIGSTATICINLINE(a) static inline a |
994141e6 | 310 | #define SWIGSTATIC(a) static a |
15afbcd0 RD |
311 | #define swig_new_array(type, size) (new type[(size)]) |
312 | #define swig_delete_array(cptr) delete[] cptr | |
313 | #define swig_const_cast(type,a) const_cast<type>(a) | |
314 | #define swig_static_cast(type,a) static_cast<type>(a) | |
315 | #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) | |
994141e6 | 316 | |
994141e6 | 317 | #ifdef HAVE_NUMERIC_CAST |
15afbcd0 | 318 | #define swig_numeric_cast(type,a) numeric_cast<type>(a) |
994141e6 | 319 | #else |
15afbcd0 | 320 | #define swig_numeric_cast(type,a) static_cast<type>(a) |
994141e6 RD |
321 | #endif |
322 | ||
15afbcd0 RD |
323 | #else /* C case */ |
324 | ||
325 | #define SWIGSTATICINLINE(a) static a | |
326 | #define SWIGSTATIC(a) static a | |
327 | #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) | |
328 | #define swig_delete_array(cptr) free((char*)cptr) | |
329 | #define swig_const_cast(type,a) (type)(a) | |
330 | #define swig_static_cast(type,a) (type)(a) | |
331 | #define swig_reinterpret_cast(type,a) (type)(a) | |
332 | #define swig_numeric_cast(type,a) (type)(a) | |
333 | ||
334 | #endif /* __cplusplus */ | |
994141e6 RD |
335 | |
336 | ||
15afbcd0 RD |
337 | #define SWIG_FromSignedChar PyInt_FromLong |
338 | #define SWIG_FromUnsignedChar PyInt_FromLong | |
339 | #define SWIG_FromShort PyInt_FromLong | |
340 | #define SWIG_FromUnsignedShort PyInt_FromLong | |
341 | #define SWIG_FromInt PyInt_FromLong | |
342 | #define SWIG_FromLong PyInt_FromLong | |
343 | #define SWIG_FromFloat PyFloat_FromDouble | |
344 | #define SWIG_FromDouble PyFloat_FromDouble | |
345 | #define SWIG_FromFloat PyFloat_FromDouble | |
346 | #define SWIG_FromDouble PyFloat_FromDouble | |
994141e6 RD |
347 | |
348 | ||
d14a1e28 RD |
349 | #include "wx/wxPython/wxPython.h" |
350 | #include "wx/wxPython/pyclasses.h" | |
351 | ||
d14a1e28 | 352 | |
b2dc1044 RD |
353 | static const wxString wxPyEmptyString(wxEmptyString); |
354 | static const wxString wxPyPanelNameStr(wxPanelNameStr); | |
d14a1e28 RD |
355 | |
356 | ||
357 | ||
15afbcd0 RD |
358 | #include <limits.h> |
359 | ||
360 | ||
361 | SWIGSTATICINLINE(long) | |
362 | SWIG_CheckLongInRange(long value, const char* type, | |
363 | long min_value, long max_value) | |
364 | { | |
365 | if (!PyErr_Occurred()) { | |
366 | if (value < min_value) { | |
367 | PyObject *err = | |
368 | PyString_FromFormat("value %ld is less than '%s' minimum %ld", | |
369 | value, type, min_value); | |
370 | ||
371 | PyErr_SetObject(PyExc_OverflowError, err); | |
372 | Py_DECREF(err); | |
373 | } else if (value > max_value) { | |
374 | PyObject *err = | |
375 | PyString_FromFormat("value %ld is greater than '%s' maximum %ld", | |
376 | value, type, max_value); | |
377 | PyErr_SetObject(PyExc_OverflowError, err); | |
378 | Py_DECREF(err); | |
379 | } | |
380 | } | |
381 | return value; | |
994141e6 RD |
382 | } |
383 | ||
384 | ||
15afbcd0 RD |
385 | SWIGSTATICINLINE(long) |
386 | SWIG_AsLong(PyObject * obj) | |
994141e6 | 387 | { |
69223c70 RD |
388 | if (PyNumber_Check(obj)) |
389 | return PyInt_AsLong(obj); | |
390 | else { | |
391 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
392 | obj->ob_type->tp_name); | |
393 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
394 | Py_DECREF(errmsg); | |
395 | return 0; | |
396 | } | |
994141e6 RD |
397 | } |
398 | ||
399 | ||
15afbcd0 RD |
400 | #if INT_MAX != LONG_MAX |
401 | SWIGSTATICINLINE(int) | |
402 | SWIG_AsInt(PyObject *obj) | |
403 | { | |
404 | return swig_numeric_cast(int, | |
405 | SWIG_CheckLongInRange(SWIG_AsLong(obj), | |
406 | "int", INT_MIN, INT_MAX)); | |
407 | } | |
408 | #else | |
409 | #define SWIG_AsInt SWIG_AsLong | |
410 | #endif | |
411 | ||
412 | ||
413 | SWIGSTATICINLINE(int) | |
414 | SWIG_CheckInt(PyObject* obj) | |
415 | { | |
416 | SWIG_AsInt(obj); | |
417 | if (PyErr_Occurred()) { | |
418 | PyErr_Clear(); | |
419 | return 0; | |
420 | } else { | |
421 | return 1; | |
422 | } | |
423 | } | |
424 | ||
425 | ||
426 | SWIGSTATICINLINE(int) | |
427 | SWIG_CheckLong(PyObject* obj) | |
428 | { | |
429 | SWIG_AsLong(obj); | |
430 | if (PyErr_Occurred()) { | |
431 | PyErr_Clear(); | |
432 | return 0; | |
433 | } else { | |
434 | return 1; | |
435 | } | |
436 | } | |
437 | ||
438 | ||
439 | SWIGSTATICINLINE(bool) | |
440 | SWIG_AsBool(PyObject *obj) | |
994141e6 RD |
441 | { |
442 | return PyObject_IsTrue(obj) ? true : false; | |
443 | } | |
444 | ||
445 | ||
15afbcd0 RD |
446 | SWIGSTATICINLINE(int) |
447 | SWIG_CheckBool(PyObject* obj) | |
448 | { | |
449 | SWIG_AsBool(obj); | |
450 | if (PyErr_Occurred()) { | |
451 | PyErr_Clear(); | |
452 | return 0; | |
453 | } else { | |
454 | return 1; | |
455 | } | |
456 | } | |
457 | ||
458 | ||
d14a1e28 RD |
459 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
460 | PyObject* o2; | |
461 | PyObject* o3; | |
462 | ||
463 | if (!target) { | |
464 | target = o; | |
465 | } else if (target == Py_None) { | |
466 | Py_DECREF(Py_None); | |
467 | target = o; | |
468 | } else { | |
469 | if (!PyTuple_Check(target)) { | |
470 | o2 = target; | |
471 | target = PyTuple_New(1); | |
472 | PyTuple_SetItem(target, 0, o2); | |
473 | } | |
474 | o3 = PyTuple_New(1); | |
475 | PyTuple_SetItem(o3, 0, o); | |
476 | ||
477 | o2 = target; | |
478 | target = PySequence_Concat(o2, o3); | |
479 | Py_DECREF(o2); | |
480 | Py_DECREF(o3); | |
481 | } | |
482 | return target; | |
483 | } | |
484 | ||
994141e6 | 485 | |
15afbcd0 RD |
486 | SWIGSTATICINLINE(double) |
487 | SWIG_AsDouble(PyObject *obj) | |
994141e6 | 488 | { |
69223c70 RD |
489 | if (PyNumber_Check(obj)) |
490 | return PyFloat_AsDouble(obj); | |
491 | else { | |
492 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
493 | obj->ob_type->tp_name); | |
494 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
495 | Py_DECREF(errmsg); | |
496 | return 0; | |
497 | } | |
15afbcd0 RD |
498 | } |
499 | ||
500 | ||
501 | SWIGSTATICINLINE(int) | |
502 | SWIG_CheckDouble(PyObject* obj) | |
503 | { | |
504 | SWIG_AsDouble(obj); | |
505 | if (PyErr_Occurred()) { | |
506 | PyErr_Clear(); | |
507 | return 0; | |
508 | } else { | |
509 | return 1; | |
510 | } | |
994141e6 RD |
511 | } |
512 | ||
b2dc1044 RD |
513 | static const wxString wxPyFrameNameStr(wxFrameNameStr); |
514 | static const wxString wxPyDialogNameStr(wxDialogNameStr); | |
515 | static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr); | |
516 | static const wxString wxPyToolBarNameStr(wxToolBarNameStr); | |
d14a1e28 RD |
517 | bool wxDialog_IsModalShowing(wxDialog *self){ |
518 | ||
519 | return self->m_modalShowing; | |
520 | ||
521 | ||
522 | ||
523 | } | |
524 | ||
525 | ||
7722248d RD |
526 | wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ |
527 | wxRect r; | |
528 | self->GetFieldRect(i, r); | |
529 | return r; | |
530 | } | |
33b885b9 RD |
531 | static const wxString wxPySplitterNameStr(wxT("splitter")); |
532 | static const wxString wxPySashNameStr(wxT("sashWindow")); | |
533 | static const wxString wxPySashLayoutNameStr(wxT("layoutWindow")); | |
d14a1e28 RD |
534 | |
535 | #include <wx/popupwin.h> | |
536 | ||
537 | ||
538 | class wxPyPopupTransientWindow : public wxPopupTransientWindow | |
539 | { | |
540 | public: | |
541 | wxPyPopupTransientWindow() : wxPopupTransientWindow() {} | |
542 | wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE) | |
543 | : wxPopupTransientWindow(parent, style) {} | |
544 | ||
545 | DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown); | |
546 | DEC_PYCALLBACK__(OnDismiss); | |
547 | DEC_PYCALLBACK_BOOL_(CanDismiss); | |
548 | PYPRIVATE; | |
549 | }; | |
550 | ||
551 | ||
552 | IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown); | |
553 | IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss); | |
554 | IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss); | |
555 | ||
556 | ||
557 | #include <wx/tipwin.h> | |
558 | ||
fd3f2efe RD |
559 | wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){ |
560 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
d14a1e28 RD |
561 | } |
562 | ||
563 | #include <wx/tipwin.h> | |
564 | ||
565 | ||
566 | #include <wx/vscroll.h> | |
567 | ||
568 | ||
569 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
570 | { | |
571 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
572 | public: | |
573 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
574 | ||
575 | wxPyVScrolledWindow(wxWindow *parent, | |
576 | wxWindowID id = wxID_ANY, | |
577 | const wxPoint& pos = wxDefaultPosition, | |
578 | const wxSize& size = wxDefaultSize, | |
579 | long style = 0, | |
580 | const wxString& name = wxPyPanelNameStr) | |
581 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
582 | {} | |
583 | ||
584 | // Overridable virtuals | |
585 | ||
586 | // this function must be overridden in the derived class and it should | |
587 | // return the height of the given line in pixels | |
588 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
589 | ||
590 | ||
591 | // this function doesn't have to be overridden but it may be useful to do | |
592 | // it if calculating the lines heights is a relatively expensive operation | |
593 | // as it gives the user code a possibility to calculate several of them at | |
594 | // once | |
595 | // | |
596 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
597 | // shouldn't rely on the latter being called for all lines in the interval | |
598 | // specified here. It is also possible that OnGetLineHeight() will be | |
599 | // called for the lines outside of this interval, so this is really just a | |
600 | // hint, not a promise. | |
601 | // | |
602 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
603 | // usual | |
604 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
605 | ||
606 | ||
607 | // when the number of lines changes, we try to estimate the total height | |
608 | // of all lines which is a rather expensive operation in terms of lines | |
609 | // access, so if the user code may estimate the average height | |
610 | // better/faster than we do, it should override this function to implement | |
611 | // its own logic | |
612 | // | |
613 | // this function should return the best guess for the total height it may | |
614 | // make | |
615 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
616 | ||
617 | ||
618 | // Also expose some other interesting protected methods | |
619 | ||
620 | ||
621 | // find the index of the line we need to show at the top of the window such | |
622 | // that the last (fully or partially) visible line is the given one | |
e811c8ce | 623 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False) |
d14a1e28 RD |
624 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } |
625 | ||
626 | // get the total height of the lines between lineMin (inclusive) and | |
627 | // lineMax (exclusive) | |
628 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
629 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
630 | ||
631 | ||
632 | PYPRIVATE; | |
633 | }; | |
634 | ||
635 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
636 | ||
637 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
638 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
639 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
640 | ||
641 | ||
15afbcd0 RD |
642 | SWIGSTATICINLINE(unsigned long) |
643 | SWIG_AsUnsignedLong(PyObject * obj) | |
644 | { | |
645 | if (PyLong_Check(obj)) { | |
646 | return PyLong_AsUnsignedLong(obj); | |
647 | } else { | |
69223c70 | 648 | long i = SWIG_AsLong(obj); |
15afbcd0 | 649 | if ( !PyErr_Occurred() && (i < 0)) { |
69223c70 | 650 | PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type"); |
15afbcd0 RD |
651 | } |
652 | return i; | |
653 | } | |
654 | } | |
655 | ||
656 | ||
657 | SWIGSTATICINLINE(int) | |
658 | SWIG_CheckUnsignedLong(PyObject* obj) | |
659 | { | |
660 | SWIG_AsUnsignedLong(obj); | |
661 | if (PyErr_Occurred()) { | |
662 | PyErr_Clear(); | |
663 | return 0; | |
664 | } else { | |
665 | return 1; | |
666 | } | |
667 | } | |
668 | ||
669 | ||
670 | SWIGSTATICINLINE(PyObject* ) | |
671 | SWIG_FromUnsignedLong(unsigned long value) | |
994141e6 | 672 | { |
15afbcd0 RD |
673 | return (value > LONG_MAX) ? |
674 | PyLong_FromUnsignedLong(value) | |
675 | : PyInt_FromLong(swig_numeric_cast(long,value)); | |
994141e6 RD |
676 | } |
677 | ||
678 | ||
d14a1e28 | 679 | #include <wx/vlbox.h> |
d14a1e28 | 680 | |
b2dc1044 | 681 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); |
d14a1e28 RD |
682 | |
683 | class wxPyVListBox : public wxVListBox | |
684 | { | |
685 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
686 | public: | |
687 | wxPyVListBox() : wxVListBox() {} | |
688 | ||
689 | wxPyVListBox(wxWindow *parent, | |
690 | wxWindowID id = wxID_ANY, | |
691 | const wxPoint& pos = wxDefaultPosition, | |
692 | const wxSize& size = wxDefaultSize, | |
693 | long style = 0, | |
694 | const wxString& name = wxPyVListBoxNameStr) | |
695 | : wxVListBox(parent, id, pos, size, style, name) | |
696 | {} | |
697 | ||
698 | // Overridable virtuals | |
699 | ||
700 | // the derived class must implement this function to actually draw the item | |
701 | // with the given index on the provided DC | |
702 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
703 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
704 | ||
705 | ||
706 | // the derived class must implement this method to return the height of the | |
707 | // specified item | |
708 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
709 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
710 | ||
711 | ||
712 | // this method may be used to draw separators between the lines; note that | |
713 | // the rectangle may be modified, typically to deflate it a bit before | |
714 | // passing to OnDrawItem() | |
715 | // | |
716 | // the base class version doesn't do anything | |
717 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
718 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
719 | ||
720 | ||
721 | // this method is used to draw the items background and, maybe, a border | |
722 | // around it | |
723 | // | |
724 | // the base class version implements a reasonable default behaviour which | |
725 | // consists in drawing the selected item with the standard background | |
726 | // colour and drawing a border around the item if it is either selected or | |
727 | // current | |
728 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
729 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
730 | ||
731 | ||
732 | PYPRIVATE; | |
733 | }; | |
734 | ||
735 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
736 | ||
737 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
738 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
739 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
740 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
741 | ||
742 | ||
743 | ||
744 | #include <wx/htmllbox.h> | |
745 | ||
746 | ||
747 | class wxPyHtmlListBox : public wxHtmlListBox | |
748 | { | |
749 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
750 | public: | |
751 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
752 | ||
753 | wxPyHtmlListBox(wxWindow *parent, | |
754 | wxWindowID id = wxID_ANY, | |
755 | const wxPoint& pos = wxDefaultPosition, | |
756 | const wxSize& size = wxDefaultSize, | |
757 | long style = 0, | |
758 | const wxString& name = wxPyVListBoxNameStr) | |
759 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
760 | {} | |
761 | ||
762 | // Overridable virtuals | |
763 | ||
764 | // this method must be implemented in the derived class and should return | |
765 | // the body (i.e. without <html>) of the HTML for the given item | |
766 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
767 | ||
768 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
769 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
770 | ||
771 | // TODO: | |
772 | // // this method allows to customize the selection appearance: it may be used | |
773 | // // to specify the colour of the text which normally has the given colour | |
774 | // // colFg when it is inside the selection | |
775 | // // | |
776 | // // by default, the original colour is not used at all and all text has the | |
777 | // // same (default for this system) colour inside selection | |
778 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
779 | ||
780 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
781 | // // background colour -- this is even more rarely used as you can change it | |
782 | // // globally using SetSelectionBackground() | |
783 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
784 | ||
785 | ||
786 | PYPRIVATE; | |
787 | }; | |
788 | ||
789 | ||
790 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
791 | ||
792 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
793 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
794 | ||
795 | ||
796 | ||
797 | ||
798 | ||
799 | #ifdef __WXMAC__ | |
800 | // implement dummy classes and such for wxMac | |
801 | ||
802 | class wxTaskBarIcon : public wxEvtHandler | |
803 | { | |
804 | public: | |
39f61e25 | 805 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } |
d14a1e28 RD |
806 | }; |
807 | ||
808 | ||
809 | class wxTaskBarIconEvent : public wxEvent | |
810 | { | |
811 | public: | |
812 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
39f61e25 | 813 | { wxPyRaiseNotImplemented(); } |
d14a1e28 RD |
814 | virtual wxEvent* Clone() const { return NULL; } |
815 | }; | |
816 | ||
817 | enum { | |
818 | wxEVT_TASKBAR_MOVE = 0, | |
819 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
820 | wxEVT_TASKBAR_LEFT_UP = 0, | |
821 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
822 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
823 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
824 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
825 | }; | |
826 | #endif | |
827 | ||
b2dc1044 RD |
828 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); |
829 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
830 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
831 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
832 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
833 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
d14a1e28 RD |
834 | PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ |
835 | wxArrayString arr; | |
836 | self->GetFilenames(arr); | |
837 | return wxArrayString2PyList_helper(arr); | |
838 | } | |
839 | PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ | |
840 | wxArrayString arr; | |
841 | self->GetPaths(arr); | |
842 | return wxArrayString2PyList_helper(arr); | |
843 | } | |
844 | PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ | |
845 | return wxArrayInt2PyList_helper(self->GetSelections()); | |
846 | } | |
847 | wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){ | |
848 | return new wxSingleChoiceDialog(parent, message, caption, | |
849 | choices, choices_array, NULL, style, pos); | |
850 | } | |
851 | ||
852 | #include <wx/mdi.h> | |
853 | ||
854 | // C++ version of Python aware wxWindow | |
855 | class wxPyWindow : public wxWindow | |
856 | { | |
857 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
858 | public: | |
859 | wxPyWindow() : wxWindow() {} | |
860 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
861 | const wxPoint& pos = wxDefaultPosition, | |
862 | const wxSize& size = wxDefaultSize, | |
863 | long style = 0, | |
864 | const wxString& name = wxPyPanelNameStr) | |
865 | : wxWindow(parent, id, pos, size, style, name) {} | |
866 | ||
867 | ||
868 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
869 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
870 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
871 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
872 | ||
873 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
874 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
875 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
876 | ||
877 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
878 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
879 | ||
880 | DEC_PYCALLBACK__(InitDialog); | |
881 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
882 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
883 | DEC_PYCALLBACK_BOOL_(Validate); | |
884 | ||
885 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
886 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
887 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
888 | ||
889 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
890 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
891 | ||
4276dc52 | 892 | DEC_PYCALLBACK_BOOL_(ShouldInheritColours); |
1cb4a8aa | 893 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
4276dc52 | 894 | |
d14a1e28 RD |
895 | PYPRIVATE; |
896 | }; | |
897 | ||
898 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
899 | ||
900 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
901 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
902 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
903 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
904 | ||
905 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
906 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
907 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
908 | ||
909 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
910 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
911 | ||
912 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
913 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
914 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
915 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
916 | ||
917 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
918 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
919 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
920 | ||
921 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
922 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
923 | ||
4276dc52 | 924 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours); |
1cb4a8aa RD |
925 | IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground); |
926 | ||
d14a1e28 RD |
927 | |
928 | // C++ version of Python aware wxPanel | |
929 | class wxPyPanel : public wxPanel | |
930 | { | |
931 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
932 | public: | |
933 | wxPyPanel() : wxPanel() {} | |
934 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
935 | const wxPoint& pos = wxDefaultPosition, | |
936 | const wxSize& size = wxDefaultSize, | |
937 | long style = 0, | |
938 | const wxString& name = wxPyPanelNameStr) | |
939 | : wxPanel(parent, id, pos, size, style, name) {} | |
940 | ||
941 | ||
942 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
943 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
944 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
945 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
946 | ||
947 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
948 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
949 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
950 | ||
951 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
952 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
953 | ||
954 | DEC_PYCALLBACK__(InitDialog); | |
955 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
956 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
957 | DEC_PYCALLBACK_BOOL_(Validate); | |
958 | ||
959 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
960 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
961 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
962 | ||
963 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
964 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
965 | ||
4276dc52 | 966 | DEC_PYCALLBACK_BOOL_(ShouldInheritColours); |
1cb4a8aa | 967 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
4276dc52 | 968 | |
d14a1e28 RD |
969 | PYPRIVATE; |
970 | }; | |
971 | ||
972 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
973 | ||
974 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
975 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
976 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
977 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
978 | ||
979 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
980 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
981 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
982 | ||
983 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
984 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
985 | ||
986 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
987 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
988 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
989 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
990 | ||
991 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
992 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
993 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
994 | ||
995 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
996 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
997 | ||
4276dc52 | 998 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours); |
1cb4a8aa RD |
999 | IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground); |
1000 | ||
1001 | // C++ version of Python aware wxScrolledWindow | |
1002 | class wxPyScrolledWindow : public wxScrolledWindow | |
1003 | { | |
1004 | DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow) | |
1005 | public: | |
1006 | wxPyScrolledWindow() : wxScrolledWindow() {} | |
1007 | wxPyScrolledWindow(wxWindow* parent, const wxWindowID id, | |
1008 | const wxPoint& pos = wxDefaultPosition, | |
1009 | const wxSize& size = wxDefaultSize, | |
1010 | long style = 0, | |
1011 | const wxString& name = wxPyPanelNameStr) | |
1012 | : wxScrolledWindow(parent, id, pos, size, style, name) {} | |
1013 | ||
1014 | ||
1015 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
1016 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
1017 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
1018 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
1019 | ||
1020 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
1021 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
1022 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
1023 | ||
1024 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
1025 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
1026 | ||
1027 | DEC_PYCALLBACK__(InitDialog); | |
1028 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
1029 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
1030 | DEC_PYCALLBACK_BOOL_(Validate); | |
1031 | ||
1032 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
1033 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
1034 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
1035 | ||
1036 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
1037 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
1038 | ||
1039 | DEC_PYCALLBACK_BOOL_(ShouldInheritColours); | |
1040 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); | |
1041 | ||
1042 | PYPRIVATE; | |
1043 | }; | |
1044 | ||
1045 | IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow); | |
1046 | ||
1047 | IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow); | |
1048 | IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize); | |
1049 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize); | |
1050 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize); | |
1051 | ||
1052 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize); | |
1053 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize); | |
1054 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition); | |
1055 | ||
1056 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize); | |
1057 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize); | |
1058 | ||
1059 | IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog); | |
1060 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow); | |
1061 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow); | |
1062 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate); | |
1063 | ||
1064 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus); | |
1065 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard); | |
1066 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize); | |
1067 | ||
1068 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild); | |
1069 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild); | |
1070 | ||
1071 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours); | |
1072 | IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground); | |
d14a1e28 RD |
1073 | |
1074 | ||
1075 | #include "wx/wxPython/printfw.h" | |
1076 | ||
d14a1e28 | 1077 | |
33b885b9 RD |
1078 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); |
1079 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
d14a1e28 RD |
1080 | |
1081 | ||
1082 | ||
1083 | // Since this one would be tough and ugly to do with the Macros... | |
1084 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
e811c8ce | 1085 | bool hadErr = False; |
d14a1e28 RD |
1086 | bool found; |
1087 | ||
4f89f6a3 | 1088 | bool blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
1089 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { |
1090 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
1091 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
1092 | PyObject* val; | |
1093 | ||
1094 | val = PyTuple_GetItem(result, 0); | |
1095 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
e811c8ce | 1096 | else hadErr = True; |
d14a1e28 RD |
1097 | |
1098 | val = PyTuple_GetItem(result, 1); | |
1099 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
e811c8ce | 1100 | else hadErr = True; |
d14a1e28 RD |
1101 | |
1102 | val = PyTuple_GetItem(result, 2); | |
1103 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
e811c8ce | 1104 | else hadErr = True; |
d14a1e28 RD |
1105 | |
1106 | val = PyTuple_GetItem(result, 3); | |
1107 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
e811c8ce | 1108 | else hadErr = True; |
d14a1e28 RD |
1109 | } |
1110 | else | |
e811c8ce | 1111 | hadErr = True; |
d14a1e28 RD |
1112 | |
1113 | if (hadErr) { | |
1114 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
1115 | PyErr_Print(); | |
1116 | } | |
1117 | Py_DECREF(result); | |
1118 | } | |
4f89f6a3 | 1119 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
1120 | if (! found) |
1121 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1122 | } | |
1123 | ||
1124 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
1125 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1126 | } | |
1127 | ||
1128 | ||
1129 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
1130 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
1131 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
1132 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
1133 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
1134 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
1135 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
1136 | ||
1137 | ||
1138 | ||
1139 | ||
1140 | ||
1141 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ | |
1142 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
1143 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) | |
1144 | ||
1145 | ||
1146 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ | |
1147 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
e811c8ce | 1148 | bool rval=False; \ |
d14a1e28 | 1149 | bool found; \ |
4f89f6a3 | 1150 | bool blocked = wxPyBeginBlockThreads(); \ |
d14a1e28 RD |
1151 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
1152 | PyObject* win = wxPyMake_wxObject(a); \ | |
1153 | PyObject* dc = wxPyMake_wxObject(&b); \ | |
1154 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\ | |
1155 | Py_DECREF(win); \ | |
1156 | Py_DECREF(dc); \ | |
1157 | } \ | |
4f89f6a3 | 1158 | wxPyEndBlockThreads(blocked); \ |
d14a1e28 RD |
1159 | if (! found) \ |
1160 | rval = PCLASS::CBNAME(a, b); \ | |
1161 | return rval; \ | |
1162 | } \ | |
1163 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
1164 | return PCLASS::CBNAME(a, b); \ | |
1165 | } | |
1166 | ||
1167 | ||
1168 | ||
1169 | ||
1170 | class wxPyPrintPreview : public wxPrintPreview | |
1171 | { | |
1172 | DECLARE_CLASS(wxPyPrintPreview) | |
1173 | public: | |
4276dc52 RD |
1174 | wxPyPrintPreview(wxPyPrintout* printout, |
1175 | wxPyPrintout* printoutForPrinting, | |
1176 | wxPrintDialogData* data=NULL) | |
1177 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1178 | {} | |
d14a1e28 RD |
1179 | wxPyPrintPreview(wxPyPrintout* printout, |
1180 | wxPyPrintout* printoutForPrinting, | |
1181 | wxPrintData* data=NULL) | |
1182 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1183 | {} | |
1184 | ||
1185 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
1186 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
1187 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
1188 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
1189 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
1190 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
1191 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
1192 | ||
1193 | PYPRIVATE; | |
1194 | }; | |
1195 | ||
1196 | // Stupid renamed classes... Fix this in 2.5... | |
1197 | #if defined(__WXMSW__) | |
1198 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
1199 | #elif defined(__WXMAC__) | |
1200 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
1201 | #else | |
1202 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
1203 | #endif | |
1204 | ||
1205 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
1206 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
1207 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
1208 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
1209 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
1210 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
1211 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
1212 | ||
1213 | ||
1214 | class wxPyPreviewFrame : public wxPreviewFrame | |
1215 | { | |
1216 | DECLARE_CLASS(wxPyPreviewFrame); | |
1217 | public: | |
1218 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
1219 | const wxString& title, | |
1220 | const wxPoint& pos = wxDefaultPosition, | |
1221 | const wxSize& size = wxDefaultSize, | |
1222 | long style = wxDEFAULT_FRAME_STYLE, | |
1223 | const wxString& name = wxPyFrameNameStr) | |
1224 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
1225 | {} | |
1226 | ||
1227 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
1228 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
1229 | ||
1230 | DEC_PYCALLBACK_VOID_(Initialize); | |
1231 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
1232 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
1233 | ||
1234 | PYPRIVATE; | |
1235 | }; | |
1236 | ||
1237 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
1238 | ||
1239 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
1240 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
1241 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
1242 | ||
1243 | ||
1244 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
1245 | { | |
1246 | DECLARE_CLASS(wxPyPreviewControlBar); | |
1247 | public: | |
1248 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
1249 | long buttons, | |
1250 | wxWindow *parent, | |
1251 | const wxPoint& pos = wxDefaultPosition, | |
1252 | const wxSize& size = wxDefaultSize, | |
1253 | long style = 0, | |
1254 | const wxString& name = wxPyPanelNameStr) | |
1255 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
1256 | {} | |
1257 | ||
1258 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
1259 | ||
1260 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
1261 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
1262 | ||
1263 | PYPRIVATE; | |
1264 | }; | |
1265 | ||
1266 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
1267 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
1268 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
1269 | ||
1270 | #ifdef __cplusplus | |
1271 | extern "C" { | |
1272 | #endif | |
1273 | static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1274 | PyObject *resultobj; | |
1275 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1276 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1277 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1278 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1279 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1280 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1281 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1282 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1283 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1284 | wxPanel *result; | |
1285 | wxPoint temp3 ; | |
1286 | wxSize temp4 ; | |
e811c8ce | 1287 | bool temp6 = False ; |
d14a1e28 | 1288 | PyObject * obj0 = 0 ; |
994141e6 | 1289 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1290 | PyObject * obj2 = 0 ; |
1291 | PyObject * obj3 = 0 ; | |
994141e6 | 1292 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1293 | PyObject * obj5 = 0 ; |
1294 | char *kwnames[] = { | |
1295 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1296 | }; | |
1297 | ||
994141e6 | 1298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
1299 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1300 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1301 | if (obj1) { |
15afbcd0 RD |
1302 | arg2 = (int const) SWIG_AsInt(obj1); |
1303 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1304 | } |
d14a1e28 RD |
1305 | if (obj2) { |
1306 | { | |
1307 | arg3 = &temp3; | |
1308 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1309 | } | |
1310 | } | |
1311 | if (obj3) { | |
1312 | { | |
1313 | arg4 = &temp4; | |
1314 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1315 | } | |
1316 | } | |
994141e6 | 1317 | if (obj4) { |
15afbcd0 RD |
1318 | arg5 = (long) SWIG_AsLong(obj4); |
1319 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1320 | } |
d14a1e28 RD |
1321 | if (obj5) { |
1322 | { | |
1323 | arg6 = wxString_in_helper(obj5); | |
1324 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 1325 | temp6 = True; |
d14a1e28 RD |
1326 | } |
1327 | } | |
1328 | { | |
1329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1330 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1331 | ||
1332 | wxPyEndAllowThreads(__tstate); | |
1333 | if (PyErr_Occurred()) SWIG_fail; | |
1334 | } | |
15afbcd0 | 1335 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
1336 | { |
1337 | if (temp6) | |
1338 | delete arg6; | |
1339 | } | |
1340 | return resultobj; | |
1341 | fail: | |
1342 | { | |
1343 | if (temp6) | |
1344 | delete arg6; | |
1345 | } | |
1346 | return NULL; | |
1347 | } | |
1348 | ||
1349 | ||
1350 | static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1351 | PyObject *resultobj; | |
1352 | wxPanel *result; | |
1353 | char *kwnames[] = { | |
1354 | NULL | |
1355 | }; | |
1356 | ||
1357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
1358 | { | |
1359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1360 | result = (wxPanel *)new wxPanel(); | |
1361 | ||
1362 | wxPyEndAllowThreads(__tstate); | |
1363 | if (PyErr_Occurred()) SWIG_fail; | |
1364 | } | |
15afbcd0 | 1365 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
1366 | return resultobj; |
1367 | fail: | |
1368 | return NULL; | |
1369 | } | |
1370 | ||
1371 | ||
1372 | static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1373 | PyObject *resultobj; | |
1374 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1375 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 1376 | int arg3 ; |
d14a1e28 RD |
1377 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1378 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1379 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1380 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1381 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1382 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1383 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1384 | bool result; | |
1385 | wxPoint temp4 ; | |
1386 | wxSize temp5 ; | |
e811c8ce | 1387 | bool temp7 = False ; |
d14a1e28 RD |
1388 | PyObject * obj0 = 0 ; |
1389 | PyObject * obj1 = 0 ; | |
994141e6 | 1390 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1391 | PyObject * obj3 = 0 ; |
1392 | PyObject * obj4 = 0 ; | |
994141e6 | 1393 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1394 | PyObject * obj6 = 0 ; |
1395 | char *kwnames[] = { | |
1396 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1397 | }; | |
1398 | ||
994141e6 | 1399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
1400 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1401 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1402 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1403 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1404 | arg3 = (int const) SWIG_AsInt(obj2); | |
1405 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1406 | if (obj3) { |
1407 | { | |
1408 | arg4 = &temp4; | |
1409 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1410 | } | |
1411 | } | |
1412 | if (obj4) { | |
1413 | { | |
1414 | arg5 = &temp5; | |
1415 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1416 | } | |
1417 | } | |
994141e6 | 1418 | if (obj5) { |
15afbcd0 RD |
1419 | arg6 = (long) SWIG_AsLong(obj5); |
1420 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1421 | } |
d14a1e28 RD |
1422 | if (obj6) { |
1423 | { | |
1424 | arg7 = wxString_in_helper(obj6); | |
1425 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 1426 | temp7 = True; |
d14a1e28 RD |
1427 | } |
1428 | } | |
1429 | { | |
1430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1431 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1432 | ||
1433 | wxPyEndAllowThreads(__tstate); | |
1434 | if (PyErr_Occurred()) SWIG_fail; | |
1435 | } | |
4f89f6a3 RD |
1436 | { |
1437 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1438 | } | |
d14a1e28 RD |
1439 | { |
1440 | if (temp7) | |
1441 | delete arg7; | |
1442 | } | |
1443 | return resultobj; | |
1444 | fail: | |
1445 | { | |
1446 | if (temp7) | |
1447 | delete arg7; | |
1448 | } | |
1449 | return NULL; | |
1450 | } | |
1451 | ||
1452 | ||
1453 | static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1454 | PyObject *resultobj; | |
1455 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1456 | PyObject * obj0 = 0 ; | |
1457 | char *kwnames[] = { | |
1458 | (char *) "self", NULL | |
1459 | }; | |
1460 | ||
1461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1462 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1463 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1464 | { |
1465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1466 | (arg1)->InitDialog(); | |
1467 | ||
1468 | wxPyEndAllowThreads(__tstate); | |
1469 | if (PyErr_Occurred()) SWIG_fail; | |
1470 | } | |
1471 | Py_INCREF(Py_None); resultobj = Py_None; | |
1472 | return resultobj; | |
1473 | fail: | |
1474 | return NULL; | |
1475 | } | |
1476 | ||
1477 | ||
1478 | static PyObject * Panel_swigregister(PyObject *self, PyObject *args) { | |
1479 | PyObject *obj; | |
1480 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1481 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
1482 | Py_INCREF(obj); | |
1483 | return Py_BuildValue((char *)""); | |
1484 | } | |
1485 | static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1486 | PyObject *resultobj; | |
1487 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1488 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1489 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1490 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1491 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1492 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1493 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
1494 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1495 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1496 | wxScrolledWindow *result; | |
1497 | wxPoint temp3 ; | |
1498 | wxSize temp4 ; | |
e811c8ce | 1499 | bool temp6 = False ; |
d14a1e28 | 1500 | PyObject * obj0 = 0 ; |
994141e6 | 1501 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1502 | PyObject * obj2 = 0 ; |
1503 | PyObject * obj3 = 0 ; | |
994141e6 | 1504 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1505 | PyObject * obj5 = 0 ; |
1506 | char *kwnames[] = { | |
1507 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1508 | }; | |
1509 | ||
994141e6 | 1510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
1511 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1512 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1513 | if (obj1) { |
15afbcd0 RD |
1514 | arg2 = (int const) SWIG_AsInt(obj1); |
1515 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1516 | } |
d14a1e28 RD |
1517 | if (obj2) { |
1518 | { | |
1519 | arg3 = &temp3; | |
1520 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1521 | } | |
1522 | } | |
1523 | if (obj3) { | |
1524 | { | |
1525 | arg4 = &temp4; | |
1526 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1527 | } | |
1528 | } | |
994141e6 | 1529 | if (obj4) { |
15afbcd0 RD |
1530 | arg5 = (long) SWIG_AsLong(obj4); |
1531 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1532 | } |
d14a1e28 RD |
1533 | if (obj5) { |
1534 | { | |
1535 | arg6 = wxString_in_helper(obj5); | |
1536 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 1537 | temp6 = True; |
d14a1e28 RD |
1538 | } |
1539 | } | |
1540 | { | |
1541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1542 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1543 | ||
1544 | wxPyEndAllowThreads(__tstate); | |
1545 | if (PyErr_Occurred()) SWIG_fail; | |
1546 | } | |
15afbcd0 | 1547 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1548 | { |
1549 | if (temp6) | |
1550 | delete arg6; | |
1551 | } | |
1552 | return resultobj; | |
1553 | fail: | |
1554 | { | |
1555 | if (temp6) | |
1556 | delete arg6; | |
1557 | } | |
1558 | return NULL; | |
1559 | } | |
1560 | ||
1561 | ||
1562 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1563 | PyObject *resultobj; | |
1564 | wxScrolledWindow *result; | |
1565 | char *kwnames[] = { | |
1566 | NULL | |
1567 | }; | |
1568 | ||
1569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
1570 | { | |
1571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1572 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
1573 | ||
1574 | wxPyEndAllowThreads(__tstate); | |
1575 | if (PyErr_Occurred()) SWIG_fail; | |
1576 | } | |
15afbcd0 | 1577 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1578 | return resultobj; |
1579 | fail: | |
1580 | return NULL; | |
1581 | } | |
1582 | ||
1583 | ||
1584 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1585 | PyObject *resultobj; | |
1586 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1587 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 1588 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
1589 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1590 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1591 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1592 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1593 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
1594 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1595 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1596 | bool result; | |
1597 | wxPoint temp4 ; | |
1598 | wxSize temp5 ; | |
e811c8ce | 1599 | bool temp7 = False ; |
d14a1e28 RD |
1600 | PyObject * obj0 = 0 ; |
1601 | PyObject * obj1 = 0 ; | |
994141e6 | 1602 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1603 | PyObject * obj3 = 0 ; |
1604 | PyObject * obj4 = 0 ; | |
994141e6 | 1605 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1606 | PyObject * obj6 = 0 ; |
1607 | char *kwnames[] = { | |
1608 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1609 | }; | |
1610 | ||
994141e6 | 1611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
1612 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1613 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1614 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1616 | if (obj2) { |
15afbcd0 RD |
1617 | arg3 = (int const) SWIG_AsInt(obj2); |
1618 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1619 | } |
d14a1e28 RD |
1620 | if (obj3) { |
1621 | { | |
1622 | arg4 = &temp4; | |
1623 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1624 | } | |
1625 | } | |
1626 | if (obj4) { | |
1627 | { | |
1628 | arg5 = &temp5; | |
1629 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1630 | } | |
1631 | } | |
994141e6 | 1632 | if (obj5) { |
15afbcd0 RD |
1633 | arg6 = (long) SWIG_AsLong(obj5); |
1634 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1635 | } |
d14a1e28 RD |
1636 | if (obj6) { |
1637 | { | |
1638 | arg7 = wxString_in_helper(obj6); | |
1639 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 1640 | temp7 = True; |
d14a1e28 RD |
1641 | } |
1642 | } | |
1643 | { | |
1644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1645 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1646 | ||
1647 | wxPyEndAllowThreads(__tstate); | |
1648 | if (PyErr_Occurred()) SWIG_fail; | |
1649 | } | |
4f89f6a3 RD |
1650 | { |
1651 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1652 | } | |
d14a1e28 RD |
1653 | { |
1654 | if (temp7) | |
1655 | delete arg7; | |
1656 | } | |
1657 | return resultobj; | |
1658 | fail: | |
1659 | { | |
1660 | if (temp7) | |
1661 | delete arg7; | |
1662 | } | |
1663 | return NULL; | |
1664 | } | |
1665 | ||
1666 | ||
1667 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1668 | PyObject *resultobj; | |
1669 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1670 | int arg2 ; | |
1671 | int arg3 ; | |
1672 | int arg4 ; | |
1673 | int arg5 ; | |
1674 | int arg6 = (int) 0 ; | |
1675 | int arg7 = (int) 0 ; | |
e811c8ce | 1676 | bool arg8 = (bool) False ; |
d14a1e28 | 1677 | PyObject * obj0 = 0 ; |
994141e6 RD |
1678 | PyObject * obj1 = 0 ; |
1679 | PyObject * obj2 = 0 ; | |
1680 | PyObject * obj3 = 0 ; | |
1681 | PyObject * obj4 = 0 ; | |
1682 | PyObject * obj5 = 0 ; | |
1683 | PyObject * obj6 = 0 ; | |
d14a1e28 RD |
1684 | PyObject * obj7 = 0 ; |
1685 | char *kwnames[] = { | |
1686 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
1687 | }; | |
1688 | ||
994141e6 | 1689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
1690 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1691 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1692 | arg2 = (int) SWIG_AsInt(obj1); | |
1693 | if (PyErr_Occurred()) SWIG_fail; | |
1694 | arg3 = (int) SWIG_AsInt(obj2); | |
1695 | if (PyErr_Occurred()) SWIG_fail; | |
1696 | arg4 = (int) SWIG_AsInt(obj3); | |
1697 | if (PyErr_Occurred()) SWIG_fail; | |
1698 | arg5 = (int) SWIG_AsInt(obj4); | |
1699 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1700 | if (obj5) { |
15afbcd0 RD |
1701 | arg6 = (int) SWIG_AsInt(obj5); |
1702 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
1703 | } |
1704 | if (obj6) { | |
15afbcd0 RD |
1705 | arg7 = (int) SWIG_AsInt(obj6); |
1706 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1707 | } |
d14a1e28 | 1708 | if (obj7) { |
15afbcd0 RD |
1709 | arg8 = (bool) SWIG_AsBool(obj7); |
1710 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1711 | } |
1712 | { | |
1713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1714 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
1715 | ||
1716 | wxPyEndAllowThreads(__tstate); | |
1717 | if (PyErr_Occurred()) SWIG_fail; | |
1718 | } | |
1719 | Py_INCREF(Py_None); resultobj = Py_None; | |
1720 | return resultobj; | |
1721 | fail: | |
1722 | return NULL; | |
1723 | } | |
1724 | ||
1725 | ||
1726 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1727 | PyObject *resultobj; | |
1728 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1729 | int arg2 ; | |
1730 | int arg3 ; | |
1731 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1732 | PyObject * obj1 = 0 ; |
1733 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1734 | char *kwnames[] = { |
1735 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1736 | }; | |
1737 | ||
994141e6 | 1738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1739 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1740 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1741 | arg2 = (int) SWIG_AsInt(obj1); | |
1742 | if (PyErr_Occurred()) SWIG_fail; | |
1743 | arg3 = (int) SWIG_AsInt(obj2); | |
1744 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1745 | { |
1746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1747 | (arg1)->Scroll(arg2,arg3); | |
1748 | ||
1749 | wxPyEndAllowThreads(__tstate); | |
1750 | if (PyErr_Occurred()) SWIG_fail; | |
1751 | } | |
1752 | Py_INCREF(Py_None); resultobj = Py_None; | |
1753 | return resultobj; | |
1754 | fail: | |
1755 | return NULL; | |
1756 | } | |
1757 | ||
1758 | ||
1759 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1760 | PyObject *resultobj; | |
1761 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1762 | int arg2 ; | |
1763 | int result; | |
1764 | PyObject * obj0 = 0 ; | |
994141e6 | 1765 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1766 | char *kwnames[] = { |
1767 | (char *) "self",(char *) "orient", NULL | |
1768 | }; | |
1769 | ||
994141e6 | 1770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1771 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1773 | arg2 = (int) SWIG_AsInt(obj1); | |
1774 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1775 | { |
1776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1777 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
1778 | ||
1779 | wxPyEndAllowThreads(__tstate); | |
1780 | if (PyErr_Occurred()) SWIG_fail; | |
1781 | } | |
15afbcd0 | 1782 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
1783 | return resultobj; |
1784 | fail: | |
1785 | return NULL; | |
1786 | } | |
1787 | ||
1788 | ||
1789 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1790 | PyObject *resultobj; | |
1791 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1792 | int arg2 ; | |
1793 | int arg3 ; | |
1794 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1795 | PyObject * obj1 = 0 ; |
1796 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1797 | char *kwnames[] = { |
1798 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
1799 | }; | |
1800 | ||
994141e6 | 1801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1802 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1803 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1804 | arg2 = (int) SWIG_AsInt(obj1); | |
1805 | if (PyErr_Occurred()) SWIG_fail; | |
1806 | arg3 = (int) SWIG_AsInt(obj2); | |
1807 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1808 | { |
1809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1810 | (arg1)->SetScrollPageSize(arg2,arg3); | |
1811 | ||
1812 | wxPyEndAllowThreads(__tstate); | |
1813 | if (PyErr_Occurred()) SWIG_fail; | |
1814 | } | |
1815 | Py_INCREF(Py_None); resultobj = Py_None; | |
1816 | return resultobj; | |
1817 | fail: | |
1818 | return NULL; | |
1819 | } | |
1820 | ||
1821 | ||
1822 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1823 | PyObject *resultobj; | |
1824 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1825 | int arg2 ; | |
1826 | int arg3 ; | |
1827 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1828 | PyObject * obj1 = 0 ; |
1829 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1830 | char *kwnames[] = { |
1831 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
1832 | }; | |
1833 | ||
994141e6 | 1834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1835 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1836 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1837 | arg2 = (int) SWIG_AsInt(obj1); | |
1838 | if (PyErr_Occurred()) SWIG_fail; | |
1839 | arg3 = (int) SWIG_AsInt(obj2); | |
1840 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1841 | { |
1842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1843 | (arg1)->SetScrollRate(arg2,arg3); | |
1844 | ||
1845 | wxPyEndAllowThreads(__tstate); | |
1846 | if (PyErr_Occurred()) SWIG_fail; | |
1847 | } | |
1848 | Py_INCREF(Py_None); resultobj = Py_None; | |
1849 | return resultobj; | |
1850 | fail: | |
1851 | return NULL; | |
1852 | } | |
1853 | ||
1854 | ||
1855 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1856 | PyObject *resultobj; | |
1857 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1858 | int *arg2 = (int *) 0 ; | |
1859 | int *arg3 = (int *) 0 ; | |
1860 | int temp2 ; | |
1861 | int temp3 ; | |
1862 | PyObject * obj0 = 0 ; | |
1863 | char *kwnames[] = { | |
1864 | (char *) "self", NULL | |
1865 | }; | |
1866 | ||
1867 | arg2 = &temp2; | |
1868 | arg3 = &temp3; | |
1869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1870 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1871 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1872 | { |
1873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1874 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
1875 | ||
1876 | wxPyEndAllowThreads(__tstate); | |
1877 | if (PyErr_Occurred()) SWIG_fail; | |
1878 | } | |
1879 | Py_INCREF(Py_None); resultobj = Py_None; | |
1880 | { | |
1881 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1882 | resultobj = t_output_helper(resultobj,o); | |
1883 | } | |
1884 | { | |
1885 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1886 | resultobj = t_output_helper(resultobj,o); | |
1887 | } | |
1888 | return resultobj; | |
1889 | fail: | |
1890 | return NULL; | |
1891 | } | |
1892 | ||
1893 | ||
1894 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1895 | PyObject *resultobj; | |
1896 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1897 | bool arg2 ; | |
1898 | bool arg3 ; | |
1899 | PyObject * obj0 = 0 ; | |
1900 | PyObject * obj1 = 0 ; | |
1901 | PyObject * obj2 = 0 ; | |
1902 | char *kwnames[] = { | |
1903 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
1904 | }; | |
1905 | ||
1906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
1907 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1908 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1909 | arg2 = (bool) SWIG_AsBool(obj1); | |
1910 | if (PyErr_Occurred()) SWIG_fail; | |
1911 | arg3 = (bool) SWIG_AsBool(obj2); | |
1912 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1913 | { |
1914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1915 | (arg1)->EnableScrolling(arg2,arg3); | |
1916 | ||
1917 | wxPyEndAllowThreads(__tstate); | |
1918 | if (PyErr_Occurred()) SWIG_fail; | |
1919 | } | |
1920 | Py_INCREF(Py_None); resultobj = Py_None; | |
1921 | return resultobj; | |
1922 | fail: | |
1923 | return NULL; | |
1924 | } | |
1925 | ||
1926 | ||
1927 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1928 | PyObject *resultobj; | |
1929 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1930 | int *arg2 = (int *) 0 ; | |
1931 | int *arg3 = (int *) 0 ; | |
1932 | int temp2 ; | |
1933 | int temp3 ; | |
1934 | PyObject * obj0 = 0 ; | |
1935 | char *kwnames[] = { | |
1936 | (char *) "self", NULL | |
1937 | }; | |
1938 | ||
1939 | arg2 = &temp2; | |
1940 | arg3 = &temp3; | |
1941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1942 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1943 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1944 | { |
1945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1946 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
1947 | ||
1948 | wxPyEndAllowThreads(__tstate); | |
1949 | if (PyErr_Occurred()) SWIG_fail; | |
1950 | } | |
1951 | Py_INCREF(Py_None); resultobj = Py_None; | |
1952 | { | |
1953 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1954 | resultobj = t_output_helper(resultobj,o); | |
1955 | } | |
1956 | { | |
1957 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1958 | resultobj = t_output_helper(resultobj,o); | |
1959 | } | |
1960 | return resultobj; | |
1961 | fail: | |
1962 | return NULL; | |
1963 | } | |
1964 | ||
1965 | ||
1966 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1967 | PyObject *resultobj; | |
1968 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1969 | double arg2 ; | |
1970 | double arg3 ; | |
1971 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1972 | PyObject * obj1 = 0 ; |
1973 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1974 | char *kwnames[] = { |
1975 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
1976 | }; | |
1977 | ||
994141e6 | 1978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1979 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1980 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1981 | arg2 = (double) SWIG_AsDouble(obj1); | |
1982 | if (PyErr_Occurred()) SWIG_fail; | |
1983 | arg3 = (double) SWIG_AsDouble(obj2); | |
1984 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1985 | { |
1986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1987 | (arg1)->SetScale(arg2,arg3); | |
1988 | ||
1989 | wxPyEndAllowThreads(__tstate); | |
1990 | if (PyErr_Occurred()) SWIG_fail; | |
1991 | } | |
1992 | Py_INCREF(Py_None); resultobj = Py_None; | |
1993 | return resultobj; | |
1994 | fail: | |
1995 | return NULL; | |
1996 | } | |
1997 | ||
1998 | ||
1999 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2000 | PyObject *resultobj; | |
2001 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2002 | double result; | |
2003 | PyObject * obj0 = 0 ; | |
2004 | char *kwnames[] = { | |
2005 | (char *) "self", NULL | |
2006 | }; | |
2007 | ||
2008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2011 | { |
2012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2013 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
2014 | ||
2015 | wxPyEndAllowThreads(__tstate); | |
2016 | if (PyErr_Occurred()) SWIG_fail; | |
2017 | } | |
15afbcd0 | 2018 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
2019 | return resultobj; |
2020 | fail: | |
2021 | return NULL; | |
2022 | } | |
2023 | ||
2024 | ||
2025 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2026 | PyObject *resultobj; | |
2027 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2028 | double result; | |
2029 | PyObject * obj0 = 0 ; | |
2030 | char *kwnames[] = { | |
2031 | (char *) "self", NULL | |
2032 | }; | |
2033 | ||
2034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2035 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2036 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2037 | { |
2038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2039 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
2040 | ||
2041 | wxPyEndAllowThreads(__tstate); | |
2042 | if (PyErr_Occurred()) SWIG_fail; | |
2043 | } | |
15afbcd0 | 2044 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
2045 | return resultobj; |
2046 | fail: | |
2047 | return NULL; | |
2048 | } | |
2049 | ||
2050 | ||
2051 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
2052 | PyObject *resultobj; | |
2053 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2054 | wxPoint *arg2 = 0 ; |
2055 | wxPoint result; | |
2056 | wxPoint temp2 ; | |
d14a1e28 | 2057 | PyObject * obj0 = 0 ; |
322913ce | 2058 | PyObject * obj1 = 0 ; |
d14a1e28 | 2059 | |
322913ce | 2060 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2061 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2062 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
322913ce RD |
2063 | { |
2064 | arg2 = &temp2; | |
2065 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2066 | } | |
d14a1e28 RD |
2067 | { |
2068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2069 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2070 | |
2071 | wxPyEndAllowThreads(__tstate); | |
2072 | if (PyErr_Occurred()) SWIG_fail; | |
2073 | } | |
d14a1e28 | 2074 | { |
322913ce RD |
2075 | wxPoint * resultptr; |
2076 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 2077 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
2078 | } |
2079 | return resultobj; | |
2080 | fail: | |
2081 | return NULL; | |
2082 | } | |
2083 | ||
2084 | ||
2085 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
2086 | PyObject *resultobj; | |
2087 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2088 | int arg2 ; |
2089 | int arg3 ; | |
2090 | int *arg4 = (int *) 0 ; | |
2091 | int *arg5 = (int *) 0 ; | |
2092 | int temp4 ; | |
2093 | int temp5 ; | |
d14a1e28 | 2094 | PyObject * obj0 = 0 ; |
994141e6 RD |
2095 | PyObject * obj1 = 0 ; |
2096 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2097 | |
322913ce RD |
2098 | arg4 = &temp4; |
2099 | arg5 = &temp5; | |
994141e6 | 2100 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2101 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2102 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2103 | arg2 = (int) SWIG_AsInt(obj1); | |
2104 | if (PyErr_Occurred()) SWIG_fail; | |
2105 | arg3 = (int) SWIG_AsInt(obj2); | |
2106 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2107 | { |
2108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2109 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2110 | |
2111 | wxPyEndAllowThreads(__tstate); | |
2112 | if (PyErr_Occurred()) SWIG_fail; | |
2113 | } | |
322913ce | 2114 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 2115 | { |
322913ce RD |
2116 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
2117 | resultobj = t_output_helper(resultobj,o); | |
2118 | } | |
2119 | { | |
2120 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
2121 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
2122 | } |
2123 | return resultobj; | |
2124 | fail: | |
2125 | return NULL; | |
2126 | } | |
2127 | ||
2128 | ||
2129 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
2130 | int argc; | |
2131 | PyObject *argv[4]; | |
2132 | int ii; | |
2133 | ||
2134 | argc = PyObject_Length(args); | |
2135 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2136 | argv[ii] = PyTuple_GetItem(args,ii); | |
2137 | } | |
2138 | if (argc == 2) { | |
2139 | int _v; | |
2140 | { | |
2141 | void *ptr; | |
15afbcd0 | 2142 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2143 | _v = 0; |
2144 | PyErr_Clear(); | |
2145 | } else { | |
2146 | _v = 1; | |
2147 | } | |
2148 | } | |
2149 | if (_v) { | |
2150 | { | |
2151 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2152 | } | |
2153 | if (_v) { | |
322913ce | 2154 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2155 | } |
2156 | } | |
2157 | } | |
2158 | if (argc == 3) { | |
2159 | int _v; | |
2160 | { | |
2161 | void *ptr; | |
15afbcd0 | 2162 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2163 | _v = 0; |
2164 | PyErr_Clear(); | |
2165 | } else { | |
2166 | _v = 1; | |
2167 | } | |
2168 | } | |
2169 | if (_v) { | |
15afbcd0 | 2170 | _v = SWIG_CheckInt(argv[1]); |
d14a1e28 | 2171 | if (_v) { |
15afbcd0 | 2172 | _v = SWIG_CheckInt(argv[2]); |
d14a1e28 | 2173 | if (_v) { |
322913ce | 2174 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2175 | } |
2176 | } | |
2177 | } | |
2178 | } | |
2179 | ||
2180 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); | |
2181 | return NULL; | |
2182 | } | |
2183 | ||
2184 | ||
2185 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
2186 | PyObject *resultobj; | |
2187 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2188 | wxPoint *arg2 = 0 ; |
2189 | wxPoint result; | |
2190 | wxPoint temp2 ; | |
d14a1e28 | 2191 | PyObject * obj0 = 0 ; |
322913ce | 2192 | PyObject * obj1 = 0 ; |
d14a1e28 | 2193 | |
322913ce | 2194 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2195 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2196 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
322913ce RD |
2197 | { |
2198 | arg2 = &temp2; | |
2199 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2200 | } | |
d14a1e28 RD |
2201 | { |
2202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2203 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2204 | |
2205 | wxPyEndAllowThreads(__tstate); | |
2206 | if (PyErr_Occurred()) SWIG_fail; | |
2207 | } | |
d14a1e28 | 2208 | { |
322913ce RD |
2209 | wxPoint * resultptr; |
2210 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 2211 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
2212 | } |
2213 | return resultobj; | |
2214 | fail: | |
2215 | return NULL; | |
2216 | } | |
2217 | ||
2218 | ||
2219 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
2220 | PyObject *resultobj; | |
2221 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2222 | int arg2 ; |
2223 | int arg3 ; | |
2224 | int *arg4 = (int *) 0 ; | |
2225 | int *arg5 = (int *) 0 ; | |
2226 | int temp4 ; | |
2227 | int temp5 ; | |
d14a1e28 | 2228 | PyObject * obj0 = 0 ; |
994141e6 RD |
2229 | PyObject * obj1 = 0 ; |
2230 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2231 | |
322913ce RD |
2232 | arg4 = &temp4; |
2233 | arg5 = &temp5; | |
994141e6 | 2234 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2235 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2236 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2237 | arg2 = (int) SWIG_AsInt(obj1); | |
2238 | if (PyErr_Occurred()) SWIG_fail; | |
2239 | arg3 = (int) SWIG_AsInt(obj2); | |
2240 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2241 | { |
2242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2243 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2244 | |
2245 | wxPyEndAllowThreads(__tstate); | |
2246 | if (PyErr_Occurred()) SWIG_fail; | |
2247 | } | |
322913ce | 2248 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 2249 | { |
322913ce RD |
2250 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
2251 | resultobj = t_output_helper(resultobj,o); | |
2252 | } | |
2253 | { | |
2254 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
2255 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
2256 | } |
2257 | return resultobj; | |
2258 | fail: | |
2259 | return NULL; | |
2260 | } | |
2261 | ||
2262 | ||
2263 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
2264 | int argc; | |
2265 | PyObject *argv[4]; | |
2266 | int ii; | |
2267 | ||
2268 | argc = PyObject_Length(args); | |
2269 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2270 | argv[ii] = PyTuple_GetItem(args,ii); | |
2271 | } | |
2272 | if (argc == 2) { | |
2273 | int _v; | |
2274 | { | |
2275 | void *ptr; | |
15afbcd0 | 2276 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2277 | _v = 0; |
2278 | PyErr_Clear(); | |
2279 | } else { | |
2280 | _v = 1; | |
2281 | } | |
2282 | } | |
2283 | if (_v) { | |
2284 | { | |
2285 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2286 | } | |
2287 | if (_v) { | |
322913ce | 2288 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2289 | } |
2290 | } | |
2291 | } | |
2292 | if (argc == 3) { | |
2293 | int _v; | |
2294 | { | |
2295 | void *ptr; | |
15afbcd0 | 2296 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2297 | _v = 0; |
2298 | PyErr_Clear(); | |
2299 | } else { | |
2300 | _v = 1; | |
2301 | } | |
2302 | } | |
2303 | if (_v) { | |
15afbcd0 | 2304 | _v = SWIG_CheckInt(argv[1]); |
d14a1e28 | 2305 | if (_v) { |
15afbcd0 | 2306 | _v = SWIG_CheckInt(argv[2]); |
d14a1e28 | 2307 | if (_v) { |
322913ce | 2308 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2309 | } |
2310 | } | |
2311 | } | |
2312 | } | |
2313 | ||
2314 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); | |
2315 | return NULL; | |
2316 | } | |
2317 | ||
2318 | ||
2319 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2320 | PyObject *resultobj; | |
2321 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2322 | PyObject * obj0 = 0 ; | |
2323 | char *kwnames[] = { | |
2324 | (char *) "self", NULL | |
2325 | }; | |
2326 | ||
2327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2328 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2329 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2330 | { |
2331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2332 | (arg1)->AdjustScrollbars(); | |
2333 | ||
2334 | wxPyEndAllowThreads(__tstate); | |
2335 | if (PyErr_Occurred()) SWIG_fail; | |
2336 | } | |
2337 | Py_INCREF(Py_None); resultobj = Py_None; | |
2338 | return resultobj; | |
2339 | fail: | |
2340 | return NULL; | |
2341 | } | |
2342 | ||
2343 | ||
2344 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2345 | PyObject *resultobj; | |
2346 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2347 | wxScrollWinEvent *arg2 = 0 ; | |
2348 | int result; | |
2349 | PyObject * obj0 = 0 ; | |
2350 | PyObject * obj1 = 0 ; | |
2351 | char *kwnames[] = { | |
2352 | (char *) "self",(char *) "event", NULL | |
2353 | }; | |
2354 | ||
2355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2356 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2357 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2358 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent, | |
2359 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2360 | SWIG_fail; | |
d14a1e28 | 2361 | if (arg2 == NULL) { |
15afbcd0 RD |
2362 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2363 | SWIG_fail; | |
d14a1e28 RD |
2364 | } |
2365 | { | |
2366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2367 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
2368 | ||
2369 | wxPyEndAllowThreads(__tstate); | |
2370 | if (PyErr_Occurred()) SWIG_fail; | |
2371 | } | |
15afbcd0 | 2372 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
2373 | return resultobj; |
2374 | fail: | |
2375 | return NULL; | |
2376 | } | |
2377 | ||
2378 | ||
2379 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2380 | PyObject *resultobj; | |
2381 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2382 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2383 | PyObject * obj0 = 0 ; | |
2384 | PyObject * obj1 = 0 ; | |
2385 | char *kwnames[] = { | |
2386 | (char *) "self",(char *) "target", NULL | |
2387 | }; | |
2388 | ||
2389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2390 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2391 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2392 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
2393 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2394 | { |
2395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2396 | (arg1)->SetTargetWindow(arg2); | |
2397 | ||
2398 | wxPyEndAllowThreads(__tstate); | |
2399 | if (PyErr_Occurred()) SWIG_fail; | |
2400 | } | |
2401 | Py_INCREF(Py_None); resultobj = Py_None; | |
2402 | return resultobj; | |
2403 | fail: | |
2404 | return NULL; | |
2405 | } | |
2406 | ||
2407 | ||
2408 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2409 | PyObject *resultobj; | |
2410 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2411 | wxWindow *result; | |
2412 | PyObject * obj0 = 0 ; | |
2413 | char *kwnames[] = { | |
2414 | (char *) "self", NULL | |
2415 | }; | |
2416 | ||
2417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2418 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2419 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2420 | { |
2421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2422 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
2423 | ||
2424 | wxPyEndAllowThreads(__tstate); | |
2425 | if (PyErr_Occurred()) SWIG_fail; | |
2426 | } | |
2427 | { | |
2428 | resultobj = wxPyMake_wxObject(result); | |
2429 | } | |
2430 | return resultobj; | |
2431 | fail: | |
2432 | return NULL; | |
2433 | } | |
2434 | ||
2435 | ||
2436 | static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
2437 | PyObject *obj; | |
2438 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2439 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
2440 | Py_INCREF(obj); | |
2441 | return Py_BuildValue((char *)""); | |
2442 | } | |
b2dc1044 RD |
2443 | static int _wrap_FrameNameStr_set(PyObject *_val) { |
2444 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); | |
2445 | return 1; | |
2446 | } | |
2447 | ||
2448 | ||
2449 | static PyObject *_wrap_FrameNameStr_get() { | |
2450 | PyObject *pyobj; | |
2451 | ||
2452 | { | |
2453 | #if wxUSE_UNICODE | |
2454 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2455 | #else | |
2456 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2457 | #endif | |
2458 | } | |
2459 | return pyobj; | |
2460 | } | |
2461 | ||
2462 | ||
2463 | static int _wrap_DialogNameStr_set(PyObject *_val) { | |
2464 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); | |
2465 | return 1; | |
2466 | } | |
2467 | ||
2468 | ||
2469 | static PyObject *_wrap_DialogNameStr_get() { | |
2470 | PyObject *pyobj; | |
2471 | ||
2472 | { | |
2473 | #if wxUSE_UNICODE | |
2474 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2475 | #else | |
2476 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2477 | #endif | |
2478 | } | |
2479 | return pyobj; | |
2480 | } | |
2481 | ||
2482 | ||
2483 | static int _wrap_StatusLineNameStr_set(PyObject *_val) { | |
2484 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); | |
2485 | return 1; | |
2486 | } | |
2487 | ||
2488 | ||
2489 | static PyObject *_wrap_StatusLineNameStr_get() { | |
2490 | PyObject *pyobj; | |
2491 | ||
2492 | { | |
2493 | #if wxUSE_UNICODE | |
2494 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2495 | #else | |
2496 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2497 | #endif | |
2498 | } | |
2499 | return pyobj; | |
2500 | } | |
2501 | ||
2502 | ||
2503 | static int _wrap_ToolBarNameStr_set(PyObject *_val) { | |
2504 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); | |
2505 | return 1; | |
2506 | } | |
2507 | ||
2508 | ||
2509 | static PyObject *_wrap_ToolBarNameStr_get() { | |
2510 | PyObject *pyobj; | |
2511 | ||
2512 | { | |
2513 | #if wxUSE_UNICODE | |
2514 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2515 | #else | |
2516 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2517 | #endif | |
2518 | } | |
2519 | return pyobj; | |
2520 | } | |
2521 | ||
2522 | ||
d14a1e28 RD |
2523 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { |
2524 | PyObject *resultobj; | |
2525 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
e811c8ce | 2526 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2527 | PyObject * obj0 = 0 ; |
2528 | PyObject * obj1 = 0 ; | |
2529 | char *kwnames[] = { | |
2530 | (char *) "self",(char *) "maximize", NULL | |
2531 | }; | |
2532 | ||
2533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2534 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2535 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2536 | if (obj1) { |
15afbcd0 RD |
2537 | arg2 = (bool) SWIG_AsBool(obj1); |
2538 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2539 | } |
2540 | { | |
2541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2542 | (arg1)->Maximize(arg2); | |
2543 | ||
2544 | wxPyEndAllowThreads(__tstate); | |
2545 | if (PyErr_Occurred()) SWIG_fail; | |
2546 | } | |
2547 | Py_INCREF(Py_None); resultobj = Py_None; | |
2548 | return resultobj; | |
2549 | fail: | |
2550 | return NULL; | |
2551 | } | |
2552 | ||
2553 | ||
2554 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2555 | PyObject *resultobj; | |
2556 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2557 | PyObject * obj0 = 0 ; | |
2558 | char *kwnames[] = { | |
2559 | (char *) "self", NULL | |
2560 | }; | |
2561 | ||
2562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2563 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2564 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2565 | { |
2566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2567 | (arg1)->Restore(); | |
2568 | ||
2569 | wxPyEndAllowThreads(__tstate); | |
2570 | if (PyErr_Occurred()) SWIG_fail; | |
2571 | } | |
2572 | Py_INCREF(Py_None); resultobj = Py_None; | |
2573 | return resultobj; | |
2574 | fail: | |
2575 | return NULL; | |
2576 | } | |
2577 | ||
2578 | ||
2579 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2580 | PyObject *resultobj; | |
2581 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
e811c8ce | 2582 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2583 | PyObject * obj0 = 0 ; |
2584 | PyObject * obj1 = 0 ; | |
2585 | char *kwnames[] = { | |
2586 | (char *) "self",(char *) "iconize", NULL | |
2587 | }; | |
2588 | ||
2589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2590 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2591 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2592 | if (obj1) { |
15afbcd0 RD |
2593 | arg2 = (bool) SWIG_AsBool(obj1); |
2594 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2595 | } |
2596 | { | |
2597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2598 | (arg1)->Iconize(arg2); | |
2599 | ||
2600 | wxPyEndAllowThreads(__tstate); | |
2601 | if (PyErr_Occurred()) SWIG_fail; | |
2602 | } | |
2603 | Py_INCREF(Py_None); resultobj = Py_None; | |
2604 | return resultobj; | |
2605 | fail: | |
2606 | return NULL; | |
2607 | } | |
2608 | ||
2609 | ||
2610 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2611 | PyObject *resultobj; | |
2612 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2613 | bool result; | |
2614 | PyObject * obj0 = 0 ; | |
2615 | char *kwnames[] = { | |
2616 | (char *) "self", NULL | |
2617 | }; | |
2618 | ||
2619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2620 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2621 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2622 | { |
2623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2624 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
2625 | ||
2626 | wxPyEndAllowThreads(__tstate); | |
2627 | if (PyErr_Occurred()) SWIG_fail; | |
2628 | } | |
4f89f6a3 RD |
2629 | { |
2630 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2631 | } | |
d14a1e28 RD |
2632 | return resultobj; |
2633 | fail: | |
2634 | return NULL; | |
2635 | } | |
2636 | ||
2637 | ||
2638 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2639 | PyObject *resultobj; | |
2640 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2641 | bool result; | |
2642 | PyObject * obj0 = 0 ; | |
2643 | char *kwnames[] = { | |
2644 | (char *) "self", NULL | |
2645 | }; | |
2646 | ||
2647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2648 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2649 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2650 | { |
2651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2652 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
2653 | ||
2654 | wxPyEndAllowThreads(__tstate); | |
2655 | if (PyErr_Occurred()) SWIG_fail; | |
2656 | } | |
4f89f6a3 RD |
2657 | { |
2658 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2659 | } | |
d14a1e28 RD |
2660 | return resultobj; |
2661 | fail: | |
2662 | return NULL; | |
2663 | } | |
2664 | ||
2665 | ||
2666 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2667 | PyObject *resultobj; | |
2668 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2669 | wxIcon result; | |
2670 | PyObject * obj0 = 0 ; | |
2671 | char *kwnames[] = { | |
2672 | (char *) "self", NULL | |
2673 | }; | |
2674 | ||
2675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2676 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2677 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2678 | { |
2679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2680 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
2681 | ||
2682 | wxPyEndAllowThreads(__tstate); | |
2683 | if (PyErr_Occurred()) SWIG_fail; | |
2684 | } | |
2685 | { | |
2686 | wxIcon * resultptr; | |
2687 | resultptr = new wxIcon((wxIcon &) result); | |
15afbcd0 | 2688 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
d14a1e28 RD |
2689 | } |
2690 | return resultobj; | |
2691 | fail: | |
2692 | return NULL; | |
2693 | } | |
2694 | ||
2695 | ||
2696 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2697 | PyObject *resultobj; | |
2698 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2699 | wxIcon *arg2 = 0 ; | |
2700 | PyObject * obj0 = 0 ; | |
2701 | PyObject * obj1 = 0 ; | |
2702 | char *kwnames[] = { | |
2703 | (char *) "self",(char *) "icon", NULL | |
2704 | }; | |
2705 | ||
2706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2707 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2708 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2709 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
2710 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2711 | SWIG_fail; | |
d14a1e28 | 2712 | if (arg2 == NULL) { |
15afbcd0 RD |
2713 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2714 | SWIG_fail; | |
d14a1e28 RD |
2715 | } |
2716 | { | |
2717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2718 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
2719 | ||
2720 | wxPyEndAllowThreads(__tstate); | |
2721 | if (PyErr_Occurred()) SWIG_fail; | |
2722 | } | |
2723 | Py_INCREF(Py_None); resultobj = Py_None; | |
2724 | return resultobj; | |
2725 | fail: | |
2726 | return NULL; | |
2727 | } | |
2728 | ||
2729 | ||
2730 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2731 | PyObject *resultobj; | |
2732 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2733 | wxIconBundle *arg2 = 0 ; | |
2734 | PyObject * obj0 = 0 ; | |
2735 | PyObject * obj1 = 0 ; | |
2736 | char *kwnames[] = { | |
2737 | (char *) "self",(char *) "icons", NULL | |
2738 | }; | |
2739 | ||
2740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2741 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2742 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2743 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle, | |
2744 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2745 | SWIG_fail; | |
d14a1e28 | 2746 | if (arg2 == NULL) { |
15afbcd0 RD |
2747 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2748 | SWIG_fail; | |
d14a1e28 RD |
2749 | } |
2750 | { | |
2751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2752 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
2753 | ||
2754 | wxPyEndAllowThreads(__tstate); | |
2755 | if (PyErr_Occurred()) SWIG_fail; | |
2756 | } | |
2757 | Py_INCREF(Py_None); resultobj = Py_None; | |
2758 | return resultobj; | |
2759 | fail: | |
2760 | return NULL; | |
2761 | } | |
2762 | ||
2763 | ||
2764 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2765 | PyObject *resultobj; | |
2766 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2767 | bool arg2 ; | |
2768 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
2769 | bool result; | |
2770 | PyObject * obj0 = 0 ; | |
2771 | PyObject * obj1 = 0 ; | |
994141e6 | 2772 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
2773 | char *kwnames[] = { |
2774 | (char *) "self",(char *) "show",(char *) "style", NULL | |
2775 | }; | |
2776 | ||
994141e6 | 2777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2778 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2779 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2780 | arg2 = (bool) SWIG_AsBool(obj1); | |
2781 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 2782 | if (obj2) { |
15afbcd0 RD |
2783 | arg3 = (long) SWIG_AsLong(obj2); |
2784 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 2785 | } |
d14a1e28 RD |
2786 | { |
2787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2788 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
2789 | ||
2790 | wxPyEndAllowThreads(__tstate); | |
2791 | if (PyErr_Occurred()) SWIG_fail; | |
2792 | } | |
4f89f6a3 RD |
2793 | { |
2794 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2795 | } | |
d14a1e28 RD |
2796 | return resultobj; |
2797 | fail: | |
2798 | return NULL; | |
2799 | } | |
2800 | ||
2801 | ||
2802 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2803 | PyObject *resultobj; | |
2804 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2805 | bool result; | |
2806 | PyObject * obj0 = 0 ; | |
2807 | char *kwnames[] = { | |
2808 | (char *) "self", NULL | |
2809 | }; | |
2810 | ||
2811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2812 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2813 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2814 | { |
2815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2816 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
2817 | ||
2818 | wxPyEndAllowThreads(__tstate); | |
2819 | if (PyErr_Occurred()) SWIG_fail; | |
2820 | } | |
4f89f6a3 RD |
2821 | { |
2822 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2823 | } | |
d14a1e28 RD |
2824 | return resultobj; |
2825 | fail: | |
2826 | return NULL; | |
2827 | } | |
2828 | ||
2829 | ||
2830 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2831 | PyObject *resultobj; | |
2832 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2833 | wxString *arg2 = 0 ; | |
e811c8ce | 2834 | bool temp2 = False ; |
d14a1e28 RD |
2835 | PyObject * obj0 = 0 ; |
2836 | PyObject * obj1 = 0 ; | |
2837 | char *kwnames[] = { | |
2838 | (char *) "self",(char *) "title", NULL | |
2839 | }; | |
2840 | ||
2841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2842 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2843 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2844 | { |
2845 | arg2 = wxString_in_helper(obj1); | |
2846 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 2847 | temp2 = True; |
d14a1e28 RD |
2848 | } |
2849 | { | |
2850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2851 | (arg1)->SetTitle((wxString const &)*arg2); | |
2852 | ||
2853 | wxPyEndAllowThreads(__tstate); | |
2854 | if (PyErr_Occurred()) SWIG_fail; | |
2855 | } | |
2856 | Py_INCREF(Py_None); resultobj = Py_None; | |
2857 | { | |
2858 | if (temp2) | |
2859 | delete arg2; | |
2860 | } | |
2861 | return resultobj; | |
2862 | fail: | |
2863 | { | |
2864 | if (temp2) | |
2865 | delete arg2; | |
2866 | } | |
2867 | return NULL; | |
2868 | } | |
2869 | ||
2870 | ||
2871 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2872 | PyObject *resultobj; | |
2873 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2874 | wxString result; | |
2875 | PyObject * obj0 = 0 ; | |
2876 | char *kwnames[] = { | |
2877 | (char *) "self", NULL | |
2878 | }; | |
2879 | ||
2880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2881 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2882 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2883 | { |
2884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2885 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
2886 | ||
2887 | wxPyEndAllowThreads(__tstate); | |
2888 | if (PyErr_Occurred()) SWIG_fail; | |
2889 | } | |
2890 | { | |
2891 | #if wxUSE_UNICODE | |
2892 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2893 | #else | |
2894 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2895 | #endif | |
2896 | } | |
2897 | return resultobj; | |
2898 | fail: | |
2899 | return NULL; | |
2900 | } | |
2901 | ||
2902 | ||
2903 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2904 | PyObject *resultobj; | |
2905 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2906 | wxRegion *arg2 = 0 ; | |
2907 | bool result; | |
2908 | PyObject * obj0 = 0 ; | |
2909 | PyObject * obj1 = 0 ; | |
2910 | char *kwnames[] = { | |
2911 | (char *) "self",(char *) "region", NULL | |
2912 | }; | |
2913 | ||
2914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
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_wxRegion, | |
2918 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2919 | SWIG_fail; | |
d14a1e28 | 2920 | if (arg2 == NULL) { |
15afbcd0 RD |
2921 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2922 | SWIG_fail; | |
d14a1e28 RD |
2923 | } |
2924 | { | |
2925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2926 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
2927 | ||
2928 | wxPyEndAllowThreads(__tstate); | |
2929 | if (PyErr_Occurred()) SWIG_fail; | |
2930 | } | |
4f89f6a3 RD |
2931 | { |
2932 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2933 | } | |
d14a1e28 RD |
2934 | return resultobj; |
2935 | fail: | |
2936 | return NULL; | |
2937 | } | |
2938 | ||
2939 | ||
2940 | static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) { | |
2941 | PyObject *obj; | |
2942 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2943 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
2944 | Py_INCREF(obj); | |
2945 | return Py_BuildValue((char *)""); | |
2946 | } | |
2947 | static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2948 | PyObject *resultobj; | |
2949 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 2950 | int arg2 ; |
d14a1e28 RD |
2951 | wxString *arg3 = 0 ; |
2952 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2953 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2954 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2955 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2956 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
2957 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
2958 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2959 | wxFrame *result; | |
e811c8ce | 2960 | bool temp3 = False ; |
d14a1e28 RD |
2961 | wxPoint temp4 ; |
2962 | wxSize temp5 ; | |
e811c8ce | 2963 | bool temp7 = False ; |
d14a1e28 | 2964 | PyObject * obj0 = 0 ; |
994141e6 | 2965 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2966 | PyObject * obj2 = 0 ; |
2967 | PyObject * obj3 = 0 ; | |
2968 | PyObject * obj4 = 0 ; | |
994141e6 | 2969 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
2970 | PyObject * obj6 = 0 ; |
2971 | char *kwnames[] = { | |
2972 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2973 | }; | |
2974 | ||
994141e6 | 2975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
2976 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
2977 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2978 | arg2 = (int const) SWIG_AsInt(obj1); | |
2979 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2980 | { |
2981 | arg3 = wxString_in_helper(obj2); | |
2982 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 2983 | temp3 = True; |
d14a1e28 RD |
2984 | } |
2985 | if (obj3) { | |
2986 | { | |
2987 | arg4 = &temp4; | |
2988 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2989 | } | |
2990 | } | |
2991 | if (obj4) { | |
2992 | { | |
2993 | arg5 = &temp5; | |
2994 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2995 | } | |
2996 | } | |
994141e6 | 2997 | if (obj5) { |
15afbcd0 RD |
2998 | arg6 = (long) SWIG_AsLong(obj5); |
2999 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3000 | } |
d14a1e28 RD |
3001 | if (obj6) { |
3002 | { | |
3003 | arg7 = wxString_in_helper(obj6); | |
3004 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 3005 | temp7 = True; |
d14a1e28 RD |
3006 | } |
3007 | } | |
3008 | { | |
3009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3010 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3011 | ||
3012 | wxPyEndAllowThreads(__tstate); | |
3013 | if (PyErr_Occurred()) SWIG_fail; | |
3014 | } | |
3015 | { | |
3016 | resultobj = wxPyMake_wxObject(result); | |
3017 | } | |
3018 | { | |
3019 | if (temp3) | |
3020 | delete arg3; | |
3021 | } | |
3022 | { | |
3023 | if (temp7) | |
3024 | delete arg7; | |
3025 | } | |
3026 | return resultobj; | |
3027 | fail: | |
3028 | { | |
3029 | if (temp3) | |
3030 | delete arg3; | |
3031 | } | |
3032 | { | |
3033 | if (temp7) | |
3034 | delete arg7; | |
3035 | } | |
3036 | return NULL; | |
3037 | } | |
3038 | ||
3039 | ||
3040 | static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3041 | PyObject *resultobj; | |
3042 | wxFrame *result; | |
3043 | char *kwnames[] = { | |
3044 | NULL | |
3045 | }; | |
3046 | ||
3047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
3048 | { | |
3049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3050 | result = (wxFrame *)new wxFrame(); | |
3051 | ||
3052 | wxPyEndAllowThreads(__tstate); | |
3053 | if (PyErr_Occurred()) SWIG_fail; | |
3054 | } | |
3055 | { | |
3056 | resultobj = wxPyMake_wxObject(result); | |
3057 | } | |
3058 | return resultobj; | |
3059 | fail: | |
3060 | return NULL; | |
3061 | } | |
3062 | ||
3063 | ||
3064 | static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3065 | PyObject *resultobj; | |
3066 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3067 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 3068 | int arg3 ; |
d14a1e28 RD |
3069 | wxString *arg4 = 0 ; |
3070 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
3071 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3072 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3073 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3074 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
3075 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
3076 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3077 | bool result; | |
e811c8ce | 3078 | bool temp4 = False ; |
d14a1e28 RD |
3079 | wxPoint temp5 ; |
3080 | wxSize temp6 ; | |
e811c8ce | 3081 | bool temp8 = False ; |
d14a1e28 RD |
3082 | PyObject * obj0 = 0 ; |
3083 | PyObject * obj1 = 0 ; | |
994141e6 | 3084 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3085 | PyObject * obj3 = 0 ; |
3086 | PyObject * obj4 = 0 ; | |
3087 | PyObject * obj5 = 0 ; | |
994141e6 | 3088 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3089 | PyObject * obj7 = 0 ; |
3090 | char *kwnames[] = { | |
3091 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3092 | }; | |
3093 | ||
994141e6 | 3094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
3095 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3096 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3097 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3098 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3099 | arg3 = (int const) SWIG_AsInt(obj2); | |
3100 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3101 | { |
3102 | arg4 = wxString_in_helper(obj3); | |
3103 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 3104 | temp4 = True; |
d14a1e28 RD |
3105 | } |
3106 | if (obj4) { | |
3107 | { | |
3108 | arg5 = &temp5; | |
3109 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3110 | } | |
3111 | } | |
3112 | if (obj5) { | |
3113 | { | |
3114 | arg6 = &temp6; | |
3115 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3116 | } | |
3117 | } | |
994141e6 | 3118 | if (obj6) { |
15afbcd0 RD |
3119 | arg7 = (long) SWIG_AsLong(obj6); |
3120 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3121 | } |
d14a1e28 RD |
3122 | if (obj7) { |
3123 | { | |
3124 | arg8 = wxString_in_helper(obj7); | |
3125 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 3126 | temp8 = True; |
d14a1e28 RD |
3127 | } |
3128 | } | |
3129 | { | |
3130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3131 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3132 | ||
3133 | wxPyEndAllowThreads(__tstate); | |
3134 | if (PyErr_Occurred()) SWIG_fail; | |
3135 | } | |
4f89f6a3 RD |
3136 | { |
3137 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3138 | } | |
d14a1e28 RD |
3139 | { |
3140 | if (temp4) | |
3141 | delete arg4; | |
3142 | } | |
3143 | { | |
3144 | if (temp8) | |
3145 | delete arg8; | |
3146 | } | |
3147 | return resultobj; | |
3148 | fail: | |
3149 | { | |
3150 | if (temp4) | |
3151 | delete arg4; | |
3152 | } | |
3153 | { | |
3154 | if (temp8) | |
3155 | delete arg8; | |
3156 | } | |
3157 | return NULL; | |
3158 | } | |
3159 | ||
3160 | ||
3161 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3162 | PyObject *resultobj; | |
3163 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3164 | wxPoint result; | |
3165 | PyObject * obj0 = 0 ; | |
3166 | char *kwnames[] = { | |
3167 | (char *) "self", NULL | |
3168 | }; | |
3169 | ||
3170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3171 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3172 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3173 | { |
3174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3175 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
3176 | ||
3177 | wxPyEndAllowThreads(__tstate); | |
3178 | if (PyErr_Occurred()) SWIG_fail; | |
3179 | } | |
3180 | { | |
3181 | wxPoint * resultptr; | |
3182 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 3183 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
3184 | } |
3185 | return resultobj; | |
3186 | fail: | |
3187 | return NULL; | |
3188 | } | |
3189 | ||
3190 | ||
3191 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3192 | PyObject *resultobj; | |
3193 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3194 | PyObject * obj0 = 0 ; | |
3195 | char *kwnames[] = { | |
3196 | (char *) "self", NULL | |
3197 | }; | |
3198 | ||
3199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3202 | { |
3203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3204 | (arg1)->SendSizeEvent(); | |
3205 | ||
3206 | wxPyEndAllowThreads(__tstate); | |
3207 | if (PyErr_Occurred()) SWIG_fail; | |
3208 | } | |
3209 | Py_INCREF(Py_None); resultobj = Py_None; | |
3210 | return resultobj; | |
3211 | fail: | |
3212 | return NULL; | |
3213 | } | |
3214 | ||
3215 | ||
3216 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3217 | PyObject *resultobj; | |
3218 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3219 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
3220 | PyObject * obj0 = 0 ; | |
3221 | PyObject * obj1 = 0 ; | |
3222 | char *kwnames[] = { | |
3223 | (char *) "self",(char *) "menubar", NULL | |
3224 | }; | |
3225 | ||
3226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3227 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3228 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3229 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar, | |
3230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3231 | { |
3232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3233 | (arg1)->SetMenuBar(arg2); | |
3234 | ||
3235 | wxPyEndAllowThreads(__tstate); | |
3236 | if (PyErr_Occurred()) SWIG_fail; | |
3237 | } | |
3238 | Py_INCREF(Py_None); resultobj = Py_None; | |
3239 | return resultobj; | |
3240 | fail: | |
3241 | return NULL; | |
3242 | } | |
3243 | ||
3244 | ||
3245 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3246 | PyObject *resultobj; | |
3247 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3248 | wxMenuBar *result; | |
3249 | PyObject * obj0 = 0 ; | |
3250 | char *kwnames[] = { | |
3251 | (char *) "self", NULL | |
3252 | }; | |
3253 | ||
3254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3255 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3256 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3257 | { |
3258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3259 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
3260 | ||
3261 | wxPyEndAllowThreads(__tstate); | |
3262 | if (PyErr_Occurred()) SWIG_fail; | |
3263 | } | |
3264 | { | |
3265 | resultobj = wxPyMake_wxObject(result); | |
3266 | } | |
3267 | return resultobj; | |
3268 | fail: | |
3269 | return NULL; | |
3270 | } | |
3271 | ||
3272 | ||
3273 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3274 | PyObject *resultobj; | |
3275 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3276 | int arg2 ; | |
3277 | bool result; | |
3278 | PyObject * obj0 = 0 ; | |
994141e6 | 3279 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3280 | char *kwnames[] = { |
3281 | (char *) "self",(char *) "winid", NULL | |
3282 | }; | |
3283 | ||
994141e6 | 3284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3285 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3287 | arg2 = (int) SWIG_AsInt(obj1); | |
3288 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3289 | { |
3290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3291 | result = (bool)(arg1)->ProcessCommand(arg2); | |
3292 | ||
3293 | wxPyEndAllowThreads(__tstate); | |
3294 | if (PyErr_Occurred()) SWIG_fail; | |
3295 | } | |
4f89f6a3 RD |
3296 | { |
3297 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3298 | } | |
d14a1e28 RD |
3299 | return resultobj; |
3300 | fail: | |
3301 | return NULL; | |
3302 | } | |
3303 | ||
3304 | ||
3305 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3306 | PyObject *resultobj; | |
3307 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3308 | int arg2 = (int) 1 ; | |
4276dc52 | 3309 | long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ; |
e811c8ce | 3310 | int arg4 = (int) 0 ; |
d14a1e28 RD |
3311 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; |
3312 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
3313 | wxStatusBar *result; | |
e811c8ce | 3314 | bool temp5 = False ; |
d14a1e28 | 3315 | PyObject * obj0 = 0 ; |
994141e6 RD |
3316 | PyObject * obj1 = 0 ; |
3317 | PyObject * obj2 = 0 ; | |
3318 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
3319 | PyObject * obj4 = 0 ; |
3320 | char *kwnames[] = { | |
3321 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3322 | }; | |
3323 | ||
994141e6 | 3324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
3325 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3326 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3327 | if (obj1) { |
15afbcd0 RD |
3328 | arg2 = (int) SWIG_AsInt(obj1); |
3329 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
3330 | } |
3331 | if (obj2) { | |
15afbcd0 RD |
3332 | arg3 = (long) SWIG_AsLong(obj2); |
3333 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
3334 | } |
3335 | if (obj3) { | |
15afbcd0 RD |
3336 | arg4 = (int) SWIG_AsInt(obj3); |
3337 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3338 | } |
d14a1e28 RD |
3339 | if (obj4) { |
3340 | { | |
3341 | arg5 = wxString_in_helper(obj4); | |
3342 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 3343 | temp5 = True; |
d14a1e28 RD |
3344 | } |
3345 | } | |
3346 | { | |
3347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3348 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
3349 | ||
3350 | wxPyEndAllowThreads(__tstate); | |
3351 | if (PyErr_Occurred()) SWIG_fail; | |
3352 | } | |
3353 | { | |
3354 | resultobj = wxPyMake_wxObject(result); | |
3355 | } | |
3356 | { | |
3357 | if (temp5) | |
3358 | delete arg5; | |
3359 | } | |
3360 | return resultobj; | |
3361 | fail: | |
3362 | { | |
3363 | if (temp5) | |
3364 | delete arg5; | |
3365 | } | |
3366 | return NULL; | |
3367 | } | |
3368 | ||
3369 | ||
3370 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3371 | PyObject *resultobj; | |
3372 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3373 | wxStatusBar *result; | |
3374 | PyObject * obj0 = 0 ; | |
3375 | char *kwnames[] = { | |
3376 | (char *) "self", NULL | |
3377 | }; | |
3378 | ||
3379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3380 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3382 | { |
3383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3384 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
3385 | ||
3386 | wxPyEndAllowThreads(__tstate); | |
3387 | if (PyErr_Occurred()) SWIG_fail; | |
3388 | } | |
3389 | { | |
3390 | resultobj = wxPyMake_wxObject(result); | |
3391 | } | |
3392 | return resultobj; | |
3393 | fail: | |
3394 | return NULL; | |
3395 | } | |
3396 | ||
3397 | ||
3398 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3399 | PyObject *resultobj; | |
3400 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3401 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
3402 | PyObject * obj0 = 0 ; | |
3403 | PyObject * obj1 = 0 ; | |
3404 | char *kwnames[] = { | |
3405 | (char *) "self",(char *) "statBar", NULL | |
3406 | }; | |
3407 | ||
3408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3409 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3410 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3411 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar, | |
3412 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3413 | { |
3414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3415 | (arg1)->SetStatusBar(arg2); | |
3416 | ||
3417 | wxPyEndAllowThreads(__tstate); | |
3418 | if (PyErr_Occurred()) SWIG_fail; | |
3419 | } | |
3420 | Py_INCREF(Py_None); resultobj = Py_None; | |
3421 | return resultobj; | |
3422 | fail: | |
3423 | return NULL; | |
3424 | } | |
3425 | ||
3426 | ||
3427 | static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3428 | PyObject *resultobj; | |
3429 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3430 | wxString *arg2 = 0 ; | |
3431 | int arg3 = (int) 0 ; | |
e811c8ce | 3432 | bool temp2 = False ; |
d14a1e28 RD |
3433 | PyObject * obj0 = 0 ; |
3434 | PyObject * obj1 = 0 ; | |
994141e6 | 3435 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3436 | char *kwnames[] = { |
3437 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3438 | }; | |
3439 | ||
994141e6 | 3440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3441 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3442 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3443 | { |
3444 | arg2 = wxString_in_helper(obj1); | |
3445 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3446 | temp2 = True; |
d14a1e28 | 3447 | } |
994141e6 | 3448 | if (obj2) { |
15afbcd0 RD |
3449 | arg3 = (int) SWIG_AsInt(obj2); |
3450 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3451 | } |
d14a1e28 RD |
3452 | { |
3453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3454 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
3455 | ||
3456 | wxPyEndAllowThreads(__tstate); | |
3457 | if (PyErr_Occurred()) SWIG_fail; | |
3458 | } | |
3459 | Py_INCREF(Py_None); resultobj = Py_None; | |
3460 | { | |
3461 | if (temp2) | |
3462 | delete arg2; | |
3463 | } | |
3464 | return resultobj; | |
3465 | fail: | |
3466 | { | |
3467 | if (temp2) | |
3468 | delete arg2; | |
3469 | } | |
3470 | return NULL; | |
3471 | } | |
3472 | ||
3473 | ||
3474 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3475 | PyObject *resultobj; | |
3476 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3477 | int arg2 ; | |
3478 | int *arg3 = (int *) 0 ; | |
3479 | PyObject * obj0 = 0 ; | |
3480 | PyObject * obj1 = 0 ; | |
3481 | char *kwnames[] = { | |
3482 | (char *) "self",(char *) "widths", NULL | |
3483 | }; | |
3484 | ||
3485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3486 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3487 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3488 | { |
3489 | arg2 = PyList_Size(obj1); | |
3490 | arg3 = int_LIST_helper(obj1); | |
3491 | if (arg3 == NULL) SWIG_fail; | |
3492 | } | |
3493 | { | |
3494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3495 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
3496 | ||
3497 | wxPyEndAllowThreads(__tstate); | |
3498 | if (PyErr_Occurred()) SWIG_fail; | |
3499 | } | |
3500 | Py_INCREF(Py_None); resultobj = Py_None; | |
3501 | { | |
3502 | if (arg3) delete [] arg3; | |
3503 | } | |
3504 | return resultobj; | |
3505 | fail: | |
3506 | { | |
3507 | if (arg3) delete [] arg3; | |
3508 | } | |
3509 | return NULL; | |
3510 | } | |
3511 | ||
3512 | ||
3513 | static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3514 | PyObject *resultobj; | |
3515 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3516 | wxString *arg2 = 0 ; | |
3517 | int arg3 = (int) 0 ; | |
e811c8ce | 3518 | bool temp2 = False ; |
d14a1e28 RD |
3519 | PyObject * obj0 = 0 ; |
3520 | PyObject * obj1 = 0 ; | |
994141e6 | 3521 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3522 | char *kwnames[] = { |
3523 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3524 | }; | |
3525 | ||
994141e6 | 3526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3529 | { |
3530 | arg2 = wxString_in_helper(obj1); | |
3531 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3532 | temp2 = True; |
d14a1e28 | 3533 | } |
994141e6 | 3534 | if (obj2) { |
15afbcd0 RD |
3535 | arg3 = (int) SWIG_AsInt(obj2); |
3536 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3537 | } |
d14a1e28 RD |
3538 | { |
3539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3540 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
3541 | ||
3542 | wxPyEndAllowThreads(__tstate); | |
3543 | if (PyErr_Occurred()) SWIG_fail; | |
3544 | } | |
3545 | Py_INCREF(Py_None); resultobj = Py_None; | |
3546 | { | |
3547 | if (temp2) | |
3548 | delete arg2; | |
3549 | } | |
3550 | return resultobj; | |
3551 | fail: | |
3552 | { | |
3553 | if (temp2) | |
3554 | delete arg2; | |
3555 | } | |
3556 | return NULL; | |
3557 | } | |
3558 | ||
3559 | ||
3560 | static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3561 | PyObject *resultobj; | |
3562 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3563 | int arg2 = (int) 0 ; | |
3564 | PyObject * obj0 = 0 ; | |
994141e6 | 3565 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3566 | char *kwnames[] = { |
3567 | (char *) "self",(char *) "number", NULL | |
3568 | }; | |
3569 | ||
994141e6 | 3570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3571 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3572 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3573 | if (obj1) { |
15afbcd0 RD |
3574 | arg2 = (int) SWIG_AsInt(obj1); |
3575 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3576 | } |
d14a1e28 RD |
3577 | { |
3578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3579 | (arg1)->PopStatusText(arg2); | |
3580 | ||
3581 | wxPyEndAllowThreads(__tstate); | |
3582 | if (PyErr_Occurred()) SWIG_fail; | |
3583 | } | |
3584 | Py_INCREF(Py_None); resultobj = Py_None; | |
3585 | return resultobj; | |
3586 | fail: | |
3587 | return NULL; | |
3588 | } | |
3589 | ||
3590 | ||
3591 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3592 | PyObject *resultobj; | |
3593 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3594 | int arg2 ; | |
3595 | PyObject * obj0 = 0 ; | |
994141e6 | 3596 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3597 | char *kwnames[] = { |
3598 | (char *) "self",(char *) "n", NULL | |
3599 | }; | |
3600 | ||
994141e6 | 3601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3602 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3603 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3604 | arg2 = (int) SWIG_AsInt(obj1); | |
3605 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3606 | { |
3607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3608 | (arg1)->SetStatusBarPane(arg2); | |
3609 | ||
3610 | wxPyEndAllowThreads(__tstate); | |
3611 | if (PyErr_Occurred()) SWIG_fail; | |
3612 | } | |
3613 | Py_INCREF(Py_None); resultobj = Py_None; | |
3614 | return resultobj; | |
3615 | fail: | |
3616 | return NULL; | |
3617 | } | |
3618 | ||
3619 | ||
3620 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3621 | PyObject *resultobj; | |
3622 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3623 | int result; | |
3624 | PyObject * obj0 = 0 ; | |
3625 | char *kwnames[] = { | |
3626 | (char *) "self", NULL | |
3627 | }; | |
3628 | ||
3629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3630 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3631 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3632 | { |
3633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3634 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
3635 | ||
3636 | wxPyEndAllowThreads(__tstate); | |
3637 | if (PyErr_Occurred()) SWIG_fail; | |
3638 | } | |
15afbcd0 | 3639 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
3640 | return resultobj; |
3641 | fail: | |
3642 | return NULL; | |
3643 | } | |
3644 | ||
3645 | ||
3646 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3647 | PyObject *resultobj; | |
3648 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3649 | long arg2 = (long) -1 ; | |
e811c8ce | 3650 | int arg3 = (int) -1 ; |
d14a1e28 RD |
3651 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; |
3652 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
3653 | wxToolBar *result; | |
e811c8ce | 3654 | bool temp4 = False ; |
d14a1e28 | 3655 | PyObject * obj0 = 0 ; |
994141e6 RD |
3656 | PyObject * obj1 = 0 ; |
3657 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3658 | PyObject * obj3 = 0 ; |
3659 | char *kwnames[] = { | |
3660 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3661 | }; | |
3662 | ||
994141e6 | 3663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
3664 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3665 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3666 | if (obj1) { |
15afbcd0 RD |
3667 | arg2 = (long) SWIG_AsLong(obj1); |
3668 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
3669 | } |
3670 | if (obj2) { | |
15afbcd0 RD |
3671 | arg3 = (int) SWIG_AsInt(obj2); |
3672 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3673 | } |
d14a1e28 RD |
3674 | if (obj3) { |
3675 | { | |
3676 | arg4 = wxString_in_helper(obj3); | |
3677 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 3678 | temp4 = True; |
d14a1e28 RD |
3679 | } |
3680 | } | |
3681 | { | |
3682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3683 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
3684 | ||
3685 | wxPyEndAllowThreads(__tstate); | |
3686 | if (PyErr_Occurred()) SWIG_fail; | |
3687 | } | |
3688 | { | |
3689 | resultobj = wxPyMake_wxObject(result); | |
3690 | } | |
3691 | { | |
3692 | if (temp4) | |
3693 | delete arg4; | |
3694 | } | |
3695 | return resultobj; | |
3696 | fail: | |
3697 | { | |
3698 | if (temp4) | |
3699 | delete arg4; | |
3700 | } | |
3701 | return NULL; | |
3702 | } | |
3703 | ||
3704 | ||
3705 | static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3706 | PyObject *resultobj; | |
3707 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3708 | wxToolBar *result; | |
3709 | PyObject * obj0 = 0 ; | |
3710 | char *kwnames[] = { | |
3711 | (char *) "self", NULL | |
3712 | }; | |
3713 | ||
3714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3715 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3717 | { |
3718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3719 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
3720 | ||
3721 | wxPyEndAllowThreads(__tstate); | |
3722 | if (PyErr_Occurred()) SWIG_fail; | |
3723 | } | |
3724 | { | |
3725 | resultobj = wxPyMake_wxObject(result); | |
3726 | } | |
3727 | return resultobj; | |
3728 | fail: | |
3729 | return NULL; | |
3730 | } | |
3731 | ||
3732 | ||
3733 | static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3734 | PyObject *resultobj; | |
3735 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3736 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
3737 | PyObject * obj0 = 0 ; | |
3738 | PyObject * obj1 = 0 ; | |
3739 | char *kwnames[] = { | |
3740 | (char *) "self",(char *) "toolbar", NULL | |
3741 | }; | |
3742 | ||
3743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3746 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar, | |
3747 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3748 | { |
3749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3750 | (arg1)->SetToolBar(arg2); | |
3751 | ||
3752 | wxPyEndAllowThreads(__tstate); | |
3753 | if (PyErr_Occurred()) SWIG_fail; | |
3754 | } | |
3755 | Py_INCREF(Py_None); resultobj = Py_None; | |
3756 | return resultobj; | |
3757 | fail: | |
3758 | return NULL; | |
3759 | } | |
3760 | ||
3761 | ||
3762 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3763 | PyObject *resultobj; | |
3764 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3765 | wxString *arg2 = 0 ; | |
3766 | bool arg3 ; | |
e811c8ce | 3767 | bool temp2 = False ; |
d14a1e28 RD |
3768 | PyObject * obj0 = 0 ; |
3769 | PyObject * obj1 = 0 ; | |
3770 | PyObject * obj2 = 0 ; | |
3771 | char *kwnames[] = { | |
3772 | (char *) "self",(char *) "text",(char *) "show", NULL | |
3773 | }; | |
3774 | ||
3775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
3776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3778 | { |
3779 | arg2 = wxString_in_helper(obj1); | |
3780 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3781 | temp2 = True; |
d14a1e28 | 3782 | } |
15afbcd0 RD |
3783 | arg3 = (bool) SWIG_AsBool(obj2); |
3784 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3785 | { |
3786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3787 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
3788 | ||
3789 | wxPyEndAllowThreads(__tstate); | |
3790 | if (PyErr_Occurred()) SWIG_fail; | |
3791 | } | |
3792 | Py_INCREF(Py_None); resultobj = Py_None; | |
3793 | { | |
3794 | if (temp2) | |
3795 | delete arg2; | |
3796 | } | |
3797 | return resultobj; | |
3798 | fail: | |
3799 | { | |
3800 | if (temp2) | |
3801 | delete arg2; | |
3802 | } | |
3803 | return NULL; | |
3804 | } | |
3805 | ||
3806 | ||
3807 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3808 | PyObject *resultobj; | |
3809 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3810 | wxMenu *arg2 = (wxMenu *) NULL ; | |
3811 | PyObject * obj0 = 0 ; | |
3812 | PyObject * obj1 = 0 ; | |
3813 | char *kwnames[] = { | |
3814 | (char *) "self",(char *) "menu", NULL | |
3815 | }; | |
3816 | ||
3817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3818 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 3820 | if (obj1) { |
15afbcd0 RD |
3821 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, |
3822 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3823 | } |
3824 | { | |
3825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3826 | (arg1)->DoMenuUpdates(arg2); | |
3827 | ||
3828 | wxPyEndAllowThreads(__tstate); | |
3829 | if (PyErr_Occurred()) SWIG_fail; | |
3830 | } | |
3831 | Py_INCREF(Py_None); resultobj = Py_None; | |
3832 | return resultobj; | |
3833 | fail: | |
3834 | return NULL; | |
3835 | } | |
3836 | ||
3837 | ||
3838 | static PyObject * Frame_swigregister(PyObject *self, PyObject *args) { | |
3839 | PyObject *obj; | |
3840 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3841 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
3842 | Py_INCREF(obj); | |
3843 | return Py_BuildValue((char *)""); | |
3844 | } | |
3845 | static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3846 | PyObject *resultobj; | |
3847 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 3848 | int arg2 ; |
d14a1e28 RD |
3849 | wxString *arg3 = 0 ; |
3850 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3851 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3852 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3853 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3854 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3855 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
3856 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3857 | wxDialog *result; | |
e811c8ce | 3858 | bool temp3 = False ; |
d14a1e28 RD |
3859 | wxPoint temp4 ; |
3860 | wxSize temp5 ; | |
e811c8ce | 3861 | bool temp7 = False ; |
d14a1e28 | 3862 | PyObject * obj0 = 0 ; |
994141e6 | 3863 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3864 | PyObject * obj2 = 0 ; |
3865 | PyObject * obj3 = 0 ; | |
3866 | PyObject * obj4 = 0 ; | |
994141e6 | 3867 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
3868 | PyObject * obj6 = 0 ; |
3869 | char *kwnames[] = { | |
3870 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3871 | }; | |
3872 | ||
994141e6 | 3873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
3874 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
3875 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3876 | arg2 = (int const) SWIG_AsInt(obj1); | |
3877 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3878 | { |
3879 | arg3 = wxString_in_helper(obj2); | |
3880 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 3881 | temp3 = True; |
d14a1e28 RD |
3882 | } |
3883 | if (obj3) { | |
3884 | { | |
3885 | arg4 = &temp4; | |
3886 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3887 | } | |
3888 | } | |
3889 | if (obj4) { | |
3890 | { | |
3891 | arg5 = &temp5; | |
3892 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3893 | } | |
3894 | } | |
994141e6 | 3895 | if (obj5) { |
15afbcd0 RD |
3896 | arg6 = (long) SWIG_AsLong(obj5); |
3897 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3898 | } |
d14a1e28 RD |
3899 | if (obj6) { |
3900 | { | |
3901 | arg7 = wxString_in_helper(obj6); | |
3902 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 3903 | temp7 = True; |
d14a1e28 RD |
3904 | } |
3905 | } | |
3906 | { | |
3907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3908 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3909 | ||
3910 | wxPyEndAllowThreads(__tstate); | |
3911 | if (PyErr_Occurred()) SWIG_fail; | |
3912 | } | |
15afbcd0 | 3913 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
3914 | { |
3915 | if (temp3) | |
3916 | delete arg3; | |
3917 | } | |
3918 | { | |
3919 | if (temp7) | |
3920 | delete arg7; | |
3921 | } | |
3922 | return resultobj; | |
3923 | fail: | |
3924 | { | |
3925 | if (temp3) | |
3926 | delete arg3; | |
3927 | } | |
3928 | { | |
3929 | if (temp7) | |
3930 | delete arg7; | |
3931 | } | |
3932 | return NULL; | |
3933 | } | |
3934 | ||
3935 | ||
3936 | static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3937 | PyObject *resultobj; | |
3938 | wxDialog *result; | |
3939 | char *kwnames[] = { | |
3940 | NULL | |
3941 | }; | |
3942 | ||
3943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
3944 | { | |
3945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3946 | result = (wxDialog *)new wxDialog(); | |
3947 | ||
3948 | wxPyEndAllowThreads(__tstate); | |
3949 | if (PyErr_Occurred()) SWIG_fail; | |
3950 | } | |
15afbcd0 | 3951 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
3952 | return resultobj; |
3953 | fail: | |
3954 | return NULL; | |
3955 | } | |
3956 | ||
3957 | ||
3958 | static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3959 | PyObject *resultobj; | |
3960 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3961 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 3962 | int arg3 ; |
d14a1e28 RD |
3963 | wxString *arg4 = 0 ; |
3964 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
3965 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3966 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3967 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3968 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3969 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
3970 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3971 | bool result; | |
e811c8ce | 3972 | bool temp4 = False ; |
d14a1e28 RD |
3973 | wxPoint temp5 ; |
3974 | wxSize temp6 ; | |
e811c8ce | 3975 | bool temp8 = False ; |
d14a1e28 RD |
3976 | PyObject * obj0 = 0 ; |
3977 | PyObject * obj1 = 0 ; | |
994141e6 | 3978 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3979 | PyObject * obj3 = 0 ; |
3980 | PyObject * obj4 = 0 ; | |
3981 | PyObject * obj5 = 0 ; | |
994141e6 | 3982 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3983 | PyObject * obj7 = 0 ; |
3984 | char *kwnames[] = { | |
3985 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3986 | }; | |
3987 | ||
994141e6 | 3988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
3989 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
3990 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3991 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3992 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3993 | arg3 = (int const) SWIG_AsInt(obj2); | |
3994 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3995 | { |
3996 | arg4 = wxString_in_helper(obj3); | |
3997 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 3998 | temp4 = True; |
d14a1e28 RD |
3999 | } |
4000 | if (obj4) { | |
4001 | { | |
4002 | arg5 = &temp5; | |
4003 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4004 | } | |
4005 | } | |
4006 | if (obj5) { | |
4007 | { | |
4008 | arg6 = &temp6; | |
4009 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4010 | } | |
4011 | } | |
994141e6 | 4012 | if (obj6) { |
15afbcd0 RD |
4013 | arg7 = (long) SWIG_AsLong(obj6); |
4014 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4015 | } |
d14a1e28 RD |
4016 | if (obj7) { |
4017 | { | |
4018 | arg8 = wxString_in_helper(obj7); | |
4019 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 4020 | temp8 = True; |
d14a1e28 RD |
4021 | } |
4022 | } | |
4023 | { | |
4024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4025 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4026 | ||
4027 | wxPyEndAllowThreads(__tstate); | |
4028 | if (PyErr_Occurred()) SWIG_fail; | |
4029 | } | |
4f89f6a3 RD |
4030 | { |
4031 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4032 | } | |
d14a1e28 RD |
4033 | { |
4034 | if (temp4) | |
4035 | delete arg4; | |
4036 | } | |
4037 | { | |
4038 | if (temp8) | |
4039 | delete arg8; | |
4040 | } | |
4041 | return resultobj; | |
4042 | fail: | |
4043 | { | |
4044 | if (temp4) | |
4045 | delete arg4; | |
4046 | } | |
4047 | { | |
4048 | if (temp8) | |
4049 | delete arg8; | |
4050 | } | |
4051 | return NULL; | |
4052 | } | |
4053 | ||
4054 | ||
4055 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4056 | PyObject *resultobj; | |
4057 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4058 | int arg2 ; | |
4059 | PyObject * obj0 = 0 ; | |
994141e6 | 4060 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4061 | char *kwnames[] = { |
4062 | (char *) "self",(char *) "returnCode", NULL | |
4063 | }; | |
4064 | ||
994141e6 | 4065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4066 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4067 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4068 | arg2 = (int) SWIG_AsInt(obj1); | |
4069 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4070 | { |
4071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4072 | (arg1)->SetReturnCode(arg2); | |
4073 | ||
4074 | wxPyEndAllowThreads(__tstate); | |
4075 | if (PyErr_Occurred()) SWIG_fail; | |
4076 | } | |
4077 | Py_INCREF(Py_None); resultobj = Py_None; | |
4078 | return resultobj; | |
4079 | fail: | |
4080 | return NULL; | |
4081 | } | |
4082 | ||
4083 | ||
4084 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4085 | PyObject *resultobj; | |
4086 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4087 | int result; | |
4088 | PyObject * obj0 = 0 ; | |
4089 | char *kwnames[] = { | |
4090 | (char *) "self", NULL | |
4091 | }; | |
4092 | ||
4093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4094 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4095 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4096 | { |
4097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4098 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
4099 | ||
4100 | wxPyEndAllowThreads(__tstate); | |
4101 | if (PyErr_Occurred()) SWIG_fail; | |
4102 | } | |
15afbcd0 | 4103 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4104 | return resultobj; |
4105 | fail: | |
4106 | return NULL; | |
4107 | } | |
4108 | ||
4109 | ||
4110 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4111 | PyObject *resultobj; | |
4112 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4113 | wxString *arg2 = 0 ; | |
4114 | wxSizer *result; | |
e811c8ce | 4115 | bool temp2 = False ; |
d14a1e28 RD |
4116 | PyObject * obj0 = 0 ; |
4117 | PyObject * obj1 = 0 ; | |
4118 | char *kwnames[] = { | |
4119 | (char *) "self",(char *) "message", NULL | |
4120 | }; | |
4121 | ||
4122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4123 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4124 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4125 | { |
4126 | arg2 = wxString_in_helper(obj1); | |
4127 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 4128 | temp2 = True; |
d14a1e28 RD |
4129 | } |
4130 | { | |
4131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4132 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
4133 | ||
4134 | wxPyEndAllowThreads(__tstate); | |
4135 | if (PyErr_Occurred()) SWIG_fail; | |
4136 | } | |
4137 | { | |
4138 | resultobj = wxPyMake_wxSizer(result); | |
4139 | } | |
4140 | { | |
4141 | if (temp2) | |
4142 | delete arg2; | |
4143 | } | |
4144 | return resultobj; | |
4145 | fail: | |
4146 | { | |
4147 | if (temp2) | |
4148 | delete arg2; | |
4149 | } | |
4150 | return NULL; | |
4151 | } | |
4152 | ||
4153 | ||
4154 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4155 | PyObject *resultobj; | |
4156 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4157 | long arg2 ; | |
4158 | wxSizer *result; | |
4159 | PyObject * obj0 = 0 ; | |
994141e6 | 4160 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4161 | char *kwnames[] = { |
4162 | (char *) "self",(char *) "flags", NULL | |
4163 | }; | |
4164 | ||
994141e6 | 4165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4166 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4167 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4168 | arg2 = (long) SWIG_AsLong(obj1); | |
4169 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4170 | { |
4171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4172 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
4173 | ||
4174 | wxPyEndAllowThreads(__tstate); | |
4175 | if (PyErr_Occurred()) SWIG_fail; | |
4176 | } | |
4177 | { | |
4178 | resultobj = wxPyMake_wxSizer(result); | |
4179 | } | |
4180 | return resultobj; | |
4181 | fail: | |
4182 | return NULL; | |
4183 | } | |
4184 | ||
4185 | ||
d14a1e28 RD |
4186 | static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
4187 | PyObject *resultobj; | |
4188 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4189 | bool result; | |
4190 | PyObject * obj0 = 0 ; | |
4191 | char *kwnames[] = { | |
4192 | (char *) "self", NULL | |
4193 | }; | |
4194 | ||
4195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4196 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4197 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4198 | { |
4199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4200 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
4201 | ||
4202 | wxPyEndAllowThreads(__tstate); | |
4203 | if (PyErr_Occurred()) SWIG_fail; | |
4204 | } | |
4f89f6a3 RD |
4205 | { |
4206 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4207 | } | |
d14a1e28 RD |
4208 | return resultobj; |
4209 | fail: | |
4210 | return NULL; | |
4211 | } | |
4212 | ||
4213 | ||
4214 | static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4215 | PyObject *resultobj; | |
4216 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4217 | int result; | |
4218 | PyObject * obj0 = 0 ; | |
4219 | char *kwnames[] = { | |
4220 | (char *) "self", NULL | |
4221 | }; | |
4222 | ||
4223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4224 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4226 | { |
4227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4228 | result = (int)(arg1)->ShowModal(); | |
4229 | ||
4230 | wxPyEndAllowThreads(__tstate); | |
4231 | if (PyErr_Occurred()) SWIG_fail; | |
4232 | } | |
15afbcd0 | 4233 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4234 | return resultobj; |
4235 | fail: | |
4236 | return NULL; | |
4237 | } | |
4238 | ||
4239 | ||
4240 | static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4241 | PyObject *resultobj; | |
4242 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4243 | int arg2 ; | |
4244 | PyObject * obj0 = 0 ; | |
994141e6 | 4245 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4246 | char *kwnames[] = { |
4247 | (char *) "self",(char *) "retCode", NULL | |
4248 | }; | |
4249 | ||
994141e6 | 4250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4251 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4252 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4253 | arg2 = (int) SWIG_AsInt(obj1); | |
4254 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4255 | { |
4256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4257 | (arg1)->EndModal(arg2); | |
4258 | ||
4259 | wxPyEndAllowThreads(__tstate); | |
4260 | if (PyErr_Occurred()) SWIG_fail; | |
4261 | } | |
4262 | Py_INCREF(Py_None); resultobj = Py_None; | |
4263 | return resultobj; | |
4264 | fail: | |
4265 | return NULL; | |
4266 | } | |
4267 | ||
4268 | ||
4269 | static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4270 | PyObject *resultobj; | |
4271 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4272 | bool result; | |
4273 | PyObject * obj0 = 0 ; | |
4274 | char *kwnames[] = { | |
4275 | (char *) "self", NULL | |
4276 | }; | |
4277 | ||
4278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4279 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4280 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4281 | { |
4282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4283 | result = (bool)wxDialog_IsModalShowing(arg1); | |
4284 | ||
4285 | wxPyEndAllowThreads(__tstate); | |
4286 | if (PyErr_Occurred()) SWIG_fail; | |
4287 | } | |
4f89f6a3 RD |
4288 | { |
4289 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4290 | } | |
d14a1e28 RD |
4291 | return resultobj; |
4292 | fail: | |
4293 | return NULL; | |
4294 | } | |
4295 | ||
4296 | ||
4297 | static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) { | |
4298 | PyObject *obj; | |
4299 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4300 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
4301 | Py_INCREF(obj); | |
4302 | return Py_BuildValue((char *)""); | |
4303 | } | |
4304 | static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4305 | PyObject *resultobj; | |
4306 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 4307 | int arg2 ; |
d14a1e28 RD |
4308 | wxString *arg3 = 0 ; |
4309 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
4310 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4311 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4312 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4313 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4314 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4315 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4316 | wxMiniFrame *result; | |
e811c8ce | 4317 | bool temp3 = False ; |
d14a1e28 RD |
4318 | wxPoint temp4 ; |
4319 | wxSize temp5 ; | |
e811c8ce | 4320 | bool temp7 = False ; |
d14a1e28 | 4321 | PyObject * obj0 = 0 ; |
994141e6 | 4322 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4323 | PyObject * obj2 = 0 ; |
4324 | PyObject * obj3 = 0 ; | |
4325 | PyObject * obj4 = 0 ; | |
994141e6 | 4326 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4327 | PyObject * obj6 = 0 ; |
4328 | char *kwnames[] = { | |
4329 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4330 | }; | |
4331 | ||
994141e6 | 4332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
4333 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4334 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4335 | arg2 = (int const) SWIG_AsInt(obj1); | |
4336 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4337 | { |
4338 | arg3 = wxString_in_helper(obj2); | |
4339 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 4340 | temp3 = True; |
d14a1e28 RD |
4341 | } |
4342 | if (obj3) { | |
4343 | { | |
4344 | arg4 = &temp4; | |
4345 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4346 | } | |
4347 | } | |
4348 | if (obj4) { | |
4349 | { | |
4350 | arg5 = &temp5; | |
4351 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4352 | } | |
4353 | } | |
994141e6 | 4354 | if (obj5) { |
15afbcd0 RD |
4355 | arg6 = (long) SWIG_AsLong(obj5); |
4356 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4357 | } |
d14a1e28 RD |
4358 | if (obj6) { |
4359 | { | |
4360 | arg7 = wxString_in_helper(obj6); | |
4361 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 4362 | temp7 = True; |
d14a1e28 RD |
4363 | } |
4364 | } | |
4365 | { | |
4366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4367 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4368 | ||
4369 | wxPyEndAllowThreads(__tstate); | |
4370 | if (PyErr_Occurred()) SWIG_fail; | |
4371 | } | |
15afbcd0 | 4372 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4373 | { |
4374 | if (temp3) | |
4375 | delete arg3; | |
4376 | } | |
4377 | { | |
4378 | if (temp7) | |
4379 | delete arg7; | |
4380 | } | |
4381 | return resultobj; | |
4382 | fail: | |
4383 | { | |
4384 | if (temp3) | |
4385 | delete arg3; | |
4386 | } | |
4387 | { | |
4388 | if (temp7) | |
4389 | delete arg7; | |
4390 | } | |
4391 | return NULL; | |
4392 | } | |
4393 | ||
4394 | ||
4395 | static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4396 | PyObject *resultobj; | |
4397 | wxMiniFrame *result; | |
4398 | char *kwnames[] = { | |
4399 | NULL | |
4400 | }; | |
4401 | ||
4402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
4403 | { | |
4404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4405 | result = (wxMiniFrame *)new wxMiniFrame(); | |
4406 | ||
4407 | wxPyEndAllowThreads(__tstate); | |
4408 | if (PyErr_Occurred()) SWIG_fail; | |
4409 | } | |
15afbcd0 | 4410 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4411 | return resultobj; |
4412 | fail: | |
4413 | return NULL; | |
4414 | } | |
4415 | ||
4416 | ||
4417 | static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4418 | PyObject *resultobj; | |
4419 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
4420 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4421 | int arg3 ; |
d14a1e28 RD |
4422 | wxString *arg4 = 0 ; |
4423 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
4424 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4425 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4426 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4427 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4428 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4429 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4430 | bool result; | |
e811c8ce | 4431 | bool temp4 = False ; |
d14a1e28 RD |
4432 | wxPoint temp5 ; |
4433 | wxSize temp6 ; | |
e811c8ce | 4434 | bool temp8 = False ; |
d14a1e28 RD |
4435 | PyObject * obj0 = 0 ; |
4436 | PyObject * obj1 = 0 ; | |
994141e6 | 4437 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4438 | PyObject * obj3 = 0 ; |
4439 | PyObject * obj4 = 0 ; | |
4440 | PyObject * obj5 = 0 ; | |
994141e6 | 4441 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4442 | PyObject * obj7 = 0 ; |
4443 | char *kwnames[] = { | |
4444 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4445 | }; | |
4446 | ||
994141e6 | 4447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
4448 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame, |
4449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4450 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4451 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4452 | arg3 = (int const) SWIG_AsInt(obj2); | |
4453 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4454 | { |
4455 | arg4 = wxString_in_helper(obj3); | |
4456 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 4457 | temp4 = True; |
d14a1e28 RD |
4458 | } |
4459 | if (obj4) { | |
4460 | { | |
4461 | arg5 = &temp5; | |
4462 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4463 | } | |
4464 | } | |
4465 | if (obj5) { | |
4466 | { | |
4467 | arg6 = &temp6; | |
4468 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4469 | } | |
4470 | } | |
994141e6 | 4471 | if (obj6) { |
15afbcd0 RD |
4472 | arg7 = (long) SWIG_AsLong(obj6); |
4473 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4474 | } |
d14a1e28 RD |
4475 | if (obj7) { |
4476 | { | |
4477 | arg8 = wxString_in_helper(obj7); | |
4478 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 4479 | temp8 = True; |
d14a1e28 RD |
4480 | } |
4481 | } | |
4482 | { | |
4483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4484 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4485 | ||
4486 | wxPyEndAllowThreads(__tstate); | |
4487 | if (PyErr_Occurred()) SWIG_fail; | |
4488 | } | |
4f89f6a3 RD |
4489 | { |
4490 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4491 | } | |
d14a1e28 RD |
4492 | { |
4493 | if (temp4) | |
4494 | delete arg4; | |
4495 | } | |
4496 | { | |
4497 | if (temp8) | |
4498 | delete arg8; | |
4499 | } | |
4500 | return resultobj; | |
4501 | fail: | |
4502 | { | |
4503 | if (temp4) | |
4504 | delete arg4; | |
4505 | } | |
4506 | { | |
4507 | if (temp8) | |
4508 | delete arg8; | |
4509 | } | |
4510 | return NULL; | |
4511 | } | |
4512 | ||
4513 | ||
4514 | static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) { | |
4515 | PyObject *obj; | |
4516 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4517 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
4518 | Py_INCREF(obj); | |
4519 | return Py_BuildValue((char *)""); | |
4520 | } | |
4521 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4522 | PyObject *resultobj; | |
4523 | wxBitmap *arg1 = 0 ; | |
4524 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4525 | int arg3 ; |
d14a1e28 RD |
4526 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4527 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4528 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4529 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4530 | long arg6 = (long) wxNO_BORDER ; | |
4531 | wxSplashScreenWindow *result; | |
4532 | wxPoint temp4 ; | |
4533 | wxSize temp5 ; | |
4534 | PyObject * obj0 = 0 ; | |
4535 | PyObject * obj1 = 0 ; | |
994141e6 | 4536 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4537 | PyObject * obj3 = 0 ; |
4538 | PyObject * obj4 = 0 ; | |
994141e6 | 4539 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4540 | char *kwnames[] = { |
4541 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4542 | }; | |
4543 | ||
994141e6 | 4544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
4545 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4546 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4547 | SWIG_fail; | |
d14a1e28 | 4548 | if (arg1 == NULL) { |
15afbcd0 RD |
4549 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4550 | SWIG_fail; | |
994141e6 | 4551 | } |
15afbcd0 RD |
4552 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
4553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4554 | arg3 = (int) SWIG_AsInt(obj2); | |
4555 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4556 | if (obj3) { |
4557 | { | |
4558 | arg4 = &temp4; | |
4559 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4560 | } | |
4561 | } | |
4562 | if (obj4) { | |
4563 | { | |
4564 | arg5 = &temp5; | |
4565 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4566 | } | |
4567 | } | |
994141e6 | 4568 | if (obj5) { |
15afbcd0 RD |
4569 | arg6 = (long) SWIG_AsLong(obj5); |
4570 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4571 | } |
d14a1e28 RD |
4572 | { |
4573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4574 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
4575 | ||
4576 | wxPyEndAllowThreads(__tstate); | |
4577 | if (PyErr_Occurred()) SWIG_fail; | |
4578 | } | |
15afbcd0 | 4579 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); |
d14a1e28 RD |
4580 | return resultobj; |
4581 | fail: | |
4582 | return NULL; | |
4583 | } | |
4584 | ||
4585 | ||
4586 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4587 | PyObject *resultobj; | |
4588 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4589 | wxBitmap *arg2 = 0 ; | |
4590 | PyObject * obj0 = 0 ; | |
4591 | PyObject * obj1 = 0 ; | |
4592 | char *kwnames[] = { | |
4593 | (char *) "self",(char *) "bitmap", NULL | |
4594 | }; | |
4595 | ||
4596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4597 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
4598 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4599 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap, | |
4600 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4601 | SWIG_fail; | |
d14a1e28 | 4602 | if (arg2 == NULL) { |
15afbcd0 RD |
4603 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4604 | SWIG_fail; | |
d14a1e28 RD |
4605 | } |
4606 | { | |
4607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4608 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
4609 | ||
4610 | wxPyEndAllowThreads(__tstate); | |
4611 | if (PyErr_Occurred()) SWIG_fail; | |
4612 | } | |
4613 | Py_INCREF(Py_None); resultobj = Py_None; | |
4614 | return resultobj; | |
4615 | fail: | |
4616 | return NULL; | |
4617 | } | |
4618 | ||
4619 | ||
4620 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4621 | PyObject *resultobj; | |
4622 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4623 | wxBitmap *result; | |
4624 | PyObject * obj0 = 0 ; | |
4625 | char *kwnames[] = { | |
4626 | (char *) "self", NULL | |
4627 | }; | |
4628 | ||
4629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4630 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
4631 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4632 | { |
4633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4634 | { | |
4635 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
4636 | result = (wxBitmap *) &_result_ref; | |
4637 | } | |
4638 | ||
4639 | wxPyEndAllowThreads(__tstate); | |
4640 | if (PyErr_Occurred()) SWIG_fail; | |
4641 | } | |
4276dc52 RD |
4642 | { |
4643 | wxBitmap* resultptr = new wxBitmap(*result); | |
4644 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
4645 | } | |
d14a1e28 RD |
4646 | return resultobj; |
4647 | fail: | |
4648 | return NULL; | |
4649 | } | |
4650 | ||
4651 | ||
4652 | static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) { | |
4653 | PyObject *obj; | |
4654 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4655 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
4656 | Py_INCREF(obj); | |
4657 | return Py_BuildValue((char *)""); | |
4658 | } | |
4659 | static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4660 | PyObject *resultobj; | |
4661 | wxBitmap *arg1 = 0 ; | |
4662 | long arg2 ; | |
4663 | int arg3 ; | |
4664 | wxWindow *arg4 = (wxWindow *) 0 ; | |
e811c8ce | 4665 | int arg5 ; |
d14a1e28 RD |
4666 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
4667 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
4668 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
4669 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
4670 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
4671 | wxSplashScreen *result; | |
4672 | wxPoint temp6 ; | |
4673 | wxSize temp7 ; | |
4674 | PyObject * obj0 = 0 ; | |
994141e6 RD |
4675 | PyObject * obj1 = 0 ; |
4676 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4677 | PyObject * obj3 = 0 ; |
994141e6 | 4678 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
4679 | PyObject * obj5 = 0 ; |
4680 | PyObject * obj6 = 0 ; | |
994141e6 | 4681 | PyObject * obj7 = 0 ; |
d14a1e28 RD |
4682 | char *kwnames[] = { |
4683 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4684 | }; | |
4685 | ||
994141e6 | 4686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
4687 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4688 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4689 | SWIG_fail; | |
d14a1e28 | 4690 | if (arg1 == NULL) { |
15afbcd0 RD |
4691 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4692 | SWIG_fail; | |
4693 | } | |
4694 | arg2 = (long) SWIG_AsLong(obj1); | |
4695 | if (PyErr_Occurred()) SWIG_fail; | |
4696 | arg3 = (int) SWIG_AsInt(obj2); | |
4697 | if (PyErr_Occurred()) SWIG_fail; | |
4698 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, | |
4699 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4700 | arg5 = (int) SWIG_AsInt(obj4); | |
4701 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4702 | if (obj5) { |
4703 | { | |
4704 | arg6 = &temp6; | |
4705 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
4706 | } | |
4707 | } | |
4708 | if (obj6) { | |
4709 | { | |
4710 | arg7 = &temp7; | |
4711 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
4712 | } | |
4713 | } | |
994141e6 | 4714 | if (obj7) { |
15afbcd0 RD |
4715 | arg8 = (long) SWIG_AsLong(obj7); |
4716 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4717 | } |
d14a1e28 RD |
4718 | { |
4719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4720 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
4721 | ||
4722 | wxPyEndAllowThreads(__tstate); | |
4723 | if (PyErr_Occurred()) SWIG_fail; | |
4724 | } | |
15afbcd0 | 4725 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); |
d14a1e28 RD |
4726 | return resultobj; |
4727 | fail: | |
4728 | return NULL; | |
4729 | } | |
4730 | ||
4731 | ||
4732 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4733 | PyObject *resultobj; | |
4734 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4735 | long result; | |
4736 | PyObject * obj0 = 0 ; | |
4737 | char *kwnames[] = { | |
4738 | (char *) "self", NULL | |
4739 | }; | |
4740 | ||
4741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4742 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4744 | { |
4745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4746 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
4747 | ||
4748 | wxPyEndAllowThreads(__tstate); | |
4749 | if (PyErr_Occurred()) SWIG_fail; | |
4750 | } | |
15afbcd0 | 4751 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
4752 | return resultobj; |
4753 | fail: | |
4754 | return NULL; | |
4755 | } | |
4756 | ||
4757 | ||
4758 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4759 | PyObject *resultobj; | |
4760 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4761 | wxSplashScreenWindow *result; | |
4762 | PyObject * obj0 = 0 ; | |
4763 | char *kwnames[] = { | |
4764 | (char *) "self", NULL | |
4765 | }; | |
4766 | ||
4767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4768 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4769 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4770 | { |
4771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4772 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
4773 | ||
4774 | wxPyEndAllowThreads(__tstate); | |
4775 | if (PyErr_Occurred()) SWIG_fail; | |
4776 | } | |
15afbcd0 | 4777 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); |
d14a1e28 RD |
4778 | return resultobj; |
4779 | fail: | |
4780 | return NULL; | |
4781 | } | |
4782 | ||
4783 | ||
4784 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4785 | PyObject *resultobj; | |
4786 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4787 | int result; | |
4788 | PyObject * obj0 = 0 ; | |
4789 | char *kwnames[] = { | |
4790 | (char *) "self", NULL | |
4791 | }; | |
4792 | ||
4793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4794 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4795 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4796 | { |
4797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4798 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
4799 | ||
4800 | wxPyEndAllowThreads(__tstate); | |
4801 | if (PyErr_Occurred()) SWIG_fail; | |
4802 | } | |
15afbcd0 | 4803 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4804 | return resultobj; |
4805 | fail: | |
4806 | return NULL; | |
4807 | } | |
4808 | ||
4809 | ||
4810 | static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) { | |
4811 | PyObject *obj; | |
4812 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4813 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
4814 | Py_INCREF(obj); | |
4815 | return Py_BuildValue((char *)""); | |
4816 | } | |
4817 | static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4818 | PyObject *resultobj; | |
4819 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 4820 | int arg2 = (int) -1 ; |
4276dc52 | 4821 | long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ; |
d14a1e28 RD |
4822 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; |
4823 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4824 | wxStatusBar *result; | |
e811c8ce | 4825 | bool temp4 = False ; |
d14a1e28 | 4826 | PyObject * obj0 = 0 ; |
994141e6 RD |
4827 | PyObject * obj1 = 0 ; |
4828 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4829 | PyObject * obj3 = 0 ; |
4830 | char *kwnames[] = { | |
4831 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4832 | }; | |
4833 | ||
994141e6 | 4834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
4835 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4836 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 4837 | if (obj1) { |
15afbcd0 RD |
4838 | arg2 = (int) SWIG_AsInt(obj1); |
4839 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
4840 | } |
4841 | if (obj2) { | |
15afbcd0 RD |
4842 | arg3 = (long) SWIG_AsLong(obj2); |
4843 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4844 | } |
d14a1e28 RD |
4845 | if (obj3) { |
4846 | { | |
4847 | arg4 = wxString_in_helper(obj3); | |
4848 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 4849 | temp4 = True; |
d14a1e28 RD |
4850 | } |
4851 | } | |
4852 | { | |
4853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4854 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
4855 | ||
4856 | wxPyEndAllowThreads(__tstate); | |
4857 | if (PyErr_Occurred()) SWIG_fail; | |
4858 | } | |
4859 | { | |
4860 | resultobj = wxPyMake_wxObject(result); | |
4861 | } | |
4862 | { | |
4863 | if (temp4) | |
4864 | delete arg4; | |
4865 | } | |
4866 | return resultobj; | |
4867 | fail: | |
4868 | { | |
4869 | if (temp4) | |
4870 | delete arg4; | |
4871 | } | |
4872 | return NULL; | |
4873 | } | |
4874 | ||
4875 | ||
4876 | static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4877 | PyObject *resultobj; | |
4878 | wxStatusBar *result; | |
4879 | char *kwnames[] = { | |
4880 | NULL | |
4881 | }; | |
4882 | ||
4883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
4884 | { | |
4885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4886 | result = (wxStatusBar *)new wxStatusBar(); | |
4887 | ||
4888 | wxPyEndAllowThreads(__tstate); | |
4889 | if (PyErr_Occurred()) SWIG_fail; | |
4890 | } | |
4891 | { | |
4892 | resultobj = wxPyMake_wxObject(result); | |
4893 | } | |
4894 | return resultobj; | |
4895 | fail: | |
4896 | return NULL; | |
4897 | } | |
4898 | ||
4899 | ||
4900 | static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4901 | PyObject *resultobj; | |
4902 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4903 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4904 | int arg3 ; |
d14a1e28 RD |
4905 | long arg4 = (long) wxST_SIZEGRIP ; |
4906 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
4907 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
4908 | bool result; | |
e811c8ce | 4909 | bool temp5 = False ; |
d14a1e28 RD |
4910 | PyObject * obj0 = 0 ; |
4911 | PyObject * obj1 = 0 ; | |
994141e6 RD |
4912 | PyObject * obj2 = 0 ; |
4913 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
4914 | PyObject * obj4 = 0 ; |
4915 | char *kwnames[] = { | |
4916 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4917 | }; | |
4918 | ||
994141e6 | 4919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
4920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4922 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4923 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4924 | arg3 = (int) SWIG_AsInt(obj2); | |
4925 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4926 | if (obj3) { |
15afbcd0 RD |
4927 | arg4 = (long) SWIG_AsLong(obj3); |
4928 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4929 | } |
d14a1e28 RD |
4930 | if (obj4) { |
4931 | { | |
4932 | arg5 = wxString_in_helper(obj4); | |
4933 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 4934 | temp5 = True; |
d14a1e28 RD |
4935 | } |
4936 | } | |
4937 | { | |
4938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4939 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
4940 | ||
4941 | wxPyEndAllowThreads(__tstate); | |
4942 | if (PyErr_Occurred()) SWIG_fail; | |
4943 | } | |
4f89f6a3 RD |
4944 | { |
4945 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4946 | } | |
d14a1e28 RD |
4947 | { |
4948 | if (temp5) | |
4949 | delete arg5; | |
4950 | } | |
4951 | return resultobj; | |
4952 | fail: | |
4953 | { | |
4954 | if (temp5) | |
4955 | delete arg5; | |
4956 | } | |
4957 | return NULL; | |
4958 | } | |
4959 | ||
4960 | ||
4961 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4962 | PyObject *resultobj; | |
4963 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4964 | int arg2 = (int) 1 ; | |
4965 | PyObject * obj0 = 0 ; | |
994141e6 | 4966 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4967 | char *kwnames[] = { |
4968 | (char *) "self",(char *) "number", NULL | |
4969 | }; | |
4970 | ||
994141e6 | 4971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4972 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4973 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 4974 | if (obj1) { |
15afbcd0 RD |
4975 | arg2 = (int) SWIG_AsInt(obj1); |
4976 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4977 | } |
d14a1e28 RD |
4978 | { |
4979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4980 | (arg1)->SetFieldsCount(arg2); | |
4981 | ||
4982 | wxPyEndAllowThreads(__tstate); | |
4983 | if (PyErr_Occurred()) SWIG_fail; | |
4984 | } | |
4985 | Py_INCREF(Py_None); resultobj = Py_None; | |
4986 | return resultobj; | |
4987 | fail: | |
4988 | return NULL; | |
4989 | } | |
4990 | ||
4991 | ||
4992 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4993 | PyObject *resultobj; | |
4994 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4995 | int result; | |
4996 | PyObject * obj0 = 0 ; | |
4997 | char *kwnames[] = { | |
4998 | (char *) "self", NULL | |
4999 | }; | |
5000 | ||
5001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5002 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5003 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5004 | { |
5005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5006 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
5007 | ||
5008 | wxPyEndAllowThreads(__tstate); | |
5009 | if (PyErr_Occurred()) SWIG_fail; | |
5010 | } | |
15afbcd0 | 5011 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5012 | return resultobj; |
5013 | fail: | |
5014 | return NULL; | |
5015 | } | |
5016 | ||
5017 | ||
5018 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5019 | PyObject *resultobj; | |
5020 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5021 | wxString *arg2 = 0 ; | |
5022 | int arg3 = (int) 0 ; | |
e811c8ce | 5023 | bool temp2 = False ; |
d14a1e28 RD |
5024 | PyObject * obj0 = 0 ; |
5025 | PyObject * obj1 = 0 ; | |
994141e6 | 5026 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5027 | char *kwnames[] = { |
5028 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5029 | }; | |
5030 | ||
994141e6 | 5031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5032 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5033 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5034 | { |
5035 | arg2 = wxString_in_helper(obj1); | |
5036 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5037 | temp2 = True; |
d14a1e28 | 5038 | } |
994141e6 | 5039 | if (obj2) { |
15afbcd0 RD |
5040 | arg3 = (int) SWIG_AsInt(obj2); |
5041 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5042 | } |
d14a1e28 RD |
5043 | { |
5044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5045 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
5046 | ||
5047 | wxPyEndAllowThreads(__tstate); | |
5048 | if (PyErr_Occurred()) SWIG_fail; | |
5049 | } | |
5050 | Py_INCREF(Py_None); resultobj = Py_None; | |
5051 | { | |
5052 | if (temp2) | |
5053 | delete arg2; | |
5054 | } | |
5055 | return resultobj; | |
5056 | fail: | |
5057 | { | |
5058 | if (temp2) | |
5059 | delete arg2; | |
5060 | } | |
5061 | return NULL; | |
5062 | } | |
5063 | ||
5064 | ||
5065 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5066 | PyObject *resultobj; | |
5067 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5068 | int arg2 = (int) 0 ; | |
5069 | wxString result; | |
5070 | PyObject * obj0 = 0 ; | |
994141e6 | 5071 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5072 | char *kwnames[] = { |
5073 | (char *) "self",(char *) "number", NULL | |
5074 | }; | |
5075 | ||
994141e6 | 5076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5077 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5078 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5079 | if (obj1) { |
15afbcd0 RD |
5080 | arg2 = (int) SWIG_AsInt(obj1); |
5081 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5082 | } |
d14a1e28 RD |
5083 | { |
5084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5085 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
5086 | ||
5087 | wxPyEndAllowThreads(__tstate); | |
5088 | if (PyErr_Occurred()) SWIG_fail; | |
5089 | } | |
5090 | { | |
5091 | #if wxUSE_UNICODE | |
5092 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5093 | #else | |
5094 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5095 | #endif | |
5096 | } | |
5097 | return resultobj; | |
5098 | fail: | |
5099 | return NULL; | |
5100 | } | |
5101 | ||
5102 | ||
5103 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5104 | PyObject *resultobj; | |
5105 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5106 | wxString *arg2 = 0 ; | |
5107 | int arg3 = (int) 0 ; | |
e811c8ce | 5108 | bool temp2 = False ; |
d14a1e28 RD |
5109 | PyObject * obj0 = 0 ; |
5110 | PyObject * obj1 = 0 ; | |
994141e6 | 5111 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5112 | char *kwnames[] = { |
5113 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5114 | }; | |
5115 | ||
994141e6 | 5116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5117 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5118 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5119 | { |
5120 | arg2 = wxString_in_helper(obj1); | |
5121 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5122 | temp2 = True; |
d14a1e28 | 5123 | } |
994141e6 | 5124 | if (obj2) { |
15afbcd0 RD |
5125 | arg3 = (int) SWIG_AsInt(obj2); |
5126 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5127 | } |
d14a1e28 RD |
5128 | { |
5129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5130 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5131 | ||
5132 | wxPyEndAllowThreads(__tstate); | |
5133 | if (PyErr_Occurred()) SWIG_fail; | |
5134 | } | |
5135 | Py_INCREF(Py_None); resultobj = Py_None; | |
5136 | { | |
5137 | if (temp2) | |
5138 | delete arg2; | |
5139 | } | |
5140 | return resultobj; | |
5141 | fail: | |
5142 | { | |
5143 | if (temp2) | |
5144 | delete arg2; | |
5145 | } | |
5146 | return NULL; | |
5147 | } | |
5148 | ||
5149 | ||
5150 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5151 | PyObject *resultobj; | |
5152 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5153 | int arg2 = (int) 0 ; | |
5154 | PyObject * obj0 = 0 ; | |
994141e6 | 5155 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5156 | char *kwnames[] = { |
5157 | (char *) "self",(char *) "number", NULL | |
5158 | }; | |
5159 | ||
994141e6 | 5160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5161 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5162 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5163 | if (obj1) { |
15afbcd0 RD |
5164 | arg2 = (int) SWIG_AsInt(obj1); |
5165 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5166 | } |
d14a1e28 RD |
5167 | { |
5168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5169 | (arg1)->PopStatusText(arg2); | |
5170 | ||
5171 | wxPyEndAllowThreads(__tstate); | |
5172 | if (PyErr_Occurred()) SWIG_fail; | |
5173 | } | |
5174 | Py_INCREF(Py_None); resultobj = Py_None; | |
5175 | return resultobj; | |
5176 | fail: | |
5177 | return NULL; | |
5178 | } | |
5179 | ||
5180 | ||
5181 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5182 | PyObject *resultobj; | |
5183 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5184 | int arg2 ; | |
5185 | int *arg3 = (int *) 0 ; | |
5186 | PyObject * obj0 = 0 ; | |
5187 | PyObject * obj1 = 0 ; | |
5188 | char *kwnames[] = { | |
5189 | (char *) "self",(char *) "widths", NULL | |
5190 | }; | |
5191 | ||
5192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5193 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5194 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5195 | { |
5196 | arg2 = PyList_Size(obj1); | |
5197 | arg3 = int_LIST_helper(obj1); | |
5198 | if (arg3 == NULL) SWIG_fail; | |
5199 | } | |
5200 | { | |
5201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5202 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5203 | ||
5204 | wxPyEndAllowThreads(__tstate); | |
5205 | if (PyErr_Occurred()) SWIG_fail; | |
5206 | } | |
5207 | Py_INCREF(Py_None); resultobj = Py_None; | |
5208 | { | |
5209 | if (arg3) delete [] arg3; | |
5210 | } | |
5211 | return resultobj; | |
5212 | fail: | |
5213 | { | |
5214 | if (arg3) delete [] arg3; | |
5215 | } | |
5216 | return NULL; | |
5217 | } | |
5218 | ||
5219 | ||
5220 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5221 | PyObject *resultobj; | |
5222 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5223 | int arg2 ; | |
7722248d | 5224 | wxRect result; |
d14a1e28 | 5225 | PyObject * obj0 = 0 ; |
994141e6 | 5226 | PyObject * obj1 = 0 ; |
d14a1e28 | 5227 | char *kwnames[] = { |
7722248d | 5228 | (char *) "self",(char *) "i", NULL |
d14a1e28 RD |
5229 | }; |
5230 | ||
994141e6 | 5231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5232 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5233 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5234 | arg2 = (int) SWIG_AsInt(obj1); | |
5235 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5236 | { |
5237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7722248d | 5238 | result = wxStatusBar_GetFieldRect(arg1,arg2); |
d14a1e28 RD |
5239 | |
5240 | wxPyEndAllowThreads(__tstate); | |
5241 | if (PyErr_Occurred()) SWIG_fail; | |
5242 | } | |
7722248d RD |
5243 | { |
5244 | wxRect * resultptr; | |
5245 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 5246 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
7722248d | 5247 | } |
d14a1e28 RD |
5248 | return resultobj; |
5249 | fail: | |
5250 | return NULL; | |
5251 | } | |
5252 | ||
5253 | ||
5254 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5255 | PyObject *resultobj; | |
5256 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5257 | int arg2 ; | |
5258 | PyObject * obj0 = 0 ; | |
994141e6 | 5259 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5260 | char *kwnames[] = { |
5261 | (char *) "self",(char *) "height", NULL | |
5262 | }; | |
5263 | ||
994141e6 | 5264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5265 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5266 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5267 | arg2 = (int) SWIG_AsInt(obj1); | |
5268 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5269 | { |
5270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5271 | (arg1)->SetMinHeight(arg2); | |
5272 | ||
5273 | wxPyEndAllowThreads(__tstate); | |
5274 | if (PyErr_Occurred()) SWIG_fail; | |
5275 | } | |
5276 | Py_INCREF(Py_None); resultobj = Py_None; | |
5277 | return resultobj; | |
5278 | fail: | |
5279 | return NULL; | |
5280 | } | |
5281 | ||
5282 | ||
5283 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5284 | PyObject *resultobj; | |
5285 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5286 | int result; | |
5287 | PyObject * obj0 = 0 ; | |
5288 | char *kwnames[] = { | |
5289 | (char *) "self", NULL | |
5290 | }; | |
5291 | ||
5292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5293 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5294 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5295 | { |
5296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5297 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
5298 | ||
5299 | wxPyEndAllowThreads(__tstate); | |
5300 | if (PyErr_Occurred()) SWIG_fail; | |
5301 | } | |
15afbcd0 | 5302 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5303 | return resultobj; |
5304 | fail: | |
5305 | return NULL; | |
5306 | } | |
5307 | ||
5308 | ||
5309 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5310 | PyObject *resultobj; | |
5311 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5312 | int result; | |
5313 | PyObject * obj0 = 0 ; | |
5314 | char *kwnames[] = { | |
5315 | (char *) "self", NULL | |
5316 | }; | |
5317 | ||
5318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5319 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5320 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5321 | { |
5322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5323 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
5324 | ||
5325 | wxPyEndAllowThreads(__tstate); | |
5326 | if (PyErr_Occurred()) SWIG_fail; | |
5327 | } | |
15afbcd0 | 5328 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5329 | return resultobj; |
5330 | fail: | |
5331 | return NULL; | |
5332 | } | |
5333 | ||
5334 | ||
5335 | static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) { | |
5336 | PyObject *obj; | |
5337 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5338 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
5339 | Py_INCREF(obj); | |
5340 | return Py_BuildValue((char *)""); | |
5341 | } | |
b2dc1044 RD |
5342 | static int _wrap_SplitterNameStr_set(PyObject *_val) { |
5343 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); | |
5344 | return 1; | |
5345 | } | |
5346 | ||
5347 | ||
5348 | static PyObject *_wrap_SplitterNameStr_get() { | |
5349 | PyObject *pyobj; | |
5350 | ||
5351 | { | |
5352 | #if wxUSE_UNICODE | |
5353 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5354 | #else | |
5355 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5356 | #endif | |
5357 | } | |
5358 | return pyobj; | |
5359 | } | |
5360 | ||
5361 | ||
d14a1e28 RD |
5362 | static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
5363 | PyObject *resultobj; | |
5364 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 5365 | int arg2 ; |
d14a1e28 RD |
5366 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
5367 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5368 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5369 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5370 | long arg5 = (long) wxSP_3D ; | |
5371 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
5372 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5373 | wxSplitterWindow *result; | |
5374 | wxPoint temp3 ; | |
5375 | wxSize temp4 ; | |
e811c8ce | 5376 | bool temp6 = False ; |
d14a1e28 | 5377 | PyObject * obj0 = 0 ; |
994141e6 | 5378 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5379 | PyObject * obj2 = 0 ; |
5380 | PyObject * obj3 = 0 ; | |
994141e6 | 5381 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5382 | PyObject * obj5 = 0 ; |
5383 | char *kwnames[] = { | |
994141e6 | 5384 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5385 | }; |
5386 | ||
994141e6 | 5387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
5388 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
5389 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5390 | arg2 = (int) SWIG_AsInt(obj1); | |
5391 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5392 | if (obj2) { |
5393 | { | |
5394 | arg3 = &temp3; | |
5395 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5396 | } | |
5397 | } | |
5398 | if (obj3) { | |
5399 | { | |
5400 | arg4 = &temp4; | |
5401 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5402 | } | |
5403 | } | |
15afbcd0 RD |
5404 | if (obj4) { |
5405 | arg5 = (long) SWIG_AsLong(obj4); | |
5406 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5407 | } |
d14a1e28 RD |
5408 | if (obj5) { |
5409 | { | |
5410 | arg6 = wxString_in_helper(obj5); | |
5411 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 5412 | temp6 = True; |
d14a1e28 RD |
5413 | } |
5414 | } | |
5415 | { | |
5416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5417 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5418 | ||
5419 | wxPyEndAllowThreads(__tstate); | |
5420 | if (PyErr_Occurred()) SWIG_fail; | |
5421 | } | |
15afbcd0 | 5422 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5423 | { |
5424 | if (temp6) | |
5425 | delete arg6; | |
5426 | } | |
5427 | return resultobj; | |
5428 | fail: | |
5429 | { | |
5430 | if (temp6) | |
5431 | delete arg6; | |
5432 | } | |
5433 | return NULL; | |
5434 | } | |
5435 | ||
5436 | ||
5437 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5438 | PyObject *resultobj; | |
5439 | wxSplitterWindow *result; | |
5440 | char *kwnames[] = { | |
5441 | NULL | |
5442 | }; | |
5443 | ||
5444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
5445 | { | |
5446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5447 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
5448 | ||
5449 | wxPyEndAllowThreads(__tstate); | |
5450 | if (PyErr_Occurred()) SWIG_fail; | |
5451 | } | |
15afbcd0 | 5452 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5453 | return resultobj; |
5454 | fail: | |
5455 | return NULL; | |
5456 | } | |
5457 | ||
5458 | ||
5459 | static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5460 | PyObject *resultobj; | |
5461 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5462 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 5463 | int arg3 ; |
d14a1e28 RD |
5464 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5465 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5466 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5467 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5468 | long arg6 = (long) wxSP_3D ; | |
5469 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
5470 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5471 | bool result; | |
5472 | wxPoint temp4 ; | |
5473 | wxSize temp5 ; | |
e811c8ce | 5474 | bool temp7 = False ; |
d14a1e28 RD |
5475 | PyObject * obj0 = 0 ; |
5476 | PyObject * obj1 = 0 ; | |
994141e6 | 5477 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5478 | PyObject * obj3 = 0 ; |
5479 | PyObject * obj4 = 0 ; | |
994141e6 | 5480 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
5481 | PyObject * obj6 = 0 ; |
5482 | char *kwnames[] = { | |
994141e6 | 5483 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5484 | }; |
5485 | ||
994141e6 | 5486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
5487 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5488 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5489 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5490 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5491 | arg3 = (int) SWIG_AsInt(obj2); | |
5492 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5493 | if (obj3) { |
5494 | { | |
5495 | arg4 = &temp4; | |
5496 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5497 | } | |
5498 | } | |
5499 | if (obj4) { | |
5500 | { | |
5501 | arg5 = &temp5; | |
5502 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5503 | } | |
5504 | } | |
994141e6 | 5505 | if (obj5) { |
15afbcd0 RD |
5506 | arg6 = (long) SWIG_AsLong(obj5); |
5507 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5508 | } |
d14a1e28 RD |
5509 | if (obj6) { |
5510 | { | |
5511 | arg7 = wxString_in_helper(obj6); | |
5512 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 5513 | temp7 = True; |
d14a1e28 RD |
5514 | } |
5515 | } | |
5516 | { | |
5517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5518 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5519 | ||
5520 | wxPyEndAllowThreads(__tstate); | |
5521 | if (PyErr_Occurred()) SWIG_fail; | |
5522 | } | |
4f89f6a3 RD |
5523 | { |
5524 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5525 | } | |
d14a1e28 RD |
5526 | { |
5527 | if (temp7) | |
5528 | delete arg7; | |
5529 | } | |
5530 | return resultobj; | |
5531 | fail: | |
5532 | { | |
5533 | if (temp7) | |
5534 | delete arg7; | |
5535 | } | |
5536 | return NULL; | |
5537 | } | |
5538 | ||
5539 | ||
5540 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5541 | PyObject *resultobj; | |
5542 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5543 | wxWindow *result; | |
5544 | PyObject * obj0 = 0 ; | |
5545 | char *kwnames[] = { | |
5546 | (char *) "self", NULL | |
5547 | }; | |
5548 | ||
5549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5550 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5551 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5552 | { |
5553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5554 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
5555 | ||
5556 | wxPyEndAllowThreads(__tstate); | |
5557 | if (PyErr_Occurred()) SWIG_fail; | |
5558 | } | |
5559 | { | |
5560 | resultobj = wxPyMake_wxObject(result); | |
5561 | } | |
5562 | return resultobj; | |
5563 | fail: | |
5564 | return NULL; | |
5565 | } | |
5566 | ||
5567 | ||
5568 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5569 | PyObject *resultobj; | |
5570 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5571 | wxWindow *result; | |
5572 | PyObject * obj0 = 0 ; | |
5573 | char *kwnames[] = { | |
5574 | (char *) "self", NULL | |
5575 | }; | |
5576 | ||
5577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5578 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5579 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5580 | { |
5581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5582 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
5583 | ||
5584 | wxPyEndAllowThreads(__tstate); | |
5585 | if (PyErr_Occurred()) SWIG_fail; | |
5586 | } | |
5587 | { | |
5588 | resultobj = wxPyMake_wxObject(result); | |
5589 | } | |
5590 | return resultobj; | |
5591 | fail: | |
5592 | return NULL; | |
5593 | } | |
5594 | ||
5595 | ||
5596 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5597 | PyObject *resultobj; | |
5598 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5599 | int arg2 ; | |
5600 | PyObject * obj0 = 0 ; | |
994141e6 | 5601 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5602 | char *kwnames[] = { |
5603 | (char *) "self",(char *) "mode", NULL | |
5604 | }; | |
5605 | ||
994141e6 | 5606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5607 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5608 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5609 | arg2 = (int) SWIG_AsInt(obj1); | |
5610 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5611 | { |
5612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5613 | (arg1)->SetSplitMode(arg2); | |
5614 | ||
5615 | wxPyEndAllowThreads(__tstate); | |
5616 | if (PyErr_Occurred()) SWIG_fail; | |
5617 | } | |
5618 | Py_INCREF(Py_None); resultobj = Py_None; | |
5619 | return resultobj; | |
5620 | fail: | |
5621 | return NULL; | |
5622 | } | |
5623 | ||
5624 | ||
5625 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5626 | PyObject *resultobj; | |
5627 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5628 | int result; | |
5629 | PyObject * obj0 = 0 ; | |
5630 | char *kwnames[] = { | |
5631 | (char *) "self", NULL | |
5632 | }; | |
5633 | ||
5634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5635 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5636 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5637 | { |
5638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5639 | result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode(); | |
5640 | ||
5641 | wxPyEndAllowThreads(__tstate); | |
5642 | if (PyErr_Occurred()) SWIG_fail; | |
5643 | } | |
15afbcd0 | 5644 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5645 | return resultobj; |
5646 | fail: | |
5647 | return NULL; | |
5648 | } | |
5649 | ||
5650 | ||
5651 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5652 | PyObject *resultobj; | |
5653 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5654 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5655 | PyObject * obj0 = 0 ; | |
5656 | PyObject * obj1 = 0 ; | |
5657 | char *kwnames[] = { | |
5658 | (char *) "self",(char *) "window", NULL | |
5659 | }; | |
5660 | ||
5661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5662 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5663 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5664 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5665 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5666 | { |
5667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5668 | (arg1)->Initialize(arg2); | |
5669 | ||
5670 | wxPyEndAllowThreads(__tstate); | |
5671 | if (PyErr_Occurred()) SWIG_fail; | |
5672 | } | |
5673 | Py_INCREF(Py_None); resultobj = Py_None; | |
5674 | return resultobj; | |
5675 | fail: | |
5676 | return NULL; | |
5677 | } | |
5678 | ||
5679 | ||
5680 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5681 | PyObject *resultobj; | |
5682 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5683 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5684 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5685 | int arg4 = (int) 0 ; | |
5686 | bool result; | |
5687 | PyObject * obj0 = 0 ; | |
5688 | PyObject * obj1 = 0 ; | |
5689 | PyObject * obj2 = 0 ; | |
994141e6 | 5690 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5691 | char *kwnames[] = { |
5692 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5693 | }; | |
5694 | ||
994141e6 | 5695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
5696 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5697 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5698 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5699 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5700 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5702 | if (obj3) { |
15afbcd0 RD |
5703 | arg4 = (int) SWIG_AsInt(obj3); |
5704 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5705 | } |
d14a1e28 RD |
5706 | { |
5707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5708 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
5709 | ||
5710 | wxPyEndAllowThreads(__tstate); | |
5711 | if (PyErr_Occurred()) SWIG_fail; | |
5712 | } | |
4f89f6a3 RD |
5713 | { |
5714 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5715 | } | |
d14a1e28 RD |
5716 | return resultobj; |
5717 | fail: | |
5718 | return NULL; | |
5719 | } | |
5720 | ||
5721 | ||
5722 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5723 | PyObject *resultobj; | |
5724 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5725 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5726 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5727 | int arg4 = (int) 0 ; | |
5728 | bool result; | |
5729 | PyObject * obj0 = 0 ; | |
5730 | PyObject * obj1 = 0 ; | |
5731 | PyObject * obj2 = 0 ; | |
994141e6 | 5732 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5733 | char *kwnames[] = { |
5734 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5735 | }; | |
5736 | ||
994141e6 | 5737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
5738 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5739 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5740 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5741 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5742 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5744 | if (obj3) { |
15afbcd0 RD |
5745 | arg4 = (int) SWIG_AsInt(obj3); |
5746 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5747 | } |
d14a1e28 RD |
5748 | { |
5749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5750 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
5751 | ||
5752 | wxPyEndAllowThreads(__tstate); | |
5753 | if (PyErr_Occurred()) SWIG_fail; | |
5754 | } | |
4f89f6a3 RD |
5755 | { |
5756 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5757 | } | |
d14a1e28 RD |
5758 | return resultobj; |
5759 | fail: | |
5760 | return NULL; | |
5761 | } | |
5762 | ||
5763 | ||
5764 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5765 | PyObject *resultobj; | |
5766 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5767 | wxWindow *arg2 = (wxWindow *) NULL ; | |
5768 | bool result; | |
5769 | PyObject * obj0 = 0 ; | |
5770 | PyObject * obj1 = 0 ; | |
5771 | char *kwnames[] = { | |
5772 | (char *) "self",(char *) "toRemove", NULL | |
5773 | }; | |
5774 | ||
5775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 5778 | if (obj1) { |
15afbcd0 RD |
5779 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
5780 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5781 | } |
5782 | { | |
5783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5784 | result = (bool)(arg1)->Unsplit(arg2); | |
5785 | ||
5786 | wxPyEndAllowThreads(__tstate); | |
5787 | if (PyErr_Occurred()) SWIG_fail; | |
5788 | } | |
4f89f6a3 RD |
5789 | { |
5790 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5791 | } | |
d14a1e28 RD |
5792 | return resultobj; |
5793 | fail: | |
5794 | return NULL; | |
5795 | } | |
5796 | ||
5797 | ||
5798 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5799 | PyObject *resultobj; | |
5800 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5801 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5802 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5803 | bool result; | |
5804 | PyObject * obj0 = 0 ; | |
5805 | PyObject * obj1 = 0 ; | |
5806 | PyObject * obj2 = 0 ; | |
5807 | char *kwnames[] = { | |
5808 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
5809 | }; | |
5810 | ||
5811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
5812 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5813 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5814 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5815 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5816 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5817 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5818 | { |
5819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5820 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
5821 | ||
5822 | wxPyEndAllowThreads(__tstate); | |
5823 | if (PyErr_Occurred()) SWIG_fail; | |
5824 | } | |
4f89f6a3 RD |
5825 | { |
5826 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5827 | } | |
d14a1e28 RD |
5828 | return resultobj; |
5829 | fail: | |
5830 | return NULL; | |
5831 | } | |
5832 | ||
5833 | ||
d00d1b88 RD |
5834 | static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
5835 | PyObject *resultobj; | |
5836 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5837 | PyObject * obj0 = 0 ; | |
5838 | char *kwnames[] = { | |
5839 | (char *) "self", NULL | |
5840 | }; | |
5841 | ||
5842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail; | |
5843 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
5844 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5845 | { | |
5846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5847 | (arg1)->UpdateSize(); | |
5848 | ||
5849 | wxPyEndAllowThreads(__tstate); | |
5850 | if (PyErr_Occurred()) SWIG_fail; | |
5851 | } | |
5852 | Py_INCREF(Py_None); resultobj = Py_None; | |
5853 | return resultobj; | |
5854 | fail: | |
5855 | return NULL; | |
5856 | } | |
5857 | ||
5858 | ||
d14a1e28 RD |
5859 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) { |
5860 | PyObject *resultobj; | |
5861 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5862 | bool result; | |
5863 | PyObject * obj0 = 0 ; | |
5864 | char *kwnames[] = { | |
5865 | (char *) "self", NULL | |
5866 | }; | |
5867 | ||
5868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5869 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5870 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5871 | { |
5872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5873 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
5874 | ||
5875 | wxPyEndAllowThreads(__tstate); | |
5876 | if (PyErr_Occurred()) SWIG_fail; | |
5877 | } | |
4f89f6a3 RD |
5878 | { |
5879 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5880 | } | |
d14a1e28 RD |
5881 | return resultobj; |
5882 | fail: | |
5883 | return NULL; | |
5884 | } | |
5885 | ||
5886 | ||
5887 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5888 | PyObject *resultobj; | |
5889 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5890 | int arg2 ; | |
5891 | PyObject * obj0 = 0 ; | |
994141e6 | 5892 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5893 | char *kwnames[] = { |
5894 | (char *) "self",(char *) "width", NULL | |
5895 | }; | |
5896 | ||
994141e6 | 5897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5898 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5899 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5900 | arg2 = (int) SWIG_AsInt(obj1); | |
5901 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5902 | { |
5903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5904 | (arg1)->SetSashSize(arg2); | |
5905 | ||
5906 | wxPyEndAllowThreads(__tstate); | |
5907 | if (PyErr_Occurred()) SWIG_fail; | |
5908 | } | |
5909 | Py_INCREF(Py_None); resultobj = Py_None; | |
5910 | return resultobj; | |
5911 | fail: | |
5912 | return NULL; | |
5913 | } | |
5914 | ||
5915 | ||
5916 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5917 | PyObject *resultobj; | |
5918 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5919 | int arg2 ; | |
5920 | PyObject * obj0 = 0 ; | |
994141e6 | 5921 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5922 | char *kwnames[] = { |
5923 | (char *) "self",(char *) "width", NULL | |
5924 | }; | |
5925 | ||
994141e6 | 5926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5927 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5928 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5929 | arg2 = (int) SWIG_AsInt(obj1); | |
5930 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5931 | { |
5932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5933 | (arg1)->SetBorderSize(arg2); | |
5934 | ||
5935 | wxPyEndAllowThreads(__tstate); | |
5936 | if (PyErr_Occurred()) SWIG_fail; | |
5937 | } | |
5938 | Py_INCREF(Py_None); resultobj = Py_None; | |
5939 | return resultobj; | |
5940 | fail: | |
5941 | return NULL; | |
5942 | } | |
5943 | ||
5944 | ||
5945 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5946 | PyObject *resultobj; | |
5947 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5948 | int result; | |
5949 | PyObject * obj0 = 0 ; | |
5950 | char *kwnames[] = { | |
5951 | (char *) "self", NULL | |
5952 | }; | |
5953 | ||
5954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5957 | { |
5958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5959 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
5960 | ||
5961 | wxPyEndAllowThreads(__tstate); | |
5962 | if (PyErr_Occurred()) SWIG_fail; | |
5963 | } | |
15afbcd0 | 5964 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5965 | return resultobj; |
5966 | fail: | |
5967 | return NULL; | |
5968 | } | |
5969 | ||
5970 | ||
5971 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5972 | PyObject *resultobj; | |
5973 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5974 | int result; | |
5975 | PyObject * obj0 = 0 ; | |
5976 | char *kwnames[] = { | |
5977 | (char *) "self", NULL | |
5978 | }; | |
5979 | ||
5980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5983 | { |
5984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5985 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
5986 | ||
5987 | wxPyEndAllowThreads(__tstate); | |
5988 | if (PyErr_Occurred()) SWIG_fail; | |
5989 | } | |
15afbcd0 | 5990 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5991 | return resultobj; |
5992 | fail: | |
5993 | return NULL; | |
5994 | } | |
5995 | ||
5996 | ||
5997 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5998 | PyObject *resultobj; | |
5999 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6000 | int arg2 ; | |
e811c8ce | 6001 | bool arg3 = (bool) True ; |
d14a1e28 | 6002 | PyObject * obj0 = 0 ; |
994141e6 | 6003 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6004 | PyObject * obj2 = 0 ; |
6005 | char *kwnames[] = { | |
6006 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
6007 | }; | |
6008 | ||
994141e6 | 6009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6010 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6011 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6012 | arg2 = (int) SWIG_AsInt(obj1); | |
6013 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 | 6014 | if (obj2) { |
15afbcd0 RD |
6015 | arg3 = (bool) SWIG_AsBool(obj2); |
6016 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6017 | } |
6018 | { | |
6019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6020 | (arg1)->SetSashPosition(arg2,arg3); | |
6021 | ||
6022 | wxPyEndAllowThreads(__tstate); | |
6023 | if (PyErr_Occurred()) SWIG_fail; | |
6024 | } | |
6025 | Py_INCREF(Py_None); resultobj = Py_None; | |
6026 | return resultobj; | |
6027 | fail: | |
6028 | return NULL; | |
6029 | } | |
6030 | ||
6031 | ||
6032 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6033 | PyObject *resultobj; | |
6034 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6035 | int result; | |
6036 | PyObject * obj0 = 0 ; | |
6037 | char *kwnames[] = { | |
6038 | (char *) "self", NULL | |
6039 | }; | |
6040 | ||
6041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6042 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6043 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6044 | { |
6045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6046 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
6047 | ||
6048 | wxPyEndAllowThreads(__tstate); | |
6049 | if (PyErr_Occurred()) SWIG_fail; | |
6050 | } | |
15afbcd0 | 6051 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6052 | return resultobj; |
6053 | fail: | |
6054 | return NULL; | |
6055 | } | |
6056 | ||
6057 | ||
6058 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6059 | PyObject *resultobj; | |
6060 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6061 | int arg2 ; | |
6062 | PyObject * obj0 = 0 ; | |
994141e6 | 6063 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6064 | char *kwnames[] = { |
6065 | (char *) "self",(char *) "min", NULL | |
6066 | }; | |
6067 | ||
994141e6 | 6068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6069 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6071 | arg2 = (int) SWIG_AsInt(obj1); | |
6072 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6073 | { |
6074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6075 | (arg1)->SetMinimumPaneSize(arg2); | |
6076 | ||
6077 | wxPyEndAllowThreads(__tstate); | |
6078 | if (PyErr_Occurred()) SWIG_fail; | |
6079 | } | |
6080 | Py_INCREF(Py_None); resultobj = Py_None; | |
6081 | return resultobj; | |
6082 | fail: | |
6083 | return NULL; | |
6084 | } | |
6085 | ||
6086 | ||
6087 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6088 | PyObject *resultobj; | |
6089 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6090 | int result; | |
6091 | PyObject * obj0 = 0 ; | |
6092 | char *kwnames[] = { | |
6093 | (char *) "self", NULL | |
6094 | }; | |
6095 | ||
6096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6097 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6098 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6099 | { |
6100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6101 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
6102 | ||
6103 | wxPyEndAllowThreads(__tstate); | |
6104 | if (PyErr_Occurred()) SWIG_fail; | |
6105 | } | |
15afbcd0 | 6106 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6107 | return resultobj; |
6108 | fail: | |
6109 | return NULL; | |
6110 | } | |
6111 | ||
6112 | ||
6113 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6114 | PyObject *resultobj; | |
6115 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6116 | int arg2 ; | |
6117 | int arg3 ; | |
6118 | int arg4 = (int) 5 ; | |
6119 | bool result; | |
6120 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6121 | PyObject * obj1 = 0 ; |
6122 | PyObject * obj2 = 0 ; | |
6123 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
6124 | char *kwnames[] = { |
6125 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
6126 | }; | |
6127 | ||
994141e6 | 6128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
6129 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6130 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6131 | arg2 = (int) SWIG_AsInt(obj1); | |
6132 | if (PyErr_Occurred()) SWIG_fail; | |
6133 | arg3 = (int) SWIG_AsInt(obj2); | |
6134 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6135 | if (obj3) { |
15afbcd0 RD |
6136 | arg4 = (int) SWIG_AsInt(obj3); |
6137 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6138 | } |
d14a1e28 RD |
6139 | { |
6140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6141 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
6142 | ||
6143 | wxPyEndAllowThreads(__tstate); | |
6144 | if (PyErr_Occurred()) SWIG_fail; | |
6145 | } | |
4f89f6a3 RD |
6146 | { |
6147 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6148 | } | |
d14a1e28 RD |
6149 | return resultobj; |
6150 | fail: | |
6151 | return NULL; | |
6152 | } | |
6153 | ||
6154 | ||
6155 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6156 | PyObject *resultobj; | |
6157 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6158 | PyObject * obj0 = 0 ; | |
6159 | char *kwnames[] = { | |
6160 | (char *) "self", NULL | |
6161 | }; | |
6162 | ||
6163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6164 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6165 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6166 | { |
6167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6168 | (arg1)->SizeWindows(); | |
6169 | ||
6170 | wxPyEndAllowThreads(__tstate); | |
6171 | if (PyErr_Occurred()) SWIG_fail; | |
6172 | } | |
6173 | Py_INCREF(Py_None); resultobj = Py_None; | |
6174 | return resultobj; | |
6175 | fail: | |
6176 | return NULL; | |
6177 | } | |
6178 | ||
6179 | ||
6180 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6181 | PyObject *resultobj; | |
6182 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6183 | bool arg2 ; | |
6184 | PyObject * obj0 = 0 ; | |
6185 | PyObject * obj1 = 0 ; | |
6186 | char *kwnames[] = { | |
6187 | (char *) "self",(char *) "needUpdating", NULL | |
6188 | }; | |
6189 | ||
6190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6191 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6192 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6193 | arg2 = (bool) SWIG_AsBool(obj1); | |
6194 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6195 | { |
6196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6197 | (arg1)->SetNeedUpdating(arg2); | |
6198 | ||
6199 | wxPyEndAllowThreads(__tstate); | |
6200 | if (PyErr_Occurred()) SWIG_fail; | |
6201 | } | |
6202 | Py_INCREF(Py_None); resultobj = Py_None; | |
6203 | return resultobj; | |
6204 | fail: | |
6205 | return NULL; | |
6206 | } | |
6207 | ||
6208 | ||
6209 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6210 | PyObject *resultobj; | |
6211 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6212 | bool result; | |
6213 | PyObject * obj0 = 0 ; | |
6214 | char *kwnames[] = { | |
6215 | (char *) "self", NULL | |
6216 | }; | |
6217 | ||
6218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6219 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6220 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6221 | { |
6222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6223 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
6224 | ||
6225 | wxPyEndAllowThreads(__tstate); | |
6226 | if (PyErr_Occurred()) SWIG_fail; | |
6227 | } | |
4f89f6a3 RD |
6228 | { |
6229 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6230 | } | |
d14a1e28 RD |
6231 | return resultobj; |
6232 | fail: | |
6233 | return NULL; | |
6234 | } | |
6235 | ||
6236 | ||
6237 | static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) { | |
6238 | PyObject *obj; | |
6239 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6240 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
6241 | Py_INCREF(obj); | |
6242 | return Py_BuildValue((char *)""); | |
6243 | } | |
6244 | static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6245 | PyObject *resultobj; | |
6246 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
6247 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
6248 | wxSplitterEvent *result; | |
994141e6 | 6249 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
6250 | PyObject * obj1 = 0 ; |
6251 | char *kwnames[] = { | |
6252 | (char *) "type",(char *) "splitter", NULL | |
6253 | }; | |
6254 | ||
994141e6 RD |
6255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; |
6256 | if (obj0) { | |
15afbcd0 RD |
6257 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
6258 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6259 | } |
d14a1e28 | 6260 | if (obj1) { |
15afbcd0 RD |
6261 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow, |
6262 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6263 | } |
6264 | { | |
6265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6266 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
6267 | ||
6268 | wxPyEndAllowThreads(__tstate); | |
6269 | if (PyErr_Occurred()) SWIG_fail; | |
6270 | } | |
15afbcd0 | 6271 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); |
d14a1e28 RD |
6272 | return resultobj; |
6273 | fail: | |
6274 | return NULL; | |
6275 | } | |
6276 | ||
6277 | ||
6278 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6279 | PyObject *resultobj; | |
6280 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6281 | int arg2 ; | |
6282 | PyObject * obj0 = 0 ; | |
994141e6 | 6283 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6284 | char *kwnames[] = { |
6285 | (char *) "self",(char *) "pos", NULL | |
6286 | }; | |
6287 | ||
994141e6 | 6288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6289 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6290 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6291 | arg2 = (int) SWIG_AsInt(obj1); | |
6292 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6293 | { |
6294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6295 | (arg1)->SetSashPosition(arg2); | |
6296 | ||
6297 | wxPyEndAllowThreads(__tstate); | |
6298 | if (PyErr_Occurred()) SWIG_fail; | |
6299 | } | |
6300 | Py_INCREF(Py_None); resultobj = Py_None; | |
6301 | return resultobj; | |
6302 | fail: | |
6303 | return NULL; | |
6304 | } | |
6305 | ||
6306 | ||
6307 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6308 | PyObject *resultobj; | |
6309 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6310 | int result; | |
6311 | PyObject * obj0 = 0 ; | |
6312 | char *kwnames[] = { | |
6313 | (char *) "self", NULL | |
6314 | }; | |
6315 | ||
6316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6317 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6318 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6319 | { |
6320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6321 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
6322 | ||
6323 | wxPyEndAllowThreads(__tstate); | |
6324 | if (PyErr_Occurred()) SWIG_fail; | |
6325 | } | |
15afbcd0 | 6326 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6327 | return resultobj; |
6328 | fail: | |
6329 | return NULL; | |
6330 | } | |
6331 | ||
6332 | ||
6333 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6334 | PyObject *resultobj; | |
6335 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6336 | wxWindow *result; | |
6337 | PyObject * obj0 = 0 ; | |
6338 | char *kwnames[] = { | |
6339 | (char *) "self", NULL | |
6340 | }; | |
6341 | ||
6342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6343 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6344 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6345 | { |
6346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6347 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
6348 | ||
6349 | wxPyEndAllowThreads(__tstate); | |
6350 | if (PyErr_Occurred()) SWIG_fail; | |
6351 | } | |
6352 | { | |
6353 | resultobj = wxPyMake_wxObject(result); | |
6354 | } | |
6355 | return resultobj; | |
6356 | fail: | |
6357 | return NULL; | |
6358 | } | |
6359 | ||
6360 | ||
6361 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6362 | PyObject *resultobj; | |
6363 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6364 | int result; | |
6365 | PyObject * obj0 = 0 ; | |
6366 | char *kwnames[] = { | |
6367 | (char *) "self", NULL | |
6368 | }; | |
6369 | ||
6370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6371 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6372 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6373 | { |
6374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6375 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
6376 | ||
6377 | wxPyEndAllowThreads(__tstate); | |
6378 | if (PyErr_Occurred()) SWIG_fail; | |
6379 | } | |
15afbcd0 | 6380 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6381 | return resultobj; |
6382 | fail: | |
6383 | return NULL; | |
6384 | } | |
6385 | ||
6386 | ||
6387 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6388 | PyObject *resultobj; | |
6389 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6390 | int result; | |
6391 | PyObject * obj0 = 0 ; | |
6392 | char *kwnames[] = { | |
6393 | (char *) "self", NULL | |
6394 | }; | |
6395 | ||
6396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6397 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6399 | { |
6400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6401 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
6402 | ||
6403 | wxPyEndAllowThreads(__tstate); | |
6404 | if (PyErr_Occurred()) SWIG_fail; | |
6405 | } | |
15afbcd0 | 6406 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6407 | return resultobj; |
6408 | fail: | |
6409 | return NULL; | |
6410 | } | |
6411 | ||
6412 | ||
6413 | static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) { | |
6414 | PyObject *obj; | |
6415 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6416 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
6417 | Py_INCREF(obj); | |
6418 | return Py_BuildValue((char *)""); | |
6419 | } | |
b2dc1044 RD |
6420 | static int _wrap_SashNameStr_set(PyObject *_val) { |
6421 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); | |
6422 | return 1; | |
6423 | } | |
6424 | ||
6425 | ||
6426 | static PyObject *_wrap_SashNameStr_get() { | |
6427 | PyObject *pyobj; | |
6428 | ||
6429 | { | |
6430 | #if wxUSE_UNICODE | |
6431 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6432 | #else | |
6433 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6434 | #endif | |
6435 | } | |
6436 | return pyobj; | |
6437 | } | |
6438 | ||
6439 | ||
6440 | static int _wrap_SashLayoutNameStr_set(PyObject *_val) { | |
6441 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); | |
6442 | return 1; | |
6443 | } | |
6444 | ||
6445 | ||
6446 | static PyObject *_wrap_SashLayoutNameStr_get() { | |
6447 | PyObject *pyobj; | |
6448 | ||
6449 | { | |
6450 | #if wxUSE_UNICODE | |
6451 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6452 | #else | |
6453 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6454 | #endif | |
6455 | } | |
6456 | return pyobj; | |
6457 | } | |
6458 | ||
6459 | ||
d14a1e28 RD |
6460 | static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
6461 | PyObject *resultobj; | |
6462 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 6463 | int arg2 ; |
d14a1e28 RD |
6464 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
6465 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
6466 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
6467 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
6468 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6469 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
6470 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
6471 | wxSashWindow *result; | |
6472 | wxPoint temp3 ; | |
6473 | wxSize temp4 ; | |
e811c8ce | 6474 | bool temp6 = False ; |
d14a1e28 | 6475 | PyObject * obj0 = 0 ; |
994141e6 | 6476 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6477 | PyObject * obj2 = 0 ; |
6478 | PyObject * obj3 = 0 ; | |
994141e6 | 6479 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
6480 | PyObject * obj5 = 0 ; |
6481 | char *kwnames[] = { | |
6482 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6483 | }; | |
6484 | ||
994141e6 | 6485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
6486 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
6487 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6488 | arg2 = (int) SWIG_AsInt(obj1); | |
6489 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6490 | if (obj2) { |
6491 | { | |
6492 | arg3 = &temp3; | |
6493 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
6494 | } | |
6495 | } | |
6496 | if (obj3) { | |
6497 | { | |
6498 | arg4 = &temp4; | |
6499 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
6500 | } | |
6501 | } | |
994141e6 | 6502 | if (obj4) { |
15afbcd0 RD |
6503 | arg5 = (long) SWIG_AsLong(obj4); |
6504 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6505 | } |
d14a1e28 RD |
6506 | if (obj5) { |
6507 | { | |
6508 | arg6 = wxString_in_helper(obj5); | |
6509 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 6510 | temp6 = True; |
d14a1e28 RD |
6511 | } |
6512 | } | |
6513 | { | |
6514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6515 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
6516 | ||
6517 | wxPyEndAllowThreads(__tstate); | |
6518 | if (PyErr_Occurred()) SWIG_fail; | |
6519 | } | |
15afbcd0 | 6520 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
6521 | { |
6522 | if (temp6) | |
6523 | delete arg6; | |
6524 | } | |
6525 | return resultobj; | |
6526 | fail: | |
6527 | { | |
6528 | if (temp6) | |
6529 | delete arg6; | |
6530 | } | |
6531 | return NULL; | |
6532 | } | |
6533 | ||
6534 | ||
6535 | static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6536 | PyObject *resultobj; | |
6537 | wxSashWindow *result; | |
6538 | char *kwnames[] = { | |
6539 | NULL | |
6540 | }; | |
6541 | ||
6542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
6543 | { | |
6544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6545 | result = (wxSashWindow *)new wxSashWindow(); | |
6546 | ||
6547 | wxPyEndAllowThreads(__tstate); | |
6548 | if (PyErr_Occurred()) SWIG_fail; | |
6549 | } | |
15afbcd0 | 6550 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
6551 | return resultobj; |
6552 | fail: | |
6553 | return NULL; | |
6554 | } | |
6555 | ||
6556 | ||
6557 | static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6558 | PyObject *resultobj; | |
6559 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6560 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 6561 | int arg3 ; |
d14a1e28 RD |
6562 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6563 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6564 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6565 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6566 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6567 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
6568 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6569 | bool result; | |
6570 | wxPoint temp4 ; | |
6571 | wxSize temp5 ; | |
e811c8ce | 6572 | bool temp7 = False ; |
d14a1e28 RD |
6573 | PyObject * obj0 = 0 ; |
6574 | PyObject * obj1 = 0 ; | |
994141e6 | 6575 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6576 | PyObject * obj3 = 0 ; |
6577 | PyObject * obj4 = 0 ; | |
994141e6 | 6578 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6579 | PyObject * obj6 = 0 ; |
6580 | char *kwnames[] = { | |
6581 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6582 | }; | |
6583 | ||
994141e6 | 6584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
6585 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6586 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6587 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6588 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6589 | arg3 = (int) SWIG_AsInt(obj2); | |
6590 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6591 | if (obj3) { |
6592 | { | |
6593 | arg4 = &temp4; | |
6594 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6595 | } | |
6596 | } | |
6597 | if (obj4) { | |
6598 | { | |
6599 | arg5 = &temp5; | |
6600 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6601 | } | |
6602 | } | |
994141e6 | 6603 | if (obj5) { |
15afbcd0 RD |
6604 | arg6 = (long) SWIG_AsLong(obj5); |
6605 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6606 | } |
d14a1e28 RD |
6607 | if (obj6) { |
6608 | { | |
6609 | arg7 = wxString_in_helper(obj6); | |
6610 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 6611 | temp7 = True; |
d14a1e28 RD |
6612 | } |
6613 | } | |
6614 | { | |
6615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6616 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6617 | ||
6618 | wxPyEndAllowThreads(__tstate); | |
6619 | if (PyErr_Occurred()) SWIG_fail; | |
6620 | } | |
4f89f6a3 RD |
6621 | { |
6622 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6623 | } | |
d14a1e28 RD |
6624 | { |
6625 | if (temp7) | |
6626 | delete arg7; | |
6627 | } | |
6628 | return resultobj; | |
6629 | fail: | |
6630 | { | |
6631 | if (temp7) | |
6632 | delete arg7; | |
6633 | } | |
6634 | return NULL; | |
6635 | } | |
6636 | ||
6637 | ||
6638 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6639 | PyObject *resultobj; | |
6640 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6641 | int arg2 ; | |
6642 | bool arg3 ; | |
6643 | PyObject * obj0 = 0 ; | |
994141e6 | 6644 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6645 | PyObject * obj2 = 0 ; |
6646 | char *kwnames[] = { | |
6647 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
6648 | }; | |
6649 | ||
994141e6 | 6650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6651 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6652 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6653 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6654 | if (PyErr_Occurred()) SWIG_fail; | |
6655 | arg3 = (bool) SWIG_AsBool(obj2); | |
6656 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6657 | { |
6658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6659 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
6660 | ||
6661 | wxPyEndAllowThreads(__tstate); | |
6662 | if (PyErr_Occurred()) SWIG_fail; | |
6663 | } | |
6664 | Py_INCREF(Py_None); resultobj = Py_None; | |
6665 | return resultobj; | |
6666 | fail: | |
6667 | return NULL; | |
6668 | } | |
6669 | ||
6670 | ||
6671 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6672 | PyObject *resultobj; | |
6673 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6674 | int arg2 ; | |
6675 | bool result; | |
6676 | PyObject * obj0 = 0 ; | |
994141e6 | 6677 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6678 | char *kwnames[] = { |
6679 | (char *) "self",(char *) "edge", NULL | |
6680 | }; | |
6681 | ||
994141e6 | 6682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6685 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6686 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6687 | { |
6688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6689 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
6690 | ||
6691 | wxPyEndAllowThreads(__tstate); | |
6692 | if (PyErr_Occurred()) SWIG_fail; | |
6693 | } | |
4f89f6a3 RD |
6694 | { |
6695 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6696 | } | |
d14a1e28 RD |
6697 | return resultobj; |
6698 | fail: | |
6699 | return NULL; | |
6700 | } | |
6701 | ||
6702 | ||
6703 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6704 | PyObject *resultobj; | |
6705 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6706 | int arg2 ; | |
6707 | bool arg3 ; | |
6708 | PyObject * obj0 = 0 ; | |
994141e6 | 6709 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6710 | PyObject * obj2 = 0 ; |
6711 | char *kwnames[] = { | |
6712 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
6713 | }; | |
6714 | ||
994141e6 | 6715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6716 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6717 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6718 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6719 | if (PyErr_Occurred()) SWIG_fail; | |
6720 | arg3 = (bool) SWIG_AsBool(obj2); | |
6721 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6722 | { |
6723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6724 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
6725 | ||
6726 | wxPyEndAllowThreads(__tstate); | |
6727 | if (PyErr_Occurred()) SWIG_fail; | |
6728 | } | |
6729 | Py_INCREF(Py_None); resultobj = Py_None; | |
6730 | return resultobj; | |
6731 | fail: | |
6732 | return NULL; | |
6733 | } | |
6734 | ||
6735 | ||
6736 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6737 | PyObject *resultobj; | |
6738 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6739 | int arg2 ; | |
6740 | bool result; | |
6741 | PyObject * obj0 = 0 ; | |
994141e6 | 6742 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6743 | char *kwnames[] = { |
6744 | (char *) "self",(char *) "edge", NULL | |
6745 | }; | |
6746 | ||
994141e6 | 6747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6748 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6749 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6750 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6751 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6752 | { |
6753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6754 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
6755 | ||
6756 | wxPyEndAllowThreads(__tstate); | |
6757 | if (PyErr_Occurred()) SWIG_fail; | |
6758 | } | |
4f89f6a3 RD |
6759 | { |
6760 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6761 | } | |
d14a1e28 RD |
6762 | return resultobj; |
6763 | fail: | |
6764 | return NULL; | |
6765 | } | |
6766 | ||
6767 | ||
6768 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6769 | PyObject *resultobj; | |
6770 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6771 | int arg2 ; | |
6772 | int result; | |
6773 | PyObject * obj0 = 0 ; | |
994141e6 | 6774 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6775 | char *kwnames[] = { |
6776 | (char *) "self",(char *) "edge", NULL | |
6777 | }; | |
6778 | ||
994141e6 | 6779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6780 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6781 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6782 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6783 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6784 | { |
6785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6786 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
6787 | ||
6788 | wxPyEndAllowThreads(__tstate); | |
6789 | if (PyErr_Occurred()) SWIG_fail; | |
6790 | } | |
15afbcd0 | 6791 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6792 | return resultobj; |
6793 | fail: | |
6794 | return NULL; | |
6795 | } | |
6796 | ||
6797 | ||
6798 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6799 | PyObject *resultobj; | |
6800 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6801 | int arg2 ; | |
6802 | PyObject * obj0 = 0 ; | |
994141e6 | 6803 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6804 | char *kwnames[] = { |
6805 | (char *) "self",(char *) "width", NULL | |
6806 | }; | |
6807 | ||
994141e6 | 6808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6809 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6810 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6811 | arg2 = (int) SWIG_AsInt(obj1); | |
6812 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6813 | { |
6814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6815 | (arg1)->SetDefaultBorderSize(arg2); | |
6816 | ||
6817 | wxPyEndAllowThreads(__tstate); | |
6818 | if (PyErr_Occurred()) SWIG_fail; | |
6819 | } | |
6820 | Py_INCREF(Py_None); resultobj = Py_None; | |
6821 | return resultobj; | |
6822 | fail: | |
6823 | return NULL; | |
6824 | } | |
6825 | ||
6826 | ||
6827 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6828 | PyObject *resultobj; | |
6829 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6830 | int result; | |
6831 | PyObject * obj0 = 0 ; | |
6832 | char *kwnames[] = { | |
6833 | (char *) "self", NULL | |
6834 | }; | |
6835 | ||
6836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6837 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6838 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6839 | { |
6840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6841 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
6842 | ||
6843 | wxPyEndAllowThreads(__tstate); | |
6844 | if (PyErr_Occurred()) SWIG_fail; | |
6845 | } | |
15afbcd0 | 6846 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6847 | return resultobj; |
6848 | fail: | |
6849 | return NULL; | |
6850 | } | |
6851 | ||
6852 | ||
6853 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6854 | PyObject *resultobj; | |
6855 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6856 | int arg2 ; | |
6857 | PyObject * obj0 = 0 ; | |
994141e6 | 6858 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6859 | char *kwnames[] = { |
6860 | (char *) "self",(char *) "width", NULL | |
6861 | }; | |
6862 | ||
994141e6 | 6863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6864 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6865 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6866 | arg2 = (int) SWIG_AsInt(obj1); | |
6867 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6868 | { |
6869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6870 | (arg1)->SetExtraBorderSize(arg2); | |
6871 | ||
6872 | wxPyEndAllowThreads(__tstate); | |
6873 | if (PyErr_Occurred()) SWIG_fail; | |
6874 | } | |
6875 | Py_INCREF(Py_None); resultobj = Py_None; | |
6876 | return resultobj; | |
6877 | fail: | |
6878 | return NULL; | |
6879 | } | |
6880 | ||
6881 | ||
6882 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6883 | PyObject *resultobj; | |
6884 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6885 | int result; | |
6886 | PyObject * obj0 = 0 ; | |
6887 | char *kwnames[] = { | |
6888 | (char *) "self", NULL | |
6889 | }; | |
6890 | ||
6891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6892 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6893 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6894 | { |
6895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6896 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
6897 | ||
6898 | wxPyEndAllowThreads(__tstate); | |
6899 | if (PyErr_Occurred()) SWIG_fail; | |
6900 | } | |
15afbcd0 | 6901 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6902 | return resultobj; |
6903 | fail: | |
6904 | return NULL; | |
6905 | } | |
6906 | ||
6907 | ||
6908 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6909 | PyObject *resultobj; | |
6910 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6911 | int arg2 ; | |
6912 | PyObject * obj0 = 0 ; | |
994141e6 | 6913 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6914 | char *kwnames[] = { |
6915 | (char *) "self",(char *) "min", NULL | |
6916 | }; | |
6917 | ||
994141e6 | 6918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6919 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6920 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6921 | arg2 = (int) SWIG_AsInt(obj1); | |
6922 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6923 | { |
6924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6925 | (arg1)->SetMinimumSizeX(arg2); | |
6926 | ||
6927 | wxPyEndAllowThreads(__tstate); | |
6928 | if (PyErr_Occurred()) SWIG_fail; | |
6929 | } | |
6930 | Py_INCREF(Py_None); resultobj = Py_None; | |
6931 | return resultobj; | |
6932 | fail: | |
6933 | return NULL; | |
6934 | } | |
6935 | ||
6936 | ||
6937 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6938 | PyObject *resultobj; | |
6939 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6940 | int arg2 ; | |
6941 | PyObject * obj0 = 0 ; | |
994141e6 | 6942 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6943 | char *kwnames[] = { |
6944 | (char *) "self",(char *) "min", NULL | |
6945 | }; | |
6946 | ||
994141e6 | 6947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6948 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6949 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6950 | arg2 = (int) SWIG_AsInt(obj1); | |
6951 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6952 | { |
6953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6954 | (arg1)->SetMinimumSizeY(arg2); | |
6955 | ||
6956 | wxPyEndAllowThreads(__tstate); | |
6957 | if (PyErr_Occurred()) SWIG_fail; | |
6958 | } | |
6959 | Py_INCREF(Py_None); resultobj = Py_None; | |
6960 | return resultobj; | |
6961 | fail: | |
6962 | return NULL; | |
6963 | } | |
6964 | ||
6965 | ||
6966 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6967 | PyObject *resultobj; | |
6968 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6969 | int result; | |
6970 | PyObject * obj0 = 0 ; | |
6971 | char *kwnames[] = { | |
6972 | (char *) "self", NULL | |
6973 | }; | |
6974 | ||
6975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6976 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6977 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6978 | { |
6979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6980 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
6981 | ||
6982 | wxPyEndAllowThreads(__tstate); | |
6983 | if (PyErr_Occurred()) SWIG_fail; | |
6984 | } | |
15afbcd0 | 6985 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6986 | return resultobj; |
6987 | fail: | |
6988 | return NULL; | |
6989 | } | |
6990 | ||
6991 | ||
6992 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6993 | PyObject *resultobj; | |
6994 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6995 | int result; | |
6996 | PyObject * obj0 = 0 ; | |
6997 | char *kwnames[] = { | |
6998 | (char *) "self", NULL | |
6999 | }; | |
7000 | ||
7001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7002 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7003 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7004 | { |
7005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7006 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
7007 | ||
7008 | wxPyEndAllowThreads(__tstate); | |
7009 | if (PyErr_Occurred()) SWIG_fail; | |
7010 | } | |
15afbcd0 | 7011 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7012 | return resultobj; |
7013 | fail: | |
7014 | return NULL; | |
7015 | } | |
7016 | ||
7017 | ||
7018 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7019 | PyObject *resultobj; | |
7020 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7021 | int arg2 ; | |
7022 | PyObject * obj0 = 0 ; | |
994141e6 | 7023 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7024 | char *kwnames[] = { |
7025 | (char *) "self",(char *) "max", NULL | |
7026 | }; | |
7027 | ||
994141e6 | 7028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7029 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7030 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7031 | arg2 = (int) SWIG_AsInt(obj1); | |
7032 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7033 | { |
7034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7035 | (arg1)->SetMaximumSizeX(arg2); | |
7036 | ||
7037 | wxPyEndAllowThreads(__tstate); | |
7038 | if (PyErr_Occurred()) SWIG_fail; | |
7039 | } | |
7040 | Py_INCREF(Py_None); resultobj = Py_None; | |
7041 | return resultobj; | |
7042 | fail: | |
7043 | return NULL; | |
7044 | } | |
7045 | ||
7046 | ||
7047 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7048 | PyObject *resultobj; | |
7049 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7050 | int arg2 ; | |
7051 | PyObject * obj0 = 0 ; | |
994141e6 | 7052 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7053 | char *kwnames[] = { |
7054 | (char *) "self",(char *) "max", NULL | |
7055 | }; | |
7056 | ||
994141e6 | 7057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7058 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7059 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7060 | arg2 = (int) SWIG_AsInt(obj1); | |
7061 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7062 | { |
7063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7064 | (arg1)->SetMaximumSizeY(arg2); | |
7065 | ||
7066 | wxPyEndAllowThreads(__tstate); | |
7067 | if (PyErr_Occurred()) SWIG_fail; | |
7068 | } | |
7069 | Py_INCREF(Py_None); resultobj = Py_None; | |
7070 | return resultobj; | |
7071 | fail: | |
7072 | return NULL; | |
7073 | } | |
7074 | ||
7075 | ||
7076 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7077 | PyObject *resultobj; | |
7078 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7079 | int result; | |
7080 | PyObject * obj0 = 0 ; | |
7081 | char *kwnames[] = { | |
7082 | (char *) "self", NULL | |
7083 | }; | |
7084 | ||
7085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7086 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7087 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7088 | { |
7089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7090 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
7091 | ||
7092 | wxPyEndAllowThreads(__tstate); | |
7093 | if (PyErr_Occurred()) SWIG_fail; | |
7094 | } | |
15afbcd0 | 7095 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7096 | return resultobj; |
7097 | fail: | |
7098 | return NULL; | |
7099 | } | |
7100 | ||
7101 | ||
7102 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7103 | PyObject *resultobj; | |
7104 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7105 | int result; | |
7106 | PyObject * obj0 = 0 ; | |
7107 | char *kwnames[] = { | |
7108 | (char *) "self", NULL | |
7109 | }; | |
7110 | ||
7111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7112 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7113 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7114 | { |
7115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7116 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
7117 | ||
7118 | wxPyEndAllowThreads(__tstate); | |
7119 | if (PyErr_Occurred()) SWIG_fail; | |
7120 | } | |
15afbcd0 | 7121 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7122 | return resultobj; |
7123 | fail: | |
7124 | return NULL; | |
7125 | } | |
7126 | ||
7127 | ||
7128 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7129 | PyObject *resultobj; | |
7130 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7131 | int arg2 ; | |
7132 | int arg3 ; | |
7133 | int arg4 = (int) 2 ; | |
7134 | int result; | |
7135 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7136 | PyObject * obj1 = 0 ; |
7137 | PyObject * obj2 = 0 ; | |
7138 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
7139 | char *kwnames[] = { |
7140 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
7141 | }; | |
7142 | ||
994141e6 | 7143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
7144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7146 | arg2 = (int) SWIG_AsInt(obj1); | |
7147 | if (PyErr_Occurred()) SWIG_fail; | |
7148 | arg3 = (int) SWIG_AsInt(obj2); | |
7149 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7150 | if (obj3) { |
15afbcd0 RD |
7151 | arg4 = (int) SWIG_AsInt(obj3); |
7152 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7153 | } |
d14a1e28 RD |
7154 | { |
7155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7156 | result = (int)(arg1)->SashHitTest(arg2,arg3,arg4); | |
7157 | ||
7158 | wxPyEndAllowThreads(__tstate); | |
7159 | if (PyErr_Occurred()) SWIG_fail; | |
7160 | } | |
15afbcd0 | 7161 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7162 | return resultobj; |
7163 | fail: | |
7164 | return NULL; | |
7165 | } | |
7166 | ||
7167 | ||
7168 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7169 | PyObject *resultobj; | |
7170 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7171 | PyObject * obj0 = 0 ; | |
7172 | char *kwnames[] = { | |
7173 | (char *) "self", NULL | |
7174 | }; | |
7175 | ||
7176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7177 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7178 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7179 | { |
7180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7181 | (arg1)->SizeWindows(); | |
7182 | ||
7183 | wxPyEndAllowThreads(__tstate); | |
7184 | if (PyErr_Occurred()) SWIG_fail; | |
7185 | } | |
7186 | Py_INCREF(Py_None); resultobj = Py_None; | |
7187 | return resultobj; | |
7188 | fail: | |
7189 | return NULL; | |
7190 | } | |
7191 | ||
7192 | ||
7193 | static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) { | |
7194 | PyObject *obj; | |
7195 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7196 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
7197 | Py_INCREF(obj); | |
7198 | return Py_BuildValue((char *)""); | |
7199 | } | |
7200 | static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7201 | PyObject *resultobj; | |
7202 | int arg1 = (int) 0 ; | |
7203 | int arg2 = (int) wxSASH_NONE ; | |
7204 | wxSashEvent *result; | |
994141e6 RD |
7205 | PyObject * obj0 = 0 ; |
7206 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
7207 | char *kwnames[] = { |
7208 | (char *) "id",(char *) "edge", NULL | |
7209 | }; | |
7210 | ||
994141e6 RD |
7211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; |
7212 | if (obj0) { | |
15afbcd0 RD |
7213 | arg1 = (int) SWIG_AsInt(obj0); |
7214 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
7215 | } |
7216 | if (obj1) { | |
15afbcd0 RD |
7217 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); |
7218 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7219 | } |
d14a1e28 RD |
7220 | { |
7221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7222 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
7223 | ||
7224 | wxPyEndAllowThreads(__tstate); | |
7225 | if (PyErr_Occurred()) SWIG_fail; | |
7226 | } | |
15afbcd0 | 7227 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); |
d14a1e28 RD |
7228 | return resultobj; |
7229 | fail: | |
7230 | return NULL; | |
7231 | } | |
7232 | ||
7233 | ||
7234 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7235 | PyObject *resultobj; | |
7236 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7237 | int arg2 ; | |
7238 | PyObject * obj0 = 0 ; | |
994141e6 | 7239 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7240 | char *kwnames[] = { |
7241 | (char *) "self",(char *) "edge", NULL | |
7242 | }; | |
7243 | ||
994141e6 | 7244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7245 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7246 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7247 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7248 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7249 | { |
7250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7251 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
7252 | ||
7253 | wxPyEndAllowThreads(__tstate); | |
7254 | if (PyErr_Occurred()) SWIG_fail; | |
7255 | } | |
7256 | Py_INCREF(Py_None); resultobj = Py_None; | |
7257 | return resultobj; | |
7258 | fail: | |
7259 | return NULL; | |
7260 | } | |
7261 | ||
7262 | ||
7263 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7264 | PyObject *resultobj; | |
7265 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7266 | int result; | |
7267 | PyObject * obj0 = 0 ; | |
7268 | char *kwnames[] = { | |
7269 | (char *) "self", NULL | |
7270 | }; | |
7271 | ||
7272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7273 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7274 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7275 | { |
7276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7277 | result = (int)((wxSashEvent const *)arg1)->GetEdge(); | |
7278 | ||
7279 | wxPyEndAllowThreads(__tstate); | |
7280 | if (PyErr_Occurred()) SWIG_fail; | |
7281 | } | |
15afbcd0 | 7282 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7283 | return resultobj; |
7284 | fail: | |
7285 | return NULL; | |
7286 | } | |
7287 | ||
7288 | ||
7289 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7290 | PyObject *resultobj; | |
7291 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7292 | wxRect *arg2 = 0 ; | |
7293 | wxRect temp2 ; | |
7294 | PyObject * obj0 = 0 ; | |
7295 | PyObject * obj1 = 0 ; | |
7296 | char *kwnames[] = { | |
7297 | (char *) "self",(char *) "rect", NULL | |
7298 | }; | |
7299 | ||
7300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7301 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7302 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7303 | { |
7304 | arg2 = &temp2; | |
7305 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7306 | } | |
7307 | { | |
7308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7309 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
7310 | ||
7311 | wxPyEndAllowThreads(__tstate); | |
7312 | if (PyErr_Occurred()) SWIG_fail; | |
7313 | } | |
7314 | Py_INCREF(Py_None); resultobj = Py_None; | |
7315 | return resultobj; | |
7316 | fail: | |
7317 | return NULL; | |
7318 | } | |
7319 | ||
7320 | ||
7321 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7322 | PyObject *resultobj; | |
7323 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7324 | wxRect result; | |
7325 | PyObject * obj0 = 0 ; | |
7326 | char *kwnames[] = { | |
7327 | (char *) "self", NULL | |
7328 | }; | |
7329 | ||
7330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7331 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7332 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7333 | { |
7334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7335 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
7336 | ||
7337 | wxPyEndAllowThreads(__tstate); | |
7338 | if (PyErr_Occurred()) SWIG_fail; | |
7339 | } | |
7340 | { | |
7341 | wxRect * resultptr; | |
7342 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 7343 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
7344 | } |
7345 | return resultobj; | |
7346 | fail: | |
7347 | return NULL; | |
7348 | } | |
7349 | ||
7350 | ||
7351 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7352 | PyObject *resultobj; | |
7353 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7354 | int arg2 ; | |
7355 | PyObject * obj0 = 0 ; | |
994141e6 | 7356 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7357 | char *kwnames[] = { |
7358 | (char *) "self",(char *) "status", NULL | |
7359 | }; | |
7360 | ||
994141e6 | 7361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7362 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7363 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7364 | arg2 = (wxSashDragStatus) SWIG_AsInt(obj1); | |
7365 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7366 | { |
7367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7368 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
7369 | ||
7370 | wxPyEndAllowThreads(__tstate); | |
7371 | if (PyErr_Occurred()) SWIG_fail; | |
7372 | } | |
7373 | Py_INCREF(Py_None); resultobj = Py_None; | |
7374 | return resultobj; | |
7375 | fail: | |
7376 | return NULL; | |
7377 | } | |
7378 | ||
7379 | ||
7380 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7381 | PyObject *resultobj; | |
7382 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7383 | int result; | |
7384 | PyObject * obj0 = 0 ; | |
7385 | char *kwnames[] = { | |
7386 | (char *) "self", NULL | |
7387 | }; | |
7388 | ||
7389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7390 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7391 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7392 | { |
7393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7394 | result = (int)((wxSashEvent const *)arg1)->GetDragStatus(); | |
7395 | ||
7396 | wxPyEndAllowThreads(__tstate); | |
7397 | if (PyErr_Occurred()) SWIG_fail; | |
7398 | } | |
15afbcd0 | 7399 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7400 | return resultobj; |
7401 | fail: | |
7402 | return NULL; | |
7403 | } | |
7404 | ||
7405 | ||
7406 | static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) { | |
7407 | PyObject *obj; | |
7408 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7409 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
7410 | Py_INCREF(obj); | |
7411 | return Py_BuildValue((char *)""); | |
7412 | } | |
7413 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7414 | PyObject *resultobj; | |
e811c8ce | 7415 | int arg1 = (int) 0 ; |
d14a1e28 | 7416 | wxQueryLayoutInfoEvent *result; |
994141e6 | 7417 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7418 | char *kwnames[] = { |
7419 | (char *) "id", NULL | |
7420 | }; | |
7421 | ||
994141e6 RD |
7422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; |
7423 | if (obj0) { | |
15afbcd0 RD |
7424 | arg1 = (int) SWIG_AsInt(obj0); |
7425 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7426 | } |
d14a1e28 RD |
7427 | { |
7428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7429 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
7430 | ||
7431 | wxPyEndAllowThreads(__tstate); | |
7432 | if (PyErr_Occurred()) SWIG_fail; | |
7433 | } | |
15afbcd0 | 7434 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); |
d14a1e28 RD |
7435 | return resultobj; |
7436 | fail: | |
7437 | return NULL; | |
7438 | } | |
7439 | ||
7440 | ||
7441 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7442 | PyObject *resultobj; | |
7443 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7444 | int arg2 ; | |
7445 | PyObject * obj0 = 0 ; | |
994141e6 | 7446 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7447 | char *kwnames[] = { |
7448 | (char *) "self",(char *) "length", NULL | |
7449 | }; | |
7450 | ||
994141e6 | 7451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7452 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7453 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7454 | arg2 = (int) SWIG_AsInt(obj1); | |
7455 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7456 | { |
7457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7458 | (arg1)->SetRequestedLength(arg2); | |
7459 | ||
7460 | wxPyEndAllowThreads(__tstate); | |
7461 | if (PyErr_Occurred()) SWIG_fail; | |
7462 | } | |
7463 | Py_INCREF(Py_None); resultobj = Py_None; | |
7464 | return resultobj; | |
7465 | fail: | |
7466 | return NULL; | |
7467 | } | |
7468 | ||
7469 | ||
7470 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7471 | PyObject *resultobj; | |
7472 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7473 | int result; | |
7474 | PyObject * obj0 = 0 ; | |
7475 | char *kwnames[] = { | |
7476 | (char *) "self", NULL | |
7477 | }; | |
7478 | ||
7479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7480 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7481 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7482 | { |
7483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7484 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
7485 | ||
7486 | wxPyEndAllowThreads(__tstate); | |
7487 | if (PyErr_Occurred()) SWIG_fail; | |
7488 | } | |
15afbcd0 | 7489 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7490 | return resultobj; |
7491 | fail: | |
7492 | return NULL; | |
7493 | } | |
7494 | ||
7495 | ||
7496 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7497 | PyObject *resultobj; | |
7498 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7499 | int arg2 ; | |
7500 | PyObject * obj0 = 0 ; | |
994141e6 | 7501 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7502 | char *kwnames[] = { |
7503 | (char *) "self",(char *) "flags", NULL | |
7504 | }; | |
7505 | ||
994141e6 | 7506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7507 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7508 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7509 | arg2 = (int) SWIG_AsInt(obj1); | |
7510 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7511 | { |
7512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7513 | (arg1)->SetFlags(arg2); | |
7514 | ||
7515 | wxPyEndAllowThreads(__tstate); | |
7516 | if (PyErr_Occurred()) SWIG_fail; | |
7517 | } | |
7518 | Py_INCREF(Py_None); resultobj = Py_None; | |
7519 | return resultobj; | |
7520 | fail: | |
7521 | return NULL; | |
7522 | } | |
7523 | ||
7524 | ||
7525 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7526 | PyObject *resultobj; | |
7527 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7528 | int result; | |
7529 | PyObject * obj0 = 0 ; | |
7530 | char *kwnames[] = { | |
7531 | (char *) "self", NULL | |
7532 | }; | |
7533 | ||
7534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7535 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7537 | { |
7538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7539 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
7540 | ||
7541 | wxPyEndAllowThreads(__tstate); | |
7542 | if (PyErr_Occurred()) SWIG_fail; | |
7543 | } | |
15afbcd0 | 7544 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7545 | return resultobj; |
7546 | fail: | |
7547 | return NULL; | |
7548 | } | |
7549 | ||
7550 | ||
7551 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7552 | PyObject *resultobj; | |
7553 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7554 | wxSize *arg2 = 0 ; | |
7555 | wxSize temp2 ; | |
7556 | PyObject * obj0 = 0 ; | |
7557 | PyObject * obj1 = 0 ; | |
7558 | char *kwnames[] = { | |
7559 | (char *) "self",(char *) "size", NULL | |
7560 | }; | |
7561 | ||
7562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7563 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7564 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7565 | { |
7566 | arg2 = &temp2; | |
7567 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
7568 | } | |
7569 | { | |
7570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7571 | (arg1)->SetSize((wxSize const &)*arg2); | |
7572 | ||
7573 | wxPyEndAllowThreads(__tstate); | |
7574 | if (PyErr_Occurred()) SWIG_fail; | |
7575 | } | |
7576 | Py_INCREF(Py_None); resultobj = Py_None; | |
7577 | return resultobj; | |
7578 | fail: | |
7579 | return NULL; | |
7580 | } | |
7581 | ||
7582 | ||
7583 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7584 | PyObject *resultobj; | |
7585 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7586 | wxSize result; | |
7587 | PyObject * obj0 = 0 ; | |
7588 | char *kwnames[] = { | |
7589 | (char *) "self", NULL | |
7590 | }; | |
7591 | ||
7592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7593 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7594 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7595 | { |
7596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7597 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
7598 | ||
7599 | wxPyEndAllowThreads(__tstate); | |
7600 | if (PyErr_Occurred()) SWIG_fail; | |
7601 | } | |
7602 | { | |
7603 | wxSize * resultptr; | |
7604 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 7605 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
7606 | } |
7607 | return resultobj; | |
7608 | fail: | |
7609 | return NULL; | |
7610 | } | |
7611 | ||
7612 | ||
7613 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7614 | PyObject *resultobj; | |
7615 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7616 | int arg2 ; | |
7617 | PyObject * obj0 = 0 ; | |
994141e6 | 7618 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7619 | char *kwnames[] = { |
7620 | (char *) "self",(char *) "orient", NULL | |
7621 | }; | |
7622 | ||
994141e6 | 7623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7624 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7625 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7626 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
7627 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7628 | { |
7629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7630 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
7631 | ||
7632 | wxPyEndAllowThreads(__tstate); | |
7633 | if (PyErr_Occurred()) SWIG_fail; | |
7634 | } | |
7635 | Py_INCREF(Py_None); resultobj = Py_None; | |
7636 | return resultobj; | |
7637 | fail: | |
7638 | return NULL; | |
7639 | } | |
7640 | ||
7641 | ||
7642 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7643 | PyObject *resultobj; | |
7644 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7645 | int result; | |
7646 | PyObject * obj0 = 0 ; | |
7647 | char *kwnames[] = { | |
7648 | (char *) "self", NULL | |
7649 | }; | |
7650 | ||
7651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7652 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7653 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7654 | { |
7655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7656 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); | |
7657 | ||
7658 | wxPyEndAllowThreads(__tstate); | |
7659 | if (PyErr_Occurred()) SWIG_fail; | |
7660 | } | |
15afbcd0 | 7661 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7662 | return resultobj; |
7663 | fail: | |
7664 | return NULL; | |
7665 | } | |
7666 | ||
7667 | ||
7668 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7669 | PyObject *resultobj; | |
7670 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7671 | int arg2 ; | |
7672 | PyObject * obj0 = 0 ; | |
994141e6 | 7673 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7674 | char *kwnames[] = { |
7675 | (char *) "self",(char *) "align", NULL | |
7676 | }; | |
7677 | ||
994141e6 | 7678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7679 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7680 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7681 | arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
7682 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7683 | { |
7684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7685 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
7686 | ||
7687 | wxPyEndAllowThreads(__tstate); | |
7688 | if (PyErr_Occurred()) SWIG_fail; | |
7689 | } | |
7690 | Py_INCREF(Py_None); resultobj = Py_None; | |
7691 | return resultobj; | |
7692 | fail: | |
7693 | return NULL; | |
7694 | } | |
7695 | ||
7696 | ||
7697 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7698 | PyObject *resultobj; | |
7699 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7700 | int result; | |
7701 | PyObject * obj0 = 0 ; | |
7702 | char *kwnames[] = { | |
7703 | (char *) "self", NULL | |
7704 | }; | |
7705 | ||
7706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7707 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7708 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7709 | { |
7710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7711 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); | |
7712 | ||
7713 | wxPyEndAllowThreads(__tstate); | |
7714 | if (PyErr_Occurred()) SWIG_fail; | |
7715 | } | |
15afbcd0 | 7716 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7717 | return resultobj; |
7718 | fail: | |
7719 | return NULL; | |
7720 | } | |
7721 | ||
7722 | ||
7723 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) { | |
7724 | PyObject *obj; | |
7725 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7726 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
7727 | Py_INCREF(obj); | |
7728 | return Py_BuildValue((char *)""); | |
7729 | } | |
7730 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7731 | PyObject *resultobj; | |
e811c8ce | 7732 | int arg1 = (int) 0 ; |
d14a1e28 | 7733 | wxCalculateLayoutEvent *result; |
994141e6 | 7734 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7735 | char *kwnames[] = { |
7736 | (char *) "id", NULL | |
7737 | }; | |
7738 | ||
994141e6 RD |
7739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; |
7740 | if (obj0) { | |
15afbcd0 RD |
7741 | arg1 = (int) SWIG_AsInt(obj0); |
7742 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7743 | } |
d14a1e28 RD |
7744 | { |
7745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7746 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
7747 | ||
7748 | wxPyEndAllowThreads(__tstate); | |
7749 | if (PyErr_Occurred()) SWIG_fail; | |
7750 | } | |
15afbcd0 | 7751 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); |
d14a1e28 RD |
7752 | return resultobj; |
7753 | fail: | |
7754 | return NULL; | |
7755 | } | |
7756 | ||
7757 | ||
7758 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7759 | PyObject *resultobj; | |
7760 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7761 | int arg2 ; | |
7762 | PyObject * obj0 = 0 ; | |
994141e6 | 7763 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7764 | char *kwnames[] = { |
7765 | (char *) "self",(char *) "flags", NULL | |
7766 | }; | |
7767 | ||
994141e6 | 7768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7769 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7770 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7771 | arg2 = (int) SWIG_AsInt(obj1); | |
7772 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7773 | { |
7774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7775 | (arg1)->SetFlags(arg2); | |
7776 | ||
7777 | wxPyEndAllowThreads(__tstate); | |
7778 | if (PyErr_Occurred()) SWIG_fail; | |
7779 | } | |
7780 | Py_INCREF(Py_None); resultobj = Py_None; | |
7781 | return resultobj; | |
7782 | fail: | |
7783 | return NULL; | |
7784 | } | |
7785 | ||
7786 | ||
7787 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7788 | PyObject *resultobj; | |
7789 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7790 | int result; | |
7791 | PyObject * obj0 = 0 ; | |
7792 | char *kwnames[] = { | |
7793 | (char *) "self", NULL | |
7794 | }; | |
7795 | ||
7796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7797 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7798 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7799 | { |
7800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7801 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
7802 | ||
7803 | wxPyEndAllowThreads(__tstate); | |
7804 | if (PyErr_Occurred()) SWIG_fail; | |
7805 | } | |
15afbcd0 | 7806 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7807 | return resultobj; |
7808 | fail: | |
7809 | return NULL; | |
7810 | } | |
7811 | ||
7812 | ||
7813 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7814 | PyObject *resultobj; | |
7815 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7816 | wxRect *arg2 = 0 ; | |
7817 | wxRect temp2 ; | |
7818 | PyObject * obj0 = 0 ; | |
7819 | PyObject * obj1 = 0 ; | |
7820 | char *kwnames[] = { | |
7821 | (char *) "self",(char *) "rect", NULL | |
7822 | }; | |
7823 | ||
7824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7825 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7826 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7827 | { |
7828 | arg2 = &temp2; | |
7829 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7830 | } | |
7831 | { | |
7832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7833 | (arg1)->SetRect((wxRect const &)*arg2); | |
7834 | ||
7835 | wxPyEndAllowThreads(__tstate); | |
7836 | if (PyErr_Occurred()) SWIG_fail; | |
7837 | } | |
7838 | Py_INCREF(Py_None); resultobj = Py_None; | |
7839 | return resultobj; | |
7840 | fail: | |
7841 | return NULL; | |
7842 | } | |
7843 | ||
7844 | ||
7845 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7846 | PyObject *resultobj; | |
7847 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7848 | wxRect result; | |
7849 | PyObject * obj0 = 0 ; | |
7850 | char *kwnames[] = { | |
7851 | (char *) "self", NULL | |
7852 | }; | |
7853 | ||
7854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7855 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7856 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7857 | { |
7858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7859 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
7860 | ||
7861 | wxPyEndAllowThreads(__tstate); | |
7862 | if (PyErr_Occurred()) SWIG_fail; | |
7863 | } | |
7864 | { | |
7865 | wxRect * resultptr; | |
7866 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 7867 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
7868 | } |
7869 | return resultobj; | |
7870 | fail: | |
7871 | return NULL; | |
7872 | } | |
7873 | ||
7874 | ||
7875 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) { | |
7876 | PyObject *obj; | |
7877 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7878 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
7879 | Py_INCREF(obj); | |
7880 | return Py_BuildValue((char *)""); | |
7881 | } | |
7882 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7883 | PyObject *resultobj; | |
7884 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 7885 | int arg2 ; |
d14a1e28 RD |
7886 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
7887 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7888 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7889 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7890 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7891 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
7892 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7893 | wxSashLayoutWindow *result; | |
7894 | wxPoint temp3 ; | |
7895 | wxSize temp4 ; | |
e811c8ce | 7896 | bool temp6 = False ; |
d14a1e28 | 7897 | PyObject * obj0 = 0 ; |
994141e6 | 7898 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7899 | PyObject * obj2 = 0 ; |
7900 | PyObject * obj3 = 0 ; | |
994141e6 | 7901 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
7902 | PyObject * obj5 = 0 ; |
7903 | char *kwnames[] = { | |
7904 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7905 | }; | |
7906 | ||
994141e6 | 7907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
7908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
7909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7910 | arg2 = (int) SWIG_AsInt(obj1); | |
7911 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7912 | if (obj2) { |
7913 | { | |
7914 | arg3 = &temp3; | |
7915 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7916 | } | |
7917 | } | |
7918 | if (obj3) { | |
7919 | { | |
7920 | arg4 = &temp4; | |
7921 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7922 | } | |
7923 | } | |
994141e6 | 7924 | if (obj4) { |
15afbcd0 RD |
7925 | arg5 = (long) SWIG_AsLong(obj4); |
7926 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7927 | } |
d14a1e28 RD |
7928 | if (obj5) { |
7929 | { | |
7930 | arg6 = wxString_in_helper(obj5); | |
7931 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 7932 | temp6 = True; |
d14a1e28 RD |
7933 | } |
7934 | } | |
7935 | { | |
7936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7937 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7938 | ||
7939 | wxPyEndAllowThreads(__tstate); | |
7940 | if (PyErr_Occurred()) SWIG_fail; | |
7941 | } | |
15afbcd0 | 7942 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
7943 | { |
7944 | if (temp6) | |
7945 | delete arg6; | |
7946 | } | |
7947 | return resultobj; | |
7948 | fail: | |
7949 | { | |
7950 | if (temp6) | |
7951 | delete arg6; | |
7952 | } | |
7953 | return NULL; | |
7954 | } | |
7955 | ||
7956 | ||
7957 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7958 | PyObject *resultobj; | |
7959 | wxSashLayoutWindow *result; | |
7960 | char *kwnames[] = { | |
7961 | NULL | |
7962 | }; | |
7963 | ||
7964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
7965 | { | |
7966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7967 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
7968 | ||
7969 | wxPyEndAllowThreads(__tstate); | |
7970 | if (PyErr_Occurred()) SWIG_fail; | |
7971 | } | |
15afbcd0 | 7972 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
7973 | return resultobj; |
7974 | fail: | |
7975 | return NULL; | |
7976 | } | |
7977 | ||
7978 | ||
7979 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7980 | PyObject *resultobj; | |
7981 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7982 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 7983 | int arg3 ; |
d14a1e28 RD |
7984 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
7985 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7986 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7987 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7988 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7989 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
7990 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7991 | bool result; | |
7992 | wxPoint temp4 ; | |
7993 | wxSize temp5 ; | |
e811c8ce | 7994 | bool temp7 = False ; |
d14a1e28 RD |
7995 | PyObject * obj0 = 0 ; |
7996 | PyObject * obj1 = 0 ; | |
994141e6 | 7997 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7998 | PyObject * obj3 = 0 ; |
7999 | PyObject * obj4 = 0 ; | |
994141e6 | 8000 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
8001 | PyObject * obj6 = 0 ; |
8002 | char *kwnames[] = { | |
8003 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8004 | }; | |
8005 | ||
994141e6 | 8006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
8007 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8009 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8011 | arg3 = (int) SWIG_AsInt(obj2); | |
8012 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8013 | if (obj3) { |
8014 | { | |
8015 | arg4 = &temp4; | |
8016 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8017 | } | |
8018 | } | |
8019 | if (obj4) { | |
8020 | { | |
8021 | arg5 = &temp5; | |
8022 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8023 | } | |
8024 | } | |
994141e6 | 8025 | if (obj5) { |
15afbcd0 RD |
8026 | arg6 = (long) SWIG_AsLong(obj5); |
8027 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8028 | } |
d14a1e28 RD |
8029 | if (obj6) { |
8030 | { | |
8031 | arg7 = wxString_in_helper(obj6); | |
8032 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 8033 | temp7 = True; |
d14a1e28 RD |
8034 | } |
8035 | } | |
8036 | { | |
8037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8038 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8039 | ||
8040 | wxPyEndAllowThreads(__tstate); | |
8041 | if (PyErr_Occurred()) SWIG_fail; | |
8042 | } | |
4f89f6a3 RD |
8043 | { |
8044 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8045 | } | |
d14a1e28 RD |
8046 | { |
8047 | if (temp7) | |
8048 | delete arg7; | |
8049 | } | |
8050 | return resultobj; | |
8051 | fail: | |
8052 | { | |
8053 | if (temp7) | |
8054 | delete arg7; | |
8055 | } | |
8056 | return NULL; | |
8057 | } | |
8058 | ||
8059 | ||
8060 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8061 | PyObject *resultobj; | |
8062 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8063 | int result; | |
8064 | PyObject * obj0 = 0 ; | |
8065 | char *kwnames[] = { | |
8066 | (char *) "self", NULL | |
8067 | }; | |
8068 | ||
8069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8070 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8071 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8072 | { |
8073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8074 | result = (int)(arg1)->GetAlignment(); | |
8075 | ||
8076 | wxPyEndAllowThreads(__tstate); | |
8077 | if (PyErr_Occurred()) SWIG_fail; | |
8078 | } | |
15afbcd0 | 8079 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
8080 | return resultobj; |
8081 | fail: | |
8082 | return NULL; | |
8083 | } | |
8084 | ||
8085 | ||
8086 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8087 | PyObject *resultobj; | |
8088 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8089 | int result; | |
8090 | PyObject * obj0 = 0 ; | |
8091 | char *kwnames[] = { | |
8092 | (char *) "self", NULL | |
8093 | }; | |
8094 | ||
8095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8096 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8097 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8098 | { |
8099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8100 | result = (int)(arg1)->GetOrientation(); | |
8101 | ||
8102 | wxPyEndAllowThreads(__tstate); | |
8103 | if (PyErr_Occurred()) SWIG_fail; | |
8104 | } | |
15afbcd0 | 8105 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
8106 | return resultobj; |
8107 | fail: | |
8108 | return NULL; | |
8109 | } | |
8110 | ||
8111 | ||
8112 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8113 | PyObject *resultobj; | |
8114 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8115 | int arg2 ; | |
8116 | PyObject * obj0 = 0 ; | |
994141e6 | 8117 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8118 | char *kwnames[] = { |
8119 | (char *) "self",(char *) "alignment", NULL | |
8120 | }; | |
8121 | ||
994141e6 | 8122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8123 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8124 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8125 | arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
8126 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8127 | { |
8128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8129 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
8130 | ||
8131 | wxPyEndAllowThreads(__tstate); | |
8132 | if (PyErr_Occurred()) SWIG_fail; | |
8133 | } | |
8134 | Py_INCREF(Py_None); resultobj = Py_None; | |
8135 | return resultobj; | |
8136 | fail: | |
8137 | return NULL; | |
8138 | } | |
8139 | ||
8140 | ||
8141 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8142 | PyObject *resultobj; | |
8143 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8144 | wxSize *arg2 = 0 ; | |
8145 | wxSize temp2 ; | |
8146 | PyObject * obj0 = 0 ; | |
8147 | PyObject * obj1 = 0 ; | |
8148 | char *kwnames[] = { | |
8149 | (char *) "self",(char *) "size", NULL | |
8150 | }; | |
8151 | ||
8152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8153 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8154 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8155 | { |
8156 | arg2 = &temp2; | |
8157 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
8158 | } | |
8159 | { | |
8160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8161 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
8162 | ||
8163 | wxPyEndAllowThreads(__tstate); | |
8164 | if (PyErr_Occurred()) SWIG_fail; | |
8165 | } | |
8166 | Py_INCREF(Py_None); resultobj = Py_None; | |
8167 | return resultobj; | |
8168 | fail: | |
8169 | return NULL; | |
8170 | } | |
8171 | ||
8172 | ||
8173 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8174 | PyObject *resultobj; | |
8175 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8176 | int arg2 ; | |
8177 | PyObject * obj0 = 0 ; | |
994141e6 | 8178 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8179 | char *kwnames[] = { |
8180 | (char *) "self",(char *) "orientation", NULL | |
8181 | }; | |
8182 | ||
994141e6 | 8183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8184 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8185 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8186 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
8187 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8188 | { |
8189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8190 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8191 | ||
8192 | wxPyEndAllowThreads(__tstate); | |
8193 | if (PyErr_Occurred()) SWIG_fail; | |
8194 | } | |
8195 | Py_INCREF(Py_None); resultobj = Py_None; | |
8196 | return resultobj; | |
8197 | fail: | |
8198 | return NULL; | |
8199 | } | |
8200 | ||
8201 | ||
8202 | static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) { | |
8203 | PyObject *obj; | |
8204 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8205 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
8206 | Py_INCREF(obj); | |
8207 | return Py_BuildValue((char *)""); | |
8208 | } | |
8209 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8210 | PyObject *resultobj; | |
8211 | wxLayoutAlgorithm *result; | |
8212 | char *kwnames[] = { | |
8213 | NULL | |
8214 | }; | |
8215 | ||
8216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
8217 | { | |
8218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8219 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
8220 | ||
8221 | wxPyEndAllowThreads(__tstate); | |
8222 | if (PyErr_Occurred()) SWIG_fail; | |
8223 | } | |
15afbcd0 | 8224 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); |
d14a1e28 RD |
8225 | return resultobj; |
8226 | fail: | |
8227 | return NULL; | |
8228 | } | |
8229 | ||
8230 | ||
8231 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8232 | PyObject *resultobj; | |
8233 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8234 | PyObject * obj0 = 0 ; | |
8235 | char *kwnames[] = { | |
8236 | (char *) "self", NULL | |
8237 | }; | |
8238 | ||
8239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8242 | { |
8243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8244 | delete arg1; | |
8245 | ||
8246 | wxPyEndAllowThreads(__tstate); | |
8247 | if (PyErr_Occurred()) SWIG_fail; | |
8248 | } | |
8249 | Py_INCREF(Py_None); resultobj = Py_None; | |
8250 | return resultobj; | |
8251 | fail: | |
8252 | return NULL; | |
8253 | } | |
8254 | ||
8255 | ||
8256 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8257 | PyObject *resultobj; | |
8258 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8259 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
8260 | wxRect *arg3 = (wxRect *) NULL ; | |
8261 | bool result; | |
8262 | PyObject * obj0 = 0 ; | |
8263 | PyObject * obj1 = 0 ; | |
8264 | PyObject * obj2 = 0 ; | |
8265 | char *kwnames[] = { | |
8266 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
8267 | }; | |
8268 | ||
8269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8270 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8271 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8272 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
8273 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8274 | if (obj2) { |
15afbcd0 RD |
8275 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect, |
8276 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8277 | } |
8278 | { | |
8279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8280 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
8281 | ||
8282 | wxPyEndAllowThreads(__tstate); | |
8283 | if (PyErr_Occurred()) SWIG_fail; | |
8284 | } | |
4f89f6a3 RD |
8285 | { |
8286 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8287 | } | |
d14a1e28 RD |
8288 | return resultobj; |
8289 | fail: | |
8290 | return NULL; | |
8291 | } | |
8292 | ||
8293 | ||
8294 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8295 | PyObject *resultobj; | |
8296 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8297 | wxFrame *arg2 = (wxFrame *) 0 ; | |
8298 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8299 | bool result; | |
8300 | PyObject * obj0 = 0 ; | |
8301 | PyObject * obj1 = 0 ; | |
8302 | PyObject * obj2 = 0 ; | |
8303 | char *kwnames[] = { | |
8304 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
8305 | }; | |
8306 | ||
8307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8308 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8309 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8310 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
8311 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8312 | if (obj2) { |
15afbcd0 RD |
8313 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8314 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8315 | } |
8316 | { | |
8317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8318 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
8319 | ||
8320 | wxPyEndAllowThreads(__tstate); | |
8321 | if (PyErr_Occurred()) SWIG_fail; | |
8322 | } | |
4f89f6a3 RD |
8323 | { |
8324 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8325 | } | |
d14a1e28 RD |
8326 | return resultobj; |
8327 | fail: | |
8328 | return NULL; | |
8329 | } | |
8330 | ||
8331 | ||
8332 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8333 | PyObject *resultobj; | |
8334 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8335 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8336 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8337 | bool result; | |
8338 | PyObject * obj0 = 0 ; | |
8339 | PyObject * obj1 = 0 ; | |
8340 | PyObject * obj2 = 0 ; | |
8341 | char *kwnames[] = { | |
8342 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
8343 | }; | |
8344 | ||
8345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8346 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8347 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8348 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8349 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8350 | if (obj2) { |
15afbcd0 RD |
8351 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8352 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8353 | } |
8354 | { | |
8355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8356 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
8357 | ||
8358 | wxPyEndAllowThreads(__tstate); | |
8359 | if (PyErr_Occurred()) SWIG_fail; | |
8360 | } | |
4f89f6a3 RD |
8361 | { |
8362 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8363 | } | |
d14a1e28 RD |
8364 | return resultobj; |
8365 | fail: | |
8366 | return NULL; | |
8367 | } | |
8368 | ||
8369 | ||
8370 | static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) { | |
8371 | PyObject *obj; | |
8372 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8373 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
8374 | Py_INCREF(obj); | |
8375 | return Py_BuildValue((char *)""); | |
8376 | } | |
8377 | static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8378 | PyObject *resultobj; | |
8379 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8380 | int arg2 = (int) wxBORDER_NONE ; | |
8381 | wxPopupWindow *result; | |
8382 | PyObject * obj0 = 0 ; | |
994141e6 | 8383 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8384 | char *kwnames[] = { |
8385 | (char *) "parent",(char *) "flags", NULL | |
8386 | }; | |
8387 | ||
994141e6 | 8388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8389 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8390 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8391 | if (obj1) { |
15afbcd0 RD |
8392 | arg2 = (int) SWIG_AsInt(obj1); |
8393 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8394 | } |
d14a1e28 RD |
8395 | { |
8396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8397 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
8398 | ||
8399 | wxPyEndAllowThreads(__tstate); | |
8400 | if (PyErr_Occurred()) SWIG_fail; | |
8401 | } | |
15afbcd0 | 8402 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8403 | return resultobj; |
8404 | fail: | |
8405 | return NULL; | |
8406 | } | |
8407 | ||
8408 | ||
8409 | static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8410 | PyObject *resultobj; | |
8411 | wxPopupWindow *result; | |
8412 | char *kwnames[] = { | |
8413 | NULL | |
8414 | }; | |
8415 | ||
8416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
8417 | { | |
8418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8419 | result = (wxPopupWindow *)new wxPopupWindow(); | |
8420 | ||
8421 | wxPyEndAllowThreads(__tstate); | |
8422 | if (PyErr_Occurred()) SWIG_fail; | |
8423 | } | |
15afbcd0 | 8424 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8425 | return resultobj; |
8426 | fail: | |
8427 | return NULL; | |
8428 | } | |
8429 | ||
8430 | ||
8431 | static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8432 | PyObject *resultobj; | |
8433 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8434 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8435 | int arg3 = (int) wxBORDER_NONE ; | |
8436 | bool result; | |
8437 | PyObject * obj0 = 0 ; | |
8438 | PyObject * obj1 = 0 ; | |
994141e6 | 8439 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8440 | char *kwnames[] = { |
8441 | (char *) "self",(char *) "parent",(char *) "flags", NULL | |
8442 | }; | |
8443 | ||
994141e6 | 8444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
8445 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
8446 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8447 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8449 | if (obj2) { |
15afbcd0 RD |
8450 | arg3 = (int) SWIG_AsInt(obj2); |
8451 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8452 | } |
d14a1e28 RD |
8453 | { |
8454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8455 | result = (bool)(arg1)->Create(arg2,arg3); | |
8456 | ||
8457 | wxPyEndAllowThreads(__tstate); | |
8458 | if (PyErr_Occurred()) SWIG_fail; | |
8459 | } | |
4f89f6a3 RD |
8460 | { |
8461 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8462 | } | |
d14a1e28 RD |
8463 | return resultobj; |
8464 | fail: | |
8465 | return NULL; | |
8466 | } | |
8467 | ||
8468 | ||
8469 | static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8470 | PyObject *resultobj; | |
8471 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8472 | wxPoint *arg2 = 0 ; | |
8473 | wxSize *arg3 = 0 ; | |
8474 | wxPoint temp2 ; | |
8475 | wxSize temp3 ; | |
8476 | PyObject * obj0 = 0 ; | |
8477 | PyObject * obj1 = 0 ; | |
8478 | PyObject * obj2 = 0 ; | |
8479 | char *kwnames[] = { | |
8480 | (char *) "self",(char *) "ptOrigin",(char *) "size", NULL | |
8481 | }; | |
8482 | ||
8483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8484 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
8485 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8486 | { |
8487 | arg2 = &temp2; | |
8488 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
8489 | } | |
8490 | { | |
8491 | arg3 = &temp3; | |
8492 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
8493 | } | |
8494 | { | |
8495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8496 | (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3); | |
8497 | ||
8498 | wxPyEndAllowThreads(__tstate); | |
8499 | if (PyErr_Occurred()) SWIG_fail; | |
8500 | } | |
8501 | Py_INCREF(Py_None); resultobj = Py_None; | |
8502 | return resultobj; | |
8503 | fail: | |
8504 | return NULL; | |
8505 | } | |
8506 | ||
8507 | ||
8508 | static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) { | |
8509 | PyObject *obj; | |
8510 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8511 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
8512 | Py_INCREF(obj); | |
8513 | return Py_BuildValue((char *)""); | |
8514 | } | |
8515 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8516 | PyObject *resultobj; | |
8517 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8518 | int arg2 = (int) wxBORDER_NONE ; | |
8519 | wxPyPopupTransientWindow *result; | |
8520 | PyObject * obj0 = 0 ; | |
994141e6 | 8521 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8522 | char *kwnames[] = { |
8523 | (char *) "parent",(char *) "style", NULL | |
8524 | }; | |
8525 | ||
994141e6 | 8526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8529 | if (obj1) { |
15afbcd0 RD |
8530 | arg2 = (int) SWIG_AsInt(obj1); |
8531 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8532 | } |
d14a1e28 RD |
8533 | { |
8534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8535 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
8536 | ||
8537 | wxPyEndAllowThreads(__tstate); | |
8538 | if (PyErr_Occurred()) SWIG_fail; | |
8539 | } | |
15afbcd0 | 8540 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
8541 | return resultobj; |
8542 | fail: | |
8543 | return NULL; | |
8544 | } | |
8545 | ||
8546 | ||
8547 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8548 | PyObject *resultobj; | |
8549 | wxPyPopupTransientWindow *result; | |
8550 | char *kwnames[] = { | |
8551 | NULL | |
8552 | }; | |
8553 | ||
8554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
8555 | { | |
8556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8557 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
8558 | ||
8559 | wxPyEndAllowThreads(__tstate); | |
8560 | if (PyErr_Occurred()) SWIG_fail; | |
8561 | } | |
15afbcd0 | 8562 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
8563 | return resultobj; |
8564 | fail: | |
8565 | return NULL; | |
8566 | } | |
8567 | ||
8568 | ||
8569 | static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8570 | PyObject *resultobj; | |
8571 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8572 | PyObject *arg2 = (PyObject *) 0 ; | |
8573 | PyObject *arg3 = (PyObject *) 0 ; | |
8574 | PyObject * obj0 = 0 ; | |
8575 | PyObject * obj1 = 0 ; | |
8576 | PyObject * obj2 = 0 ; | |
8577 | char *kwnames[] = { | |
8578 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8579 | }; | |
8580 | ||
8581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8582 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8583 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8584 | arg2 = obj1; |
8585 | arg3 = obj2; | |
8586 | { | |
8587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8588 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8589 | ||
8590 | wxPyEndAllowThreads(__tstate); | |
8591 | if (PyErr_Occurred()) SWIG_fail; | |
8592 | } | |
8593 | Py_INCREF(Py_None); resultobj = Py_None; | |
8594 | return resultobj; | |
8595 | fail: | |
8596 | return NULL; | |
8597 | } | |
8598 | ||
8599 | ||
8600 | static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8601 | PyObject *resultobj; | |
8602 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8603 | wxWindow *arg2 = (wxWindow *) NULL ; | |
8604 | PyObject * obj0 = 0 ; | |
8605 | PyObject * obj1 = 0 ; | |
8606 | char *kwnames[] = { | |
8607 | (char *) "self",(char *) "focus", NULL | |
8608 | }; | |
8609 | ||
8610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8611 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8612 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8613 | if (obj1) { |
15afbcd0 RD |
8614 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
8615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8616 | } |
8617 | { | |
8618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8619 | (arg1)->Popup(arg2); | |
8620 | ||
8621 | wxPyEndAllowThreads(__tstate); | |
8622 | if (PyErr_Occurred()) SWIG_fail; | |
8623 | } | |
8624 | Py_INCREF(Py_None); resultobj = Py_None; | |
8625 | return resultobj; | |
8626 | fail: | |
8627 | return NULL; | |
8628 | } | |
8629 | ||
8630 | ||
8631 | static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8632 | PyObject *resultobj; | |
8633 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8634 | PyObject * obj0 = 0 ; | |
8635 | char *kwnames[] = { | |
8636 | (char *) "self", NULL | |
8637 | }; | |
8638 | ||
8639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8642 | { |
8643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8644 | (arg1)->Dismiss(); | |
8645 | ||
8646 | wxPyEndAllowThreads(__tstate); | |
8647 | if (PyErr_Occurred()) SWIG_fail; | |
8648 | } | |
8649 | Py_INCREF(Py_None); resultobj = Py_None; | |
8650 | return resultobj; | |
8651 | fail: | |
8652 | return NULL; | |
8653 | } | |
8654 | ||
8655 | ||
8656 | static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) { | |
8657 | PyObject *obj; | |
8658 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8659 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
8660 | Py_INCREF(obj); | |
8661 | return Py_BuildValue((char *)""); | |
8662 | } | |
8663 | static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8664 | PyObject *resultobj; | |
8665 | wxWindow *arg1 = (wxWindow *) 0 ; | |
fd3f2efe | 8666 | wxString *arg2 = 0 ; |
e811c8ce | 8667 | int arg3 = (int) 100 ; |
d14a1e28 RD |
8668 | wxRect *arg4 = (wxRect *) NULL ; |
8669 | wxTipWindow *result; | |
fd3f2efe | 8670 | bool temp2 = False ; |
d14a1e28 RD |
8671 | PyObject * obj0 = 0 ; |
8672 | PyObject * obj1 = 0 ; | |
994141e6 | 8673 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8674 | PyObject * obj3 = 0 ; |
8675 | char *kwnames[] = { | |
8676 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
8677 | }; | |
8678 | ||
994141e6 | 8679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
8680 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8681 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
fd3f2efe RD |
8682 | { |
8683 | arg2 = wxString_in_helper(obj1); | |
8684 | if (arg2 == NULL) SWIG_fail; | |
8685 | temp2 = True; | |
8686 | } | |
994141e6 | 8687 | if (obj2) { |
15afbcd0 RD |
8688 | arg3 = (int) SWIG_AsInt(obj2); |
8689 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8690 | } |
d14a1e28 | 8691 | if (obj3) { |
15afbcd0 RD |
8692 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect, |
8693 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8694 | } |
8695 | { | |
8696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
fd3f2efe | 8697 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); |
d14a1e28 RD |
8698 | |
8699 | wxPyEndAllowThreads(__tstate); | |
8700 | if (PyErr_Occurred()) SWIG_fail; | |
8701 | } | |
15afbcd0 | 8702 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); |
fd3f2efe RD |
8703 | { |
8704 | if (temp2) | |
8705 | delete arg2; | |
8706 | } | |
d14a1e28 RD |
8707 | return resultobj; |
8708 | fail: | |
fd3f2efe RD |
8709 | { |
8710 | if (temp2) | |
8711 | delete arg2; | |
8712 | } | |
d14a1e28 RD |
8713 | return NULL; |
8714 | } | |
8715 | ||
8716 | ||
8717 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8718 | PyObject *resultobj; | |
8719 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8720 | wxRect *arg2 = 0 ; | |
8721 | wxRect temp2 ; | |
8722 | PyObject * obj0 = 0 ; | |
8723 | PyObject * obj1 = 0 ; | |
8724 | char *kwnames[] = { | |
8725 | (char *) "self",(char *) "rectBound", NULL | |
8726 | }; | |
8727 | ||
8728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8729 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
8730 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8731 | { |
8732 | arg2 = &temp2; | |
8733 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8734 | } | |
8735 | { | |
8736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8737 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
8738 | ||
8739 | wxPyEndAllowThreads(__tstate); | |
8740 | if (PyErr_Occurred()) SWIG_fail; | |
8741 | } | |
8742 | Py_INCREF(Py_None); resultobj = Py_None; | |
8743 | return resultobj; | |
8744 | fail: | |
8745 | return NULL; | |
8746 | } | |
8747 | ||
8748 | ||
8749 | static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8750 | PyObject *resultobj; | |
8751 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8752 | PyObject * obj0 = 0 ; | |
8753 | char *kwnames[] = { | |
8754 | (char *) "self", NULL | |
8755 | }; | |
8756 | ||
8757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8758 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
8759 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8760 | { |
8761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8762 | (arg1)->Close(); | |
8763 | ||
8764 | wxPyEndAllowThreads(__tstate); | |
8765 | if (PyErr_Occurred()) SWIG_fail; | |
8766 | } | |
8767 | Py_INCREF(Py_None); resultobj = Py_None; | |
8768 | return resultobj; | |
8769 | fail: | |
8770 | return NULL; | |
8771 | } | |
8772 | ||
8773 | ||
8774 | static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) { | |
8775 | PyObject *obj; | |
8776 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8777 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
8778 | Py_INCREF(obj); | |
8779 | return Py_BuildValue((char *)""); | |
8780 | } | |
8781 | static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8782 | PyObject *resultobj; | |
8783 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 8784 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
8785 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8786 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8787 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8788 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8789 | long arg5 = (long) 0 ; | |
8790 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
8791 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8792 | wxPyVScrolledWindow *result; | |
8793 | wxPoint temp3 ; | |
8794 | wxSize temp4 ; | |
e811c8ce | 8795 | bool temp6 = False ; |
d14a1e28 | 8796 | PyObject * obj0 = 0 ; |
994141e6 | 8797 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8798 | PyObject * obj2 = 0 ; |
8799 | PyObject * obj3 = 0 ; | |
994141e6 | 8800 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
8801 | PyObject * obj5 = 0 ; |
8802 | char *kwnames[] = { | |
8803 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8804 | }; | |
8805 | ||
994141e6 | 8806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
8807 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8808 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8809 | if (obj1) { |
15afbcd0 RD |
8810 | arg2 = (int) SWIG_AsInt(obj1); |
8811 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8812 | } |
d14a1e28 RD |
8813 | if (obj2) { |
8814 | { | |
8815 | arg3 = &temp3; | |
8816 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8817 | } | |
8818 | } | |
8819 | if (obj3) { | |
8820 | { | |
8821 | arg4 = &temp4; | |
8822 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8823 | } | |
8824 | } | |
994141e6 | 8825 | if (obj4) { |
15afbcd0 RD |
8826 | arg5 = (long) SWIG_AsLong(obj4); |
8827 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8828 | } |
d14a1e28 RD |
8829 | if (obj5) { |
8830 | { | |
8831 | arg6 = wxString_in_helper(obj5); | |
8832 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 8833 | temp6 = True; |
d14a1e28 RD |
8834 | } |
8835 | } | |
8836 | { | |
8837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8838 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8839 | ||
8840 | wxPyEndAllowThreads(__tstate); | |
8841 | if (PyErr_Occurred()) SWIG_fail; | |
8842 | } | |
15afbcd0 | 8843 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
8844 | { |
8845 | if (temp6) | |
8846 | delete arg6; | |
8847 | } | |
8848 | return resultobj; | |
8849 | fail: | |
8850 | { | |
8851 | if (temp6) | |
8852 | delete arg6; | |
8853 | } | |
8854 | return NULL; | |
8855 | } | |
8856 | ||
8857 | ||
8858 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8859 | PyObject *resultobj; | |
8860 | wxPyVScrolledWindow *result; | |
8861 | char *kwnames[] = { | |
8862 | NULL | |
8863 | }; | |
8864 | ||
8865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
8866 | { | |
8867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8868 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
8869 | ||
8870 | wxPyEndAllowThreads(__tstate); | |
8871 | if (PyErr_Occurred()) SWIG_fail; | |
8872 | } | |
15afbcd0 | 8873 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
8874 | return resultobj; |
8875 | fail: | |
8876 | return NULL; | |
8877 | } | |
8878 | ||
8879 | ||
8880 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8881 | PyObject *resultobj; | |
8882 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8883 | PyObject *arg2 = (PyObject *) 0 ; | |
8884 | PyObject *arg3 = (PyObject *) 0 ; | |
8885 | PyObject * obj0 = 0 ; | |
8886 | PyObject * obj1 = 0 ; | |
8887 | PyObject * obj2 = 0 ; | |
8888 | char *kwnames[] = { | |
8889 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8890 | }; | |
8891 | ||
8892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8893 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8894 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8895 | arg2 = obj1; |
8896 | arg3 = obj2; | |
8897 | { | |
8898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8899 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8900 | ||
8901 | wxPyEndAllowThreads(__tstate); | |
8902 | if (PyErr_Occurred()) SWIG_fail; | |
8903 | } | |
8904 | Py_INCREF(Py_None); resultobj = Py_None; | |
8905 | return resultobj; | |
8906 | fail: | |
8907 | return NULL; | |
8908 | } | |
8909 | ||
8910 | ||
8911 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8912 | PyObject *resultobj; | |
8913 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8914 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 8915 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
8916 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8917 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8918 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8919 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8920 | long arg6 = (long) 0 ; | |
8921 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
8922 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8923 | bool result; | |
8924 | wxPoint temp4 ; | |
8925 | wxSize temp5 ; | |
e811c8ce | 8926 | bool temp7 = False ; |
d14a1e28 RD |
8927 | PyObject * obj0 = 0 ; |
8928 | PyObject * obj1 = 0 ; | |
994141e6 | 8929 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8930 | PyObject * obj3 = 0 ; |
8931 | PyObject * obj4 = 0 ; | |
994141e6 | 8932 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
8933 | PyObject * obj6 = 0 ; |
8934 | char *kwnames[] = { | |
8935 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8936 | }; | |
8937 | ||
994141e6 | 8938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
8939 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8940 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8941 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8942 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8943 | if (obj2) { |
15afbcd0 RD |
8944 | arg3 = (int) SWIG_AsInt(obj2); |
8945 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8946 | } |
d14a1e28 RD |
8947 | if (obj3) { |
8948 | { | |
8949 | arg4 = &temp4; | |
8950 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8951 | } | |
8952 | } | |
8953 | if (obj4) { | |
8954 | { | |
8955 | arg5 = &temp5; | |
8956 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8957 | } | |
8958 | } | |
994141e6 | 8959 | if (obj5) { |
15afbcd0 RD |
8960 | arg6 = (long) SWIG_AsLong(obj5); |
8961 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8962 | } |
d14a1e28 RD |
8963 | if (obj6) { |
8964 | { | |
8965 | arg7 = wxString_in_helper(obj6); | |
8966 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 8967 | temp7 = True; |
d14a1e28 RD |
8968 | } |
8969 | } | |
8970 | { | |
8971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8972 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8973 | ||
8974 | wxPyEndAllowThreads(__tstate); | |
8975 | if (PyErr_Occurred()) SWIG_fail; | |
8976 | } | |
4f89f6a3 RD |
8977 | { |
8978 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8979 | } | |
d14a1e28 RD |
8980 | { |
8981 | if (temp7) | |
8982 | delete arg7; | |
8983 | } | |
8984 | return resultobj; | |
8985 | fail: | |
8986 | { | |
8987 | if (temp7) | |
8988 | delete arg7; | |
8989 | } | |
8990 | return NULL; | |
8991 | } | |
8992 | ||
8993 | ||
8994 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8995 | PyObject *resultobj; | |
8996 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8997 | size_t arg2 ; | |
8998 | PyObject * obj0 = 0 ; | |
8999 | PyObject * obj1 = 0 ; | |
9000 | char *kwnames[] = { | |
9001 | (char *) "self",(char *) "count", NULL | |
9002 | }; | |
9003 | ||
9004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9005 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9006 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9007 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9008 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9009 | { |
9010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9011 | (arg1)->SetLineCount(arg2); | |
9012 | ||
9013 | wxPyEndAllowThreads(__tstate); | |
9014 | if (PyErr_Occurred()) SWIG_fail; | |
9015 | } | |
9016 | Py_INCREF(Py_None); resultobj = Py_None; | |
9017 | return resultobj; | |
9018 | fail: | |
9019 | return NULL; | |
9020 | } | |
9021 | ||
9022 | ||
9023 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9024 | PyObject *resultobj; | |
9025 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9026 | size_t arg2 ; | |
9027 | bool result; | |
9028 | PyObject * obj0 = 0 ; | |
9029 | PyObject * obj1 = 0 ; | |
9030 | char *kwnames[] = { | |
9031 | (char *) "self",(char *) "line", NULL | |
9032 | }; | |
9033 | ||
9034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9035 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9036 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9037 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9038 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9039 | { |
9040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9041 | result = (bool)(arg1)->ScrollToLine(arg2); | |
9042 | ||
9043 | wxPyEndAllowThreads(__tstate); | |
9044 | if (PyErr_Occurred()) SWIG_fail; | |
9045 | } | |
4f89f6a3 RD |
9046 | { |
9047 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9048 | } | |
d14a1e28 RD |
9049 | return resultobj; |
9050 | fail: | |
9051 | return NULL; | |
9052 | } | |
9053 | ||
9054 | ||
9055 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9056 | PyObject *resultobj; | |
9057 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9058 | int arg2 ; | |
9059 | bool result; | |
9060 | PyObject * obj0 = 0 ; | |
994141e6 | 9061 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9062 | char *kwnames[] = { |
9063 | (char *) "self",(char *) "lines", NULL | |
9064 | }; | |
9065 | ||
994141e6 | 9066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9067 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9068 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9069 | arg2 = (int) SWIG_AsInt(obj1); | |
9070 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9071 | { |
9072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9073 | result = (bool)(arg1)->ScrollLines(arg2); | |
9074 | ||
9075 | wxPyEndAllowThreads(__tstate); | |
9076 | if (PyErr_Occurred()) SWIG_fail; | |
9077 | } | |
4f89f6a3 RD |
9078 | { |
9079 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9080 | } | |
d14a1e28 RD |
9081 | return resultobj; |
9082 | fail: | |
9083 | return NULL; | |
9084 | } | |
9085 | ||
9086 | ||
9087 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9088 | PyObject *resultobj; | |
9089 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9090 | int arg2 ; | |
9091 | bool result; | |
9092 | PyObject * obj0 = 0 ; | |
994141e6 | 9093 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9094 | char *kwnames[] = { |
9095 | (char *) "self",(char *) "pages", NULL | |
9096 | }; | |
9097 | ||
994141e6 | 9098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9099 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9100 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9101 | arg2 = (int) SWIG_AsInt(obj1); | |
9102 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9103 | { |
9104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9105 | result = (bool)(arg1)->ScrollPages(arg2); | |
9106 | ||
9107 | wxPyEndAllowThreads(__tstate); | |
9108 | if (PyErr_Occurred()) SWIG_fail; | |
9109 | } | |
4f89f6a3 RD |
9110 | { |
9111 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9112 | } | |
d14a1e28 RD |
9113 | return resultobj; |
9114 | fail: | |
9115 | return NULL; | |
9116 | } | |
9117 | ||
9118 | ||
9119 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9120 | PyObject *resultobj; | |
9121 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9122 | size_t arg2 ; | |
9123 | PyObject * obj0 = 0 ; | |
9124 | PyObject * obj1 = 0 ; | |
9125 | char *kwnames[] = { | |
9126 | (char *) "self",(char *) "line", NULL | |
9127 | }; | |
9128 | ||
9129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9130 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9131 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9132 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9133 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9134 | { |
9135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9136 | (arg1)->RefreshLine(arg2); | |
9137 | ||
9138 | wxPyEndAllowThreads(__tstate); | |
9139 | if (PyErr_Occurred()) SWIG_fail; | |
9140 | } | |
9141 | Py_INCREF(Py_None); resultobj = Py_None; | |
9142 | return resultobj; | |
9143 | fail: | |
9144 | return NULL; | |
9145 | } | |
9146 | ||
9147 | ||
9148 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9149 | PyObject *resultobj; | |
9150 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9151 | size_t arg2 ; | |
9152 | size_t arg3 ; | |
9153 | PyObject * obj0 = 0 ; | |
9154 | PyObject * obj1 = 0 ; | |
9155 | PyObject * obj2 = 0 ; | |
9156 | char *kwnames[] = { | |
9157 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9158 | }; | |
9159 | ||
9160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9161 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9162 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9163 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9164 | if (PyErr_Occurred()) SWIG_fail; | |
9165 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
9166 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9167 | { |
9168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9169 | (arg1)->RefreshLines(arg2,arg3); | |
9170 | ||
9171 | wxPyEndAllowThreads(__tstate); | |
9172 | if (PyErr_Occurred()) SWIG_fail; | |
9173 | } | |
9174 | Py_INCREF(Py_None); resultobj = Py_None; | |
9175 | return resultobj; | |
9176 | fail: | |
9177 | return NULL; | |
9178 | } | |
9179 | ||
9180 | ||
9181 | static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9182 | PyObject *resultobj; | |
9183 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
e811c8ce RD |
9184 | int arg2 ; |
9185 | int arg3 ; | |
d14a1e28 RD |
9186 | int result; |
9187 | PyObject * obj0 = 0 ; | |
994141e6 RD |
9188 | PyObject * obj1 = 0 ; |
9189 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
9190 | char *kwnames[] = { |
9191 | (char *) "self",(char *) "x",(char *) "y", NULL | |
9192 | }; | |
9193 | ||
994141e6 | 9194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
9195 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9196 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9197 | arg2 = (int) SWIG_AsInt(obj1); | |
9198 | if (PyErr_Occurred()) SWIG_fail; | |
9199 | arg3 = (int) SWIG_AsInt(obj2); | |
9200 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9201 | { |
9202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9203 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
9204 | ||
9205 | wxPyEndAllowThreads(__tstate); | |
9206 | if (PyErr_Occurred()) SWIG_fail; | |
9207 | } | |
15afbcd0 | 9208 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9209 | return resultobj; |
9210 | fail: | |
9211 | return NULL; | |
9212 | } | |
9213 | ||
9214 | ||
9215 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9216 | PyObject *resultobj; | |
9217 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9218 | wxPoint *arg2 = 0 ; | |
9219 | int result; | |
9220 | wxPoint temp2 ; | |
9221 | PyObject * obj0 = 0 ; | |
9222 | PyObject * obj1 = 0 ; | |
9223 | char *kwnames[] = { | |
9224 | (char *) "self",(char *) "pt", NULL | |
9225 | }; | |
9226 | ||
9227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9228 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9229 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9230 | { |
9231 | arg2 = &temp2; | |
9232 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9233 | } | |
9234 | { | |
9235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9236 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
9237 | ||
9238 | wxPyEndAllowThreads(__tstate); | |
9239 | if (PyErr_Occurred()) SWIG_fail; | |
9240 | } | |
15afbcd0 | 9241 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9242 | return resultobj; |
9243 | fail: | |
9244 | return NULL; | |
9245 | } | |
9246 | ||
9247 | ||
9248 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9249 | PyObject *resultobj; | |
9250 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9251 | PyObject * obj0 = 0 ; | |
9252 | char *kwnames[] = { | |
9253 | (char *) "self", NULL | |
9254 | }; | |
9255 | ||
9256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9257 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9258 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9259 | { |
9260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9261 | (arg1)->RefreshAll(); | |
9262 | ||
9263 | wxPyEndAllowThreads(__tstate); | |
9264 | if (PyErr_Occurred()) SWIG_fail; | |
9265 | } | |
9266 | Py_INCREF(Py_None); resultobj = Py_None; | |
9267 | return resultobj; | |
9268 | fail: | |
9269 | return NULL; | |
9270 | } | |
9271 | ||
9272 | ||
9273 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9274 | PyObject *resultobj; | |
9275 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9276 | size_t result; | |
9277 | PyObject * obj0 = 0 ; | |
9278 | char *kwnames[] = { | |
9279 | (char *) "self", NULL | |
9280 | }; | |
9281 | ||
9282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9283 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9285 | { |
9286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9287 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
9288 | ||
9289 | wxPyEndAllowThreads(__tstate); | |
9290 | if (PyErr_Occurred()) SWIG_fail; | |
9291 | } | |
15afbcd0 | 9292 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9293 | return resultobj; |
9294 | fail: | |
9295 | return NULL; | |
9296 | } | |
9297 | ||
9298 | ||
9299 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9300 | PyObject *resultobj; | |
9301 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9302 | size_t result; | |
9303 | PyObject * obj0 = 0 ; | |
9304 | char *kwnames[] = { | |
9305 | (char *) "self", NULL | |
9306 | }; | |
9307 | ||
9308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9309 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9310 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9311 | { |
9312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9313 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
9314 | ||
9315 | wxPyEndAllowThreads(__tstate); | |
9316 | if (PyErr_Occurred()) SWIG_fail; | |
9317 | } | |
15afbcd0 | 9318 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9319 | return resultobj; |
9320 | fail: | |
9321 | return NULL; | |
9322 | } | |
9323 | ||
9324 | ||
9325 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9326 | PyObject *resultobj; | |
9327 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9328 | size_t result; | |
9329 | PyObject * obj0 = 0 ; | |
9330 | char *kwnames[] = { | |
9331 | (char *) "self", NULL | |
9332 | }; | |
9333 | ||
9334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9335 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9336 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9337 | { |
9338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9339 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
9340 | ||
9341 | wxPyEndAllowThreads(__tstate); | |
9342 | if (PyErr_Occurred()) SWIG_fail; | |
9343 | } | |
15afbcd0 | 9344 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9345 | return resultobj; |
9346 | fail: | |
9347 | return NULL; | |
9348 | } | |
9349 | ||
9350 | ||
9351 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9352 | PyObject *resultobj; | |
9353 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9354 | size_t arg2 ; | |
9355 | bool result; | |
9356 | PyObject * obj0 = 0 ; | |
9357 | PyObject * obj1 = 0 ; | |
9358 | char *kwnames[] = { | |
9359 | (char *) "self",(char *) "line", NULL | |
9360 | }; | |
9361 | ||
9362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9363 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9364 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9365 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9366 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9367 | { |
9368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9369 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
9370 | ||
9371 | wxPyEndAllowThreads(__tstate); | |
9372 | if (PyErr_Occurred()) SWIG_fail; | |
9373 | } | |
4f89f6a3 RD |
9374 | { |
9375 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9376 | } | |
d14a1e28 RD |
9377 | return resultobj; |
9378 | fail: | |
9379 | return NULL; | |
9380 | } | |
9381 | ||
9382 | ||
9383 | static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
9384 | PyObject *obj; | |
9385 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9386 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
9387 | Py_INCREF(obj); | |
9388 | return Py_BuildValue((char *)""); | |
9389 | } | |
b2dc1044 RD |
9390 | static int _wrap_VListBoxNameStr_set(PyObject *_val) { |
9391 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); | |
9392 | return 1; | |
9393 | } | |
9394 | ||
9395 | ||
9396 | static PyObject *_wrap_VListBoxNameStr_get() { | |
9397 | PyObject *pyobj; | |
9398 | ||
9399 | { | |
9400 | #if wxUSE_UNICODE | |
9401 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9402 | #else | |
9403 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9404 | #endif | |
9405 | } | |
9406 | return pyobj; | |
9407 | } | |
9408 | ||
9409 | ||
d14a1e28 RD |
9410 | static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) { |
9411 | PyObject *resultobj; | |
9412 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 9413 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
9414 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
9415 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9416 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9417 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9418 | long arg5 = (long) 0 ; | |
9419 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
9420 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9421 | wxPyVListBox *result; | |
9422 | wxPoint temp3 ; | |
9423 | wxSize temp4 ; | |
e811c8ce | 9424 | bool temp6 = False ; |
d14a1e28 | 9425 | PyObject * obj0 = 0 ; |
994141e6 | 9426 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9427 | PyObject * obj2 = 0 ; |
9428 | PyObject * obj3 = 0 ; | |
994141e6 | 9429 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
9430 | PyObject * obj5 = 0 ; |
9431 | char *kwnames[] = { | |
9432 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9433 | }; | |
9434 | ||
994141e6 | 9435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
9436 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9437 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9438 | if (obj1) { |
15afbcd0 RD |
9439 | arg2 = (int) SWIG_AsInt(obj1); |
9440 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9441 | } |
d14a1e28 RD |
9442 | if (obj2) { |
9443 | { | |
9444 | arg3 = &temp3; | |
9445 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9446 | } | |
9447 | } | |
9448 | if (obj3) { | |
9449 | { | |
9450 | arg4 = &temp4; | |
9451 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9452 | } | |
9453 | } | |
994141e6 | 9454 | if (obj4) { |
15afbcd0 RD |
9455 | arg5 = (long) SWIG_AsLong(obj4); |
9456 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9457 | } |
d14a1e28 RD |
9458 | if (obj5) { |
9459 | { | |
9460 | arg6 = wxString_in_helper(obj5); | |
9461 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 9462 | temp6 = True; |
d14a1e28 RD |
9463 | } |
9464 | } | |
9465 | { | |
9466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9467 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9468 | ||
9469 | wxPyEndAllowThreads(__tstate); | |
9470 | if (PyErr_Occurred()) SWIG_fail; | |
9471 | } | |
15afbcd0 | 9472 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
9473 | { |
9474 | if (temp6) | |
9475 | delete arg6; | |
9476 | } | |
9477 | return resultobj; | |
9478 | fail: | |
9479 | { | |
9480 | if (temp6) | |
9481 | delete arg6; | |
9482 | } | |
9483 | return NULL; | |
9484 | } | |
9485 | ||
9486 | ||
9487 | static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9488 | PyObject *resultobj; | |
9489 | wxPyVListBox *result; | |
9490 | char *kwnames[] = { | |
9491 | NULL | |
9492 | }; | |
9493 | ||
9494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
9495 | { | |
9496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9497 | result = (wxPyVListBox *)new wxPyVListBox(); | |
9498 | ||
9499 | wxPyEndAllowThreads(__tstate); | |
9500 | if (PyErr_Occurred()) SWIG_fail; | |
9501 | } | |
15afbcd0 | 9502 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
9503 | return resultobj; |
9504 | fail: | |
9505 | return NULL; | |
9506 | } | |
9507 | ||
9508 | ||
9509 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9510 | PyObject *resultobj; | |
9511 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9512 | PyObject *arg2 = (PyObject *) 0 ; | |
9513 | PyObject *arg3 = (PyObject *) 0 ; | |
9514 | PyObject * obj0 = 0 ; | |
9515 | PyObject * obj1 = 0 ; | |
9516 | PyObject * obj2 = 0 ; | |
9517 | char *kwnames[] = { | |
9518 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9519 | }; | |
9520 | ||
9521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9522 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9523 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9524 | arg2 = obj1; |
9525 | arg3 = obj2; | |
9526 | { | |
9527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9528 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9529 | ||
9530 | wxPyEndAllowThreads(__tstate); | |
9531 | if (PyErr_Occurred()) SWIG_fail; | |
9532 | } | |
9533 | Py_INCREF(Py_None); resultobj = Py_None; | |
9534 | return resultobj; | |
9535 | fail: | |
9536 | return NULL; | |
9537 | } | |
9538 | ||
9539 | ||
9540 | static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9541 | PyObject *resultobj; | |
9542 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9543 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 9544 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
9545 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
9546 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9547 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9548 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9549 | long arg6 = (long) 0 ; | |
9550 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
9551 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9552 | bool result; | |
9553 | wxPoint temp4 ; | |
9554 | wxSize temp5 ; | |
e811c8ce | 9555 | bool temp7 = False ; |
d14a1e28 RD |
9556 | PyObject * obj0 = 0 ; |
9557 | PyObject * obj1 = 0 ; | |
994141e6 | 9558 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9559 | PyObject * obj3 = 0 ; |
9560 | PyObject * obj4 = 0 ; | |
994141e6 | 9561 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
9562 | PyObject * obj6 = 0 ; |
9563 | char *kwnames[] = { | |
9564 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9565 | }; | |
9566 | ||
994141e6 | 9567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
9568 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9569 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9570 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
9571 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9572 | if (obj2) { |
15afbcd0 RD |
9573 | arg3 = (int) SWIG_AsInt(obj2); |
9574 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9575 | } |
d14a1e28 RD |
9576 | if (obj3) { |
9577 | { | |
9578 | arg4 = &temp4; | |
9579 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9580 | } | |
9581 | } | |
9582 | if (obj4) { | |
9583 | { | |
9584 | arg5 = &temp5; | |
9585 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9586 | } | |
9587 | } | |
994141e6 | 9588 | if (obj5) { |
15afbcd0 RD |
9589 | arg6 = (long) SWIG_AsLong(obj5); |
9590 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9591 | } |
d14a1e28 RD |
9592 | if (obj6) { |
9593 | { | |
9594 | arg7 = wxString_in_helper(obj6); | |
9595 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 9596 | temp7 = True; |
d14a1e28 RD |
9597 | } |
9598 | } | |
9599 | { | |
9600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9601 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9602 | ||
9603 | wxPyEndAllowThreads(__tstate); | |
9604 | if (PyErr_Occurred()) SWIG_fail; | |
9605 | } | |
4f89f6a3 RD |
9606 | { |
9607 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9608 | } | |
d14a1e28 RD |
9609 | { |
9610 | if (temp7) | |
9611 | delete arg7; | |
9612 | } | |
9613 | return resultobj; | |
9614 | fail: | |
9615 | { | |
9616 | if (temp7) | |
9617 | delete arg7; | |
9618 | } | |
9619 | return NULL; | |
9620 | } | |
9621 | ||
9622 | ||
9623 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9624 | PyObject *resultobj; | |
9625 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9626 | size_t result; | |
9627 | PyObject * obj0 = 0 ; | |
9628 | char *kwnames[] = { | |
9629 | (char *) "self", NULL | |
9630 | }; | |
9631 | ||
9632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9633 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9634 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9635 | { |
9636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9637 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
9638 | ||
9639 | wxPyEndAllowThreads(__tstate); | |
9640 | if (PyErr_Occurred()) SWIG_fail; | |
9641 | } | |
15afbcd0 | 9642 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9643 | return resultobj; |
9644 | fail: | |
9645 | return NULL; | |
9646 | } | |
9647 | ||
9648 | ||
9649 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9650 | PyObject *resultobj; | |
9651 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9652 | bool result; | |
9653 | PyObject * obj0 = 0 ; | |
9654 | char *kwnames[] = { | |
9655 | (char *) "self", NULL | |
9656 | }; | |
9657 | ||
9658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9659 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9660 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9661 | { |
9662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9663 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
9664 | ||
9665 | wxPyEndAllowThreads(__tstate); | |
9666 | if (PyErr_Occurred()) SWIG_fail; | |
9667 | } | |
4f89f6a3 RD |
9668 | { |
9669 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9670 | } | |
d14a1e28 RD |
9671 | return resultobj; |
9672 | fail: | |
9673 | return NULL; | |
9674 | } | |
9675 | ||
9676 | ||
9677 | static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9678 | PyObject *resultobj; | |
9679 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9680 | int result; | |
9681 | PyObject * obj0 = 0 ; | |
9682 | char *kwnames[] = { | |
9683 | (char *) "self", NULL | |
9684 | }; | |
9685 | ||
9686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9687 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9688 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9689 | { |
9690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9691 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
9692 | ||
9693 | wxPyEndAllowThreads(__tstate); | |
9694 | if (PyErr_Occurred()) SWIG_fail; | |
9695 | } | |
15afbcd0 | 9696 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9697 | return resultobj; |
9698 | fail: | |
9699 | return NULL; | |
9700 | } | |
9701 | ||
9702 | ||
9703 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9704 | PyObject *resultobj; | |
9705 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9706 | size_t arg2 ; | |
9707 | bool result; | |
9708 | PyObject * obj0 = 0 ; | |
9709 | PyObject * obj1 = 0 ; | |
9710 | char *kwnames[] = { | |
9711 | (char *) "self",(char *) "item", NULL | |
9712 | }; | |
9713 | ||
9714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9715 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9717 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9718 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9719 | { |
9720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9721 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
9722 | ||
9723 | wxPyEndAllowThreads(__tstate); | |
9724 | if (PyErr_Occurred()) SWIG_fail; | |
9725 | } | |
4f89f6a3 RD |
9726 | { |
9727 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9728 | } | |
d14a1e28 RD |
9729 | return resultobj; |
9730 | fail: | |
9731 | return NULL; | |
9732 | } | |
9733 | ||
9734 | ||
9735 | static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9736 | PyObject *resultobj; | |
9737 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9738 | size_t arg2 ; | |
9739 | bool result; | |
9740 | PyObject * obj0 = 0 ; | |
9741 | PyObject * obj1 = 0 ; | |
9742 | char *kwnames[] = { | |
9743 | (char *) "self",(char *) "item", NULL | |
9744 | }; | |
9745 | ||
9746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9747 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9748 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9749 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9750 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9751 | { |
9752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9753 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
9754 | ||
9755 | wxPyEndAllowThreads(__tstate); | |
9756 | if (PyErr_Occurred()) SWIG_fail; | |
9757 | } | |
4f89f6a3 RD |
9758 | { |
9759 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9760 | } | |
d14a1e28 RD |
9761 | return resultobj; |
9762 | fail: | |
9763 | return NULL; | |
9764 | } | |
9765 | ||
9766 | ||
9767 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9768 | PyObject *resultobj; | |
9769 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9770 | size_t result; | |
9771 | PyObject * obj0 = 0 ; | |
9772 | char *kwnames[] = { | |
9773 | (char *) "self", NULL | |
9774 | }; | |
9775 | ||
9776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9777 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9778 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9779 | { |
9780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9781 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
9782 | ||
9783 | wxPyEndAllowThreads(__tstate); | |
9784 | if (PyErr_Occurred()) SWIG_fail; | |
9785 | } | |
15afbcd0 | 9786 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9787 | return resultobj; |
9788 | fail: | |
9789 | return NULL; | |
9790 | } | |
9791 | ||
9792 | ||
9793 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9794 | PyObject *resultobj; | |
9795 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9796 | unsigned long *arg2 = 0 ; | |
9797 | int result; | |
9798 | PyObject * obj0 = 0 ; | |
9799 | PyObject * obj1 = 0 ; | |
9800 | char *kwnames[] = { | |
9801 | (char *) "self",(char *) "cookie", NULL | |
9802 | }; | |
9803 | ||
9804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9805 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9806 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9807 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long, | |
9808 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
9809 | SWIG_fail; | |
d14a1e28 | 9810 | if (arg2 == NULL) { |
15afbcd0 RD |
9811 | PyErr_SetString(PyExc_TypeError,"null reference"); |
9812 | SWIG_fail; | |
d14a1e28 RD |
9813 | } |
9814 | { | |
9815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9816 | result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2); | |
9817 | ||
9818 | wxPyEndAllowThreads(__tstate); | |
9819 | if (PyErr_Occurred()) SWIG_fail; | |
9820 | } | |
15afbcd0 | 9821 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9822 | return resultobj; |
9823 | fail: | |
9824 | return NULL; | |
9825 | } | |
9826 | ||
9827 | ||
9828 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9829 | PyObject *resultobj; | |
9830 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9831 | unsigned long *arg2 = 0 ; | |
9832 | int result; | |
9833 | PyObject * obj0 = 0 ; | |
9834 | PyObject * obj1 = 0 ; | |
9835 | char *kwnames[] = { | |
9836 | (char *) "self",(char *) "cookie", NULL | |
9837 | }; | |
9838 | ||
9839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9840 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9841 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9842 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long, | |
9843 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
9844 | SWIG_fail; | |
d14a1e28 | 9845 | if (arg2 == NULL) { |
15afbcd0 RD |
9846 | PyErr_SetString(PyExc_TypeError,"null reference"); |
9847 | SWIG_fail; | |
d14a1e28 RD |
9848 | } |
9849 | { | |
9850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9851 | result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2); | |
9852 | ||
9853 | wxPyEndAllowThreads(__tstate); | |
9854 | if (PyErr_Occurred()) SWIG_fail; | |
9855 | } | |
15afbcd0 | 9856 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9857 | return resultobj; |
9858 | fail: | |
9859 | return NULL; | |
9860 | } | |
9861 | ||
9862 | ||
9863 | static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9864 | PyObject *resultobj; | |
9865 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9866 | wxPoint result; | |
9867 | PyObject * obj0 = 0 ; | |
9868 | char *kwnames[] = { | |
9869 | (char *) "self", NULL | |
9870 | }; | |
9871 | ||
9872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9873 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9874 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9875 | { |
9876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9877 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
9878 | ||
9879 | wxPyEndAllowThreads(__tstate); | |
9880 | if (PyErr_Occurred()) SWIG_fail; | |
9881 | } | |
9882 | { | |
9883 | wxPoint * resultptr; | |
9884 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 9885 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
9886 | } |
9887 | return resultobj; | |
9888 | fail: | |
9889 | return NULL; | |
9890 | } | |
9891 | ||
9892 | ||
9893 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9894 | PyObject *resultobj; | |
9895 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9896 | wxColour *result; | |
9897 | PyObject * obj0 = 0 ; | |
9898 | char *kwnames[] = { | |
9899 | (char *) "self", NULL | |
9900 | }; | |
9901 | ||
9902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9903 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9904 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9905 | { |
9906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9907 | { | |
9908 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
9909 | result = (wxColour *) &_result_ref; | |
9910 | } | |
9911 | ||
9912 | wxPyEndAllowThreads(__tstate); | |
9913 | if (PyErr_Occurred()) SWIG_fail; | |
9914 | } | |
15afbcd0 | 9915 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
9916 | return resultobj; |
9917 | fail: | |
9918 | return NULL; | |
9919 | } | |
9920 | ||
9921 | ||
9922 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9923 | PyObject *resultobj; | |
9924 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9925 | size_t arg2 ; | |
9926 | PyObject * obj0 = 0 ; | |
9927 | PyObject * obj1 = 0 ; | |
9928 | char *kwnames[] = { | |
9929 | (char *) "self",(char *) "count", NULL | |
9930 | }; | |
9931 | ||
9932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9933 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9934 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9935 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9936 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9937 | { |
9938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9939 | (arg1)->SetItemCount(arg2); | |
9940 | ||
9941 | wxPyEndAllowThreads(__tstate); | |
9942 | if (PyErr_Occurred()) SWIG_fail; | |
9943 | } | |
9944 | Py_INCREF(Py_None); resultobj = Py_None; | |
9945 | return resultobj; | |
9946 | fail: | |
9947 | return NULL; | |
9948 | } | |
9949 | ||
9950 | ||
9951 | static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9952 | PyObject *resultobj; | |
9953 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9954 | PyObject * obj0 = 0 ; | |
9955 | char *kwnames[] = { | |
9956 | (char *) "self", NULL | |
9957 | }; | |
9958 | ||
9959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9960 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9961 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9962 | { |
9963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9964 | (arg1)->Clear(); | |
9965 | ||
9966 | wxPyEndAllowThreads(__tstate); | |
9967 | if (PyErr_Occurred()) SWIG_fail; | |
9968 | } | |
9969 | Py_INCREF(Py_None); resultobj = Py_None; | |
9970 | return resultobj; | |
9971 | fail: | |
9972 | return NULL; | |
9973 | } | |
9974 | ||
9975 | ||
9976 | static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9977 | PyObject *resultobj; | |
9978 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9979 | int arg2 ; | |
9980 | PyObject * obj0 = 0 ; | |
994141e6 | 9981 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9982 | char *kwnames[] = { |
9983 | (char *) "self",(char *) "selection", NULL | |
9984 | }; | |
9985 | ||
994141e6 | 9986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9987 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9989 | arg2 = (int) SWIG_AsInt(obj1); | |
9990 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9991 | { |
9992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9993 | (arg1)->SetSelection(arg2); | |
9994 | ||
9995 | wxPyEndAllowThreads(__tstate); | |
9996 | if (PyErr_Occurred()) SWIG_fail; | |
9997 | } | |
9998 | Py_INCREF(Py_None); resultobj = Py_None; | |
9999 | return resultobj; | |
10000 | fail: | |
10001 | return NULL; | |
10002 | } | |
10003 | ||
10004 | ||
10005 | static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10006 | PyObject *resultobj; | |
10007 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10008 | size_t arg2 ; | |
e811c8ce | 10009 | bool arg3 = (bool) True ; |
d14a1e28 RD |
10010 | bool result; |
10011 | PyObject * obj0 = 0 ; | |
10012 | PyObject * obj1 = 0 ; | |
10013 | PyObject * obj2 = 0 ; | |
10014 | char *kwnames[] = { | |
10015 | (char *) "self",(char *) "item",(char *) "select", NULL | |
10016 | }; | |
10017 | ||
10018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10019 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10020 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10021 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10022 | if (PyErr_Occurred()) SWIG_fail; | |
a41e16b6 | 10023 | if (obj2) { |
15afbcd0 RD |
10024 | arg3 = (bool) SWIG_AsBool(obj2); |
10025 | if (PyErr_Occurred()) SWIG_fail; | |
a41e16b6 | 10026 | } |
d14a1e28 RD |
10027 | { |
10028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10029 | result = (bool)(arg1)->Select(arg2,arg3); | |
10030 | ||
10031 | wxPyEndAllowThreads(__tstate); | |
10032 | if (PyErr_Occurred()) SWIG_fail; | |
10033 | } | |
4f89f6a3 RD |
10034 | { |
10035 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10036 | } | |
d14a1e28 RD |
10037 | return resultobj; |
10038 | fail: | |
10039 | return NULL; | |
10040 | } | |
10041 | ||
10042 | ||
10043 | static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10044 | PyObject *resultobj; | |
10045 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10046 | size_t arg2 ; | |
10047 | size_t arg3 ; | |
10048 | bool result; | |
10049 | PyObject * obj0 = 0 ; | |
10050 | PyObject * obj1 = 0 ; | |
10051 | PyObject * obj2 = 0 ; | |
15afbcd0 RD |
10052 | char *kwnames[] = { |
10053 | (char *) "self",(char *) "from",(char *) "to", NULL | |
10054 | }; | |
10055 | ||
10056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10057 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10058 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10059 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10060 | if (PyErr_Occurred()) SWIG_fail; | |
10061 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
10062 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10063 | { |
10064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10065 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
10066 | ||
10067 | wxPyEndAllowThreads(__tstate); | |
10068 | if (PyErr_Occurred()) SWIG_fail; | |
10069 | } | |
4f89f6a3 RD |
10070 | { |
10071 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10072 | } | |
d14a1e28 RD |
10073 | return resultobj; |
10074 | fail: | |
10075 | return NULL; | |
10076 | } | |
10077 | ||
10078 | ||
10079 | static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10080 | PyObject *resultobj; | |
10081 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10082 | size_t arg2 ; | |
10083 | PyObject * obj0 = 0 ; | |
10084 | PyObject * obj1 = 0 ; | |
10085 | char *kwnames[] = { | |
10086 | (char *) "self",(char *) "item", NULL | |
10087 | }; | |
10088 | ||
10089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10090 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10091 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10092 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10093 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10094 | { |
10095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10096 | (arg1)->Toggle(arg2); | |
10097 | ||
10098 | wxPyEndAllowThreads(__tstate); | |
10099 | if (PyErr_Occurred()) SWIG_fail; | |
10100 | } | |
10101 | Py_INCREF(Py_None); resultobj = Py_None; | |
10102 | return resultobj; | |
10103 | fail: | |
10104 | return NULL; | |
10105 | } | |
10106 | ||
10107 | ||
10108 | static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10109 | PyObject *resultobj; | |
10110 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10111 | bool result; | |
10112 | PyObject * obj0 = 0 ; | |
10113 | char *kwnames[] = { | |
10114 | (char *) "self", NULL | |
10115 | }; | |
10116 | ||
10117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10118 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10119 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10120 | { |
10121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10122 | result = (bool)(arg1)->SelectAll(); | |
10123 | ||
10124 | wxPyEndAllowThreads(__tstate); | |
10125 | if (PyErr_Occurred()) SWIG_fail; | |
10126 | } | |
4f89f6a3 RD |
10127 | { |
10128 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10129 | } | |
d14a1e28 RD |
10130 | return resultobj; |
10131 | fail: | |
10132 | return NULL; | |
10133 | } | |
10134 | ||
10135 | ||
10136 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10137 | PyObject *resultobj; | |
10138 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10139 | bool result; | |
10140 | PyObject * obj0 = 0 ; | |
10141 | char *kwnames[] = { | |
10142 | (char *) "self", NULL | |
10143 | }; | |
10144 | ||
10145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10146 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10147 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10148 | { |
10149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10150 | result = (bool)(arg1)->DeselectAll(); | |
10151 | ||
10152 | wxPyEndAllowThreads(__tstate); | |
10153 | if (PyErr_Occurred()) SWIG_fail; | |
10154 | } | |
4f89f6a3 RD |
10155 | { |
10156 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10157 | } | |
d14a1e28 RD |
10158 | return resultobj; |
10159 | fail: | |
10160 | return NULL; | |
10161 | } | |
10162 | ||
10163 | ||
10164 | static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10165 | PyObject *resultobj; | |
10166 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10167 | wxPoint *arg2 = 0 ; | |
10168 | wxPoint temp2 ; | |
10169 | PyObject * obj0 = 0 ; | |
10170 | PyObject * obj1 = 0 ; | |
10171 | char *kwnames[] = { | |
10172 | (char *) "self",(char *) "pt", NULL | |
10173 | }; | |
10174 | ||
10175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10176 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10177 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10178 | { |
10179 | arg2 = &temp2; | |
10180 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10181 | } | |
10182 | { | |
10183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10184 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
10185 | ||
10186 | wxPyEndAllowThreads(__tstate); | |
10187 | if (PyErr_Occurred()) SWIG_fail; | |
10188 | } | |
10189 | Py_INCREF(Py_None); resultobj = Py_None; | |
10190 | return resultobj; | |
10191 | fail: | |
10192 | return NULL; | |
10193 | } | |
10194 | ||
10195 | ||
10196 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10197 | PyObject *resultobj; | |
10198 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
e811c8ce RD |
10199 | int arg2 ; |
10200 | int arg3 ; | |
d14a1e28 | 10201 | PyObject * obj0 = 0 ; |
994141e6 RD |
10202 | PyObject * obj1 = 0 ; |
10203 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
10204 | char *kwnames[] = { |
10205 | (char *) "self",(char *) "x",(char *) "y", NULL | |
10206 | }; | |
10207 | ||
994141e6 | 10208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
10209 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10210 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10211 | arg2 = (int) SWIG_AsInt(obj1); | |
10212 | if (PyErr_Occurred()) SWIG_fail; | |
10213 | arg3 = (int) SWIG_AsInt(obj2); | |
10214 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10215 | { |
10216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10217 | (arg1)->SetMargins(arg2,arg3); | |
10218 | ||
10219 | wxPyEndAllowThreads(__tstate); | |
10220 | if (PyErr_Occurred()) SWIG_fail; | |
10221 | } | |
10222 | Py_INCREF(Py_None); resultobj = Py_None; | |
10223 | return resultobj; | |
10224 | fail: | |
10225 | return NULL; | |
10226 | } | |
10227 | ||
10228 | ||
10229 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10230 | PyObject *resultobj; | |
10231 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10232 | wxColour *arg2 = 0 ; | |
10233 | wxColour temp2 ; | |
10234 | PyObject * obj0 = 0 ; | |
10235 | PyObject * obj1 = 0 ; | |
10236 | char *kwnames[] = { | |
10237 | (char *) "self",(char *) "col", NULL | |
10238 | }; | |
10239 | ||
10240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10241 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10242 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10243 | { |
10244 | arg2 = &temp2; | |
10245 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10246 | } | |
10247 | { | |
10248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10249 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
10250 | ||
10251 | wxPyEndAllowThreads(__tstate); | |
10252 | if (PyErr_Occurred()) SWIG_fail; | |
10253 | } | |
10254 | Py_INCREF(Py_None); resultobj = Py_None; | |
10255 | return resultobj; | |
10256 | fail: | |
10257 | return NULL; | |
10258 | } | |
10259 | ||
10260 | ||
10261 | static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) { | |
10262 | PyObject *obj; | |
10263 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10264 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
10265 | Py_INCREF(obj); | |
10266 | return Py_BuildValue((char *)""); | |
10267 | } | |
10268 | static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10269 | PyObject *resultobj; | |
10270 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 10271 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
10272 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10273 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10274 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10275 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10276 | long arg5 = (long) 0 ; | |
10277 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
10278 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10279 | wxPyHtmlListBox *result; | |
10280 | wxPoint temp3 ; | |
10281 | wxSize temp4 ; | |
e811c8ce | 10282 | bool temp6 = False ; |
d14a1e28 | 10283 | PyObject * obj0 = 0 ; |
994141e6 | 10284 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10285 | PyObject * obj2 = 0 ; |
10286 | PyObject * obj3 = 0 ; | |
994141e6 | 10287 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
10288 | PyObject * obj5 = 0 ; |
10289 | char *kwnames[] = { | |
10290 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10291 | }; | |
10292 | ||
994141e6 | 10293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
10294 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
10295 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10296 | if (obj1) { |
15afbcd0 RD |
10297 | arg2 = (int) SWIG_AsInt(obj1); |
10298 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10299 | } |
d14a1e28 RD |
10300 | if (obj2) { |
10301 | { | |
10302 | arg3 = &temp3; | |
10303 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10304 | } | |
10305 | } | |
10306 | if (obj3) { | |
10307 | { | |
10308 | arg4 = &temp4; | |
10309 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10310 | } | |
10311 | } | |
994141e6 | 10312 | if (obj4) { |
15afbcd0 RD |
10313 | arg5 = (long) SWIG_AsLong(obj4); |
10314 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10315 | } |
d14a1e28 RD |
10316 | if (obj5) { |
10317 | { | |
10318 | arg6 = wxString_in_helper(obj5); | |
10319 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 10320 | temp6 = True; |
d14a1e28 RD |
10321 | } |
10322 | } | |
10323 | { | |
10324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10325 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10326 | ||
10327 | wxPyEndAllowThreads(__tstate); | |
10328 | if (PyErr_Occurred()) SWIG_fail; | |
10329 | } | |
15afbcd0 | 10330 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10331 | { |
10332 | if (temp6) | |
10333 | delete arg6; | |
10334 | } | |
10335 | return resultobj; | |
10336 | fail: | |
10337 | { | |
10338 | if (temp6) | |
10339 | delete arg6; | |
10340 | } | |
10341 | return NULL; | |
10342 | } | |
10343 | ||
10344 | ||
10345 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10346 | PyObject *resultobj; | |
10347 | wxPyHtmlListBox *result; | |
10348 | char *kwnames[] = { | |
10349 | NULL | |
10350 | }; | |
10351 | ||
10352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
10353 | { | |
10354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10355 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
10356 | ||
10357 | wxPyEndAllowThreads(__tstate); | |
10358 | if (PyErr_Occurred()) SWIG_fail; | |
10359 | } | |
15afbcd0 | 10360 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10361 | return resultobj; |
10362 | fail: | |
10363 | return NULL; | |
10364 | } | |
10365 | ||
10366 | ||
10367 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10368 | PyObject *resultobj; | |
10369 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10370 | PyObject *arg2 = (PyObject *) 0 ; | |
10371 | PyObject *arg3 = (PyObject *) 0 ; | |
10372 | PyObject * obj0 = 0 ; | |
10373 | PyObject * obj1 = 0 ; | |
10374 | PyObject * obj2 = 0 ; | |
10375 | char *kwnames[] = { | |
10376 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10377 | }; | |
10378 | ||
10379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10380 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10382 | arg2 = obj1; |
10383 | arg3 = obj2; | |
10384 | { | |
10385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10386 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10387 | ||
10388 | wxPyEndAllowThreads(__tstate); | |
10389 | if (PyErr_Occurred()) SWIG_fail; | |
10390 | } | |
10391 | Py_INCREF(Py_None); resultobj = Py_None; | |
10392 | return resultobj; | |
10393 | fail: | |
10394 | return NULL; | |
10395 | } | |
10396 | ||
10397 | ||
10398 | static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10399 | PyObject *resultobj; | |
10400 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10401 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 10402 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
10403 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10404 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10405 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10406 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10407 | long arg6 = (long) 0 ; | |
10408 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
10409 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10410 | bool result; | |
10411 | wxPoint temp4 ; | |
10412 | wxSize temp5 ; | |
e811c8ce | 10413 | bool temp7 = False ; |
d14a1e28 RD |
10414 | PyObject * obj0 = 0 ; |
10415 | PyObject * obj1 = 0 ; | |
994141e6 | 10416 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10417 | PyObject * obj3 = 0 ; |
10418 | PyObject * obj4 = 0 ; | |
994141e6 | 10419 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
10420 | PyObject * obj6 = 0 ; |
10421 | char *kwnames[] = { | |
10422 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10423 | }; | |
10424 | ||
994141e6 | 10425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
10426 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10427 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10428 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
10429 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10430 | if (obj2) { |
15afbcd0 RD |
10431 | arg3 = (int) SWIG_AsInt(obj2); |
10432 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10433 | } |
d14a1e28 RD |
10434 | if (obj3) { |
10435 | { | |
10436 | arg4 = &temp4; | |
10437 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10438 | } | |
10439 | } | |
10440 | if (obj4) { | |
10441 | { | |
10442 | arg5 = &temp5; | |
10443 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10444 | } | |
10445 | } | |
994141e6 | 10446 | if (obj5) { |
15afbcd0 RD |
10447 | arg6 = (long) SWIG_AsLong(obj5); |
10448 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10449 | } |
d14a1e28 RD |
10450 | if (obj6) { |
10451 | { | |
10452 | arg7 = wxString_in_helper(obj6); | |
10453 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 10454 | temp7 = True; |
d14a1e28 RD |
10455 | } |
10456 | } | |
10457 | { | |
10458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10459 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10460 | ||
10461 | wxPyEndAllowThreads(__tstate); | |
10462 | if (PyErr_Occurred()) SWIG_fail; | |
10463 | } | |
4f89f6a3 RD |
10464 | { |
10465 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10466 | } | |
d14a1e28 RD |
10467 | { |
10468 | if (temp7) | |
10469 | delete arg7; | |
10470 | } | |
10471 | return resultobj; | |
10472 | fail: | |
10473 | { | |
10474 | if (temp7) | |
10475 | delete arg7; | |
10476 | } | |
10477 | return NULL; | |
10478 | } | |
10479 | ||
10480 | ||
10481 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10482 | PyObject *resultobj; | |
10483 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10484 | PyObject * obj0 = 0 ; | |
10485 | char *kwnames[] = { | |
10486 | (char *) "self", NULL | |
10487 | }; | |
10488 | ||
10489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10490 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10491 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10492 | { |
10493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10494 | (arg1)->RefreshAll(); | |
10495 | ||
10496 | wxPyEndAllowThreads(__tstate); | |
10497 | if (PyErr_Occurred()) SWIG_fail; | |
10498 | } | |
10499 | Py_INCREF(Py_None); resultobj = Py_None; | |
10500 | return resultobj; | |
10501 | fail: | |
10502 | return NULL; | |
10503 | } | |
10504 | ||
10505 | ||
10506 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10507 | PyObject *resultobj; | |
10508 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10509 | size_t arg2 ; | |
10510 | PyObject * obj0 = 0 ; | |
10511 | PyObject * obj1 = 0 ; | |
10512 | char *kwnames[] = { | |
10513 | (char *) "self",(char *) "count", NULL | |
10514 | }; | |
10515 | ||
10516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10517 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10518 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10519 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10520 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10521 | { |
10522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10523 | (arg1)->SetItemCount(arg2); | |
10524 | ||
10525 | wxPyEndAllowThreads(__tstate); | |
10526 | if (PyErr_Occurred()) SWIG_fail; | |
10527 | } | |
10528 | Py_INCREF(Py_None); resultobj = Py_None; | |
10529 | return resultobj; | |
10530 | fail: | |
10531 | return NULL; | |
10532 | } | |
10533 | ||
10534 | ||
10535 | static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) { | |
10536 | PyObject *obj; | |
10537 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10538 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
10539 | Py_INCREF(obj); | |
10540 | return Py_BuildValue((char *)""); | |
10541 | } | |
10542 | static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10543 | PyObject *resultobj; | |
10544 | wxTaskBarIcon *result; | |
10545 | char *kwnames[] = { | |
10546 | NULL | |
10547 | }; | |
10548 | ||
10549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
10550 | { | |
10551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10552 | result = (wxTaskBarIcon *)new wxTaskBarIcon(); | |
10553 | ||
10554 | wxPyEndAllowThreads(__tstate); | |
10555 | if (PyErr_Occurred()) SWIG_fail; | |
10556 | } | |
15afbcd0 | 10557 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1); |
d14a1e28 RD |
10558 | return resultobj; |
10559 | fail: | |
10560 | return NULL; | |
10561 | } | |
10562 | ||
10563 | ||
10564 | static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10565 | PyObject *resultobj; | |
10566 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10567 | PyObject * obj0 = 0 ; | |
10568 | char *kwnames[] = { | |
10569 | (char *) "self", NULL | |
10570 | }; | |
10571 | ||
10572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10573 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10574 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10575 | { |
10576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10577 | delete arg1; | |
10578 | ||
10579 | wxPyEndAllowThreads(__tstate); | |
10580 | if (PyErr_Occurred()) SWIG_fail; | |
10581 | } | |
10582 | Py_INCREF(Py_None); resultobj = Py_None; | |
10583 | return resultobj; | |
10584 | fail: | |
10585 | return NULL; | |
10586 | } | |
10587 | ||
10588 | ||
10589 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10590 | PyObject *resultobj; | |
10591 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10592 | bool result; | |
10593 | PyObject * obj0 = 0 ; | |
10594 | char *kwnames[] = { | |
10595 | (char *) "self", NULL | |
10596 | }; | |
10597 | ||
10598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10599 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10600 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10601 | { |
10602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10603 | result = (bool)((wxTaskBarIcon const *)arg1)->IsOk(); | |
10604 | ||
10605 | wxPyEndAllowThreads(__tstate); | |
10606 | if (PyErr_Occurred()) SWIG_fail; | |
10607 | } | |
4f89f6a3 RD |
10608 | { |
10609 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10610 | } | |
d14a1e28 RD |
10611 | return resultobj; |
10612 | fail: | |
10613 | return NULL; | |
10614 | } | |
10615 | ||
10616 | ||
10617 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10618 | PyObject *resultobj; | |
10619 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10620 | bool result; | |
10621 | PyObject * obj0 = 0 ; | |
10622 | char *kwnames[] = { | |
10623 | (char *) "self", NULL | |
10624 | }; | |
10625 | ||
10626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10627 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10628 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10629 | { |
10630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10631 | result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled(); | |
10632 | ||
10633 | wxPyEndAllowThreads(__tstate); | |
10634 | if (PyErr_Occurred()) SWIG_fail; | |
10635 | } | |
4f89f6a3 RD |
10636 | { |
10637 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10638 | } | |
d14a1e28 RD |
10639 | return resultobj; |
10640 | fail: | |
10641 | return NULL; | |
10642 | } | |
10643 | ||
10644 | ||
10645 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10646 | PyObject *resultobj; | |
10647 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10648 | wxIcon *arg2 = 0 ; | |
10649 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10650 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10651 | bool result; | |
e811c8ce | 10652 | bool temp3 = False ; |
d14a1e28 RD |
10653 | PyObject * obj0 = 0 ; |
10654 | PyObject * obj1 = 0 ; | |
10655 | PyObject * obj2 = 0 ; | |
10656 | char *kwnames[] = { | |
10657 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
10658 | }; | |
10659 | ||
10660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10661 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10662 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10663 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
10664 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
10665 | SWIG_fail; | |
d14a1e28 | 10666 | if (arg2 == NULL) { |
15afbcd0 RD |
10667 | PyErr_SetString(PyExc_TypeError,"null reference"); |
10668 | SWIG_fail; | |
d14a1e28 RD |
10669 | } |
10670 | if (obj2) { | |
10671 | { | |
10672 | arg3 = wxString_in_helper(obj2); | |
10673 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 10674 | temp3 = True; |
d14a1e28 RD |
10675 | } |
10676 | } | |
10677 | { | |
10678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10679 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
10680 | ||
10681 | wxPyEndAllowThreads(__tstate); | |
10682 | if (PyErr_Occurred()) SWIG_fail; | |
10683 | } | |
4f89f6a3 RD |
10684 | { |
10685 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10686 | } | |
d14a1e28 RD |
10687 | { |
10688 | if (temp3) | |
10689 | delete arg3; | |
10690 | } | |
10691 | return resultobj; | |
10692 | fail: | |
10693 | { | |
10694 | if (temp3) | |
10695 | delete arg3; | |
10696 | } | |
10697 | return NULL; | |
10698 | } | |
10699 | ||
10700 | ||
10701 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10702 | PyObject *resultobj; | |
10703 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10704 | bool result; | |
10705 | PyObject * obj0 = 0 ; | |
10706 | char *kwnames[] = { | |
10707 | (char *) "self", NULL | |
10708 | }; | |
10709 | ||
10710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10711 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10712 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10713 | { |
10714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10715 | result = (bool)(arg1)->RemoveIcon(); | |
10716 | ||
10717 | wxPyEndAllowThreads(__tstate); | |
10718 | if (PyErr_Occurred()) SWIG_fail; | |
10719 | } | |
4f89f6a3 RD |
10720 | { |
10721 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10722 | } | |
d14a1e28 RD |
10723 | return resultobj; |
10724 | fail: | |
10725 | return NULL; | |
10726 | } | |
10727 | ||
10728 | ||
10729 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10730 | PyObject *resultobj; | |
10731 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10732 | wxMenu *arg2 = (wxMenu *) 0 ; | |
10733 | bool result; | |
10734 | PyObject * obj0 = 0 ; | |
10735 | PyObject * obj1 = 0 ; | |
10736 | char *kwnames[] = { | |
10737 | (char *) "self",(char *) "menu", NULL | |
10738 | }; | |
10739 | ||
10740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10741 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10742 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10743 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, | |
10744 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10745 | { |
10746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10747 | result = (bool)(arg1)->PopupMenu(arg2); | |
10748 | ||
10749 | wxPyEndAllowThreads(__tstate); | |
10750 | if (PyErr_Occurred()) SWIG_fail; | |
10751 | } | |
4f89f6a3 RD |
10752 | { |
10753 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10754 | } | |
d14a1e28 RD |
10755 | return resultobj; |
10756 | fail: | |
10757 | return NULL; | |
10758 | } | |
10759 | ||
10760 | ||
10761 | static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) { | |
10762 | PyObject *obj; | |
10763 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10764 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj); | |
10765 | Py_INCREF(obj); | |
10766 | return Py_BuildValue((char *)""); | |
10767 | } | |
10768 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10769 | PyObject *resultobj; | |
10770 | wxEventType arg1 ; | |
10771 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
10772 | wxTaskBarIconEvent *result; | |
994141e6 | 10773 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
10774 | PyObject * obj1 = 0 ; |
10775 | char *kwnames[] = { | |
10776 | (char *) "evtType",(char *) "tbIcon", NULL | |
10777 | }; | |
10778 | ||
994141e6 | 10779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10780 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
10781 | if (PyErr_Occurred()) SWIG_fail; | |
10782 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon, | |
10783 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10784 | { |
10785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10786 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
10787 | ||
10788 | wxPyEndAllowThreads(__tstate); | |
10789 | if (PyErr_Occurred()) SWIG_fail; | |
10790 | } | |
15afbcd0 | 10791 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); |
d14a1e28 RD |
10792 | return resultobj; |
10793 | fail: | |
10794 | return NULL; | |
10795 | } | |
10796 | ||
10797 | ||
10798 | static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) { | |
10799 | PyObject *obj; | |
10800 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10801 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
10802 | Py_INCREF(obj); | |
10803 | return Py_BuildValue((char *)""); | |
10804 | } | |
b2dc1044 RD |
10805 | static int _wrap_FileSelectorPromptStr_set(PyObject *_val) { |
10806 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); | |
10807 | return 1; | |
10808 | } | |
10809 | ||
10810 | ||
10811 | static PyObject *_wrap_FileSelectorPromptStr_get() { | |
10812 | PyObject *pyobj; | |
10813 | ||
10814 | { | |
10815 | #if wxUSE_UNICODE | |
10816 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10817 | #else | |
10818 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10819 | #endif | |
10820 | } | |
10821 | return pyobj; | |
10822 | } | |
10823 | ||
10824 | ||
10825 | static int _wrap_DirSelectorPromptStr_set(PyObject *_val) { | |
10826 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); | |
10827 | return 1; | |
10828 | } | |
10829 | ||
10830 | ||
10831 | static PyObject *_wrap_DirSelectorPromptStr_get() { | |
10832 | PyObject *pyobj; | |
10833 | ||
10834 | { | |
10835 | #if wxUSE_UNICODE | |
10836 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10837 | #else | |
10838 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10839 | #endif | |
10840 | } | |
10841 | return pyobj; | |
10842 | } | |
10843 | ||
10844 | ||
10845 | static int _wrap_DirDialogNameStr_set(PyObject *_val) { | |
10846 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); | |
10847 | return 1; | |
10848 | } | |
10849 | ||
10850 | ||
10851 | static PyObject *_wrap_DirDialogNameStr_get() { | |
10852 | PyObject *pyobj; | |
10853 | ||
10854 | { | |
10855 | #if wxUSE_UNICODE | |
10856 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10857 | #else | |
10858 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10859 | #endif | |
10860 | } | |
10861 | return pyobj; | |
10862 | } | |
10863 | ||
10864 | ||
10865 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) { | |
10866 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); | |
10867 | return 1; | |
10868 | } | |
10869 | ||
10870 | ||
10871 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() { | |
10872 | PyObject *pyobj; | |
10873 | ||
10874 | { | |
10875 | #if wxUSE_UNICODE | |
10876 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10877 | #else | |
10878 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10879 | #endif | |
10880 | } | |
10881 | return pyobj; | |
10882 | } | |
10883 | ||
10884 | ||
10885 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) { | |
10886 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); | |
10887 | return 1; | |
10888 | } | |
10889 | ||
10890 | ||
10891 | static PyObject *_wrap_GetTextFromUserPromptStr_get() { | |
10892 | PyObject *pyobj; | |
10893 | ||
10894 | { | |
10895 | #if wxUSE_UNICODE | |
10896 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10897 | #else | |
10898 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10899 | #endif | |
10900 | } | |
10901 | return pyobj; | |
10902 | } | |
10903 | ||
10904 | ||
10905 | static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) { | |
10906 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); | |
10907 | return 1; | |
10908 | } | |
10909 | ||
10910 | ||
10911 | static PyObject *_wrap_MessageBoxCaptionStr_get() { | |
10912 | PyObject *pyobj; | |
10913 | ||
10914 | { | |
10915 | #if wxUSE_UNICODE | |
10916 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10917 | #else | |
10918 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10919 | #endif | |
10920 | } | |
10921 | return pyobj; | |
10922 | } | |
10923 | ||
10924 | ||
d14a1e28 RD |
10925 | static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { |
10926 | PyObject *resultobj; | |
10927 | wxColourData *result; | |
10928 | char *kwnames[] = { | |
10929 | NULL | |
10930 | }; | |
10931 | ||
10932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
10933 | { | |
10934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10935 | result = (wxColourData *)new wxColourData(); | |
10936 | ||
10937 | wxPyEndAllowThreads(__tstate); | |
10938 | if (PyErr_Occurred()) SWIG_fail; | |
10939 | } | |
15afbcd0 | 10940 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); |
d14a1e28 RD |
10941 | return resultobj; |
10942 | fail: | |
10943 | return NULL; | |
10944 | } | |
10945 | ||
10946 | ||
10947 | static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10948 | PyObject *resultobj; | |
10949 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10950 | PyObject * obj0 = 0 ; | |
10951 | char *kwnames[] = { | |
10952 | (char *) "self", NULL | |
10953 | }; | |
10954 | ||
10955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10956 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10957 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10958 | { |
10959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10960 | delete arg1; | |
10961 | ||
10962 | wxPyEndAllowThreads(__tstate); | |
10963 | if (PyErr_Occurred()) SWIG_fail; | |
10964 | } | |
10965 | Py_INCREF(Py_None); resultobj = Py_None; | |
10966 | return resultobj; | |
10967 | fail: | |
10968 | return NULL; | |
10969 | } | |
10970 | ||
10971 | ||
10972 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10973 | PyObject *resultobj; | |
10974 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10975 | bool result; | |
10976 | PyObject * obj0 = 0 ; | |
10977 | char *kwnames[] = { | |
10978 | (char *) "self", NULL | |
10979 | }; | |
10980 | ||
10981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10982 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10983 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10984 | { |
10985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10986 | result = (bool)(arg1)->GetChooseFull(); | |
10987 | ||
10988 | wxPyEndAllowThreads(__tstate); | |
10989 | if (PyErr_Occurred()) SWIG_fail; | |
10990 | } | |
4f89f6a3 RD |
10991 | { |
10992 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10993 | } | |
d14a1e28 RD |
10994 | return resultobj; |
10995 | fail: | |
10996 | return NULL; | |
10997 | } | |
10998 | ||
10999 | ||
11000 | static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11001 | PyObject *resultobj; | |
11002 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11003 | wxColour result; | |
11004 | PyObject * obj0 = 0 ; | |
11005 | char *kwnames[] = { | |
11006 | (char *) "self", NULL | |
11007 | }; | |
11008 | ||
11009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11010 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11011 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11012 | { |
11013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11014 | result = (arg1)->GetColour(); | |
11015 | ||
11016 | wxPyEndAllowThreads(__tstate); | |
11017 | if (PyErr_Occurred()) SWIG_fail; | |
11018 | } | |
11019 | { | |
11020 | wxColour * resultptr; | |
11021 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 11022 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
11023 | } |
11024 | return resultobj; | |
11025 | fail: | |
11026 | return NULL; | |
11027 | } | |
11028 | ||
11029 | ||
11030 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11031 | PyObject *resultobj; | |
11032 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11033 | int arg2 ; | |
11034 | wxColour result; | |
11035 | PyObject * obj0 = 0 ; | |
994141e6 | 11036 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11037 | char *kwnames[] = { |
11038 | (char *) "self",(char *) "i", NULL | |
11039 | }; | |
11040 | ||
994141e6 | 11041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11042 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11043 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11044 | arg2 = (int) SWIG_AsInt(obj1); | |
11045 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11046 | { |
11047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11048 | result = (arg1)->GetCustomColour(arg2); | |
11049 | ||
11050 | wxPyEndAllowThreads(__tstate); | |
11051 | if (PyErr_Occurred()) SWIG_fail; | |
11052 | } | |
11053 | { | |
11054 | wxColour * resultptr; | |
11055 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 11056 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
11057 | } |
11058 | return resultobj; | |
11059 | fail: | |
11060 | return NULL; | |
11061 | } | |
11062 | ||
11063 | ||
11064 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11065 | PyObject *resultobj; | |
11066 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11067 | int arg2 ; | |
11068 | PyObject * obj0 = 0 ; | |
994141e6 | 11069 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11070 | char *kwnames[] = { |
11071 | (char *) "self",(char *) "flag", NULL | |
11072 | }; | |
11073 | ||
994141e6 | 11074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11077 | arg2 = (int) SWIG_AsInt(obj1); | |
11078 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11079 | { |
11080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11081 | (arg1)->SetChooseFull(arg2); | |
11082 | ||
11083 | wxPyEndAllowThreads(__tstate); | |
11084 | if (PyErr_Occurred()) SWIG_fail; | |
11085 | } | |
11086 | Py_INCREF(Py_None); resultobj = Py_None; | |
11087 | return resultobj; | |
11088 | fail: | |
11089 | return NULL; | |
11090 | } | |
11091 | ||
11092 | ||
11093 | static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11094 | PyObject *resultobj; | |
11095 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11096 | wxColour *arg2 = 0 ; | |
11097 | wxColour temp2 ; | |
11098 | PyObject * obj0 = 0 ; | |
11099 | PyObject * obj1 = 0 ; | |
11100 | char *kwnames[] = { | |
11101 | (char *) "self",(char *) "colour", NULL | |
11102 | }; | |
11103 | ||
11104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11105 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11106 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11107 | { |
11108 | arg2 = &temp2; | |
11109 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
11110 | } | |
11111 | { | |
11112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11113 | (arg1)->SetColour((wxColour const &)*arg2); | |
11114 | ||
11115 | wxPyEndAllowThreads(__tstate); | |
11116 | if (PyErr_Occurred()) SWIG_fail; | |
11117 | } | |
11118 | Py_INCREF(Py_None); resultobj = Py_None; | |
11119 | return resultobj; | |
11120 | fail: | |
11121 | return NULL; | |
11122 | } | |
11123 | ||
11124 | ||
11125 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11126 | PyObject *resultobj; | |
11127 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11128 | int arg2 ; | |
11129 | wxColour *arg3 = 0 ; | |
11130 | wxColour temp3 ; | |
11131 | PyObject * obj0 = 0 ; | |
994141e6 | 11132 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11133 | PyObject * obj2 = 0 ; |
11134 | char *kwnames[] = { | |
11135 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
11136 | }; | |
11137 | ||
994141e6 | 11138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
11139 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11141 | arg2 = (int) SWIG_AsInt(obj1); | |
11142 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11143 | { |
11144 | arg3 = &temp3; | |
11145 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11146 | } | |
11147 | { | |
11148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11149 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
11150 | ||
11151 | wxPyEndAllowThreads(__tstate); | |
11152 | if (PyErr_Occurred()) SWIG_fail; | |
11153 | } | |
11154 | Py_INCREF(Py_None); resultobj = Py_None; | |
11155 | return resultobj; | |
11156 | fail: | |
11157 | return NULL; | |
11158 | } | |
11159 | ||
11160 | ||
11161 | static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) { | |
11162 | PyObject *obj; | |
11163 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11164 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
11165 | Py_INCREF(obj); | |
11166 | return Py_BuildValue((char *)""); | |
11167 | } | |
11168 | static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11169 | PyObject *resultobj; | |
11170 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11171 | wxColourData *arg2 = (wxColourData *) NULL ; | |
11172 | wxColourDialog *result; | |
11173 | PyObject * obj0 = 0 ; | |
11174 | PyObject * obj1 = 0 ; | |
11175 | char *kwnames[] = { | |
11176 | (char *) "parent",(char *) "data", NULL | |
11177 | }; | |
11178 | ||
11179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11180 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11181 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 11182 | if (obj1) { |
15afbcd0 RD |
11183 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData, |
11184 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11185 | } |
11186 | { | |
11187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11188 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
11189 | ||
11190 | wxPyEndAllowThreads(__tstate); | |
11191 | if (PyErr_Occurred()) SWIG_fail; | |
11192 | } | |
15afbcd0 | 11193 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); |
d14a1e28 RD |
11194 | return resultobj; |
11195 | fail: | |
11196 | return NULL; | |
11197 | } | |
11198 | ||
11199 | ||
11200 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11201 | PyObject *resultobj; | |
11202 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
11203 | wxColourData *result; | |
11204 | PyObject * obj0 = 0 ; | |
11205 | char *kwnames[] = { | |
11206 | (char *) "self", NULL | |
11207 | }; | |
11208 | ||
11209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11210 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog, |
11211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11212 | { |
11213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11214 | { | |
11215 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
11216 | result = (wxColourData *) &_result_ref; | |
11217 | } | |
11218 | ||
11219 | wxPyEndAllowThreads(__tstate); | |
11220 | if (PyErr_Occurred()) SWIG_fail; | |
11221 | } | |
15afbcd0 | 11222 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); |
d14a1e28 RD |
11223 | return resultobj; |
11224 | fail: | |
11225 | return NULL; | |
11226 | } | |
11227 | ||
11228 | ||
d14a1e28 RD |
11229 | static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) { |
11230 | PyObject *obj; | |
11231 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11232 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
11233 | Py_INCREF(obj); | |
11234 | return Py_BuildValue((char *)""); | |
11235 | } | |
11236 | static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11237 | PyObject *resultobj; | |
11238 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11239 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
11240 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11241 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11242 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11243 | long arg4 = (long) 0 ; | |
11244 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
11245 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
11246 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
11247 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
11248 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
11249 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11250 | wxDirDialog *result; | |
e811c8ce RD |
11251 | bool temp2 = False ; |
11252 | bool temp3 = False ; | |
d14a1e28 RD |
11253 | wxPoint temp5 ; |
11254 | wxSize temp6 ; | |
e811c8ce | 11255 | bool temp7 = False ; |
d14a1e28 RD |
11256 | PyObject * obj0 = 0 ; |
11257 | PyObject * obj1 = 0 ; | |
11258 | PyObject * obj2 = 0 ; | |
994141e6 | 11259 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
11260 | PyObject * obj4 = 0 ; |
11261 | PyObject * obj5 = 0 ; | |
11262 | PyObject * obj6 = 0 ; | |
11263 | char *kwnames[] = { | |
11264 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
11265 | }; | |
11266 | ||
994141e6 | 11267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
11268 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11269 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11270 | if (obj1) { |
11271 | { | |
11272 | arg2 = wxString_in_helper(obj1); | |
11273 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11274 | temp2 = True; |
d14a1e28 RD |
11275 | } |
11276 | } | |
11277 | if (obj2) { | |
11278 | { | |
11279 | arg3 = wxString_in_helper(obj2); | |
11280 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 11281 | temp3 = True; |
d14a1e28 RD |
11282 | } |
11283 | } | |
994141e6 | 11284 | if (obj3) { |
15afbcd0 RD |
11285 | arg4 = (long) SWIG_AsLong(obj3); |
11286 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 11287 | } |
d14a1e28 RD |
11288 | if (obj4) { |
11289 | { | |
11290 | arg5 = &temp5; | |
11291 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
11292 | } | |
11293 | } | |
11294 | if (obj5) { | |
11295 | { | |
11296 | arg6 = &temp6; | |
11297 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
11298 | } | |
11299 | } | |
11300 | if (obj6) { | |
11301 | { | |
11302 | arg7 = wxString_in_helper(obj6); | |
11303 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 11304 | temp7 = True; |
d14a1e28 RD |
11305 | } |
11306 | } | |
11307 | { | |
11308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11309 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
11310 | ||
11311 | wxPyEndAllowThreads(__tstate); | |
11312 | if (PyErr_Occurred()) SWIG_fail; | |
11313 | } | |
15afbcd0 | 11314 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); |
d14a1e28 RD |
11315 | { |
11316 | if (temp2) | |
11317 | delete arg2; | |
11318 | } | |
11319 | { | |
11320 | if (temp3) | |
11321 | delete arg3; | |
11322 | } | |
11323 | { | |
11324 | if (temp7) | |
11325 | delete arg7; | |
11326 | } | |
11327 | return resultobj; | |
11328 | fail: | |
11329 | { | |
11330 | if (temp2) | |
11331 | delete arg2; | |
11332 | } | |
11333 | { | |
11334 | if (temp3) | |
11335 | delete arg3; | |
11336 | } | |
11337 | { | |
11338 | if (temp7) | |
11339 | delete arg7; | |
11340 | } | |
11341 | return NULL; | |
11342 | } | |
11343 | ||
11344 | ||
11345 | static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11346 | PyObject *resultobj; | |
11347 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11348 | wxString result; | |
11349 | PyObject * obj0 = 0 ; | |
11350 | char *kwnames[] = { | |
11351 | (char *) "self", NULL | |
11352 | }; | |
11353 | ||
11354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11355 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11356 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11357 | { |
11358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11359 | result = (arg1)->GetPath(); | |
11360 | ||
11361 | wxPyEndAllowThreads(__tstate); | |
11362 | if (PyErr_Occurred()) SWIG_fail; | |
11363 | } | |
11364 | { | |
11365 | #if wxUSE_UNICODE | |
11366 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11367 | #else | |
11368 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11369 | #endif | |
11370 | } | |
11371 | return resultobj; | |
11372 | fail: | |
11373 | return NULL; | |
11374 | } | |
11375 | ||
11376 | ||
11377 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11378 | PyObject *resultobj; | |
11379 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11380 | wxString result; | |
11381 | PyObject * obj0 = 0 ; | |
11382 | char *kwnames[] = { | |
11383 | (char *) "self", NULL | |
11384 | }; | |
11385 | ||
11386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11387 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11388 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11389 | { |
11390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11391 | result = (arg1)->GetMessage(); | |
11392 | ||
11393 | wxPyEndAllowThreads(__tstate); | |
11394 | if (PyErr_Occurred()) SWIG_fail; | |
11395 | } | |
11396 | { | |
11397 | #if wxUSE_UNICODE | |
11398 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11399 | #else | |
11400 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11401 | #endif | |
11402 | } | |
11403 | return resultobj; | |
11404 | fail: | |
11405 | return NULL; | |
11406 | } | |
11407 | ||
11408 | ||
11409 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11410 | PyObject *resultobj; | |
11411 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11412 | long result; | |
11413 | PyObject * obj0 = 0 ; | |
11414 | char *kwnames[] = { | |
11415 | (char *) "self", NULL | |
11416 | }; | |
11417 | ||
11418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11421 | { |
11422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11423 | result = (long)(arg1)->GetStyle(); | |
11424 | ||
11425 | wxPyEndAllowThreads(__tstate); | |
11426 | if (PyErr_Occurred()) SWIG_fail; | |
11427 | } | |
15afbcd0 | 11428 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
11429 | return resultobj; |
11430 | fail: | |
11431 | return NULL; | |
11432 | } | |
11433 | ||
11434 | ||
11435 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11436 | PyObject *resultobj; | |
11437 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11438 | wxString *arg2 = 0 ; | |
e811c8ce | 11439 | bool temp2 = False ; |
d14a1e28 RD |
11440 | PyObject * obj0 = 0 ; |
11441 | PyObject * obj1 = 0 ; | |
11442 | char *kwnames[] = { | |
11443 | (char *) "self",(char *) "message", NULL | |
11444 | }; | |
11445 | ||
11446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11449 | { |
11450 | arg2 = wxString_in_helper(obj1); | |
11451 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11452 | temp2 = True; |
d14a1e28 RD |
11453 | } |
11454 | { | |
11455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11456 | (arg1)->SetMessage((wxString const &)*arg2); | |
11457 | ||
11458 | wxPyEndAllowThreads(__tstate); | |
11459 | if (PyErr_Occurred()) SWIG_fail; | |
11460 | } | |
11461 | Py_INCREF(Py_None); resultobj = Py_None; | |
11462 | { | |
11463 | if (temp2) | |
11464 | delete arg2; | |
11465 | } | |
11466 | return resultobj; | |
11467 | fail: | |
11468 | { | |
11469 | if (temp2) | |
11470 | delete arg2; | |
11471 | } | |
11472 | return NULL; | |
11473 | } | |
11474 | ||
11475 | ||
11476 | static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11477 | PyObject *resultobj; | |
11478 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11479 | wxString *arg2 = 0 ; | |
e811c8ce | 11480 | bool temp2 = False ; |
d14a1e28 RD |
11481 | PyObject * obj0 = 0 ; |
11482 | PyObject * obj1 = 0 ; | |
11483 | char *kwnames[] = { | |
11484 | (char *) "self",(char *) "path", NULL | |
11485 | }; | |
11486 | ||
11487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11488 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11489 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11490 | { |
11491 | arg2 = wxString_in_helper(obj1); | |
11492 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11493 | temp2 = True; |
d14a1e28 RD |
11494 | } |
11495 | { | |
11496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11497 | (arg1)->SetPath((wxString const &)*arg2); | |
11498 | ||
11499 | wxPyEndAllowThreads(__tstate); | |
11500 | if (PyErr_Occurred()) SWIG_fail; | |
11501 | } | |
11502 | Py_INCREF(Py_None); resultobj = Py_None; | |
11503 | { | |
11504 | if (temp2) | |
11505 | delete arg2; | |
11506 | } | |
11507 | return resultobj; | |
11508 | fail: | |
11509 | { | |
11510 | if (temp2) | |
11511 | delete arg2; | |
11512 | } | |
11513 | return NULL; | |
11514 | } | |
11515 | ||
11516 | ||
d14a1e28 RD |
11517 | static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) { |
11518 | PyObject *obj; | |
11519 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11520 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
11521 | Py_INCREF(obj); | |
11522 | return Py_BuildValue((char *)""); | |
11523 | } | |
11524 | static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11525 | PyObject *resultobj; | |
11526 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11527 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
11528 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11529 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11530 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11531 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11532 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11533 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
11534 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
11535 | long arg6 = (long) 0 ; | |
11536 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11537 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11538 | wxFileDialog *result; | |
e811c8ce RD |
11539 | bool temp2 = False ; |
11540 | bool temp3 = False ; | |
11541 | bool temp4 = False ; | |
11542 | bool temp5 = False ; | |
d14a1e28 RD |
11543 | wxPoint temp7 ; |
11544 | PyObject * obj0 = 0 ; | |
11545 | PyObject * obj1 = 0 ; | |
11546 | PyObject * obj2 = 0 ; | |
11547 | PyObject * obj3 = 0 ; | |
11548 | PyObject * obj4 = 0 ; | |
994141e6 | 11549 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
11550 | PyObject * obj6 = 0 ; |
11551 | char *kwnames[] = { | |
11552 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
11553 | }; | |
11554 | ||
994141e6 | 11555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
11556 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11557 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11558 | if (obj1) { |
11559 | { | |
11560 | arg2 = wxString_in_helper(obj1); | |
11561 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11562 | temp2 = True; |
d14a1e28 RD |
11563 | } |
11564 | } | |
11565 | if (obj2) { | |
11566 | { | |
11567 | arg3 = wxString_in_helper(obj2); | |
11568 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 11569 | temp3 = True; |
d14a1e28 RD |
11570 | } |
11571 | } | |
11572 | if (obj3) { | |
11573 | { | |
11574 | arg4 = wxString_in_helper(obj3); | |
11575 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 11576 | temp4 = True; |
d14a1e28 RD |
11577 | } |
11578 | } | |
11579 | if (obj4) { | |
11580 | { | |
11581 | arg5 = wxString_in_helper(obj4); | |
11582 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 11583 | temp5 = True; |
d14a1e28 RD |
11584 | } |
11585 | } | |
994141e6 | 11586 | if (obj5) { |
15afbcd0 RD |
11587 | arg6 = (long) SWIG_AsLong(obj5); |
11588 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 11589 | } |
d14a1e28 RD |
11590 | if (obj6) { |
11591 | { | |
11592 | arg7 = &temp7; | |
11593 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
11594 | } | |
11595 | } | |
11596 | { | |
11597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11598 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
11599 | ||
11600 | wxPyEndAllowThreads(__tstate); | |
11601 | if (PyErr_Occurred()) SWIG_fail; | |
11602 | } | |
15afbcd0 | 11603 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); |
d14a1e28 RD |
11604 | { |
11605 | if (temp2) | |
11606 | delete arg2; | |
11607 | } | |
11608 | { | |
11609 | if (temp3) | |
11610 | delete arg3; | |
11611 | } | |
11612 | { | |
11613 | if (temp4) | |
11614 | delete arg4; | |
11615 | } | |
11616 | { | |
11617 | if (temp5) | |
11618 | delete arg5; | |
11619 | } | |
11620 | return resultobj; | |
11621 | fail: | |
11622 | { | |
11623 | if (temp2) | |
11624 | delete arg2; | |
11625 | } | |
11626 | { | |
11627 | if (temp3) | |
11628 | delete arg3; | |
11629 | } | |
11630 | { | |
11631 | if (temp4) | |
11632 | delete arg4; | |
11633 | } | |
11634 | { | |
11635 | if (temp5) | |
11636 | delete arg5; | |
11637 | } | |
11638 | return NULL; | |
11639 | } | |
11640 | ||
11641 | ||
11642 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11643 | PyObject *resultobj; | |
11644 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11645 | wxString *arg2 = 0 ; | |
e811c8ce | 11646 | bool temp2 = False ; |
d14a1e28 RD |
11647 | PyObject * obj0 = 0 ; |
11648 | PyObject * obj1 = 0 ; | |
11649 | char *kwnames[] = { | |
11650 | (char *) "self",(char *) "message", NULL | |
11651 | }; | |
11652 | ||
11653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11654 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11655 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11656 | { |
11657 | arg2 = wxString_in_helper(obj1); | |
11658 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11659 | temp2 = True; |
d14a1e28 RD |
11660 | } |
11661 | { | |
11662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11663 | (arg1)->SetMessage((wxString const &)*arg2); | |
11664 | ||
11665 | wxPyEndAllowThreads(__tstate); | |
11666 | if (PyErr_Occurred()) SWIG_fail; | |
11667 | } | |
11668 | Py_INCREF(Py_None); resultobj = Py_None; | |
11669 | { | |
11670 | if (temp2) | |
11671 | delete arg2; | |
11672 | } | |
11673 | return resultobj; | |
11674 | fail: | |
11675 | { | |
11676 | if (temp2) | |
11677 | delete arg2; | |
11678 | } | |
11679 | return NULL; | |
11680 | } | |
11681 | ||
11682 | ||
11683 | static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11684 | PyObject *resultobj; | |
11685 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11686 | wxString *arg2 = 0 ; | |
e811c8ce | 11687 | bool temp2 = False ; |
d14a1e28 RD |
11688 | PyObject * obj0 = 0 ; |
11689 | PyObject * obj1 = 0 ; | |
11690 | char *kwnames[] = { | |
11691 | (char *) "self",(char *) "path", NULL | |
11692 | }; | |
11693 | ||
11694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11695 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11697 | { |
11698 | arg2 = wxString_in_helper(obj1); | |
11699 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11700 | temp2 = True; |
d14a1e28 RD |
11701 | } |
11702 | { | |
11703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11704 | (arg1)->SetPath((wxString const &)*arg2); | |
11705 | ||
11706 | wxPyEndAllowThreads(__tstate); | |
11707 | if (PyErr_Occurred()) SWIG_fail; | |
11708 | } | |
11709 | Py_INCREF(Py_None); resultobj = Py_None; | |
11710 | { | |
11711 | if (temp2) | |
11712 | delete arg2; | |
11713 | } | |
11714 | return resultobj; | |
11715 | fail: | |
11716 | { | |
11717 | if (temp2) | |
11718 | delete arg2; | |
11719 | } | |
11720 | return NULL; | |
11721 | } | |
11722 | ||
11723 | ||
11724 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11725 | PyObject *resultobj; | |
11726 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11727 | wxString *arg2 = 0 ; | |
e811c8ce | 11728 | bool temp2 = False ; |
d14a1e28 RD |
11729 | PyObject * obj0 = 0 ; |
11730 | PyObject * obj1 = 0 ; | |
11731 | char *kwnames[] = { | |
11732 | (char *) "self",(char *) "dir", NULL | |
11733 | }; | |
11734 | ||
11735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11736 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11737 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11738 | { |
11739 | arg2 = wxString_in_helper(obj1); | |
11740 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11741 | temp2 = True; |
d14a1e28 RD |
11742 | } |
11743 | { | |
11744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11745 | (arg1)->SetDirectory((wxString const &)*arg2); | |
11746 | ||
11747 | wxPyEndAllowThreads(__tstate); | |
11748 | if (PyErr_Occurred()) SWIG_fail; | |
11749 | } | |
11750 | Py_INCREF(Py_None); resultobj = Py_None; | |
11751 | { | |
11752 | if (temp2) | |
11753 | delete arg2; | |
11754 | } | |
11755 | return resultobj; | |
11756 | fail: | |
11757 | { | |
11758 | if (temp2) | |
11759 | delete arg2; | |
11760 | } | |
11761 | return NULL; | |
11762 | } | |
11763 | ||
11764 | ||
11765 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11766 | PyObject *resultobj; | |
11767 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11768 | wxString *arg2 = 0 ; | |
e811c8ce | 11769 | bool temp2 = False ; |
d14a1e28 RD |
11770 | PyObject * obj0 = 0 ; |
11771 | PyObject * obj1 = 0 ; | |
11772 | char *kwnames[] = { | |
11773 | (char *) "self",(char *) "name", NULL | |
11774 | }; | |
11775 | ||
11776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11777 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11778 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11779 | { |
11780 | arg2 = wxString_in_helper(obj1); | |
11781 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11782 | temp2 = True; |
d14a1e28 RD |
11783 | } |
11784 | { | |
11785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11786 | (arg1)->SetFilename((wxString const &)*arg2); | |
11787 | ||
11788 | wxPyEndAllowThreads(__tstate); | |
11789 | if (PyErr_Occurred()) SWIG_fail; | |
11790 | } | |
11791 | Py_INCREF(Py_None); resultobj = Py_None; | |
11792 | { | |
11793 | if (temp2) | |
11794 | delete arg2; | |
11795 | } | |
11796 | return resultobj; | |
11797 | fail: | |
11798 | { | |
11799 | if (temp2) | |
11800 | delete arg2; | |
11801 | } | |
11802 | return NULL; | |
11803 | } | |
11804 | ||
11805 | ||
11806 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11807 | PyObject *resultobj; | |
11808 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11809 | wxString *arg2 = 0 ; | |
e811c8ce | 11810 | bool temp2 = False ; |
d14a1e28 RD |
11811 | PyObject * obj0 = 0 ; |
11812 | PyObject * obj1 = 0 ; | |
11813 | char *kwnames[] = { | |
11814 | (char *) "self",(char *) "wildCard", NULL | |
11815 | }; | |
11816 | ||
11817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11818 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11820 | { |
11821 | arg2 = wxString_in_helper(obj1); | |
11822 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11823 | temp2 = True; |
d14a1e28 RD |
11824 | } |
11825 | { | |
11826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11827 | (arg1)->SetWildcard((wxString const &)*arg2); | |
11828 | ||
11829 | wxPyEndAllowThreads(__tstate); | |
11830 | if (PyErr_Occurred()) SWIG_fail; | |
11831 | } | |
11832 | Py_INCREF(Py_None); resultobj = Py_None; | |
11833 | { | |
11834 | if (temp2) | |
11835 | delete arg2; | |
11836 | } | |
11837 | return resultobj; | |
11838 | fail: | |
11839 | { | |
11840 | if (temp2) | |
11841 | delete arg2; | |
11842 | } | |
11843 | return NULL; | |
11844 | } | |
11845 | ||
11846 | ||
11847 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11848 | PyObject *resultobj; | |
11849 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11850 | long arg2 ; | |
11851 | PyObject * obj0 = 0 ; | |
994141e6 | 11852 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11853 | char *kwnames[] = { |
11854 | (char *) "self",(char *) "style", NULL | |
11855 | }; | |
11856 | ||
994141e6 | 11857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11858 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11859 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11860 | arg2 = (long) SWIG_AsLong(obj1); | |
11861 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11862 | { |
11863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11864 | (arg1)->SetStyle(arg2); | |
11865 | ||
11866 | wxPyEndAllowThreads(__tstate); | |
11867 | if (PyErr_Occurred()) SWIG_fail; | |
11868 | } | |
11869 | Py_INCREF(Py_None); resultobj = Py_None; | |
11870 | return resultobj; | |
11871 | fail: | |
11872 | return NULL; | |
11873 | } | |
11874 | ||
11875 | ||
11876 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11877 | PyObject *resultobj; | |
11878 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11879 | int arg2 ; | |
11880 | PyObject * obj0 = 0 ; | |
994141e6 | 11881 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11882 | char *kwnames[] = { |
11883 | (char *) "self",(char *) "filterIndex", NULL | |
11884 | }; | |
11885 | ||
994141e6 | 11886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11887 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11888 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11889 | arg2 = (int) SWIG_AsInt(obj1); | |
11890 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11891 | { |
11892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11893 | (arg1)->SetFilterIndex(arg2); | |
11894 | ||
11895 | wxPyEndAllowThreads(__tstate); | |
11896 | if (PyErr_Occurred()) SWIG_fail; | |
11897 | } | |
11898 | Py_INCREF(Py_None); resultobj = Py_None; | |
11899 | return resultobj; | |
11900 | fail: | |
11901 | return NULL; | |
11902 | } | |
11903 | ||
11904 | ||
11905 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11906 | PyObject *resultobj; | |
11907 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11908 | wxString result; | |
11909 | PyObject * obj0 = 0 ; | |
11910 | char *kwnames[] = { | |
11911 | (char *) "self", NULL | |
11912 | }; | |
11913 | ||
11914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11915 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11916 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11917 | { |
11918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11919 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
11920 | ||
11921 | wxPyEndAllowThreads(__tstate); | |
11922 | if (PyErr_Occurred()) SWIG_fail; | |
11923 | } | |
11924 | { | |
11925 | #if wxUSE_UNICODE | |
11926 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11927 | #else | |
11928 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11929 | #endif | |
11930 | } | |
11931 | return resultobj; | |
11932 | fail: | |
11933 | return NULL; | |
11934 | } | |
11935 | ||
11936 | ||
11937 | static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11938 | PyObject *resultobj; | |
11939 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11940 | wxString result; | |
11941 | PyObject * obj0 = 0 ; | |
11942 | char *kwnames[] = { | |
11943 | (char *) "self", NULL | |
11944 | }; | |
11945 | ||
11946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11947 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11948 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11949 | { |
11950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11951 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
11952 | ||
11953 | wxPyEndAllowThreads(__tstate); | |
11954 | if (PyErr_Occurred()) SWIG_fail; | |
11955 | } | |
11956 | { | |
11957 | #if wxUSE_UNICODE | |
11958 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11959 | #else | |
11960 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11961 | #endif | |
11962 | } | |
11963 | return resultobj; | |
11964 | fail: | |
11965 | return NULL; | |
11966 | } | |
11967 | ||
11968 | ||
11969 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11970 | PyObject *resultobj; | |
11971 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11972 | wxString result; | |
11973 | PyObject * obj0 = 0 ; | |
11974 | char *kwnames[] = { | |
11975 | (char *) "self", NULL | |
11976 | }; | |
11977 | ||
11978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11979 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11980 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11981 | { |
11982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11983 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
11984 | ||
11985 | wxPyEndAllowThreads(__tstate); | |
11986 | if (PyErr_Occurred()) SWIG_fail; | |
11987 | } | |
11988 | { | |
11989 | #if wxUSE_UNICODE | |
11990 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11991 | #else | |
11992 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11993 | #endif | |
11994 | } | |
11995 | return resultobj; | |
11996 | fail: | |
11997 | return NULL; | |
11998 | } | |
11999 | ||
12000 | ||
12001 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12002 | PyObject *resultobj; | |
12003 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12004 | wxString result; | |
12005 | PyObject * obj0 = 0 ; | |
12006 | char *kwnames[] = { | |
12007 | (char *) "self", NULL | |
12008 | }; | |
12009 | ||
12010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12011 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12012 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12013 | { |
12014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12015 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
12016 | ||
12017 | wxPyEndAllowThreads(__tstate); | |
12018 | if (PyErr_Occurred()) SWIG_fail; | |
12019 | } | |
12020 | { | |
12021 | #if wxUSE_UNICODE | |
12022 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12023 | #else | |
12024 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12025 | #endif | |
12026 | } | |
12027 | return resultobj; | |
12028 | fail: | |
12029 | return NULL; | |
12030 | } | |
12031 | ||
12032 | ||
12033 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12034 | PyObject *resultobj; | |
12035 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12036 | wxString result; | |
12037 | PyObject * obj0 = 0 ; | |
12038 | char *kwnames[] = { | |
12039 | (char *) "self", NULL | |
12040 | }; | |
12041 | ||
12042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12043 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12045 | { |
12046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12047 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
12048 | ||
12049 | wxPyEndAllowThreads(__tstate); | |
12050 | if (PyErr_Occurred()) SWIG_fail; | |
12051 | } | |
12052 | { | |
12053 | #if wxUSE_UNICODE | |
12054 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12055 | #else | |
12056 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12057 | #endif | |
12058 | } | |
12059 | return resultobj; | |
12060 | fail: | |
12061 | return NULL; | |
12062 | } | |
12063 | ||
12064 | ||
12065 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12066 | PyObject *resultobj; | |
12067 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12068 | long result; | |
12069 | PyObject * obj0 = 0 ; | |
12070 | char *kwnames[] = { | |
12071 | (char *) "self", NULL | |
12072 | }; | |
12073 | ||
12074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12077 | { |
12078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12079 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
12080 | ||
12081 | wxPyEndAllowThreads(__tstate); | |
12082 | if (PyErr_Occurred()) SWIG_fail; | |
12083 | } | |
15afbcd0 | 12084 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
12085 | return resultobj; |
12086 | fail: | |
12087 | return NULL; | |
12088 | } | |
12089 | ||
12090 | ||
12091 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12092 | PyObject *resultobj; | |
12093 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12094 | int result; | |
12095 | PyObject * obj0 = 0 ; | |
12096 | char *kwnames[] = { | |
12097 | (char *) "self", NULL | |
12098 | }; | |
12099 | ||
12100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12101 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12102 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12103 | { |
12104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12105 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
12106 | ||
12107 | wxPyEndAllowThreads(__tstate); | |
12108 | if (PyErr_Occurred()) SWIG_fail; | |
12109 | } | |
15afbcd0 | 12110 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
12111 | return resultobj; |
12112 | fail: | |
12113 | return NULL; | |
12114 | } | |
12115 | ||
12116 | ||
12117 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12118 | PyObject *resultobj; | |
12119 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12120 | PyObject *result; | |
12121 | PyObject * obj0 = 0 ; | |
12122 | char *kwnames[] = { | |
12123 | (char *) "self", NULL | |
12124 | }; | |
12125 | ||
12126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12127 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12128 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12129 | { |
12130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12131 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
12132 | ||
12133 | wxPyEndAllowThreads(__tstate); | |
12134 | if (PyErr_Occurred()) SWIG_fail; | |
12135 | } | |
12136 | resultobj = result; | |
12137 | return resultobj; | |
12138 | fail: | |
12139 | return NULL; | |
12140 | } | |
12141 | ||
12142 | ||
12143 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12144 | PyObject *resultobj; | |
12145 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12146 | PyObject *result; | |
12147 | PyObject * obj0 = 0 ; | |
12148 | char *kwnames[] = { | |
12149 | (char *) "self", NULL | |
12150 | }; | |
12151 | ||
12152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12153 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12154 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12155 | { |
12156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12157 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
12158 | ||
12159 | wxPyEndAllowThreads(__tstate); | |
12160 | if (PyErr_Occurred()) SWIG_fail; | |
12161 | } | |
12162 | resultobj = result; | |
12163 | return resultobj; | |
12164 | fail: | |
12165 | return NULL; | |
12166 | } | |
12167 | ||
12168 | ||
12169 | static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) { | |
12170 | PyObject *obj; | |
12171 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12172 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
12173 | Py_INCREF(obj); | |
12174 | return Py_BuildValue((char *)""); | |
12175 | } | |
12176 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12177 | PyObject *resultobj; | |
12178 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12179 | wxString *arg2 = 0 ; | |
12180 | wxString *arg3 = 0 ; | |
4d5c3d91 | 12181 | int arg4 = (int) 0 ; |
d14a1e28 RD |
12182 | wxString *arg5 = (wxString *) 0 ; |
12183 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12184 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12185 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12186 | wxMultiChoiceDialog *result; | |
e811c8ce RD |
12187 | bool temp2 = False ; |
12188 | bool temp3 = False ; | |
4d5c3d91 | 12189 | wxPoint temp6 ; |
d14a1e28 RD |
12190 | PyObject * obj0 = 0 ; |
12191 | PyObject * obj1 = 0 ; | |
12192 | PyObject * obj2 = 0 ; | |
994141e6 | 12193 | PyObject * obj3 = 0 ; |
d14a1e28 | 12194 | PyObject * obj4 = 0 ; |
994141e6 | 12195 | PyObject * obj5 = 0 ; |
d14a1e28 | 12196 | char *kwnames[] = { |
4d5c3d91 | 12197 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL |
d14a1e28 RD |
12198 | }; |
12199 | ||
4d5c3d91 | 12200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12203 | { |
12204 | arg2 = wxString_in_helper(obj1); | |
12205 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12206 | temp2 = True; |
d14a1e28 RD |
12207 | } |
12208 | { | |
12209 | arg3 = wxString_in_helper(obj2); | |
12210 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12211 | temp3 = True; |
d14a1e28 | 12212 | } |
4d5c3d91 RD |
12213 | if (obj3) { |
12214 | { | |
12215 | arg4 = PyList_Size(obj3); | |
12216 | arg5 = wxString_LIST_helper(obj3); | |
12217 | if (arg5 == NULL) SWIG_fail; | |
12218 | } | |
7eae615b | 12219 | } |
4d5c3d91 | 12220 | if (obj4) { |
15afbcd0 RD |
12221 | arg6 = (long) SWIG_AsLong(obj4); |
12222 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12223 | } |
4d5c3d91 | 12224 | if (obj5) { |
d14a1e28 | 12225 | { |
4d5c3d91 RD |
12226 | arg7 = &temp6; |
12227 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
d14a1e28 RD |
12228 | } |
12229 | } | |
12230 | { | |
12231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12232 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12233 | ||
12234 | wxPyEndAllowThreads(__tstate); | |
12235 | if (PyErr_Occurred()) SWIG_fail; | |
12236 | } | |
15afbcd0 | 12237 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); |
d14a1e28 RD |
12238 | { |
12239 | if (temp2) | |
12240 | delete arg2; | |
12241 | } | |
12242 | { | |
12243 | if (temp3) | |
12244 | delete arg3; | |
12245 | } | |
7eae615b | 12246 | { |
4d5c3d91 | 12247 | if (arg5) delete [] arg5; |
7eae615b | 12248 | } |
d14a1e28 RD |
12249 | return resultobj; |
12250 | fail: | |
12251 | { | |
12252 | if (temp2) | |
12253 | delete arg2; | |
12254 | } | |
12255 | { | |
12256 | if (temp3) | |
12257 | delete arg3; | |
12258 | } | |
7eae615b | 12259 | { |
4d5c3d91 | 12260 | if (arg5) delete [] arg5; |
7eae615b | 12261 | } |
d14a1e28 RD |
12262 | return NULL; |
12263 | } | |
12264 | ||
12265 | ||
12266 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12267 | PyObject *resultobj; | |
12268 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12269 | wxArrayInt *arg2 = 0 ; | |
3adfb63b | 12270 | bool temp2 = False ; |
d14a1e28 RD |
12271 | PyObject * obj0 = 0 ; |
12272 | PyObject * obj1 = 0 ; | |
12273 | char *kwnames[] = { | |
12274 | (char *) "self",(char *) "selections", NULL | |
12275 | }; | |
12276 | ||
12277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12278 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
12279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12280 | { |
12281 | if (! PySequence_Check(obj1)) { | |
12282 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
12283 | SWIG_fail; | |
12284 | } | |
12285 | arg2 = new wxArrayInt; | |
3adfb63b | 12286 | temp2 = True; |
d14a1e28 RD |
12287 | int i, len=PySequence_Length(obj1); |
12288 | for (i=0; i<len; i++) { | |
12289 | PyObject* item = PySequence_GetItem(obj1, i); | |
12290 | PyObject* number = PyNumber_Int(item); | |
12291 | arg2->Add(PyInt_AS_LONG(number)); | |
12292 | Py_DECREF(item); | |
12293 | Py_DECREF(number); | |
12294 | } | |
12295 | } | |
12296 | { | |
12297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12298 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
12299 | ||
12300 | wxPyEndAllowThreads(__tstate); | |
12301 | if (PyErr_Occurred()) SWIG_fail; | |
12302 | } | |
12303 | Py_INCREF(Py_None); resultobj = Py_None; | |
12304 | { | |
3adfb63b | 12305 | if (temp2) delete arg2; |
d14a1e28 RD |
12306 | } |
12307 | return resultobj; | |
12308 | fail: | |
12309 | { | |
3adfb63b | 12310 | if (temp2) delete arg2; |
d14a1e28 RD |
12311 | } |
12312 | return NULL; | |
12313 | } | |
12314 | ||
12315 | ||
12316 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12317 | PyObject *resultobj; | |
12318 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12319 | PyObject *result; | |
12320 | PyObject * obj0 = 0 ; | |
12321 | char *kwnames[] = { | |
12322 | (char *) "self", NULL | |
12323 | }; | |
12324 | ||
12325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
12327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12328 | { |
12329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12330 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
12331 | ||
12332 | wxPyEndAllowThreads(__tstate); | |
12333 | if (PyErr_Occurred()) SWIG_fail; | |
12334 | } | |
12335 | resultobj = result; | |
12336 | return resultobj; | |
12337 | fail: | |
12338 | return NULL; | |
12339 | } | |
12340 | ||
12341 | ||
12342 | static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) { | |
12343 | PyObject *obj; | |
12344 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12345 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
12346 | Py_INCREF(obj); | |
12347 | return Py_BuildValue((char *)""); | |
12348 | } | |
12349 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12350 | PyObject *resultobj; | |
12351 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12352 | wxString *arg2 = 0 ; | |
12353 | wxString *arg3 = 0 ; | |
12354 | int arg4 ; | |
12355 | wxString *arg5 = (wxString *) 0 ; | |
12356 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12357 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12358 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12359 | wxSingleChoiceDialog *result; | |
e811c8ce RD |
12360 | bool temp2 = False ; |
12361 | bool temp3 = False ; | |
d14a1e28 RD |
12362 | wxPoint temp6 ; |
12363 | PyObject * obj0 = 0 ; | |
12364 | PyObject * obj1 = 0 ; | |
12365 | PyObject * obj2 = 0 ; | |
12366 | PyObject * obj3 = 0 ; | |
994141e6 | 12367 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12368 | PyObject * obj5 = 0 ; |
12369 | char *kwnames[] = { | |
12370 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
12371 | }; | |
12372 | ||
994141e6 | 12373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12374 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12375 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12376 | { |
12377 | arg2 = wxString_in_helper(obj1); | |
12378 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12379 | temp2 = True; |
d14a1e28 RD |
12380 | } |
12381 | { | |
12382 | arg3 = wxString_in_helper(obj2); | |
12383 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12384 | temp3 = True; |
d14a1e28 RD |
12385 | } |
12386 | { | |
12387 | arg4 = PyList_Size(obj3); | |
12388 | arg5 = wxString_LIST_helper(obj3); | |
12389 | if (arg5 == NULL) SWIG_fail; | |
12390 | } | |
994141e6 | 12391 | if (obj4) { |
15afbcd0 RD |
12392 | arg6 = (long) SWIG_AsLong(obj4); |
12393 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12394 | } |
d14a1e28 RD |
12395 | if (obj5) { |
12396 | { | |
12397 | arg7 = &temp6; | |
12398 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
12399 | } | |
12400 | } | |
12401 | { | |
12402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12403 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12404 | ||
12405 | wxPyEndAllowThreads(__tstate); | |
12406 | if (PyErr_Occurred()) SWIG_fail; | |
12407 | } | |
15afbcd0 | 12408 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); |
d14a1e28 RD |
12409 | { |
12410 | if (temp2) | |
12411 | delete arg2; | |
12412 | } | |
12413 | { | |
12414 | if (temp3) | |
12415 | delete arg3; | |
12416 | } | |
12417 | { | |
12418 | if (arg5) delete [] arg5; | |
12419 | } | |
12420 | return resultobj; | |
12421 | fail: | |
12422 | { | |
12423 | if (temp2) | |
12424 | delete arg2; | |
12425 | } | |
12426 | { | |
12427 | if (temp3) | |
12428 | delete arg3; | |
12429 | } | |
12430 | { | |
12431 | if (arg5) delete [] arg5; | |
12432 | } | |
12433 | return NULL; | |
12434 | } | |
12435 | ||
12436 | ||
12437 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12438 | PyObject *resultobj; | |
12439 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12440 | int result; | |
12441 | PyObject * obj0 = 0 ; | |
12442 | char *kwnames[] = { | |
12443 | (char *) "self", NULL | |
12444 | }; | |
12445 | ||
12446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12449 | { |
12450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12451 | result = (int)(arg1)->GetSelection(); | |
12452 | ||
12453 | wxPyEndAllowThreads(__tstate); | |
12454 | if (PyErr_Occurred()) SWIG_fail; | |
12455 | } | |
15afbcd0 | 12456 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
12457 | return resultobj; |
12458 | fail: | |
12459 | return NULL; | |
12460 | } | |
12461 | ||
12462 | ||
12463 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12464 | PyObject *resultobj; | |
12465 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12466 | wxString result; | |
12467 | PyObject * obj0 = 0 ; | |
12468 | char *kwnames[] = { | |
12469 | (char *) "self", NULL | |
12470 | }; | |
12471 | ||
12472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12473 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12474 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12475 | { |
12476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12477 | result = (arg1)->GetStringSelection(); | |
12478 | ||
12479 | wxPyEndAllowThreads(__tstate); | |
12480 | if (PyErr_Occurred()) SWIG_fail; | |
12481 | } | |
12482 | { | |
12483 | #if wxUSE_UNICODE | |
12484 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12485 | #else | |
12486 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12487 | #endif | |
12488 | } | |
12489 | return resultobj; | |
12490 | fail: | |
12491 | return NULL; | |
12492 | } | |
12493 | ||
12494 | ||
12495 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12496 | PyObject *resultobj; | |
12497 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12498 | int arg2 ; | |
12499 | PyObject * obj0 = 0 ; | |
994141e6 | 12500 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12501 | char *kwnames[] = { |
12502 | (char *) "self",(char *) "sel", NULL | |
12503 | }; | |
12504 | ||
994141e6 | 12505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12506 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12507 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12508 | arg2 = (int) SWIG_AsInt(obj1); | |
12509 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12510 | { |
12511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12512 | (arg1)->SetSelection(arg2); | |
12513 | ||
12514 | wxPyEndAllowThreads(__tstate); | |
12515 | if (PyErr_Occurred()) SWIG_fail; | |
12516 | } | |
12517 | Py_INCREF(Py_None); resultobj = Py_None; | |
12518 | return resultobj; | |
12519 | fail: | |
12520 | return NULL; | |
12521 | } | |
12522 | ||
12523 | ||
d14a1e28 RD |
12524 | static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) { |
12525 | PyObject *obj; | |
12526 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12527 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
12528 | Py_INCREF(obj); | |
12529 | return Py_BuildValue((char *)""); | |
12530 | } | |
12531 | static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12532 | PyObject *resultobj; | |
12533 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12534 | wxString *arg2 = 0 ; | |
12535 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
12536 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12537 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12538 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12539 | long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
12540 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
12541 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
12542 | wxTextEntryDialog *result; | |
e811c8ce RD |
12543 | bool temp2 = False ; |
12544 | bool temp3 = False ; | |
12545 | bool temp4 = False ; | |
d14a1e28 RD |
12546 | wxPoint temp6 ; |
12547 | PyObject * obj0 = 0 ; | |
12548 | PyObject * obj1 = 0 ; | |
12549 | PyObject * obj2 = 0 ; | |
12550 | PyObject * obj3 = 0 ; | |
994141e6 | 12551 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12552 | PyObject * obj5 = 0 ; |
12553 | char *kwnames[] = { | |
12554 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
12555 | }; | |
12556 | ||
994141e6 | 12557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12558 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12559 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12560 | { |
12561 | arg2 = wxString_in_helper(obj1); | |
12562 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12563 | temp2 = True; |
d14a1e28 RD |
12564 | } |
12565 | if (obj2) { | |
12566 | { | |
12567 | arg3 = wxString_in_helper(obj2); | |
12568 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12569 | temp3 = True; |
d14a1e28 RD |
12570 | } |
12571 | } | |
12572 | if (obj3) { | |
12573 | { | |
12574 | arg4 = wxString_in_helper(obj3); | |
12575 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 12576 | temp4 = True; |
d14a1e28 RD |
12577 | } |
12578 | } | |
994141e6 | 12579 | if (obj4) { |
15afbcd0 RD |
12580 | arg5 = (long) SWIG_AsLong(obj4); |
12581 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12582 | } |
d14a1e28 RD |
12583 | if (obj5) { |
12584 | { | |
12585 | arg6 = &temp6; | |
12586 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
12587 | } | |
12588 | } | |
12589 | { | |
12590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12591 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
12592 | ||
12593 | wxPyEndAllowThreads(__tstate); | |
12594 | if (PyErr_Occurred()) SWIG_fail; | |
12595 | } | |
15afbcd0 | 12596 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); |
d14a1e28 RD |
12597 | { |
12598 | if (temp2) | |
12599 | delete arg2; | |
12600 | } | |
12601 | { | |
12602 | if (temp3) | |
12603 | delete arg3; | |
12604 | } | |
12605 | { | |
12606 | if (temp4) | |
12607 | delete arg4; | |
12608 | } | |
12609 | return resultobj; | |
12610 | fail: | |
12611 | { | |
12612 | if (temp2) | |
12613 | delete arg2; | |
12614 | } | |
12615 | { | |
12616 | if (temp3) | |
12617 | delete arg3; | |
12618 | } | |
12619 | { | |
12620 | if (temp4) | |
12621 | delete arg4; | |
12622 | } | |
12623 | return NULL; | |
12624 | } | |
12625 | ||
12626 | ||
12627 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12628 | PyObject *resultobj; | |
12629 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12630 | wxString result; | |
12631 | PyObject * obj0 = 0 ; | |
12632 | char *kwnames[] = { | |
12633 | (char *) "self", NULL | |
12634 | }; | |
12635 | ||
12636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12637 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
12638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12639 | { |
12640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12641 | result = (arg1)->GetValue(); | |
12642 | ||
12643 | wxPyEndAllowThreads(__tstate); | |
12644 | if (PyErr_Occurred()) SWIG_fail; | |
12645 | } | |
12646 | { | |
12647 | #if wxUSE_UNICODE | |
12648 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12649 | #else | |
12650 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12651 | #endif | |
12652 | } | |
12653 | return resultobj; | |
12654 | fail: | |
12655 | return NULL; | |
12656 | } | |
12657 | ||
12658 | ||
12659 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12660 | PyObject *resultobj; | |
12661 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12662 | wxString *arg2 = 0 ; | |
e811c8ce | 12663 | bool temp2 = False ; |
d14a1e28 RD |
12664 | PyObject * obj0 = 0 ; |
12665 | PyObject * obj1 = 0 ; | |
12666 | char *kwnames[] = { | |
12667 | (char *) "self",(char *) "value", NULL | |
12668 | }; | |
12669 | ||
12670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
12672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12673 | { |
12674 | arg2 = wxString_in_helper(obj1); | |
12675 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12676 | temp2 = True; |
d14a1e28 RD |
12677 | } |
12678 | { | |
12679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12680 | (arg1)->SetValue((wxString const &)*arg2); | |
12681 | ||
12682 | wxPyEndAllowThreads(__tstate); | |
12683 | if (PyErr_Occurred()) SWIG_fail; | |
12684 | } | |
12685 | Py_INCREF(Py_None); resultobj = Py_None; | |
12686 | { | |
12687 | if (temp2) | |
12688 | delete arg2; | |
12689 | } | |
12690 | return resultobj; | |
12691 | fail: | |
12692 | { | |
12693 | if (temp2) | |
12694 | delete arg2; | |
12695 | } | |
12696 | return NULL; | |
12697 | } | |
12698 | ||
12699 | ||
d14a1e28 RD |
12700 | static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) { |
12701 | PyObject *obj; | |
12702 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12703 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
12704 | Py_INCREF(obj); | |
12705 | return Py_BuildValue((char *)""); | |
12706 | } | |
12707 | static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12708 | PyObject *resultobj; | |
12709 | wxFontData *result; | |
12710 | char *kwnames[] = { | |
12711 | NULL | |
12712 | }; | |
12713 | ||
12714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
12715 | { | |
12716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12717 | result = (wxFontData *)new wxFontData(); | |
12718 | ||
12719 | wxPyEndAllowThreads(__tstate); | |
12720 | if (PyErr_Occurred()) SWIG_fail; | |
12721 | } | |
15afbcd0 | 12722 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); |
d14a1e28 RD |
12723 | return resultobj; |
12724 | fail: | |
12725 | return NULL; | |
12726 | } | |
12727 | ||
12728 | ||
12729 | static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12730 | PyObject *resultobj; | |
12731 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12732 | PyObject * obj0 = 0 ; | |
12733 | char *kwnames[] = { | |
12734 | (char *) "self", NULL | |
12735 | }; | |
12736 | ||
12737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12738 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12739 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12740 | { |
12741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12742 | delete arg1; | |
12743 | ||
12744 | wxPyEndAllowThreads(__tstate); | |
12745 | if (PyErr_Occurred()) SWIG_fail; | |
12746 | } | |
12747 | Py_INCREF(Py_None); resultobj = Py_None; | |
12748 | return resultobj; | |
12749 | fail: | |
12750 | return NULL; | |
12751 | } | |
12752 | ||
12753 | ||
12754 | static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12755 | PyObject *resultobj; | |
12756 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12757 | bool arg2 ; | |
12758 | PyObject * obj0 = 0 ; | |
12759 | PyObject * obj1 = 0 ; | |
12760 | char *kwnames[] = { | |
12761 | (char *) "self",(char *) "enable", NULL | |
12762 | }; | |
12763 | ||
12764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12765 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12766 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12767 | arg2 = (bool) SWIG_AsBool(obj1); | |
12768 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12769 | { |
12770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12771 | (arg1)->EnableEffects(arg2); | |
12772 | ||
12773 | wxPyEndAllowThreads(__tstate); | |
12774 | if (PyErr_Occurred()) SWIG_fail; | |
12775 | } | |
12776 | Py_INCREF(Py_None); resultobj = Py_None; | |
12777 | return resultobj; | |
12778 | fail: | |
12779 | return NULL; | |
12780 | } | |
12781 | ||
12782 | ||
12783 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12784 | PyObject *resultobj; | |
12785 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12786 | bool result; | |
12787 | PyObject * obj0 = 0 ; | |
12788 | char *kwnames[] = { | |
12789 | (char *) "self", NULL | |
12790 | }; | |
12791 | ||
12792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12793 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12794 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12795 | { |
12796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12797 | result = (bool)(arg1)->GetAllowSymbols(); | |
12798 | ||
12799 | wxPyEndAllowThreads(__tstate); | |
12800 | if (PyErr_Occurred()) SWIG_fail; | |
12801 | } | |
4f89f6a3 RD |
12802 | { |
12803 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12804 | } | |
d14a1e28 RD |
12805 | return resultobj; |
12806 | fail: | |
12807 | return NULL; | |
12808 | } | |
12809 | ||
12810 | ||
12811 | static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12812 | PyObject *resultobj; | |
12813 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12814 | wxColour result; | |
12815 | PyObject * obj0 = 0 ; | |
12816 | char *kwnames[] = { | |
12817 | (char *) "self", NULL | |
12818 | }; | |
12819 | ||
12820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12821 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12822 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12823 | { |
12824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12825 | result = (arg1)->GetColour(); | |
12826 | ||
12827 | wxPyEndAllowThreads(__tstate); | |
12828 | if (PyErr_Occurred()) SWIG_fail; | |
12829 | } | |
12830 | { | |
12831 | wxColour * resultptr; | |
12832 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 12833 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
12834 | } |
12835 | return resultobj; | |
12836 | fail: | |
12837 | return NULL; | |
12838 | } | |
12839 | ||
12840 | ||
12841 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12842 | PyObject *resultobj; | |
12843 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12844 | wxFont result; | |
12845 | PyObject * obj0 = 0 ; | |
12846 | char *kwnames[] = { | |
12847 | (char *) "self", NULL | |
12848 | }; | |
12849 | ||
12850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12851 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12852 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12853 | { |
12854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12855 | result = (arg1)->GetChosenFont(); | |
12856 | ||
12857 | wxPyEndAllowThreads(__tstate); | |
12858 | if (PyErr_Occurred()) SWIG_fail; | |
12859 | } | |
12860 | { | |
12861 | wxFont * resultptr; | |
12862 | resultptr = new wxFont((wxFont &) result); | |
15afbcd0 | 12863 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
12864 | } |
12865 | return resultobj; | |
12866 | fail: | |
12867 | return NULL; | |
12868 | } | |
12869 | ||
12870 | ||
12871 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12872 | PyObject *resultobj; | |
12873 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12874 | bool result; | |
12875 | PyObject * obj0 = 0 ; | |
12876 | char *kwnames[] = { | |
12877 | (char *) "self", NULL | |
12878 | }; | |
12879 | ||
12880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12881 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12882 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12883 | { |
12884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12885 | result = (bool)(arg1)->GetEnableEffects(); | |
12886 | ||
12887 | wxPyEndAllowThreads(__tstate); | |
12888 | if (PyErr_Occurred()) SWIG_fail; | |
12889 | } | |
4f89f6a3 RD |
12890 | { |
12891 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12892 | } | |
d14a1e28 RD |
12893 | return resultobj; |
12894 | fail: | |
12895 | return NULL; | |
12896 | } | |
12897 | ||
12898 | ||
12899 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12900 | PyObject *resultobj; | |
12901 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12902 | wxFont result; | |
12903 | PyObject * obj0 = 0 ; | |
12904 | char *kwnames[] = { | |
12905 | (char *) "self", NULL | |
12906 | }; | |
12907 | ||
12908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12909 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12910 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12911 | { |
12912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12913 | result = (arg1)->GetInitialFont(); | |
12914 | ||
12915 | wxPyEndAllowThreads(__tstate); | |
12916 | if (PyErr_Occurred()) SWIG_fail; | |
12917 | } | |
12918 | { | |
12919 | wxFont * resultptr; | |
12920 | resultptr = new wxFont((wxFont &) result); | |
15afbcd0 | 12921 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
12922 | } |
12923 | return resultobj; | |
12924 | fail: | |
12925 | return NULL; | |
12926 | } | |
12927 | ||
12928 | ||
12929 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12930 | PyObject *resultobj; | |
12931 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12932 | bool result; | |
12933 | PyObject * obj0 = 0 ; | |
12934 | char *kwnames[] = { | |
12935 | (char *) "self", NULL | |
12936 | }; | |
12937 | ||
12938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12939 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12940 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12941 | { |
12942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12943 | result = (bool)(arg1)->GetShowHelp(); | |
12944 | ||
12945 | wxPyEndAllowThreads(__tstate); | |
12946 | if (PyErr_Occurred()) SWIG_fail; | |
12947 | } | |
4f89f6a3 RD |
12948 | { |
12949 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12950 | } | |
d14a1e28 RD |
12951 | return resultobj; |
12952 | fail: | |
12953 | return NULL; | |
12954 | } | |
12955 | ||
12956 | ||
12957 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12958 | PyObject *resultobj; | |
12959 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12960 | bool arg2 ; | |
12961 | PyObject * obj0 = 0 ; | |
12962 | PyObject * obj1 = 0 ; | |
12963 | char *kwnames[] = { | |
12964 | (char *) "self",(char *) "allowSymbols", NULL | |
12965 | }; | |
12966 | ||
12967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12968 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12969 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12970 | arg2 = (bool) SWIG_AsBool(obj1); | |
12971 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12972 | { |
12973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12974 | (arg1)->SetAllowSymbols(arg2); | |
12975 | ||
12976 | wxPyEndAllowThreads(__tstate); | |
12977 | if (PyErr_Occurred()) SWIG_fail; | |
12978 | } | |
12979 | Py_INCREF(Py_None); resultobj = Py_None; | |
12980 | return resultobj; | |
12981 | fail: | |
12982 | return NULL; | |
12983 | } | |
12984 | ||
12985 | ||
12986 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12987 | PyObject *resultobj; | |
12988 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12989 | wxFont *arg2 = 0 ; | |
12990 | PyObject * obj0 = 0 ; | |
12991 | PyObject * obj1 = 0 ; | |
12992 | char *kwnames[] = { | |
12993 | (char *) "self",(char *) "font", NULL | |
12994 | }; | |
12995 | ||
12996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12997 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12998 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12999 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
13000 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13001 | SWIG_fail; | |
d14a1e28 | 13002 | if (arg2 == NULL) { |
15afbcd0 RD |
13003 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13004 | SWIG_fail; | |
d14a1e28 RD |
13005 | } |
13006 | { | |
13007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13008 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
13009 | ||
13010 | wxPyEndAllowThreads(__tstate); | |
13011 | if (PyErr_Occurred()) SWIG_fail; | |
13012 | } | |
13013 | Py_INCREF(Py_None); resultobj = Py_None; | |
13014 | return resultobj; | |
13015 | fail: | |
13016 | return NULL; | |
13017 | } | |
13018 | ||
13019 | ||
13020 | static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13021 | PyObject *resultobj; | |
13022 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13023 | wxColour *arg2 = 0 ; | |
13024 | wxColour temp2 ; | |
13025 | PyObject * obj0 = 0 ; | |
13026 | PyObject * obj1 = 0 ; | |
13027 | char *kwnames[] = { | |
13028 | (char *) "self",(char *) "colour", NULL | |
13029 | }; | |
13030 | ||
13031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13032 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13033 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13034 | { |
13035 | arg2 = &temp2; | |
13036 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
13037 | } | |
13038 | { | |
13039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13040 | (arg1)->SetColour((wxColour const &)*arg2); | |
13041 | ||
13042 | wxPyEndAllowThreads(__tstate); | |
13043 | if (PyErr_Occurred()) SWIG_fail; | |
13044 | } | |
13045 | Py_INCREF(Py_None); resultobj = Py_None; | |
13046 | return resultobj; | |
13047 | fail: | |
13048 | return NULL; | |
13049 | } | |
13050 | ||
13051 | ||
13052 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13053 | PyObject *resultobj; | |
13054 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13055 | wxFont *arg2 = 0 ; | |
13056 | PyObject * obj0 = 0 ; | |
13057 | PyObject * obj1 = 0 ; | |
13058 | char *kwnames[] = { | |
13059 | (char *) "self",(char *) "font", NULL | |
13060 | }; | |
13061 | ||
13062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13063 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13064 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13065 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
13066 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13067 | SWIG_fail; | |
d14a1e28 | 13068 | if (arg2 == NULL) { |
15afbcd0 RD |
13069 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13070 | SWIG_fail; | |
d14a1e28 RD |
13071 | } |
13072 | { | |
13073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13074 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
13075 | ||
13076 | wxPyEndAllowThreads(__tstate); | |
13077 | if (PyErr_Occurred()) SWIG_fail; | |
13078 | } | |
13079 | Py_INCREF(Py_None); resultobj = Py_None; | |
13080 | return resultobj; | |
13081 | fail: | |
13082 | return NULL; | |
13083 | } | |
13084 | ||
13085 | ||
13086 | static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13087 | PyObject *resultobj; | |
13088 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13089 | int arg2 ; | |
13090 | int arg3 ; | |
13091 | PyObject * obj0 = 0 ; | |
994141e6 RD |
13092 | PyObject * obj1 = 0 ; |
13093 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
13094 | char *kwnames[] = { |
13095 | (char *) "self",(char *) "min",(char *) "max", NULL | |
13096 | }; | |
13097 | ||
994141e6 | 13098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
13099 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13100 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13101 | arg2 = (int) SWIG_AsInt(obj1); | |
13102 | if (PyErr_Occurred()) SWIG_fail; | |
13103 | arg3 = (int) SWIG_AsInt(obj2); | |
13104 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13105 | { |
13106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13107 | (arg1)->SetRange(arg2,arg3); | |
13108 | ||
13109 | wxPyEndAllowThreads(__tstate); | |
13110 | if (PyErr_Occurred()) SWIG_fail; | |
13111 | } | |
13112 | Py_INCREF(Py_None); resultobj = Py_None; | |
13113 | return resultobj; | |
13114 | fail: | |
13115 | return NULL; | |
13116 | } | |
13117 | ||
13118 | ||
13119 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13120 | PyObject *resultobj; | |
13121 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13122 | bool arg2 ; | |
13123 | PyObject * obj0 = 0 ; | |
13124 | PyObject * obj1 = 0 ; | |
13125 | char *kwnames[] = { | |
13126 | (char *) "self",(char *) "showHelp", NULL | |
13127 | }; | |
13128 | ||
13129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13130 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13131 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13132 | arg2 = (bool) SWIG_AsBool(obj1); | |
13133 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13134 | { |
13135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13136 | (arg1)->SetShowHelp(arg2); | |
13137 | ||
13138 | wxPyEndAllowThreads(__tstate); | |
13139 | if (PyErr_Occurred()) SWIG_fail; | |
13140 | } | |
13141 | Py_INCREF(Py_None); resultobj = Py_None; | |
13142 | return resultobj; | |
13143 | fail: | |
13144 | return NULL; | |
13145 | } | |
13146 | ||
13147 | ||
13148 | static PyObject * FontData_swigregister(PyObject *self, PyObject *args) { | |
13149 | PyObject *obj; | |
13150 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13151 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
13152 | Py_INCREF(obj); | |
13153 | return Py_BuildValue((char *)""); | |
13154 | } | |
15afbcd0 | 13155 | static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 13156 | PyObject *resultobj; |
e498079e RD |
13157 | wxWindow *arg1 = (wxWindow *) 0 ; |
13158 | wxFontData *arg2 = 0 ; | |
13159 | wxFontDialog *result; | |
d14a1e28 | 13160 | PyObject * obj0 = 0 ; |
e498079e | 13161 | PyObject * obj1 = 0 ; |
15afbcd0 RD |
13162 | char *kwnames[] = { |
13163 | (char *) "parent",(char *) "data", NULL | |
13164 | }; | |
d14a1e28 | 13165 | |
15afbcd0 RD |
13166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; |
13167 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
13168 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13169 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData, | |
13170 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13171 | SWIG_fail; | |
e498079e | 13172 | if (arg2 == NULL) { |
15afbcd0 RD |
13173 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13174 | SWIG_fail; | |
e498079e | 13175 | } |
d14a1e28 RD |
13176 | { |
13177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e498079e | 13178 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); |
d14a1e28 RD |
13179 | |
13180 | wxPyEndAllowThreads(__tstate); | |
13181 | if (PyErr_Occurred()) SWIG_fail; | |
13182 | } | |
15afbcd0 | 13183 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); |
d14a1e28 RD |
13184 | return resultobj; |
13185 | fail: | |
13186 | return NULL; | |
13187 | } | |
13188 | ||
13189 | ||
e498079e | 13190 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13191 | PyObject *resultobj; |
13192 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
e498079e | 13193 | wxFontData *result; |
d14a1e28 RD |
13194 | PyObject * obj0 = 0 ; |
13195 | char *kwnames[] = { | |
13196 | (char *) "self", NULL | |
13197 | }; | |
13198 | ||
e498079e | 13199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
13200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog, |
13201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13202 | { |
13203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e498079e RD |
13204 | { |
13205 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
13206 | result = (wxFontData *) &_result_ref; | |
13207 | } | |
d14a1e28 RD |
13208 | |
13209 | wxPyEndAllowThreads(__tstate); | |
13210 | if (PyErr_Occurred()) SWIG_fail; | |
13211 | } | |
15afbcd0 | 13212 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); |
d14a1e28 RD |
13213 | return resultobj; |
13214 | fail: | |
13215 | return NULL; | |
13216 | } | |
13217 | ||
13218 | ||
13219 | static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) { | |
13220 | PyObject *obj; | |
13221 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13222 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
13223 | Py_INCREF(obj); | |
13224 | return Py_BuildValue((char *)""); | |
13225 | } | |
13226 | static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13227 | PyObject *resultobj; | |
13228 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13229 | wxString *arg2 = 0 ; | |
13230 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
13231 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13232 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
13233 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13234 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13235 | wxMessageDialog *result; | |
e811c8ce RD |
13236 | bool temp2 = False ; |
13237 | bool temp3 = False ; | |
d14a1e28 RD |
13238 | wxPoint temp5 ; |
13239 | PyObject * obj0 = 0 ; | |
13240 | PyObject * obj1 = 0 ; | |
13241 | PyObject * obj2 = 0 ; | |
994141e6 | 13242 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13243 | PyObject * obj4 = 0 ; |
13244 | char *kwnames[] = { | |
13245 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
13246 | }; | |
13247 | ||
994141e6 | 13248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
13249 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
13250 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13251 | { |
13252 | arg2 = wxString_in_helper(obj1); | |
13253 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13254 | temp2 = True; |
d14a1e28 RD |
13255 | } |
13256 | if (obj2) { | |
13257 | { | |
13258 | arg3 = wxString_in_helper(obj2); | |
13259 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 13260 | temp3 = True; |
d14a1e28 RD |
13261 | } |
13262 | } | |
994141e6 | 13263 | if (obj3) { |
15afbcd0 RD |
13264 | arg4 = (long) SWIG_AsLong(obj3); |
13265 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13266 | } |
d14a1e28 RD |
13267 | if (obj4) { |
13268 | { | |
13269 | arg5 = &temp5; | |
13270 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13271 | } | |
13272 | } | |
13273 | { | |
13274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13275 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
13276 | ||
13277 | wxPyEndAllowThreads(__tstate); | |
13278 | if (PyErr_Occurred()) SWIG_fail; | |
13279 | } | |
15afbcd0 | 13280 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); |
d14a1e28 RD |
13281 | { |
13282 | if (temp2) | |
13283 | delete arg2; | |
13284 | } | |
13285 | { | |
13286 | if (temp3) | |
13287 | delete arg3; | |
13288 | } | |
13289 | return resultobj; | |
13290 | fail: | |
13291 | { | |
13292 | if (temp2) | |
13293 | delete arg2; | |
13294 | } | |
13295 | { | |
13296 | if (temp3) | |
13297 | delete arg3; | |
13298 | } | |
13299 | return NULL; | |
13300 | } | |
13301 | ||
13302 | ||
d14a1e28 RD |
13303 | static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) { |
13304 | PyObject *obj; | |
13305 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13306 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
13307 | Py_INCREF(obj); | |
13308 | return Py_BuildValue((char *)""); | |
13309 | } | |
13310 | static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13311 | PyObject *resultobj; | |
13312 | wxString *arg1 = 0 ; | |
13313 | wxString *arg2 = 0 ; | |
13314 | int arg3 = (int) 100 ; | |
13315 | wxWindow *arg4 = (wxWindow *) NULL ; | |
13316 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
13317 | wxProgressDialog *result; | |
e811c8ce RD |
13318 | bool temp1 = False ; |
13319 | bool temp2 = False ; | |
d14a1e28 RD |
13320 | PyObject * obj0 = 0 ; |
13321 | PyObject * obj1 = 0 ; | |
994141e6 | 13322 | PyObject * obj2 = 0 ; |
d14a1e28 | 13323 | PyObject * obj3 = 0 ; |
994141e6 | 13324 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13325 | char *kwnames[] = { |
13326 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
13327 | }; | |
13328 | ||
994141e6 | 13329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
13330 | { |
13331 | arg1 = wxString_in_helper(obj0); | |
13332 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 13333 | temp1 = True; |
d14a1e28 RD |
13334 | } |
13335 | { | |
13336 | arg2 = wxString_in_helper(obj1); | |
13337 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13338 | temp2 = True; |
d14a1e28 | 13339 | } |
994141e6 | 13340 | if (obj2) { |
15afbcd0 RD |
13341 | arg3 = (int) SWIG_AsInt(obj2); |
13342 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13343 | } |
d14a1e28 | 13344 | if (obj3) { |
15afbcd0 RD |
13345 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, |
13346 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 13347 | } |
994141e6 | 13348 | if (obj4) { |
15afbcd0 RD |
13349 | arg5 = (int) SWIG_AsInt(obj4); |
13350 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13351 | } |
d14a1e28 RD |
13352 | { |
13353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13354 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
13355 | ||
13356 | wxPyEndAllowThreads(__tstate); | |
13357 | if (PyErr_Occurred()) SWIG_fail; | |
13358 | } | |
15afbcd0 | 13359 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); |
d14a1e28 RD |
13360 | { |
13361 | if (temp1) | |
13362 | delete arg1; | |
13363 | } | |
13364 | { | |
13365 | if (temp2) | |
13366 | delete arg2; | |
13367 | } | |
13368 | return resultobj; | |
13369 | fail: | |
13370 | { | |
13371 | if (temp1) | |
13372 | delete arg1; | |
13373 | } | |
13374 | { | |
13375 | if (temp2) | |
13376 | delete arg2; | |
13377 | } | |
13378 | return NULL; | |
13379 | } | |
13380 | ||
13381 | ||
13382 | static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13383 | PyObject *resultobj; | |
13384 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13385 | int arg2 ; | |
13386 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13387 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13388 | bool result; | |
e811c8ce | 13389 | bool temp3 = False ; |
d14a1e28 | 13390 | PyObject * obj0 = 0 ; |
994141e6 | 13391 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13392 | PyObject * obj2 = 0 ; |
13393 | char *kwnames[] = { | |
13394 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
13395 | }; | |
13396 | ||
994141e6 | 13397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
13398 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
13399 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13400 | arg2 = (int) SWIG_AsInt(obj1); | |
13401 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13402 | if (obj2) { |
13403 | { | |
13404 | arg3 = wxString_in_helper(obj2); | |
13405 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 13406 | temp3 = True; |
d14a1e28 RD |
13407 | } |
13408 | } | |
13409 | { | |
13410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13411 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
13412 | ||
13413 | wxPyEndAllowThreads(__tstate); | |
13414 | if (PyErr_Occurred()) SWIG_fail; | |
13415 | } | |
4f89f6a3 RD |
13416 | { |
13417 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13418 | } | |
d14a1e28 RD |
13419 | { |
13420 | if (temp3) | |
13421 | delete arg3; | |
13422 | } | |
13423 | return resultobj; | |
13424 | fail: | |
13425 | { | |
13426 | if (temp3) | |
13427 | delete arg3; | |
13428 | } | |
13429 | return NULL; | |
13430 | } | |
13431 | ||
13432 | ||
13433 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13434 | PyObject *resultobj; | |
13435 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13436 | PyObject * obj0 = 0 ; | |
13437 | char *kwnames[] = { | |
13438 | (char *) "self", NULL | |
13439 | }; | |
13440 | ||
13441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13442 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
13443 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13444 | { |
13445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13446 | (arg1)->Resume(); | |
13447 | ||
13448 | wxPyEndAllowThreads(__tstate); | |
13449 | if (PyErr_Occurred()) SWIG_fail; | |
13450 | } | |
13451 | Py_INCREF(Py_None); resultobj = Py_None; | |
13452 | return resultobj; | |
13453 | fail: | |
13454 | return NULL; | |
13455 | } | |
13456 | ||
13457 | ||
13458 | static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) { | |
13459 | PyObject *obj; | |
13460 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13461 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
13462 | Py_INCREF(obj); | |
13463 | return Py_BuildValue((char *)""); | |
13464 | } | |
13465 | static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13466 | PyObject *resultobj; | |
13467 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
13468 | int arg2 = (int) 0 ; | |
13469 | wxFindDialogEvent *result; | |
994141e6 RD |
13470 | PyObject * obj0 = 0 ; |
13471 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
13472 | char *kwnames[] = { |
13473 | (char *) "commandType",(char *) "id", NULL | |
13474 | }; | |
13475 | ||
994141e6 RD |
13476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; |
13477 | if (obj0) { | |
15afbcd0 RD |
13478 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
13479 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
13480 | } |
13481 | if (obj1) { | |
15afbcd0 RD |
13482 | arg2 = (int) SWIG_AsInt(obj1); |
13483 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13484 | } |
d14a1e28 RD |
13485 | { |
13486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13487 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
13488 | ||
13489 | wxPyEndAllowThreads(__tstate); | |
13490 | if (PyErr_Occurred()) SWIG_fail; | |
13491 | } | |
15afbcd0 | 13492 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); |
d14a1e28 RD |
13493 | return resultobj; |
13494 | fail: | |
13495 | return NULL; | |
13496 | } | |
13497 | ||
13498 | ||
13499 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13500 | PyObject *resultobj; | |
13501 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13502 | int result; | |
13503 | PyObject * obj0 = 0 ; | |
13504 | char *kwnames[] = { | |
13505 | (char *) "self", NULL | |
13506 | }; | |
13507 | ||
13508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13509 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13510 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13511 | { |
13512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13513 | result = (int)(arg1)->GetFlags(); | |
13514 | ||
13515 | wxPyEndAllowThreads(__tstate); | |
13516 | if (PyErr_Occurred()) SWIG_fail; | |
13517 | } | |
15afbcd0 | 13518 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13519 | return resultobj; |
13520 | fail: | |
13521 | return NULL; | |
13522 | } | |
13523 | ||
13524 | ||
13525 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13526 | PyObject *resultobj; | |
13527 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
cc6dd355 | 13528 | wxString *result; |
d14a1e28 RD |
13529 | PyObject * obj0 = 0 ; |
13530 | char *kwnames[] = { | |
13531 | (char *) "self", NULL | |
13532 | }; | |
13533 | ||
13534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13535 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13537 | { |
13538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
cc6dd355 RD |
13539 | { |
13540 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13541 | result = (wxString *) &_result_ref; | |
13542 | } | |
d14a1e28 RD |
13543 | |
13544 | wxPyEndAllowThreads(__tstate); | |
13545 | if (PyErr_Occurred()) SWIG_fail; | |
13546 | } | |
13547 | { | |
13548 | #if wxUSE_UNICODE | |
cc6dd355 | 13549 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); |
d14a1e28 | 13550 | #else |
cc6dd355 | 13551 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); |
d14a1e28 RD |
13552 | #endif |
13553 | } | |
13554 | return resultobj; | |
13555 | fail: | |
13556 | return NULL; | |
13557 | } | |
13558 | ||
13559 | ||
13560 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13561 | PyObject *resultobj; | |
13562 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13563 | wxString *result; | |
13564 | PyObject * obj0 = 0 ; | |
13565 | char *kwnames[] = { | |
13566 | (char *) "self", NULL | |
13567 | }; | |
13568 | ||
13569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13570 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13571 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13572 | { |
13573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13574 | { | |
13575 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13576 | result = (wxString *) &_result_ref; | |
13577 | } | |
13578 | ||
13579 | wxPyEndAllowThreads(__tstate); | |
13580 | if (PyErr_Occurred()) SWIG_fail; | |
13581 | } | |
cc6dd355 RD |
13582 | { |
13583 | #if wxUSE_UNICODE | |
13584 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13585 | #else | |
13586 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13587 | #endif | |
13588 | } | |
d14a1e28 RD |
13589 | return resultobj; |
13590 | fail: | |
13591 | return NULL; | |
13592 | } | |
13593 | ||
13594 | ||
13595 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13596 | PyObject *resultobj; | |
13597 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13598 | wxFindReplaceDialog *result; | |
13599 | PyObject * obj0 = 0 ; | |
13600 | char *kwnames[] = { | |
13601 | (char *) "self", NULL | |
13602 | }; | |
13603 | ||
13604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13605 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13606 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13607 | { |
13608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13609 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
13610 | ||
13611 | wxPyEndAllowThreads(__tstate); | |
13612 | if (PyErr_Occurred()) SWIG_fail; | |
13613 | } | |
15afbcd0 | 13614 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); |
d14a1e28 RD |
13615 | return resultobj; |
13616 | fail: | |
13617 | return NULL; | |
13618 | } | |
13619 | ||
13620 | ||
13621 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13622 | PyObject *resultobj; | |
13623 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13624 | int arg2 ; | |
13625 | PyObject * obj0 = 0 ; | |
994141e6 | 13626 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13627 | char *kwnames[] = { |
13628 | (char *) "self",(char *) "flags", NULL | |
13629 | }; | |
13630 | ||
994141e6 | 13631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13632 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13633 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13634 | arg2 = (int) SWIG_AsInt(obj1); | |
13635 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13636 | { |
13637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13638 | (arg1)->SetFlags(arg2); | |
13639 | ||
13640 | wxPyEndAllowThreads(__tstate); | |
13641 | if (PyErr_Occurred()) SWIG_fail; | |
13642 | } | |
13643 | Py_INCREF(Py_None); resultobj = Py_None; | |
13644 | return resultobj; | |
13645 | fail: | |
13646 | return NULL; | |
13647 | } | |
13648 | ||
13649 | ||
13650 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13651 | PyObject *resultobj; | |
13652 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13653 | wxString *arg2 = 0 ; | |
e811c8ce | 13654 | bool temp2 = False ; |
d14a1e28 RD |
13655 | PyObject * obj0 = 0 ; |
13656 | PyObject * obj1 = 0 ; | |
13657 | char *kwnames[] = { | |
13658 | (char *) "self",(char *) "str", NULL | |
13659 | }; | |
13660 | ||
13661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13662 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13663 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13664 | { |
13665 | arg2 = wxString_in_helper(obj1); | |
13666 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13667 | temp2 = True; |
d14a1e28 RD |
13668 | } |
13669 | { | |
13670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13671 | (arg1)->SetFindString((wxString const &)*arg2); | |
13672 | ||
13673 | wxPyEndAllowThreads(__tstate); | |
13674 | if (PyErr_Occurred()) SWIG_fail; | |
13675 | } | |
13676 | Py_INCREF(Py_None); resultobj = Py_None; | |
13677 | { | |
13678 | if (temp2) | |
13679 | delete arg2; | |
13680 | } | |
13681 | return resultobj; | |
13682 | fail: | |
13683 | { | |
13684 | if (temp2) | |
13685 | delete arg2; | |
13686 | } | |
13687 | return NULL; | |
13688 | } | |
13689 | ||
13690 | ||
13691 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13692 | PyObject *resultobj; | |
13693 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13694 | wxString *arg2 = 0 ; | |
e811c8ce | 13695 | bool temp2 = False ; |
d14a1e28 RD |
13696 | PyObject * obj0 = 0 ; |
13697 | PyObject * obj1 = 0 ; | |
13698 | char *kwnames[] = { | |
13699 | (char *) "self",(char *) "str", NULL | |
13700 | }; | |
13701 | ||
13702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13703 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13705 | { |
13706 | arg2 = wxString_in_helper(obj1); | |
13707 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13708 | temp2 = True; |
d14a1e28 RD |
13709 | } |
13710 | { | |
13711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13712 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
13713 | ||
13714 | wxPyEndAllowThreads(__tstate); | |
13715 | if (PyErr_Occurred()) SWIG_fail; | |
13716 | } | |
13717 | Py_INCREF(Py_None); resultobj = Py_None; | |
13718 | { | |
13719 | if (temp2) | |
13720 | delete arg2; | |
13721 | } | |
13722 | return resultobj; | |
13723 | fail: | |
13724 | { | |
13725 | if (temp2) | |
13726 | delete arg2; | |
13727 | } | |
13728 | return NULL; | |
13729 | } | |
13730 | ||
13731 | ||
13732 | static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) { | |
13733 | PyObject *obj; | |
13734 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13735 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
13736 | Py_INCREF(obj); | |
13737 | return Py_BuildValue((char *)""); | |
13738 | } | |
13739 | static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13740 | PyObject *resultobj; | |
13741 | int arg1 = (int) 0 ; | |
13742 | wxFindReplaceData *result; | |
994141e6 | 13743 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
13744 | char *kwnames[] = { |
13745 | (char *) "flags", NULL | |
13746 | }; | |
13747 | ||
994141e6 RD |
13748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; |
13749 | if (obj0) { | |
15afbcd0 RD |
13750 | arg1 = (int) SWIG_AsInt(obj0); |
13751 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13752 | } |
d14a1e28 RD |
13753 | { |
13754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13755 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
13756 | ||
13757 | wxPyEndAllowThreads(__tstate); | |
13758 | if (PyErr_Occurred()) SWIG_fail; | |
13759 | } | |
15afbcd0 | 13760 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); |
d14a1e28 RD |
13761 | return resultobj; |
13762 | fail: | |
13763 | return NULL; | |
13764 | } | |
13765 | ||
13766 | ||
13767 | static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13768 | PyObject *resultobj; | |
13769 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13770 | PyObject * obj0 = 0 ; | |
13771 | char *kwnames[] = { | |
13772 | (char *) "self", NULL | |
13773 | }; | |
13774 | ||
13775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13778 | { |
13779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13780 | delete arg1; | |
13781 | ||
13782 | wxPyEndAllowThreads(__tstate); | |
13783 | if (PyErr_Occurred()) SWIG_fail; | |
13784 | } | |
13785 | Py_INCREF(Py_None); resultobj = Py_None; | |
13786 | return resultobj; | |
13787 | fail: | |
13788 | return NULL; | |
13789 | } | |
13790 | ||
13791 | ||
13792 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13793 | PyObject *resultobj; | |
13794 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13795 | wxString *result; | |
13796 | PyObject * obj0 = 0 ; | |
13797 | char *kwnames[] = { | |
13798 | (char *) "self", NULL | |
13799 | }; | |
13800 | ||
13801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13802 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13803 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13804 | { |
13805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13806 | { | |
13807 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13808 | result = (wxString *) &_result_ref; | |
13809 | } | |
13810 | ||
13811 | wxPyEndAllowThreads(__tstate); | |
13812 | if (PyErr_Occurred()) SWIG_fail; | |
13813 | } | |
cc6dd355 RD |
13814 | { |
13815 | #if wxUSE_UNICODE | |
13816 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13817 | #else | |
13818 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13819 | #endif | |
13820 | } | |
d14a1e28 RD |
13821 | return resultobj; |
13822 | fail: | |
13823 | return NULL; | |
13824 | } | |
13825 | ||
13826 | ||
13827 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13828 | PyObject *resultobj; | |
13829 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13830 | wxString *result; | |
13831 | PyObject * obj0 = 0 ; | |
13832 | char *kwnames[] = { | |
13833 | (char *) "self", NULL | |
13834 | }; | |
13835 | ||
13836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13837 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13838 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13839 | { |
13840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13841 | { | |
13842 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13843 | result = (wxString *) &_result_ref; | |
13844 | } | |
13845 | ||
13846 | wxPyEndAllowThreads(__tstate); | |
13847 | if (PyErr_Occurred()) SWIG_fail; | |
13848 | } | |
cc6dd355 RD |
13849 | { |
13850 | #if wxUSE_UNICODE | |
13851 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13852 | #else | |
13853 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13854 | #endif | |
13855 | } | |
d14a1e28 RD |
13856 | return resultobj; |
13857 | fail: | |
13858 | return NULL; | |
13859 | } | |
13860 | ||
13861 | ||
13862 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13863 | PyObject *resultobj; | |
13864 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13865 | int result; | |
13866 | PyObject * obj0 = 0 ; | |
13867 | char *kwnames[] = { | |
13868 | (char *) "self", NULL | |
13869 | }; | |
13870 | ||
13871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13872 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13873 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13874 | { |
13875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13876 | result = (int)(arg1)->GetFlags(); | |
13877 | ||
13878 | wxPyEndAllowThreads(__tstate); | |
13879 | if (PyErr_Occurred()) SWIG_fail; | |
13880 | } | |
15afbcd0 | 13881 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13882 | return resultobj; |
13883 | fail: | |
13884 | return NULL; | |
13885 | } | |
13886 | ||
13887 | ||
13888 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13889 | PyObject *resultobj; | |
13890 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13891 | int arg2 ; | |
13892 | PyObject * obj0 = 0 ; | |
994141e6 | 13893 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13894 | char *kwnames[] = { |
13895 | (char *) "self",(char *) "flags", NULL | |
13896 | }; | |
13897 | ||
994141e6 | 13898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13899 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13901 | arg2 = (int) SWIG_AsInt(obj1); | |
13902 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13903 | { |
13904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13905 | (arg1)->SetFlags(arg2); | |
13906 | ||
13907 | wxPyEndAllowThreads(__tstate); | |
13908 | if (PyErr_Occurred()) SWIG_fail; | |
13909 | } | |
13910 | Py_INCREF(Py_None); resultobj = Py_None; | |
13911 | return resultobj; | |
13912 | fail: | |
13913 | return NULL; | |
13914 | } | |
13915 | ||
13916 | ||
13917 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13918 | PyObject *resultobj; | |
13919 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13920 | wxString *arg2 = 0 ; | |
e811c8ce | 13921 | bool temp2 = False ; |
d14a1e28 RD |
13922 | PyObject * obj0 = 0 ; |
13923 | PyObject * obj1 = 0 ; | |
13924 | char *kwnames[] = { | |
13925 | (char *) "self",(char *) "str", NULL | |
13926 | }; | |
13927 | ||
13928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13929 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13930 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13931 | { |
13932 | arg2 = wxString_in_helper(obj1); | |
13933 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13934 | temp2 = True; |
d14a1e28 RD |
13935 | } |
13936 | { | |
13937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13938 | (arg1)->SetFindString((wxString const &)*arg2); | |
13939 | ||
13940 | wxPyEndAllowThreads(__tstate); | |
13941 | if (PyErr_Occurred()) SWIG_fail; | |
13942 | } | |
13943 | Py_INCREF(Py_None); resultobj = Py_None; | |
13944 | { | |
13945 | if (temp2) | |
13946 | delete arg2; | |
13947 | } | |
13948 | return resultobj; | |
13949 | fail: | |
13950 | { | |
13951 | if (temp2) | |
13952 | delete arg2; | |
13953 | } | |
13954 | return NULL; | |
13955 | } | |
13956 | ||
13957 | ||
13958 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13959 | PyObject *resultobj; | |
13960 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13961 | wxString *arg2 = 0 ; | |
e811c8ce | 13962 | bool temp2 = False ; |
d14a1e28 RD |
13963 | PyObject * obj0 = 0 ; |
13964 | PyObject * obj1 = 0 ; | |
13965 | char *kwnames[] = { | |
13966 | (char *) "self",(char *) "str", NULL | |
13967 | }; | |
13968 | ||
13969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13970 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13971 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13972 | { |
13973 | arg2 = wxString_in_helper(obj1); | |
13974 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13975 | temp2 = True; |
d14a1e28 RD |
13976 | } |
13977 | { | |
13978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13979 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
13980 | ||
13981 | wxPyEndAllowThreads(__tstate); | |
13982 | if (PyErr_Occurred()) SWIG_fail; | |
13983 | } | |
13984 | Py_INCREF(Py_None); resultobj = Py_None; | |
13985 | { | |
13986 | if (temp2) | |
13987 | delete arg2; | |
13988 | } | |
13989 | return resultobj; | |
13990 | fail: | |
13991 | { | |
13992 | if (temp2) | |
13993 | delete arg2; | |
13994 | } | |
13995 | return NULL; | |
13996 | } | |
13997 | ||
13998 | ||
13999 | static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) { | |
14000 | PyObject *obj; | |
14001 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14002 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
14003 | Py_INCREF(obj); | |
14004 | return Py_BuildValue((char *)""); | |
14005 | } | |
14006 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14007 | PyObject *resultobj; | |
14008 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14009 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14010 | wxString *arg3 = 0 ; | |
14011 | int arg4 = (int) 0 ; | |
14012 | wxFindReplaceDialog *result; | |
e811c8ce | 14013 | bool temp3 = False ; |
d14a1e28 RD |
14014 | PyObject * obj0 = 0 ; |
14015 | PyObject * obj1 = 0 ; | |
14016 | PyObject * obj2 = 0 ; | |
994141e6 | 14017 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
14018 | char *kwnames[] = { |
14019 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14020 | }; | |
14021 | ||
994141e6 | 14022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
14023 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14024 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14025 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
14026 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14027 | { |
14028 | arg3 = wxString_in_helper(obj2); | |
14029 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 14030 | temp3 = True; |
d14a1e28 | 14031 | } |
994141e6 | 14032 | if (obj3) { |
15afbcd0 RD |
14033 | arg4 = (int) SWIG_AsInt(obj3); |
14034 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14035 | } |
d14a1e28 RD |
14036 | { |
14037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14038 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
14039 | ||
14040 | wxPyEndAllowThreads(__tstate); | |
14041 | if (PyErr_Occurred()) SWIG_fail; | |
14042 | } | |
15afbcd0 | 14043 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
14044 | { |
14045 | if (temp3) | |
14046 | delete arg3; | |
14047 | } | |
14048 | return resultobj; | |
14049 | fail: | |
14050 | { | |
14051 | if (temp3) | |
14052 | delete arg3; | |
14053 | } | |
14054 | return NULL; | |
14055 | } | |
14056 | ||
14057 | ||
14058 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14059 | PyObject *resultobj; | |
14060 | wxFindReplaceDialog *result; | |
14061 | char *kwnames[] = { | |
14062 | NULL | |
14063 | }; | |
14064 | ||
14065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
14066 | { | |
14067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14068 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
14069 | ||
14070 | wxPyEndAllowThreads(__tstate); | |
14071 | if (PyErr_Occurred()) SWIG_fail; | |
14072 | } | |
15afbcd0 | 14073 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
14074 | return resultobj; |
14075 | fail: | |
14076 | return NULL; | |
14077 | } | |
14078 | ||
14079 | ||
14080 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14081 | PyObject *resultobj; | |
14082 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14083 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14084 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
14085 | wxString *arg4 = 0 ; | |
14086 | int arg5 = (int) 0 ; | |
14087 | bool result; | |
e811c8ce | 14088 | bool temp4 = False ; |
d14a1e28 RD |
14089 | PyObject * obj0 = 0 ; |
14090 | PyObject * obj1 = 0 ; | |
14091 | PyObject * obj2 = 0 ; | |
14092 | PyObject * obj3 = 0 ; | |
994141e6 | 14093 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
14094 | char *kwnames[] = { |
14095 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14096 | }; | |
14097 | ||
994141e6 | 14098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
14099 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14100 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14101 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14102 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14103 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData, | |
14104 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14105 | { |
14106 | arg4 = wxString_in_helper(obj3); | |
14107 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 14108 | temp4 = True; |
d14a1e28 | 14109 | } |
994141e6 | 14110 | if (obj4) { |
15afbcd0 RD |
14111 | arg5 = (int) SWIG_AsInt(obj4); |
14112 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14113 | } |
d14a1e28 RD |
14114 | { |
14115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14116 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
14117 | ||
14118 | wxPyEndAllowThreads(__tstate); | |
14119 | if (PyErr_Occurred()) SWIG_fail; | |
14120 | } | |
4f89f6a3 RD |
14121 | { |
14122 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14123 | } | |
d14a1e28 RD |
14124 | { |
14125 | if (temp4) | |
14126 | delete arg4; | |
14127 | } | |
14128 | return resultobj; | |
14129 | fail: | |
14130 | { | |
14131 | if (temp4) | |
14132 | delete arg4; | |
14133 | } | |
14134 | return NULL; | |
14135 | } | |
14136 | ||
14137 | ||
14138 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14139 | PyObject *resultobj; | |
14140 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14141 | wxFindReplaceData *result; | |
14142 | PyObject * obj0 = 0 ; | |
14143 | char *kwnames[] = { | |
14144 | (char *) "self", NULL | |
14145 | }; | |
14146 | ||
14147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14148 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14149 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14150 | { |
14151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14152 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
14153 | ||
14154 | wxPyEndAllowThreads(__tstate); | |
14155 | if (PyErr_Occurred()) SWIG_fail; | |
14156 | } | |
15afbcd0 | 14157 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); |
d14a1e28 RD |
14158 | return resultobj; |
14159 | fail: | |
14160 | return NULL; | |
14161 | } | |
14162 | ||
14163 | ||
14164 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14165 | PyObject *resultobj; | |
14166 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14167 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14168 | PyObject * obj0 = 0 ; | |
14169 | PyObject * obj1 = 0 ; | |
14170 | char *kwnames[] = { | |
14171 | (char *) "self",(char *) "data", NULL | |
14172 | }; | |
14173 | ||
14174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14175 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14177 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
14178 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14179 | { |
14180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14181 | (arg1)->SetData(arg2); | |
14182 | ||
14183 | wxPyEndAllowThreads(__tstate); | |
14184 | if (PyErr_Occurred()) SWIG_fail; | |
14185 | } | |
14186 | Py_INCREF(Py_None); resultobj = Py_None; | |
14187 | return resultobj; | |
14188 | fail: | |
14189 | return NULL; | |
14190 | } | |
14191 | ||
14192 | ||
14193 | static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) { | |
14194 | PyObject *obj; | |
14195 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14196 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
14197 | Py_INCREF(obj); | |
14198 | return Py_BuildValue((char *)""); | |
14199 | } | |
14200 | static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14201 | PyObject *resultobj; | |
14202 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 14203 | int arg2 ; |
d14a1e28 RD |
14204 | wxString *arg3 = 0 ; |
14205 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14206 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14207 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14208 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14209 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14210 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14211 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14212 | wxMDIParentFrame *result; | |
e811c8ce | 14213 | bool temp3 = False ; |
d14a1e28 RD |
14214 | wxPoint temp4 ; |
14215 | wxSize temp5 ; | |
e811c8ce | 14216 | bool temp7 = False ; |
d14a1e28 | 14217 | PyObject * obj0 = 0 ; |
994141e6 | 14218 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14219 | PyObject * obj2 = 0 ; |
14220 | PyObject * obj3 = 0 ; | |
14221 | PyObject * obj4 = 0 ; | |
994141e6 | 14222 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14223 | PyObject * obj6 = 0 ; |
14224 | char *kwnames[] = { | |
14225 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14226 | }; | |
14227 | ||
994141e6 | 14228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
14229 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14231 | arg2 = (int const) SWIG_AsInt(obj1); | |
14232 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14233 | { |
14234 | arg3 = wxString_in_helper(obj2); | |
14235 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 14236 | temp3 = True; |
d14a1e28 RD |
14237 | } |
14238 | if (obj3) { | |
14239 | { | |
14240 | arg4 = &temp4; | |
14241 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14242 | } | |
14243 | } | |
14244 | if (obj4) { | |
14245 | { | |
14246 | arg5 = &temp5; | |
14247 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14248 | } | |
14249 | } | |
994141e6 | 14250 | if (obj5) { |
15afbcd0 RD |
14251 | arg6 = (long) SWIG_AsLong(obj5); |
14252 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14253 | } |
d14a1e28 RD |
14254 | if (obj6) { |
14255 | { | |
14256 | arg7 = wxString_in_helper(obj6); | |
14257 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 14258 | temp7 = True; |
d14a1e28 RD |
14259 | } |
14260 | } | |
14261 | { | |
14262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14263 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14264 | ||
14265 | wxPyEndAllowThreads(__tstate); | |
14266 | if (PyErr_Occurred()) SWIG_fail; | |
14267 | } | |
15afbcd0 | 14268 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
14269 | { |
14270 | if (temp3) | |
14271 | delete arg3; | |
14272 | } | |
14273 | { | |
14274 | if (temp7) | |
14275 | delete arg7; | |
14276 | } | |
14277 | return resultobj; | |
14278 | fail: | |
14279 | { | |
14280 | if (temp3) | |
14281 | delete arg3; | |
14282 | } | |
14283 | { | |
14284 | if (temp7) | |
14285 | delete arg7; | |
14286 | } | |
14287 | return NULL; | |
14288 | } | |
14289 | ||
14290 | ||
14291 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14292 | PyObject *resultobj; | |
14293 | wxMDIParentFrame *result; | |
14294 | char *kwnames[] = { | |
14295 | NULL | |
14296 | }; | |
14297 | ||
14298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
14299 | { | |
14300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14301 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
14302 | ||
14303 | wxPyEndAllowThreads(__tstate); | |
14304 | if (PyErr_Occurred()) SWIG_fail; | |
14305 | } | |
15afbcd0 | 14306 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
14307 | return resultobj; |
14308 | fail: | |
14309 | return NULL; | |
14310 | } | |
14311 | ||
14312 | ||
14313 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14314 | PyObject *resultobj; | |
14315 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14316 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 14317 | int arg3 ; |
d14a1e28 RD |
14318 | wxString *arg4 = 0 ; |
14319 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14320 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14321 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14322 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14323 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14324 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14325 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14326 | bool result; | |
e811c8ce | 14327 | bool temp4 = False ; |
d14a1e28 RD |
14328 | wxPoint temp5 ; |
14329 | wxSize temp6 ; | |
e811c8ce | 14330 | bool temp8 = False ; |
d14a1e28 RD |
14331 | PyObject * obj0 = 0 ; |
14332 | PyObject * obj1 = 0 ; | |
994141e6 | 14333 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14334 | PyObject * obj3 = 0 ; |
14335 | PyObject * obj4 = 0 ; | |
14336 | PyObject * obj5 = 0 ; | |
994141e6 | 14337 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14338 | PyObject * obj7 = 0 ; |
14339 | char *kwnames[] = { | |
14340 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14341 | }; | |
14342 | ||
994141e6 | 14343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
14344 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14345 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14346 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14347 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14348 | arg3 = (int const) SWIG_AsInt(obj2); | |
14349 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14350 | { |
14351 | arg4 = wxString_in_helper(obj3); | |
14352 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 14353 | temp4 = True; |
d14a1e28 RD |
14354 | } |
14355 | if (obj4) { | |
14356 | { | |
14357 | arg5 = &temp5; | |
14358 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14359 | } | |
14360 | } | |
14361 | if (obj5) { | |
14362 | { | |
14363 | arg6 = &temp6; | |
14364 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14365 | } | |
14366 | } | |
994141e6 | 14367 | if (obj6) { |
15afbcd0 RD |
14368 | arg7 = (long) SWIG_AsLong(obj6); |
14369 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14370 | } |
d14a1e28 RD |
14371 | if (obj7) { |
14372 | { | |
14373 | arg8 = wxString_in_helper(obj7); | |
14374 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 14375 | temp8 = True; |
d14a1e28 RD |
14376 | } |
14377 | } | |
14378 | { | |
14379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14380 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14381 | ||
14382 | wxPyEndAllowThreads(__tstate); | |
14383 | if (PyErr_Occurred()) SWIG_fail; | |
14384 | } | |
4f89f6a3 RD |
14385 | { |
14386 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14387 | } | |
d14a1e28 RD |
14388 | { |
14389 | if (temp4) | |
14390 | delete arg4; | |
14391 | } | |
14392 | { | |
14393 | if (temp8) | |
14394 | delete arg8; | |
14395 | } | |
14396 | return resultobj; | |
14397 | fail: | |
14398 | { | |
14399 | if (temp4) | |
14400 | delete arg4; | |
14401 | } | |
14402 | { | |
14403 | if (temp8) | |
14404 | delete arg8; | |
14405 | } | |
14406 | return NULL; | |
14407 | } | |
14408 | ||
14409 | ||
14410 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14411 | PyObject *resultobj; | |
14412 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14413 | PyObject * obj0 = 0 ; | |
14414 | char *kwnames[] = { | |
14415 | (char *) "self", NULL | |
14416 | }; | |
14417 | ||
14418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14421 | { |
14422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14423 | (arg1)->ActivateNext(); | |
14424 | ||
14425 | wxPyEndAllowThreads(__tstate); | |
14426 | if (PyErr_Occurred()) SWIG_fail; | |
14427 | } | |
14428 | Py_INCREF(Py_None); resultobj = Py_None; | |
14429 | return resultobj; | |
14430 | fail: | |
14431 | return NULL; | |
14432 | } | |
14433 | ||
14434 | ||
14435 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14436 | PyObject *resultobj; | |
14437 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14438 | PyObject * obj0 = 0 ; | |
14439 | char *kwnames[] = { | |
14440 | (char *) "self", NULL | |
14441 | }; | |
14442 | ||
14443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14444 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14445 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14446 | { |
14447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14448 | (arg1)->ActivatePrevious(); | |
14449 | ||
14450 | wxPyEndAllowThreads(__tstate); | |
14451 | if (PyErr_Occurred()) SWIG_fail; | |
14452 | } | |
14453 | Py_INCREF(Py_None); resultobj = Py_None; | |
14454 | return resultobj; | |
14455 | fail: | |
14456 | return NULL; | |
14457 | } | |
14458 | ||
14459 | ||
14460 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14461 | PyObject *resultobj; | |
14462 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14463 | PyObject * obj0 = 0 ; | |
14464 | char *kwnames[] = { | |
14465 | (char *) "self", NULL | |
14466 | }; | |
14467 | ||
14468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14471 | { |
14472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14473 | (arg1)->ArrangeIcons(); | |
14474 | ||
14475 | wxPyEndAllowThreads(__tstate); | |
14476 | if (PyErr_Occurred()) SWIG_fail; | |
14477 | } | |
14478 | Py_INCREF(Py_None); resultobj = Py_None; | |
14479 | return resultobj; | |
14480 | fail: | |
14481 | return NULL; | |
14482 | } | |
14483 | ||
14484 | ||
14485 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14486 | PyObject *resultobj; | |
14487 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14488 | PyObject * obj0 = 0 ; | |
14489 | char *kwnames[] = { | |
14490 | (char *) "self", NULL | |
14491 | }; | |
14492 | ||
14493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14496 | { |
14497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14498 | (arg1)->Cascade(); | |
14499 | ||
14500 | wxPyEndAllowThreads(__tstate); | |
14501 | if (PyErr_Occurred()) SWIG_fail; | |
14502 | } | |
14503 | Py_INCREF(Py_None); resultobj = Py_None; | |
14504 | return resultobj; | |
14505 | fail: | |
14506 | return NULL; | |
14507 | } | |
14508 | ||
14509 | ||
14510 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14511 | PyObject *resultobj; | |
14512 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14513 | wxMDIChildFrame *result; | |
14514 | PyObject * obj0 = 0 ; | |
14515 | char *kwnames[] = { | |
14516 | (char *) "self", NULL | |
14517 | }; | |
14518 | ||
14519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14520 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14521 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14522 | { |
14523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14524 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
14525 | ||
14526 | wxPyEndAllowThreads(__tstate); | |
14527 | if (PyErr_Occurred()) SWIG_fail; | |
14528 | } | |
14529 | { | |
14530 | resultobj = wxPyMake_wxObject(result); | |
14531 | } | |
14532 | return resultobj; | |
14533 | fail: | |
14534 | return NULL; | |
14535 | } | |
14536 | ||
14537 | ||
14538 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14539 | PyObject *resultobj; | |
14540 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14541 | wxMDIClientWindow *result; | |
14542 | PyObject * obj0 = 0 ; | |
14543 | char *kwnames[] = { | |
14544 | (char *) "self", NULL | |
14545 | }; | |
14546 | ||
14547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14548 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14549 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14550 | { |
14551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14552 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
14553 | ||
14554 | wxPyEndAllowThreads(__tstate); | |
14555 | if (PyErr_Occurred()) SWIG_fail; | |
14556 | } | |
14557 | { | |
14558 | resultobj = wxPyMake_wxObject(result); | |
14559 | } | |
14560 | return resultobj; | |
14561 | fail: | |
14562 | return NULL; | |
14563 | } | |
14564 | ||
14565 | ||
14566 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14567 | PyObject *resultobj; | |
14568 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14569 | wxWindow *result; | |
14570 | PyObject * obj0 = 0 ; | |
14571 | char *kwnames[] = { | |
14572 | (char *) "self", NULL | |
14573 | }; | |
14574 | ||
14575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14576 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14578 | { |
14579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14580 | result = (wxWindow *)(arg1)->GetToolBar(); | |
14581 | ||
14582 | wxPyEndAllowThreads(__tstate); | |
14583 | if (PyErr_Occurred()) SWIG_fail; | |
14584 | } | |
14585 | { | |
14586 | resultobj = wxPyMake_wxObject(result); | |
14587 | } | |
14588 | return resultobj; | |
14589 | fail: | |
14590 | return NULL; | |
14591 | } | |
14592 | ||
14593 | ||
14594 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14595 | PyObject *resultobj; | |
14596 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14597 | PyObject * obj0 = 0 ; | |
14598 | char *kwnames[] = { | |
14599 | (char *) "self", NULL | |
14600 | }; | |
14601 | ||
14602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14603 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14604 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14605 | { |
14606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14607 | (arg1)->Tile(); | |
14608 | ||
14609 | wxPyEndAllowThreads(__tstate); | |
14610 | if (PyErr_Occurred()) SWIG_fail; | |
14611 | } | |
14612 | Py_INCREF(Py_None); resultobj = Py_None; | |
14613 | return resultobj; | |
14614 | fail: | |
14615 | return NULL; | |
14616 | } | |
14617 | ||
14618 | ||
14619 | static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) { | |
14620 | PyObject *obj; | |
14621 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14622 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
14623 | Py_INCREF(obj); | |
14624 | return Py_BuildValue((char *)""); | |
14625 | } | |
14626 | static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14627 | PyObject *resultobj; | |
14628 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
e811c8ce | 14629 | int arg2 ; |
d14a1e28 RD |
14630 | wxString *arg3 = 0 ; |
14631 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14632 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14633 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14634 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14635 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
14636 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14637 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14638 | wxMDIChildFrame *result; | |
e811c8ce | 14639 | bool temp3 = False ; |
d14a1e28 RD |
14640 | wxPoint temp4 ; |
14641 | wxSize temp5 ; | |
e811c8ce | 14642 | bool temp7 = False ; |
d14a1e28 | 14643 | PyObject * obj0 = 0 ; |
994141e6 | 14644 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14645 | PyObject * obj2 = 0 ; |
14646 | PyObject * obj3 = 0 ; | |
14647 | PyObject * obj4 = 0 ; | |
994141e6 | 14648 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14649 | PyObject * obj6 = 0 ; |
14650 | char *kwnames[] = { | |
14651 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14652 | }; | |
14653 | ||
994141e6 | 14654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
14655 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14656 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14657 | arg2 = (int const) SWIG_AsInt(obj1); | |
14658 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14659 | { |
14660 | arg3 = wxString_in_helper(obj2); | |
14661 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 14662 | temp3 = True; |
d14a1e28 RD |
14663 | } |
14664 | if (obj3) { | |
14665 | { | |
14666 | arg4 = &temp4; | |
14667 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14668 | } | |
14669 | } | |
14670 | if (obj4) { | |
14671 | { | |
14672 | arg5 = &temp5; | |
14673 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14674 | } | |
14675 | } | |
994141e6 | 14676 | if (obj5) { |
15afbcd0 RD |
14677 | arg6 = (long) SWIG_AsLong(obj5); |
14678 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14679 | } |
d14a1e28 RD |
14680 | if (obj6) { |
14681 | { | |
14682 | arg7 = wxString_in_helper(obj6); | |
14683 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 14684 | temp7 = True; |
d14a1e28 RD |
14685 | } |
14686 | } | |
14687 | { | |
14688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14689 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14690 | ||
14691 | wxPyEndAllowThreads(__tstate); | |
14692 | if (PyErr_Occurred()) SWIG_fail; | |
14693 | } | |
14694 | { | |
14695 | resultobj = wxPyMake_wxObject(result); | |
14696 | } | |
14697 | { | |
14698 | if (temp3) | |
14699 | delete arg3; | |
14700 | } | |
14701 | { | |
14702 | if (temp7) | |
14703 | delete arg7; | |
14704 | } | |
14705 | return resultobj; | |
14706 | fail: | |
14707 | { | |
14708 | if (temp3) | |
14709 | delete arg3; | |
14710 | } | |
14711 | { | |
14712 | if (temp7) | |
14713 | delete arg7; | |
14714 | } | |
14715 | return NULL; | |
14716 | } | |
14717 | ||
14718 | ||
14719 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14720 | PyObject *resultobj; | |
14721 | wxMDIChildFrame *result; | |
14722 | char *kwnames[] = { | |
14723 | NULL | |
14724 | }; | |
14725 | ||
14726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
14727 | { | |
14728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14729 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
14730 | ||
14731 | wxPyEndAllowThreads(__tstate); | |
14732 | if (PyErr_Occurred()) SWIG_fail; | |
14733 | } | |
14734 | { | |
14735 | resultobj = wxPyMake_wxObject(result); | |
14736 | } | |
14737 | return resultobj; | |
14738 | fail: | |
14739 | return NULL; | |
14740 | } | |
14741 | ||
14742 | ||
14743 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14744 | PyObject *resultobj; | |
14745 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14746 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
e811c8ce | 14747 | int arg3 ; |
d14a1e28 RD |
14748 | wxString *arg4 = 0 ; |
14749 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14750 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14751 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14752 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14753 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
14754 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14755 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14756 | bool result; | |
e811c8ce | 14757 | bool temp4 = False ; |
d14a1e28 RD |
14758 | wxPoint temp5 ; |
14759 | wxSize temp6 ; | |
e811c8ce | 14760 | bool temp8 = False ; |
d14a1e28 RD |
14761 | PyObject * obj0 = 0 ; |
14762 | PyObject * obj1 = 0 ; | |
994141e6 | 14763 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14764 | PyObject * obj3 = 0 ; |
14765 | PyObject * obj4 = 0 ; | |
14766 | PyObject * obj5 = 0 ; | |
994141e6 | 14767 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14768 | PyObject * obj7 = 0 ; |
14769 | char *kwnames[] = { | |
14770 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14771 | }; | |
14772 | ||
994141e6 | 14773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
14774 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14775 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14776 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
14777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14778 | arg3 = (int const) SWIG_AsInt(obj2); | |
14779 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14780 | { |
14781 | arg4 = wxString_in_helper(obj3); | |
14782 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 14783 | temp4 = True; |
d14a1e28 RD |
14784 | } |
14785 | if (obj4) { | |
14786 | { | |
14787 | arg5 = &temp5; | |
14788 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14789 | } | |
14790 | } | |
14791 | if (obj5) { | |
14792 | { | |
14793 | arg6 = &temp6; | |
14794 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14795 | } | |
14796 | } | |
994141e6 | 14797 | if (obj6) { |
15afbcd0 RD |
14798 | arg7 = (long) SWIG_AsLong(obj6); |
14799 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14800 | } |
d14a1e28 RD |
14801 | if (obj7) { |
14802 | { | |
14803 | arg8 = wxString_in_helper(obj7); | |
14804 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 14805 | temp8 = True; |
d14a1e28 RD |
14806 | } |
14807 | } | |
14808 | { | |
14809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14810 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14811 | ||
14812 | wxPyEndAllowThreads(__tstate); | |
14813 | if (PyErr_Occurred()) SWIG_fail; | |
14814 | } | |
4f89f6a3 RD |
14815 | { |
14816 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14817 | } | |
d14a1e28 RD |
14818 | { |
14819 | if (temp4) | |
14820 | delete arg4; | |
14821 | } | |
14822 | { | |
14823 | if (temp8) | |
14824 | delete arg8; | |
14825 | } | |
14826 | return resultobj; | |
14827 | fail: | |
14828 | { | |
14829 | if (temp4) | |
14830 | delete arg4; | |
14831 | } | |
14832 | { | |
14833 | if (temp8) | |
14834 | delete arg8; | |
14835 | } | |
14836 | return NULL; | |
14837 | } | |
14838 | ||
14839 | ||
14840 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14841 | PyObject *resultobj; | |
14842 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14843 | PyObject * obj0 = 0 ; | |
14844 | char *kwnames[] = { | |
14845 | (char *) "self", NULL | |
14846 | }; | |
14847 | ||
14848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14849 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14850 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14851 | { |
14852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14853 | (arg1)->Activate(); | |
14854 | ||
14855 | wxPyEndAllowThreads(__tstate); | |
14856 | if (PyErr_Occurred()) SWIG_fail; | |
14857 | } | |
14858 | Py_INCREF(Py_None); resultobj = Py_None; | |
14859 | return resultobj; | |
14860 | fail: | |
14861 | return NULL; | |
14862 | } | |
14863 | ||
14864 | ||
14865 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14866 | PyObject *resultobj; | |
14867 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14868 | bool arg2 ; | |
14869 | PyObject * obj0 = 0 ; | |
14870 | PyObject * obj1 = 0 ; | |
14871 | char *kwnames[] = { | |
14872 | (char *) "self",(char *) "maximize", NULL | |
14873 | }; | |
14874 | ||
14875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14876 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14877 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14878 | arg2 = (bool) SWIG_AsBool(obj1); | |
14879 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14880 | { |
14881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14882 | (arg1)->Maximize(arg2); | |
14883 | ||
14884 | wxPyEndAllowThreads(__tstate); | |
14885 | if (PyErr_Occurred()) SWIG_fail; | |
14886 | } | |
14887 | Py_INCREF(Py_None); resultobj = Py_None; | |
14888 | return resultobj; | |
14889 | fail: | |
14890 | return NULL; | |
14891 | } | |
14892 | ||
14893 | ||
14894 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14895 | PyObject *resultobj; | |
14896 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14897 | PyObject * obj0 = 0 ; | |
14898 | char *kwnames[] = { | |
14899 | (char *) "self", NULL | |
14900 | }; | |
14901 | ||
14902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14903 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14904 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14905 | { |
14906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14907 | (arg1)->Restore(); | |
14908 | ||
14909 | wxPyEndAllowThreads(__tstate); | |
14910 | if (PyErr_Occurred()) SWIG_fail; | |
14911 | } | |
14912 | Py_INCREF(Py_None); resultobj = Py_None; | |
14913 | return resultobj; | |
14914 | fail: | |
14915 | return NULL; | |
14916 | } | |
14917 | ||
14918 | ||
14919 | static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) { | |
14920 | PyObject *obj; | |
14921 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14922 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
14923 | Py_INCREF(obj); | |
14924 | return Py_BuildValue((char *)""); | |
14925 | } | |
14926 | static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14927 | PyObject *resultobj; | |
14928 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14929 | long arg2 = (long) 0 ; | |
14930 | wxMDIClientWindow *result; | |
14931 | PyObject * obj0 = 0 ; | |
994141e6 | 14932 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14933 | char *kwnames[] = { |
14934 | (char *) "parent",(char *) "style", NULL | |
14935 | }; | |
14936 | ||
994141e6 | 14937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
14938 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14939 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 14940 | if (obj1) { |
15afbcd0 RD |
14941 | arg2 = (long) SWIG_AsLong(obj1); |
14942 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14943 | } |
d14a1e28 RD |
14944 | { |
14945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14946 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
14947 | ||
14948 | wxPyEndAllowThreads(__tstate); | |
14949 | if (PyErr_Occurred()) SWIG_fail; | |
14950 | } | |
14951 | { | |
14952 | resultobj = wxPyMake_wxObject(result); | |
14953 | } | |
14954 | return resultobj; | |
14955 | fail: | |
14956 | return NULL; | |
14957 | } | |
14958 | ||
14959 | ||
14960 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14961 | PyObject *resultobj; | |
14962 | wxMDIClientWindow *result; | |
14963 | char *kwnames[] = { | |
14964 | NULL | |
14965 | }; | |
14966 | ||
14967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
14968 | { | |
14969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14970 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
14971 | ||
14972 | wxPyEndAllowThreads(__tstate); | |
14973 | if (PyErr_Occurred()) SWIG_fail; | |
14974 | } | |
14975 | { | |
14976 | resultobj = wxPyMake_wxObject(result); | |
14977 | } | |
14978 | return resultobj; | |
14979 | fail: | |
14980 | return NULL; | |
14981 | } | |
14982 | ||
14983 | ||
14984 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14985 | PyObject *resultobj; | |
14986 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
14987 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
14988 | long arg3 = (long) 0 ; | |
14989 | bool result; | |
14990 | PyObject * obj0 = 0 ; | |
14991 | PyObject * obj1 = 0 ; | |
994141e6 | 14992 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14993 | char *kwnames[] = { |
14994 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
14995 | }; | |
14996 | ||
994141e6 | 14997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
14998 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow, |
14999 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15000 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
15001 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 15002 | if (obj2) { |
15afbcd0 RD |
15003 | arg3 = (long) SWIG_AsLong(obj2); |
15004 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15005 | } |
d14a1e28 RD |
15006 | { |
15007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15008 | result = (bool)(arg1)->Create(arg2,arg3); | |
15009 | ||
15010 | wxPyEndAllowThreads(__tstate); | |
15011 | if (PyErr_Occurred()) SWIG_fail; | |
15012 | } | |
4f89f6a3 RD |
15013 | { |
15014 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15015 | } | |
d14a1e28 RD |
15016 | return resultobj; |
15017 | fail: | |
15018 | return NULL; | |
15019 | } | |
15020 | ||
15021 | ||
15022 | static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) { | |
15023 | PyObject *obj; | |
15024 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15025 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
15026 | Py_INCREF(obj); | |
15027 | return Py_BuildValue((char *)""); | |
15028 | } | |
15029 | static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15030 | PyObject *resultobj; | |
15031 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 15032 | int arg2 ; |
d14a1e28 RD |
15033 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15034 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15035 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15036 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15037 | long arg5 = (long) 0 ; | |
15038 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15039 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15040 | wxPyWindow *result; | |
15041 | wxPoint temp3 ; | |
15042 | wxSize temp4 ; | |
e811c8ce | 15043 | bool temp6 = False ; |
d14a1e28 | 15044 | PyObject * obj0 = 0 ; |
994141e6 | 15045 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15046 | PyObject * obj2 = 0 ; |
15047 | PyObject * obj3 = 0 ; | |
994141e6 | 15048 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15049 | PyObject * obj5 = 0 ; |
15050 | char *kwnames[] = { | |
15051 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15052 | }; | |
15053 | ||
994141e6 | 15054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15055 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15056 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15057 | arg2 = (int const) SWIG_AsInt(obj1); | |
15058 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15059 | if (obj2) { |
15060 | { | |
15061 | arg3 = &temp3; | |
15062 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15063 | } | |
15064 | } | |
15065 | if (obj3) { | |
15066 | { | |
15067 | arg4 = &temp4; | |
15068 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15069 | } | |
15070 | } | |
994141e6 | 15071 | if (obj4) { |
15afbcd0 RD |
15072 | arg5 = (long) SWIG_AsLong(obj4); |
15073 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15074 | } |
d14a1e28 RD |
15075 | if (obj5) { |
15076 | { | |
15077 | arg6 = wxString_in_helper(obj5); | |
15078 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 15079 | temp6 = True; |
d14a1e28 RD |
15080 | } |
15081 | } | |
15082 | { | |
15083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15084 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15085 | ||
15086 | wxPyEndAllowThreads(__tstate); | |
15087 | if (PyErr_Occurred()) SWIG_fail; | |
15088 | } | |
15afbcd0 | 15089 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); |
d14a1e28 RD |
15090 | { |
15091 | if (temp6) | |
15092 | delete arg6; | |
15093 | } | |
15094 | return resultobj; | |
15095 | fail: | |
15096 | { | |
15097 | if (temp6) | |
15098 | delete arg6; | |
15099 | } | |
15100 | return NULL; | |
15101 | } | |
15102 | ||
15103 | ||
1cb4a8aa RD |
15104 | static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
15105 | PyObject *resultobj; | |
15106 | wxPyWindow *result; | |
15107 | char *kwnames[] = { | |
15108 | NULL | |
15109 | }; | |
15110 | ||
15111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail; | |
15112 | { | |
15113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15114 | result = (wxPyWindow *)new wxPyWindow(); | |
15115 | ||
15116 | wxPyEndAllowThreads(__tstate); | |
15117 | if (PyErr_Occurred()) SWIG_fail; | |
15118 | } | |
15119 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
15120 | return resultobj; | |
15121 | fail: | |
15122 | return NULL; | |
15123 | } | |
15124 | ||
15125 | ||
d14a1e28 RD |
15126 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
15127 | PyObject *resultobj; | |
15128 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15129 | PyObject *arg2 = (PyObject *) 0 ; | |
15130 | PyObject *arg3 = (PyObject *) 0 ; | |
15131 | PyObject * obj0 = 0 ; | |
15132 | PyObject * obj1 = 0 ; | |
15133 | PyObject * obj2 = 0 ; | |
15134 | char *kwnames[] = { | |
15135 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15136 | }; | |
15137 | ||
15138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
15139 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15141 | arg2 = obj1; |
15142 | arg3 = obj2; | |
15143 | { | |
15144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15145 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15146 | ||
15147 | wxPyEndAllowThreads(__tstate); | |
15148 | if (PyErr_Occurred()) SWIG_fail; | |
15149 | } | |
15150 | Py_INCREF(Py_None); resultobj = Py_None; | |
15151 | return resultobj; | |
15152 | fail: | |
15153 | return NULL; | |
15154 | } | |
15155 | ||
15156 | ||
15157 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15158 | PyObject *resultobj; | |
15159 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15160 | int arg2 ; | |
15161 | int arg3 ; | |
15162 | int arg4 ; | |
15163 | int arg5 ; | |
15164 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15165 | PyObject * obj1 = 0 ; |
15166 | PyObject * obj2 = 0 ; | |
15167 | PyObject * obj3 = 0 ; | |
15168 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
15169 | char *kwnames[] = { |
15170 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15171 | }; | |
15172 | ||
994141e6 | 15173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
15174 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15175 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15176 | arg2 = (int) SWIG_AsInt(obj1); | |
15177 | if (PyErr_Occurred()) SWIG_fail; | |
15178 | arg3 = (int) SWIG_AsInt(obj2); | |
15179 | if (PyErr_Occurred()) SWIG_fail; | |
15180 | arg4 = (int) SWIG_AsInt(obj3); | |
15181 | if (PyErr_Occurred()) SWIG_fail; | |
15182 | arg5 = (int) SWIG_AsInt(obj4); | |
15183 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15184 | { |
15185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15186 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15187 | ||
15188 | wxPyEndAllowThreads(__tstate); | |
15189 | if (PyErr_Occurred()) SWIG_fail; | |
15190 | } | |
15191 | Py_INCREF(Py_None); resultobj = Py_None; | |
15192 | return resultobj; | |
15193 | fail: | |
15194 | return NULL; | |
15195 | } | |
15196 | ||
15197 | ||
15198 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15199 | PyObject *resultobj; | |
15200 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15201 | int arg2 ; | |
15202 | int arg3 ; | |
15203 | int arg4 ; | |
15204 | int arg5 ; | |
15205 | int arg6 = (int) wxSIZE_AUTO ; | |
15206 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15207 | PyObject * obj1 = 0 ; |
15208 | PyObject * obj2 = 0 ; | |
15209 | PyObject * obj3 = 0 ; | |
15210 | PyObject * obj4 = 0 ; | |
15211 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
15212 | char *kwnames[] = { |
15213 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15214 | }; | |
15215 | ||
994141e6 | 15216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15217 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15218 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15219 | arg2 = (int) SWIG_AsInt(obj1); | |
15220 | if (PyErr_Occurred()) SWIG_fail; | |
15221 | arg3 = (int) SWIG_AsInt(obj2); | |
15222 | if (PyErr_Occurred()) SWIG_fail; | |
15223 | arg4 = (int) SWIG_AsInt(obj3); | |
15224 | if (PyErr_Occurred()) SWIG_fail; | |
15225 | arg5 = (int) SWIG_AsInt(obj4); | |
15226 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15227 | if (obj5) { |
15afbcd0 RD |
15228 | arg6 = (int) SWIG_AsInt(obj5); |
15229 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15230 | } |
d14a1e28 RD |
15231 | { |
15232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15233 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15234 | ||
15235 | wxPyEndAllowThreads(__tstate); | |
15236 | if (PyErr_Occurred()) SWIG_fail; | |
15237 | } | |
15238 | Py_INCREF(Py_None); resultobj = Py_None; | |
15239 | return resultobj; | |
15240 | fail: | |
15241 | return NULL; | |
15242 | } | |
15243 | ||
15244 | ||
15245 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15246 | PyObject *resultobj; | |
15247 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15248 | int arg2 ; | |
15249 | int arg3 ; | |
15250 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15251 | PyObject * obj1 = 0 ; |
15252 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15253 | char *kwnames[] = { |
15254 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15255 | }; | |
15256 | ||
994141e6 | 15257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
15258 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15259 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15260 | arg2 = (int) SWIG_AsInt(obj1); | |
15261 | if (PyErr_Occurred()) SWIG_fail; | |
15262 | arg3 = (int) SWIG_AsInt(obj2); | |
15263 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15264 | { |
15265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15266 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15267 | ||
15268 | wxPyEndAllowThreads(__tstate); | |
15269 | if (PyErr_Occurred()) SWIG_fail; | |
15270 | } | |
15271 | Py_INCREF(Py_None); resultobj = Py_None; | |
15272 | return resultobj; | |
15273 | fail: | |
15274 | return NULL; | |
15275 | } | |
15276 | ||
15277 | ||
15278 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15279 | PyObject *resultobj; | |
15280 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15281 | int arg2 ; | |
15282 | int arg3 ; | |
15283 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15284 | PyObject * obj1 = 0 ; |
15285 | PyObject * obj2 = 0 ; | |
d14a1e28 | 15286 | char *kwnames[] = { |
15afbcd0 RD |
15287 | (char *) "self",(char *) "x",(char *) "y", NULL |
15288 | }; | |
15289 | ||
15290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15291 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15292 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15293 | arg2 = (int) SWIG_AsInt(obj1); | |
15294 | if (PyErr_Occurred()) SWIG_fail; | |
15295 | arg3 = (int) SWIG_AsInt(obj2); | |
15296 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15297 | { |
15298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15299 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
15300 | ||
15301 | wxPyEndAllowThreads(__tstate); | |
15302 | if (PyErr_Occurred()) SWIG_fail; | |
15303 | } | |
15304 | Py_INCREF(Py_None); resultobj = Py_None; | |
15305 | return resultobj; | |
15306 | fail: | |
15307 | return NULL; | |
15308 | } | |
15309 | ||
15310 | ||
15311 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15312 | PyObject *resultobj; | |
15313 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15314 | int *arg2 = (int *) 0 ; | |
15315 | int *arg3 = (int *) 0 ; | |
15316 | int temp2 ; | |
15317 | int temp3 ; | |
15318 | PyObject * obj0 = 0 ; | |
15319 | char *kwnames[] = { | |
15320 | (char *) "self", NULL | |
15321 | }; | |
15322 | ||
15323 | arg2 = &temp2; | |
15324 | arg3 = &temp3; | |
15325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15328 | { |
15329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15330 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
15331 | ||
15332 | wxPyEndAllowThreads(__tstate); | |
15333 | if (PyErr_Occurred()) SWIG_fail; | |
15334 | } | |
15335 | Py_INCREF(Py_None); resultobj = Py_None; | |
15336 | { | |
15337 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15338 | resultobj = t_output_helper(resultobj,o); | |
15339 | } | |
15340 | { | |
15341 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15342 | resultobj = t_output_helper(resultobj,o); | |
15343 | } | |
15344 | return resultobj; | |
15345 | fail: | |
15346 | return NULL; | |
15347 | } | |
15348 | ||
15349 | ||
15350 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15351 | PyObject *resultobj; | |
15352 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15353 | int *arg2 = (int *) 0 ; | |
15354 | int *arg3 = (int *) 0 ; | |
15355 | int temp2 ; | |
15356 | int temp3 ; | |
15357 | PyObject * obj0 = 0 ; | |
15358 | char *kwnames[] = { | |
15359 | (char *) "self", NULL | |
15360 | }; | |
15361 | ||
15362 | arg2 = &temp2; | |
15363 | arg3 = &temp3; | |
15364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15365 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15367 | { |
15368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15369 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
15370 | ||
15371 | wxPyEndAllowThreads(__tstate); | |
15372 | if (PyErr_Occurred()) SWIG_fail; | |
15373 | } | |
15374 | Py_INCREF(Py_None); resultobj = Py_None; | |
15375 | { | |
15376 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15377 | resultobj = t_output_helper(resultobj,o); | |
15378 | } | |
15379 | { | |
15380 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15381 | resultobj = t_output_helper(resultobj,o); | |
15382 | } | |
15383 | return resultobj; | |
15384 | fail: | |
15385 | return NULL; | |
15386 | } | |
15387 | ||
15388 | ||
15389 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15390 | PyObject *resultobj; | |
15391 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15392 | int *arg2 = (int *) 0 ; | |
15393 | int *arg3 = (int *) 0 ; | |
15394 | int temp2 ; | |
15395 | int temp3 ; | |
15396 | PyObject * obj0 = 0 ; | |
15397 | char *kwnames[] = { | |
15398 | (char *) "self", NULL | |
15399 | }; | |
15400 | ||
15401 | arg2 = &temp2; | |
15402 | arg3 = &temp3; | |
15403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15404 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15405 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15406 | { |
15407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15408 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
15409 | ||
15410 | wxPyEndAllowThreads(__tstate); | |
15411 | if (PyErr_Occurred()) SWIG_fail; | |
15412 | } | |
15413 | Py_INCREF(Py_None); resultobj = Py_None; | |
15414 | { | |
15415 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15416 | resultobj = t_output_helper(resultobj,o); | |
15417 | } | |
15418 | { | |
15419 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15420 | resultobj = t_output_helper(resultobj,o); | |
15421 | } | |
15422 | return resultobj; | |
15423 | fail: | |
15424 | return NULL; | |
15425 | } | |
15426 | ||
15427 | ||
15428 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15429 | PyObject *resultobj; | |
15430 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15431 | wxSize result; | |
15432 | PyObject * obj0 = 0 ; | |
15433 | char *kwnames[] = { | |
15434 | (char *) "self", NULL | |
15435 | }; | |
15436 | ||
15437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15438 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15439 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15440 | { |
15441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15442 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
15443 | ||
15444 | wxPyEndAllowThreads(__tstate); | |
15445 | if (PyErr_Occurred()) SWIG_fail; | |
15446 | } | |
15447 | { | |
15448 | wxSize * resultptr; | |
15449 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15450 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15451 | } |
15452 | return resultobj; | |
15453 | fail: | |
15454 | return NULL; | |
15455 | } | |
15456 | ||
15457 | ||
15458 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15459 | PyObject *resultobj; | |
15460 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15461 | wxSize result; | |
15462 | PyObject * obj0 = 0 ; | |
15463 | char *kwnames[] = { | |
15464 | (char *) "self", NULL | |
15465 | }; | |
15466 | ||
15467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15468 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15469 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15470 | { |
15471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15472 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
15473 | ||
15474 | wxPyEndAllowThreads(__tstate); | |
15475 | if (PyErr_Occurred()) SWIG_fail; | |
15476 | } | |
15477 | { | |
15478 | wxSize * resultptr; | |
15479 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15480 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15481 | } |
15482 | return resultobj; | |
15483 | fail: | |
15484 | return NULL; | |
15485 | } | |
15486 | ||
15487 | ||
15488 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15489 | PyObject *resultobj; | |
15490 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15491 | PyObject * obj0 = 0 ; | |
15492 | char *kwnames[] = { | |
15493 | (char *) "self", NULL | |
15494 | }; | |
15495 | ||
15496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15497 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15498 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15499 | { |
15500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15501 | (arg1)->base_InitDialog(); | |
15502 | ||
15503 | wxPyEndAllowThreads(__tstate); | |
15504 | if (PyErr_Occurred()) SWIG_fail; | |
15505 | } | |
15506 | Py_INCREF(Py_None); resultobj = Py_None; | |
15507 | return resultobj; | |
15508 | fail: | |
15509 | return NULL; | |
15510 | } | |
15511 | ||
15512 | ||
15513 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15514 | PyObject *resultobj; | |
15515 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15516 | bool result; | |
15517 | PyObject * obj0 = 0 ; | |
15518 | char *kwnames[] = { | |
15519 | (char *) "self", NULL | |
15520 | }; | |
15521 | ||
15522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15523 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15524 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15525 | { |
15526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15527 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
15528 | ||
15529 | wxPyEndAllowThreads(__tstate); | |
15530 | if (PyErr_Occurred()) SWIG_fail; | |
15531 | } | |
4f89f6a3 RD |
15532 | { |
15533 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15534 | } | |
d14a1e28 RD |
15535 | return resultobj; |
15536 | fail: | |
15537 | return NULL; | |
15538 | } | |
15539 | ||
15540 | ||
15541 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15542 | PyObject *resultobj; | |
15543 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15544 | bool result; | |
15545 | PyObject * obj0 = 0 ; | |
15546 | char *kwnames[] = { | |
15547 | (char *) "self", NULL | |
15548 | }; | |
15549 | ||
15550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15551 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15552 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15553 | { |
15554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15555 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
15556 | ||
15557 | wxPyEndAllowThreads(__tstate); | |
15558 | if (PyErr_Occurred()) SWIG_fail; | |
15559 | } | |
4f89f6a3 RD |
15560 | { |
15561 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15562 | } | |
d14a1e28 RD |
15563 | return resultobj; |
15564 | fail: | |
15565 | return NULL; | |
15566 | } | |
15567 | ||
15568 | ||
15569 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15570 | PyObject *resultobj; | |
15571 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15572 | bool result; | |
15573 | PyObject * obj0 = 0 ; | |
15574 | char *kwnames[] = { | |
15575 | (char *) "self", NULL | |
15576 | }; | |
15577 | ||
15578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15579 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15580 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15581 | { |
15582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15583 | result = (bool)(arg1)->base_Validate(); | |
15584 | ||
15585 | wxPyEndAllowThreads(__tstate); | |
15586 | if (PyErr_Occurred()) SWIG_fail; | |
15587 | } | |
4f89f6a3 RD |
15588 | { |
15589 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15590 | } | |
d14a1e28 RD |
15591 | return resultobj; |
15592 | fail: | |
15593 | return NULL; | |
15594 | } | |
15595 | ||
15596 | ||
15597 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15598 | PyObject *resultobj; | |
15599 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15600 | bool result; | |
15601 | PyObject * obj0 = 0 ; | |
15602 | char *kwnames[] = { | |
15603 | (char *) "self", NULL | |
15604 | }; | |
15605 | ||
15606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15607 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15608 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15609 | { |
15610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15611 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
15612 | ||
15613 | wxPyEndAllowThreads(__tstate); | |
15614 | if (PyErr_Occurred()) SWIG_fail; | |
15615 | } | |
4f89f6a3 RD |
15616 | { |
15617 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15618 | } | |
d14a1e28 RD |
15619 | return resultobj; |
15620 | fail: | |
15621 | return NULL; | |
15622 | } | |
15623 | ||
15624 | ||
15625 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15626 | PyObject *resultobj; | |
15627 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15628 | bool result; | |
15629 | PyObject * obj0 = 0 ; | |
15630 | char *kwnames[] = { | |
15631 | (char *) "self", NULL | |
15632 | }; | |
15633 | ||
15634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15635 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15636 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15637 | { |
15638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15639 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
15640 | ||
15641 | wxPyEndAllowThreads(__tstate); | |
15642 | if (PyErr_Occurred()) SWIG_fail; | |
15643 | } | |
4f89f6a3 RD |
15644 | { |
15645 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15646 | } | |
d14a1e28 RD |
15647 | return resultobj; |
15648 | fail: | |
15649 | return NULL; | |
15650 | } | |
15651 | ||
15652 | ||
15653 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15654 | PyObject *resultobj; | |
15655 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15656 | wxSize result; | |
15657 | PyObject * obj0 = 0 ; | |
15658 | char *kwnames[] = { | |
15659 | (char *) "self", NULL | |
15660 | }; | |
15661 | ||
15662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15663 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15664 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15665 | { |
15666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15667 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
15668 | ||
15669 | wxPyEndAllowThreads(__tstate); | |
15670 | if (PyErr_Occurred()) SWIG_fail; | |
15671 | } | |
15672 | { | |
15673 | wxSize * resultptr; | |
15674 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15675 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15676 | } |
15677 | return resultobj; | |
15678 | fail: | |
15679 | return NULL; | |
15680 | } | |
15681 | ||
15682 | ||
15683 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15684 | PyObject *resultobj; | |
15685 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15686 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15687 | PyObject * obj0 = 0 ; | |
15688 | PyObject * obj1 = 0 ; | |
15689 | char *kwnames[] = { | |
15690 | (char *) "self",(char *) "child", NULL | |
15691 | }; | |
15692 | ||
15693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
15694 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15695 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15696 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15697 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15698 | { |
15699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15700 | (arg1)->base_AddChild(arg2); | |
15701 | ||
15702 | wxPyEndAllowThreads(__tstate); | |
15703 | if (PyErr_Occurred()) SWIG_fail; | |
15704 | } | |
15705 | Py_INCREF(Py_None); resultobj = Py_None; | |
15706 | return resultobj; | |
15707 | fail: | |
15708 | return NULL; | |
15709 | } | |
15710 | ||
15711 | ||
15712 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15713 | PyObject *resultobj; | |
15714 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15715 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15716 | PyObject * obj0 = 0 ; | |
15717 | PyObject * obj1 = 0 ; | |
15718 | char *kwnames[] = { | |
15719 | (char *) "self",(char *) "child", NULL | |
15720 | }; | |
15721 | ||
15722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
15723 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15724 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15725 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15727 | { |
15728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15729 | (arg1)->base_RemoveChild(arg2); | |
15730 | ||
15731 | wxPyEndAllowThreads(__tstate); | |
15732 | if (PyErr_Occurred()) SWIG_fail; | |
15733 | } | |
15734 | Py_INCREF(Py_None); resultobj = Py_None; | |
15735 | return resultobj; | |
15736 | fail: | |
15737 | return NULL; | |
15738 | } | |
15739 | ||
15740 | ||
1cb4a8aa RD |
15741 | static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) { |
15742 | PyObject *resultobj; | |
15743 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15744 | bool result; | |
15745 | PyObject * obj0 = 0 ; | |
15746 | char *kwnames[] = { | |
15747 | (char *) "self", NULL | |
15748 | }; | |
15749 | ||
15750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
15751 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15752 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15753 | { | |
15754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15755 | result = (bool)(arg1)->base_ShouldInheritColours(); | |
15756 | ||
15757 | wxPyEndAllowThreads(__tstate); | |
15758 | if (PyErr_Occurred()) SWIG_fail; | |
15759 | } | |
15760 | { | |
15761 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15762 | } | |
15763 | return resultobj; | |
15764 | fail: | |
15765 | return NULL; | |
15766 | } | |
15767 | ||
15768 | ||
15769 | static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15770 | PyObject *resultobj; | |
15771 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15772 | wxColour *arg2 = 0 ; | |
15773 | wxColour temp2 ; | |
15774 | PyObject * obj0 = 0 ; | |
15775 | PyObject * obj1 = 0 ; | |
15776 | char *kwnames[] = { | |
15777 | (char *) "self",(char *) "c", NULL | |
15778 | }; | |
15779 | ||
15780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
15781 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15782 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15783 | { | |
15784 | arg2 = &temp2; | |
15785 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
15786 | } | |
15787 | { | |
15788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15789 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
15790 | ||
15791 | wxPyEndAllowThreads(__tstate); | |
15792 | if (PyErr_Occurred()) SWIG_fail; | |
15793 | } | |
15794 | Py_INCREF(Py_None); resultobj = Py_None; | |
15795 | return resultobj; | |
15796 | fail: | |
15797 | return NULL; | |
15798 | } | |
15799 | ||
15800 | ||
d14a1e28 RD |
15801 | static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) { |
15802 | PyObject *obj; | |
15803 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15804 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
15805 | Py_INCREF(obj); | |
15806 | return Py_BuildValue((char *)""); | |
15807 | } | |
15808 | static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15809 | PyObject *resultobj; | |
15810 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 15811 | int arg2 ; |
d14a1e28 RD |
15812 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15813 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15814 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15815 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15816 | long arg5 = (long) 0 ; | |
15817 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15818 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15819 | wxPyPanel *result; | |
15820 | wxPoint temp3 ; | |
15821 | wxSize temp4 ; | |
e811c8ce | 15822 | bool temp6 = False ; |
d14a1e28 | 15823 | PyObject * obj0 = 0 ; |
994141e6 | 15824 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15825 | PyObject * obj2 = 0 ; |
15826 | PyObject * obj3 = 0 ; | |
994141e6 | 15827 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15828 | PyObject * obj5 = 0 ; |
15829 | char *kwnames[] = { | |
15830 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15831 | }; | |
15832 | ||
994141e6 | 15833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15834 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15835 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15836 | arg2 = (int const) SWIG_AsInt(obj1); | |
15837 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15838 | if (obj2) { |
15839 | { | |
15840 | arg3 = &temp3; | |
15841 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15842 | } | |
15843 | } | |
15844 | if (obj3) { | |
15845 | { | |
15846 | arg4 = &temp4; | |
15847 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15848 | } | |
15849 | } | |
994141e6 | 15850 | if (obj4) { |
15afbcd0 RD |
15851 | arg5 = (long) SWIG_AsLong(obj4); |
15852 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15853 | } |
d14a1e28 RD |
15854 | if (obj5) { |
15855 | { | |
15856 | arg6 = wxString_in_helper(obj5); | |
15857 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 15858 | temp6 = True; |
d14a1e28 RD |
15859 | } |
15860 | } | |
15861 | { | |
15862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15863 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15864 | ||
15865 | wxPyEndAllowThreads(__tstate); | |
15866 | if (PyErr_Occurred()) SWIG_fail; | |
15867 | } | |
15afbcd0 | 15868 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); |
d14a1e28 RD |
15869 | { |
15870 | if (temp6) | |
15871 | delete arg6; | |
15872 | } | |
15873 | return resultobj; | |
15874 | fail: | |
15875 | { | |
15876 | if (temp6) | |
15877 | delete arg6; | |
15878 | } | |
15879 | return NULL; | |
15880 | } | |
15881 | ||
15882 | ||
1cb4a8aa RD |
15883 | static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { |
15884 | PyObject *resultobj; | |
15885 | wxPyPanel *result; | |
15886 | char *kwnames[] = { | |
15887 | NULL | |
15888 | }; | |
15889 | ||
15890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail; | |
15891 | { | |
15892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15893 | result = (wxPyPanel *)new wxPyPanel(); | |
15894 | ||
15895 | wxPyEndAllowThreads(__tstate); | |
15896 | if (PyErr_Occurred()) SWIG_fail; | |
15897 | } | |
15898 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
15899 | return resultobj; | |
15900 | fail: | |
15901 | return NULL; | |
15902 | } | |
15903 | ||
15904 | ||
d14a1e28 RD |
15905 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
15906 | PyObject *resultobj; | |
15907 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15908 | PyObject *arg2 = (PyObject *) 0 ; | |
15909 | PyObject *arg3 = (PyObject *) 0 ; | |
15910 | PyObject * obj0 = 0 ; | |
15911 | PyObject * obj1 = 0 ; | |
15912 | PyObject * obj2 = 0 ; | |
15913 | char *kwnames[] = { | |
15914 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15915 | }; | |
15916 | ||
15917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
15918 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15919 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15920 | arg2 = obj1; |
15921 | arg3 = obj2; | |
15922 | { | |
15923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15924 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15925 | ||
15926 | wxPyEndAllowThreads(__tstate); | |
15927 | if (PyErr_Occurred()) SWIG_fail; | |
15928 | } | |
15929 | Py_INCREF(Py_None); resultobj = Py_None; | |
15930 | return resultobj; | |
15931 | fail: | |
15932 | return NULL; | |
15933 | } | |
15934 | ||
15935 | ||
15936 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15937 | PyObject *resultobj; | |
15938 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15939 | int arg2 ; | |
15940 | int arg3 ; | |
15941 | int arg4 ; | |
15942 | int arg5 ; | |
15943 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15944 | PyObject * obj1 = 0 ; |
15945 | PyObject * obj2 = 0 ; | |
15946 | PyObject * obj3 = 0 ; | |
15947 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
15948 | char *kwnames[] = { |
15949 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15950 | }; | |
15951 | ||
994141e6 | 15952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
15953 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15954 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15955 | arg2 = (int) SWIG_AsInt(obj1); | |
15956 | if (PyErr_Occurred()) SWIG_fail; | |
15957 | arg3 = (int) SWIG_AsInt(obj2); | |
15958 | if (PyErr_Occurred()) SWIG_fail; | |
15959 | arg4 = (int) SWIG_AsInt(obj3); | |
15960 | if (PyErr_Occurred()) SWIG_fail; | |
15961 | arg5 = (int) SWIG_AsInt(obj4); | |
15962 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15963 | { |
15964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15965 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15966 | ||
15967 | wxPyEndAllowThreads(__tstate); | |
15968 | if (PyErr_Occurred()) SWIG_fail; | |
15969 | } | |
15970 | Py_INCREF(Py_None); resultobj = Py_None; | |
15971 | return resultobj; | |
15972 | fail: | |
15973 | return NULL; | |
15974 | } | |
15975 | ||
15976 | ||
15977 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15978 | PyObject *resultobj; | |
15979 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15980 | int arg2 ; | |
15981 | int arg3 ; | |
15982 | int arg4 ; | |
15983 | int arg5 ; | |
15984 | int arg6 = (int) wxSIZE_AUTO ; | |
15985 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15986 | PyObject * obj1 = 0 ; |
15987 | PyObject * obj2 = 0 ; | |
15988 | PyObject * obj3 = 0 ; | |
15989 | PyObject * obj4 = 0 ; | |
15990 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
15991 | char *kwnames[] = { |
15992 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15993 | }; | |
15994 | ||
994141e6 | 15995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15998 | arg2 = (int) SWIG_AsInt(obj1); | |
15999 | if (PyErr_Occurred()) SWIG_fail; | |
16000 | arg3 = (int) SWIG_AsInt(obj2); | |
16001 | if (PyErr_Occurred()) SWIG_fail; | |
16002 | arg4 = (int) SWIG_AsInt(obj3); | |
16003 | if (PyErr_Occurred()) SWIG_fail; | |
16004 | arg5 = (int) SWIG_AsInt(obj4); | |
16005 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 16006 | if (obj5) { |
15afbcd0 RD |
16007 | arg6 = (int) SWIG_AsInt(obj5); |
16008 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 16009 | } |
d14a1e28 RD |
16010 | { |
16011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16012 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
16013 | ||
16014 | wxPyEndAllowThreads(__tstate); | |
16015 | if (PyErr_Occurred()) SWIG_fail; | |
16016 | } | |
16017 | Py_INCREF(Py_None); resultobj = Py_None; | |
16018 | return resultobj; | |
16019 | fail: | |
16020 | return NULL; | |
16021 | } | |
16022 | ||
16023 | ||
16024 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16025 | PyObject *resultobj; | |
16026 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16027 | int arg2 ; | |
16028 | int arg3 ; | |
16029 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16030 | PyObject * obj1 = 0 ; |
16031 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
16032 | char *kwnames[] = { |
16033 | (char *) "self",(char *) "width",(char *) "height", NULL | |
16034 | }; | |
16035 | ||
994141e6 | 16036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
16037 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16038 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16039 | arg2 = (int) SWIG_AsInt(obj1); | |
16040 | if (PyErr_Occurred()) SWIG_fail; | |
16041 | arg3 = (int) SWIG_AsInt(obj2); | |
16042 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16043 | { |
16044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16045 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
16046 | ||
16047 | wxPyEndAllowThreads(__tstate); | |
16048 | if (PyErr_Occurred()) SWIG_fail; | |
16049 | } | |
16050 | Py_INCREF(Py_None); resultobj = Py_None; | |
16051 | return resultobj; | |
16052 | fail: | |
16053 | return NULL; | |
16054 | } | |
16055 | ||
16056 | ||
16057 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16058 | PyObject *resultobj; | |
16059 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16060 | int arg2 ; | |
16061 | int arg3 ; | |
16062 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16063 | PyObject * obj1 = 0 ; |
16064 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
16065 | char *kwnames[] = { |
16066 | (char *) "self",(char *) "x",(char *) "y", NULL | |
16067 | }; | |
16068 | ||
994141e6 | 16069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
16070 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16071 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16072 | arg2 = (int) SWIG_AsInt(obj1); | |
16073 | if (PyErr_Occurred()) SWIG_fail; | |
16074 | arg3 = (int) SWIG_AsInt(obj2); | |
16075 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16076 | { |
16077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16078 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
16079 | ||
16080 | wxPyEndAllowThreads(__tstate); | |
16081 | if (PyErr_Occurred()) SWIG_fail; | |
16082 | } | |
16083 | Py_INCREF(Py_None); resultobj = Py_None; | |
16084 | return resultobj; | |
16085 | fail: | |
16086 | return NULL; | |
16087 | } | |
16088 | ||
16089 | ||
16090 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16091 | PyObject *resultobj; | |
16092 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16093 | int *arg2 = (int *) 0 ; | |
16094 | int *arg3 = (int *) 0 ; | |
16095 | int temp2 ; | |
16096 | int temp3 ; | |
16097 | PyObject * obj0 = 0 ; | |
16098 | char *kwnames[] = { | |
16099 | (char *) "self", NULL | |
16100 | }; | |
16101 | ||
16102 | arg2 = &temp2; | |
16103 | arg3 = &temp3; | |
16104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16105 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16106 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16107 | { |
16108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16109 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
16110 | ||
16111 | wxPyEndAllowThreads(__tstate); | |
16112 | if (PyErr_Occurred()) SWIG_fail; | |
16113 | } | |
16114 | Py_INCREF(Py_None); resultobj = Py_None; | |
16115 | { | |
16116 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16117 | resultobj = t_output_helper(resultobj,o); | |
16118 | } | |
16119 | { | |
16120 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16121 | resultobj = t_output_helper(resultobj,o); | |
16122 | } | |
16123 | return resultobj; | |
16124 | fail: | |
16125 | return NULL; | |
16126 | } | |
16127 | ||
16128 | ||
16129 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16130 | PyObject *resultobj; | |
16131 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16132 | int *arg2 = (int *) 0 ; | |
16133 | int *arg3 = (int *) 0 ; | |
16134 | int temp2 ; | |
16135 | int temp3 ; | |
16136 | PyObject * obj0 = 0 ; | |
16137 | char *kwnames[] = { | |
16138 | (char *) "self", NULL | |
16139 | }; | |
16140 | ||
16141 | arg2 = &temp2; | |
16142 | arg3 = &temp3; | |
16143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16146 | { |
16147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16148 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
16149 | ||
16150 | wxPyEndAllowThreads(__tstate); | |
16151 | if (PyErr_Occurred()) SWIG_fail; | |
16152 | } | |
16153 | Py_INCREF(Py_None); resultobj = Py_None; | |
16154 | { | |
16155 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16156 | resultobj = t_output_helper(resultobj,o); | |
16157 | } | |
16158 | { | |
16159 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16160 | resultobj = t_output_helper(resultobj,o); | |
16161 | } | |
16162 | return resultobj; | |
16163 | fail: | |
16164 | return NULL; | |
16165 | } | |
16166 | ||
16167 | ||
16168 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16169 | PyObject *resultobj; | |
16170 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16171 | int *arg2 = (int *) 0 ; | |
16172 | int *arg3 = (int *) 0 ; | |
16173 | int temp2 ; | |
16174 | int temp3 ; | |
16175 | PyObject * obj0 = 0 ; | |
16176 | char *kwnames[] = { | |
16177 | (char *) "self", NULL | |
16178 | }; | |
16179 | ||
16180 | arg2 = &temp2; | |
16181 | arg3 = &temp3; | |
16182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16183 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16184 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16185 | { |
16186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16187 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
16188 | ||
16189 | wxPyEndAllowThreads(__tstate); | |
16190 | if (PyErr_Occurred()) SWIG_fail; | |
16191 | } | |
16192 | Py_INCREF(Py_None); resultobj = Py_None; | |
16193 | { | |
16194 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16195 | resultobj = t_output_helper(resultobj,o); | |
16196 | } | |
16197 | { | |
16198 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16199 | resultobj = t_output_helper(resultobj,o); | |
16200 | } | |
16201 | return resultobj; | |
16202 | fail: | |
16203 | return NULL; | |
16204 | } | |
16205 | ||
16206 | ||
16207 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16208 | PyObject *resultobj; | |
16209 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16210 | wxSize result; | |
16211 | PyObject * obj0 = 0 ; | |
16212 | char *kwnames[] = { | |
16213 | (char *) "self", NULL | |
16214 | }; | |
16215 | ||
16216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16217 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16218 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16219 | { |
16220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16221 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
16222 | ||
16223 | wxPyEndAllowThreads(__tstate); | |
16224 | if (PyErr_Occurred()) SWIG_fail; | |
16225 | } | |
16226 | { | |
16227 | wxSize * resultptr; | |
16228 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16229 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16230 | } |
16231 | return resultobj; | |
16232 | fail: | |
16233 | return NULL; | |
16234 | } | |
16235 | ||
16236 | ||
16237 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16238 | PyObject *resultobj; | |
16239 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16240 | wxSize result; | |
16241 | PyObject * obj0 = 0 ; | |
16242 | char *kwnames[] = { | |
16243 | (char *) "self", NULL | |
16244 | }; | |
16245 | ||
16246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16247 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16248 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16249 | { |
16250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16251 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
16252 | ||
16253 | wxPyEndAllowThreads(__tstate); | |
16254 | if (PyErr_Occurred()) SWIG_fail; | |
16255 | } | |
16256 | { | |
16257 | wxSize * resultptr; | |
16258 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16259 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16260 | } |
16261 | return resultobj; | |
16262 | fail: | |
16263 | return NULL; | |
16264 | } | |
16265 | ||
16266 | ||
16267 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16268 | PyObject *resultobj; | |
16269 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16270 | PyObject * obj0 = 0 ; | |
16271 | char *kwnames[] = { | |
16272 | (char *) "self", NULL | |
16273 | }; | |
16274 | ||
16275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16278 | { |
16279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16280 | (arg1)->base_InitDialog(); | |
16281 | ||
16282 | wxPyEndAllowThreads(__tstate); | |
16283 | if (PyErr_Occurred()) SWIG_fail; | |
16284 | } | |
16285 | Py_INCREF(Py_None); resultobj = Py_None; | |
16286 | return resultobj; | |
16287 | fail: | |
16288 | return NULL; | |
16289 | } | |
16290 | ||
16291 | ||
16292 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16293 | PyObject *resultobj; | |
16294 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16295 | bool result; | |
16296 | PyObject * obj0 = 0 ; | |
16297 | char *kwnames[] = { | |
16298 | (char *) "self", NULL | |
16299 | }; | |
16300 | ||
16301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16302 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16303 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16304 | { |
16305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16306 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
16307 | ||
16308 | wxPyEndAllowThreads(__tstate); | |
16309 | if (PyErr_Occurred()) SWIG_fail; | |
16310 | } | |
4f89f6a3 RD |
16311 | { |
16312 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16313 | } | |
d14a1e28 RD |
16314 | return resultobj; |
16315 | fail: | |
16316 | return NULL; | |
16317 | } | |
16318 | ||
16319 | ||
16320 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16321 | PyObject *resultobj; | |
16322 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16323 | bool result; | |
16324 | PyObject * obj0 = 0 ; | |
16325 | char *kwnames[] = { | |
16326 | (char *) "self", NULL | |
16327 | }; | |
16328 | ||
16329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16330 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16331 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16332 | { |
16333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16334 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
16335 | ||
16336 | wxPyEndAllowThreads(__tstate); | |
16337 | if (PyErr_Occurred()) SWIG_fail; | |
16338 | } | |
4f89f6a3 RD |
16339 | { |
16340 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16341 | } | |
d14a1e28 RD |
16342 | return resultobj; |
16343 | fail: | |
16344 | return NULL; | |
16345 | } | |
16346 | ||
16347 | ||
16348 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16349 | PyObject *resultobj; | |
16350 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16351 | bool result; | |
16352 | PyObject * obj0 = 0 ; | |
16353 | char *kwnames[] = { | |
16354 | (char *) "self", NULL | |
16355 | }; | |
16356 | ||
16357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16358 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16359 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16360 | { |
16361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16362 | result = (bool)(arg1)->base_Validate(); | |
16363 | ||
16364 | wxPyEndAllowThreads(__tstate); | |
16365 | if (PyErr_Occurred()) SWIG_fail; | |
16366 | } | |
4f89f6a3 RD |
16367 | { |
16368 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16369 | } | |
d14a1e28 RD |
16370 | return resultobj; |
16371 | fail: | |
16372 | return NULL; | |
16373 | } | |
16374 | ||
16375 | ||
16376 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16377 | PyObject *resultobj; | |
16378 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16379 | bool result; | |
16380 | PyObject * obj0 = 0 ; | |
16381 | char *kwnames[] = { | |
16382 | (char *) "self", NULL | |
16383 | }; | |
16384 | ||
16385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16386 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16387 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16388 | { |
16389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16390 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
16391 | ||
16392 | wxPyEndAllowThreads(__tstate); | |
16393 | if (PyErr_Occurred()) SWIG_fail; | |
16394 | } | |
4f89f6a3 RD |
16395 | { |
16396 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16397 | } | |
d14a1e28 RD |
16398 | return resultobj; |
16399 | fail: | |
16400 | return NULL; | |
16401 | } | |
16402 | ||
16403 | ||
16404 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16405 | PyObject *resultobj; | |
16406 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16407 | bool result; | |
16408 | PyObject * obj0 = 0 ; | |
16409 | char *kwnames[] = { | |
16410 | (char *) "self", NULL | |
16411 | }; | |
16412 | ||
16413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16414 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16415 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16416 | { |
16417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16418 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
16419 | ||
16420 | wxPyEndAllowThreads(__tstate); | |
16421 | if (PyErr_Occurred()) SWIG_fail; | |
16422 | } | |
4f89f6a3 RD |
16423 | { |
16424 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16425 | } | |
d14a1e28 RD |
16426 | return resultobj; |
16427 | fail: | |
16428 | return NULL; | |
16429 | } | |
16430 | ||
16431 | ||
16432 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16433 | PyObject *resultobj; | |
16434 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16435 | wxSize result; | |
16436 | PyObject * obj0 = 0 ; | |
16437 | char *kwnames[] = { | |
16438 | (char *) "self", NULL | |
16439 | }; | |
16440 | ||
16441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16442 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16443 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16444 | { |
16445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16446 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
16447 | ||
16448 | wxPyEndAllowThreads(__tstate); | |
16449 | if (PyErr_Occurred()) SWIG_fail; | |
16450 | } | |
16451 | { | |
16452 | wxSize * resultptr; | |
16453 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16454 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16455 | } |
16456 | return resultobj; | |
16457 | fail: | |
16458 | return NULL; | |
16459 | } | |
16460 | ||
16461 | ||
16462 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16463 | PyObject *resultobj; | |
16464 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16465 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16466 | PyObject * obj0 = 0 ; | |
16467 | PyObject * obj1 = 0 ; | |
16468 | char *kwnames[] = { | |
16469 | (char *) "self",(char *) "child", NULL | |
16470 | }; | |
16471 | ||
16472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16473 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16474 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16475 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16476 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16477 | { |
16478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16479 | (arg1)->base_AddChild(arg2); | |
16480 | ||
16481 | wxPyEndAllowThreads(__tstate); | |
16482 | if (PyErr_Occurred()) SWIG_fail; | |
16483 | } | |
16484 | Py_INCREF(Py_None); resultobj = Py_None; | |
16485 | return resultobj; | |
16486 | fail: | |
16487 | return NULL; | |
16488 | } | |
16489 | ||
16490 | ||
16491 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16492 | PyObject *resultobj; | |
16493 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16494 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16495 | PyObject * obj0 = 0 ; | |
16496 | PyObject * obj1 = 0 ; | |
16497 | char *kwnames[] = { | |
16498 | (char *) "self",(char *) "child", NULL | |
16499 | }; | |
16500 | ||
16501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16502 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16503 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16504 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16505 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16506 | { |
16507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16508 | (arg1)->base_RemoveChild(arg2); | |
16509 | ||
16510 | wxPyEndAllowThreads(__tstate); | |
16511 | if (PyErr_Occurred()) SWIG_fail; | |
16512 | } | |
16513 | Py_INCREF(Py_None); resultobj = Py_None; | |
16514 | return resultobj; | |
16515 | fail: | |
16516 | return NULL; | |
16517 | } | |
16518 | ||
16519 | ||
1cb4a8aa | 16520 | static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 16521 | PyObject *resultobj; |
1cb4a8aa RD |
16522 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
16523 | bool result; | |
16524 | PyObject * obj0 = 0 ; | |
d14a1e28 | 16525 | char *kwnames[] = { |
1cb4a8aa | 16526 | (char *) "self", NULL |
d14a1e28 RD |
16527 | }; |
16528 | ||
1cb4a8aa RD |
16529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail; |
16530 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16531 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16532 | { |
16533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1cb4a8aa | 16534 | result = (bool)(arg1)->base_ShouldInheritColours(); |
d14a1e28 RD |
16535 | |
16536 | wxPyEndAllowThreads(__tstate); | |
16537 | if (PyErr_Occurred()) SWIG_fail; | |
16538 | } | |
1cb4a8aa RD |
16539 | { |
16540 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16541 | } | |
d14a1e28 RD |
16542 | return resultobj; |
16543 | fail: | |
16544 | return NULL; | |
16545 | } | |
16546 | ||
16547 | ||
1cb4a8aa | 16548 | static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 16549 | PyObject *resultobj; |
1cb4a8aa RD |
16550 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
16551 | wxColour *arg2 = 0 ; | |
16552 | wxColour temp2 ; | |
d14a1e28 | 16553 | PyObject * obj0 = 0 ; |
1cb4a8aa | 16554 | PyObject * obj1 = 0 ; |
d14a1e28 | 16555 | char *kwnames[] = { |
1cb4a8aa | 16556 | (char *) "self",(char *) "c", NULL |
d14a1e28 RD |
16557 | }; |
16558 | ||
1cb4a8aa RD |
16559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; |
16560 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
15afbcd0 | 16561 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
1cb4a8aa RD |
16562 | { |
16563 | arg2 = &temp2; | |
16564 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
16565 | } | |
d14a1e28 RD |
16566 | { |
16567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1cb4a8aa | 16568 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); |
d14a1e28 RD |
16569 | |
16570 | wxPyEndAllowThreads(__tstate); | |
16571 | if (PyErr_Occurred()) SWIG_fail; | |
16572 | } | |
16573 | Py_INCREF(Py_None); resultobj = Py_None; | |
16574 | return resultobj; | |
16575 | fail: | |
16576 | return NULL; | |
16577 | } | |
16578 | ||
16579 | ||
1cb4a8aa RD |
16580 | static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) { |
16581 | PyObject *obj; | |
16582 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16583 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
16584 | Py_INCREF(obj); | |
16585 | return Py_BuildValue((char *)""); | |
16586 | } | |
16587 | static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
d14a1e28 | 16588 | PyObject *resultobj; |
1cb4a8aa RD |
16589 | wxWindow *arg1 = (wxWindow *) 0 ; |
16590 | int arg2 ; | |
16591 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
16592 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
16593 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
16594 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
16595 | long arg5 = (long) 0 ; | |
16596 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
16597 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
16598 | wxPyScrolledWindow *result; | |
16599 | wxPoint temp3 ; | |
16600 | wxSize temp4 ; | |
16601 | bool temp6 = False ; | |
d14a1e28 | 16602 | PyObject * obj0 = 0 ; |
1cb4a8aa RD |
16603 | PyObject * obj1 = 0 ; |
16604 | PyObject * obj2 = 0 ; | |
16605 | PyObject * obj3 = 0 ; | |
16606 | PyObject * obj4 = 0 ; | |
16607 | PyObject * obj5 = 0 ; | |
d14a1e28 | 16608 | char *kwnames[] = { |
1cb4a8aa | 16609 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
16610 | }; |
16611 | ||
1cb4a8aa RD |
16612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
16613 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
15afbcd0 | 16614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
1cb4a8aa RD |
16615 | arg2 = (int const) SWIG_AsInt(obj1); |
16616 | if (PyErr_Occurred()) SWIG_fail; | |
16617 | if (obj2) { | |
16618 | { | |
16619 | arg3 = &temp3; | |
16620 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
16621 | } | |
16622 | } | |
16623 | if (obj3) { | |
16624 | { | |
16625 | arg4 = &temp4; | |
16626 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
16627 | } | |
16628 | } | |
16629 | if (obj4) { | |
16630 | arg5 = (long) SWIG_AsLong(obj4); | |
16631 | if (PyErr_Occurred()) SWIG_fail; | |
16632 | } | |
16633 | if (obj5) { | |
16634 | { | |
16635 | arg6 = wxString_in_helper(obj5); | |
16636 | if (arg6 == NULL) SWIG_fail; | |
16637 | temp6 = True; | |
16638 | } | |
16639 | } | |
16640 | { | |
16641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16642 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
16643 | ||
16644 | wxPyEndAllowThreads(__tstate); | |
16645 | if (PyErr_Occurred()) SWIG_fail; | |
16646 | } | |
16647 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
16648 | { | |
16649 | if (temp6) | |
16650 | delete arg6; | |
16651 | } | |
16652 | return resultobj; | |
16653 | fail: | |
16654 | { | |
16655 | if (temp6) | |
16656 | delete arg6; | |
16657 | } | |
16658 | return NULL; | |
16659 | } | |
16660 | ||
16661 | ||
16662 | static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16663 | PyObject *resultobj; | |
16664 | wxPyScrolledWindow *result; | |
16665 | char *kwnames[] = { | |
16666 | NULL | |
16667 | }; | |
16668 | ||
16669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail; | |
16670 | { | |
16671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16672 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(); | |
16673 | ||
16674 | wxPyEndAllowThreads(__tstate); | |
16675 | if (PyErr_Occurred()) SWIG_fail; | |
16676 | } | |
16677 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
16678 | return resultobj; | |
16679 | fail: | |
16680 | return NULL; | |
16681 | } | |
16682 | ||
16683 | ||
16684 | static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16685 | PyObject *resultobj; | |
16686 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16687 | PyObject *arg2 = (PyObject *) 0 ; | |
16688 | PyObject *arg3 = (PyObject *) 0 ; | |
16689 | PyObject * obj0 = 0 ; | |
16690 | PyObject * obj1 = 0 ; | |
16691 | PyObject * obj2 = 0 ; | |
16692 | char *kwnames[] = { | |
16693 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
16694 | }; | |
16695 | ||
16696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
16697 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16698 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16699 | arg2 = obj1; | |
16700 | arg3 = obj2; | |
16701 | { | |
16702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16703 | (arg1)->_setCallbackInfo(arg2,arg3); | |
16704 | ||
16705 | wxPyEndAllowThreads(__tstate); | |
16706 | if (PyErr_Occurred()) SWIG_fail; | |
16707 | } | |
16708 | Py_INCREF(Py_None); resultobj = Py_None; | |
16709 | return resultobj; | |
16710 | fail: | |
16711 | return NULL; | |
16712 | } | |
16713 | ||
16714 | ||
16715 | static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16716 | PyObject *resultobj; | |
16717 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16718 | int arg2 ; | |
16719 | int arg3 ; | |
16720 | int arg4 ; | |
16721 | int arg5 ; | |
16722 | PyObject * obj0 = 0 ; | |
16723 | PyObject * obj1 = 0 ; | |
16724 | PyObject * obj2 = 0 ; | |
16725 | PyObject * obj3 = 0 ; | |
16726 | PyObject * obj4 = 0 ; | |
16727 | char *kwnames[] = { | |
16728 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
16729 | }; | |
16730 | ||
16731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
16732 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16733 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16734 | arg2 = (int) SWIG_AsInt(obj1); | |
16735 | if (PyErr_Occurred()) SWIG_fail; | |
16736 | arg3 = (int) SWIG_AsInt(obj2); | |
16737 | if (PyErr_Occurred()) SWIG_fail; | |
16738 | arg4 = (int) SWIG_AsInt(obj3); | |
16739 | if (PyErr_Occurred()) SWIG_fail; | |
16740 | arg5 = (int) SWIG_AsInt(obj4); | |
16741 | if (PyErr_Occurred()) SWIG_fail; | |
16742 | { | |
16743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16744 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
16745 | ||
16746 | wxPyEndAllowThreads(__tstate); | |
16747 | if (PyErr_Occurred()) SWIG_fail; | |
16748 | } | |
16749 | Py_INCREF(Py_None); resultobj = Py_None; | |
16750 | return resultobj; | |
16751 | fail: | |
16752 | return NULL; | |
16753 | } | |
16754 | ||
16755 | ||
16756 | static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16757 | PyObject *resultobj; | |
16758 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16759 | int arg2 ; | |
16760 | int arg3 ; | |
16761 | int arg4 ; | |
16762 | int arg5 ; | |
16763 | int arg6 = (int) wxSIZE_AUTO ; | |
16764 | PyObject * obj0 = 0 ; | |
16765 | PyObject * obj1 = 0 ; | |
16766 | PyObject * obj2 = 0 ; | |
16767 | PyObject * obj3 = 0 ; | |
16768 | PyObject * obj4 = 0 ; | |
16769 | PyObject * obj5 = 0 ; | |
16770 | char *kwnames[] = { | |
16771 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
16772 | }; | |
16773 | ||
16774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
16775 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16776 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16777 | arg2 = (int) SWIG_AsInt(obj1); | |
16778 | if (PyErr_Occurred()) SWIG_fail; | |
16779 | arg3 = (int) SWIG_AsInt(obj2); | |
16780 | if (PyErr_Occurred()) SWIG_fail; | |
16781 | arg4 = (int) SWIG_AsInt(obj3); | |
16782 | if (PyErr_Occurred()) SWIG_fail; | |
16783 | arg5 = (int) SWIG_AsInt(obj4); | |
16784 | if (PyErr_Occurred()) SWIG_fail; | |
16785 | if (obj5) { | |
16786 | arg6 = (int) SWIG_AsInt(obj5); | |
16787 | if (PyErr_Occurred()) SWIG_fail; | |
16788 | } | |
16789 | { | |
16790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16791 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
16792 | ||
16793 | wxPyEndAllowThreads(__tstate); | |
16794 | if (PyErr_Occurred()) SWIG_fail; | |
16795 | } | |
16796 | Py_INCREF(Py_None); resultobj = Py_None; | |
16797 | return resultobj; | |
16798 | fail: | |
16799 | return NULL; | |
16800 | } | |
16801 | ||
16802 | ||
16803 | static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16804 | PyObject *resultobj; | |
16805 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16806 | int arg2 ; | |
16807 | int arg3 ; | |
16808 | PyObject * obj0 = 0 ; | |
16809 | PyObject * obj1 = 0 ; | |
16810 | PyObject * obj2 = 0 ; | |
16811 | char *kwnames[] = { | |
16812 | (char *) "self",(char *) "width",(char *) "height", NULL | |
16813 | }; | |
16814 | ||
16815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
16816 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16817 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16818 | arg2 = (int) SWIG_AsInt(obj1); | |
16819 | if (PyErr_Occurred()) SWIG_fail; | |
16820 | arg3 = (int) SWIG_AsInt(obj2); | |
16821 | if (PyErr_Occurred()) SWIG_fail; | |
16822 | { | |
16823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16824 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
16825 | ||
16826 | wxPyEndAllowThreads(__tstate); | |
16827 | if (PyErr_Occurred()) SWIG_fail; | |
16828 | } | |
16829 | Py_INCREF(Py_None); resultobj = Py_None; | |
16830 | return resultobj; | |
16831 | fail: | |
16832 | return NULL; | |
16833 | } | |
16834 | ||
16835 | ||
16836 | static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16837 | PyObject *resultobj; | |
16838 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16839 | int arg2 ; | |
16840 | int arg3 ; | |
16841 | PyObject * obj0 = 0 ; | |
16842 | PyObject * obj1 = 0 ; | |
16843 | PyObject * obj2 = 0 ; | |
16844 | char *kwnames[] = { | |
16845 | (char *) "self",(char *) "x",(char *) "y", NULL | |
16846 | }; | |
16847 | ||
16848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
16849 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16850 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16851 | arg2 = (int) SWIG_AsInt(obj1); | |
16852 | if (PyErr_Occurred()) SWIG_fail; | |
16853 | arg3 = (int) SWIG_AsInt(obj2); | |
16854 | if (PyErr_Occurred()) SWIG_fail; | |
16855 | { | |
16856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16857 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
16858 | ||
16859 | wxPyEndAllowThreads(__tstate); | |
16860 | if (PyErr_Occurred()) SWIG_fail; | |
16861 | } | |
16862 | Py_INCREF(Py_None); resultobj = Py_None; | |
16863 | return resultobj; | |
16864 | fail: | |
16865 | return NULL; | |
16866 | } | |
16867 | ||
16868 | ||
16869 | static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16870 | PyObject *resultobj; | |
16871 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16872 | int *arg2 = (int *) 0 ; | |
16873 | int *arg3 = (int *) 0 ; | |
16874 | int temp2 ; | |
16875 | int temp3 ; | |
16876 | PyObject * obj0 = 0 ; | |
16877 | char *kwnames[] = { | |
16878 | (char *) "self", NULL | |
16879 | }; | |
16880 | ||
16881 | arg2 = &temp2; | |
16882 | arg3 = &temp3; | |
16883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
16884 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16885 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16886 | { | |
16887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16888 | ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
16889 | ||
16890 | wxPyEndAllowThreads(__tstate); | |
16891 | if (PyErr_Occurred()) SWIG_fail; | |
16892 | } | |
16893 | Py_INCREF(Py_None); resultobj = Py_None; | |
16894 | { | |
16895 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16896 | resultobj = t_output_helper(resultobj,o); | |
16897 | } | |
16898 | { | |
16899 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16900 | resultobj = t_output_helper(resultobj,o); | |
16901 | } | |
16902 | return resultobj; | |
16903 | fail: | |
16904 | return NULL; | |
16905 | } | |
16906 | ||
16907 | ||
16908 | static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16909 | PyObject *resultobj; | |
16910 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16911 | int *arg2 = (int *) 0 ; | |
16912 | int *arg3 = (int *) 0 ; | |
16913 | int temp2 ; | |
16914 | int temp3 ; | |
16915 | PyObject * obj0 = 0 ; | |
16916 | char *kwnames[] = { | |
16917 | (char *) "self", NULL | |
16918 | }; | |
16919 | ||
16920 | arg2 = &temp2; | |
16921 | arg3 = &temp3; | |
16922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
16923 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16925 | { | |
16926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16927 | ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
16928 | ||
16929 | wxPyEndAllowThreads(__tstate); | |
16930 | if (PyErr_Occurred()) SWIG_fail; | |
16931 | } | |
16932 | Py_INCREF(Py_None); resultobj = Py_None; | |
16933 | { | |
16934 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16935 | resultobj = t_output_helper(resultobj,o); | |
16936 | } | |
16937 | { | |
16938 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16939 | resultobj = t_output_helper(resultobj,o); | |
16940 | } | |
16941 | return resultobj; | |
16942 | fail: | |
16943 | return NULL; | |
16944 | } | |
16945 | ||
16946 | ||
16947 | static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16948 | PyObject *resultobj; | |
16949 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16950 | int *arg2 = (int *) 0 ; | |
16951 | int *arg3 = (int *) 0 ; | |
16952 | int temp2 ; | |
16953 | int temp3 ; | |
16954 | PyObject * obj0 = 0 ; | |
16955 | char *kwnames[] = { | |
16956 | (char *) "self", NULL | |
16957 | }; | |
16958 | ||
16959 | arg2 = &temp2; | |
16960 | arg3 = &temp3; | |
16961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
16962 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16963 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16964 | { | |
16965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16966 | ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
16967 | ||
16968 | wxPyEndAllowThreads(__tstate); | |
16969 | if (PyErr_Occurred()) SWIG_fail; | |
16970 | } | |
16971 | Py_INCREF(Py_None); resultobj = Py_None; | |
16972 | { | |
16973 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16974 | resultobj = t_output_helper(resultobj,o); | |
16975 | } | |
16976 | { | |
16977 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16978 | resultobj = t_output_helper(resultobj,o); | |
16979 | } | |
16980 | return resultobj; | |
16981 | fail: | |
16982 | return NULL; | |
16983 | } | |
16984 | ||
16985 | ||
16986 | static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16987 | PyObject *resultobj; | |
16988 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16989 | wxSize result; | |
16990 | PyObject * obj0 = 0 ; | |
16991 | char *kwnames[] = { | |
16992 | (char *) "self", NULL | |
16993 | }; | |
16994 | ||
16995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
16996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16998 | { | |
16999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17000 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize(); | |
17001 | ||
17002 | wxPyEndAllowThreads(__tstate); | |
17003 | if (PyErr_Occurred()) SWIG_fail; | |
17004 | } | |
17005 | { | |
17006 | wxSize * resultptr; | |
17007 | resultptr = new wxSize((wxSize &) result); | |
17008 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17009 | } | |
17010 | return resultobj; | |
17011 | fail: | |
17012 | return NULL; | |
17013 | } | |
17014 | ||
17015 | ||
17016 | static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17017 | PyObject *resultobj; | |
17018 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17019 | wxSize result; | |
17020 | PyObject * obj0 = 0 ; | |
17021 | char *kwnames[] = { | |
17022 | (char *) "self", NULL | |
17023 | }; | |
17024 | ||
17025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
17026 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17027 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17028 | { | |
17029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17030 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize(); | |
17031 | ||
17032 | wxPyEndAllowThreads(__tstate); | |
17033 | if (PyErr_Occurred()) SWIG_fail; | |
17034 | } | |
17035 | { | |
17036 | wxSize * resultptr; | |
17037 | resultptr = new wxSize((wxSize &) result); | |
17038 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17039 | } | |
17040 | return resultobj; | |
17041 | fail: | |
17042 | return NULL; | |
17043 | } | |
17044 | ||
17045 | ||
17046 | static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17047 | PyObject *resultobj; | |
17048 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17049 | PyObject * obj0 = 0 ; | |
17050 | char *kwnames[] = { | |
17051 | (char *) "self", NULL | |
17052 | }; | |
17053 | ||
17054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
17055 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17056 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17057 | { | |
17058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17059 | (arg1)->base_InitDialog(); | |
17060 | ||
17061 | wxPyEndAllowThreads(__tstate); | |
17062 | if (PyErr_Occurred()) SWIG_fail; | |
17063 | } | |
17064 | Py_INCREF(Py_None); resultobj = Py_None; | |
17065 | return resultobj; | |
17066 | fail: | |
17067 | return NULL; | |
17068 | } | |
17069 | ||
17070 | ||
17071 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17072 | PyObject *resultobj; | |
17073 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17074 | bool result; | |
17075 | PyObject * obj0 = 0 ; | |
17076 | char *kwnames[] = { | |
17077 | (char *) "self", NULL | |
17078 | }; | |
17079 | ||
17080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
17081 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17082 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17083 | { | |
17084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17085 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
17086 | ||
17087 | wxPyEndAllowThreads(__tstate); | |
17088 | if (PyErr_Occurred()) SWIG_fail; | |
17089 | } | |
17090 | { | |
17091 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17092 | } | |
17093 | return resultobj; | |
17094 | fail: | |
17095 | return NULL; | |
17096 | } | |
17097 | ||
17098 | ||
17099 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17100 | PyObject *resultobj; | |
17101 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17102 | bool result; | |
17103 | PyObject * obj0 = 0 ; | |
17104 | char *kwnames[] = { | |
17105 | (char *) "self", NULL | |
17106 | }; | |
17107 | ||
17108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
17109 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17110 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17111 | { | |
17112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17113 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
17114 | ||
17115 | wxPyEndAllowThreads(__tstate); | |
17116 | if (PyErr_Occurred()) SWIG_fail; | |
17117 | } | |
17118 | { | |
17119 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17120 | } | |
17121 | return resultobj; | |
17122 | fail: | |
17123 | return NULL; | |
17124 | } | |
17125 | ||
17126 | ||
17127 | static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17128 | PyObject *resultobj; | |
17129 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17130 | bool result; | |
17131 | PyObject * obj0 = 0 ; | |
17132 | char *kwnames[] = { | |
17133 | (char *) "self", NULL | |
17134 | }; | |
17135 | ||
17136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail; | |
17137 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17138 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17139 | { | |
17140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17141 | result = (bool)(arg1)->base_Validate(); | |
17142 | ||
17143 | wxPyEndAllowThreads(__tstate); | |
17144 | if (PyErr_Occurred()) SWIG_fail; | |
17145 | } | |
17146 | { | |
17147 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17148 | } | |
17149 | return resultobj; | |
17150 | fail: | |
17151 | return NULL; | |
17152 | } | |
17153 | ||
17154 | ||
17155 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17156 | PyObject *resultobj; | |
17157 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17158 | bool result; | |
17159 | PyObject * obj0 = 0 ; | |
17160 | char *kwnames[] = { | |
17161 | (char *) "self", NULL | |
17162 | }; | |
17163 | ||
17164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
17165 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17166 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17167 | { | |
17168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17169 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus(); | |
17170 | ||
17171 | wxPyEndAllowThreads(__tstate); | |
17172 | if (PyErr_Occurred()) SWIG_fail; | |
17173 | } | |
17174 | { | |
17175 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17176 | } | |
17177 | return resultobj; | |
17178 | fail: | |
17179 | return NULL; | |
17180 | } | |
17181 | ||
17182 | ||
17183 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17184 | PyObject *resultobj; | |
17185 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17186 | bool result; | |
17187 | PyObject * obj0 = 0 ; | |
17188 | char *kwnames[] = { | |
17189 | (char *) "self", NULL | |
17190 | }; | |
17191 | ||
17192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
17193 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17194 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17195 | { | |
17196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17197 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
17198 | ||
17199 | wxPyEndAllowThreads(__tstate); | |
17200 | if (PyErr_Occurred()) SWIG_fail; | |
17201 | } | |
17202 | { | |
17203 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17204 | } | |
17205 | return resultobj; | |
17206 | fail: | |
17207 | return NULL; | |
17208 | } | |
17209 | ||
17210 | ||
17211 | static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17212 | PyObject *resultobj; | |
17213 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17214 | wxSize result; | |
17215 | PyObject * obj0 = 0 ; | |
17216 | char *kwnames[] = { | |
17217 | (char *) "self", NULL | |
17218 | }; | |
17219 | ||
17220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
17221 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17222 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17223 | { | |
17224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17225 | result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize(); | |
17226 | ||
17227 | wxPyEndAllowThreads(__tstate); | |
17228 | if (PyErr_Occurred()) SWIG_fail; | |
17229 | } | |
17230 | { | |
17231 | wxSize * resultptr; | |
17232 | resultptr = new wxSize((wxSize &) result); | |
17233 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17234 | } | |
17235 | return resultobj; | |
17236 | fail: | |
17237 | return NULL; | |
17238 | } | |
17239 | ||
17240 | ||
17241 | static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17242 | PyObject *resultobj; | |
17243 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17244 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17245 | PyObject * obj0 = 0 ; | |
17246 | PyObject * obj1 = 0 ; | |
17247 | char *kwnames[] = { | |
17248 | (char *) "self",(char *) "child", NULL | |
17249 | }; | |
17250 | ||
17251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
17252 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17253 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17254 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17255 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17256 | { | |
17257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17258 | (arg1)->base_AddChild(arg2); | |
17259 | ||
17260 | wxPyEndAllowThreads(__tstate); | |
17261 | if (PyErr_Occurred()) SWIG_fail; | |
17262 | } | |
17263 | Py_INCREF(Py_None); resultobj = Py_None; | |
17264 | return resultobj; | |
17265 | fail: | |
17266 | return NULL; | |
17267 | } | |
17268 | ||
17269 | ||
17270 | static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17271 | PyObject *resultobj; | |
17272 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17273 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17274 | PyObject * obj0 = 0 ; | |
17275 | PyObject * obj1 = 0 ; | |
17276 | char *kwnames[] = { | |
17277 | (char *) "self",(char *) "child", NULL | |
17278 | }; | |
17279 | ||
17280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
17281 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17282 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17283 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17285 | { | |
17286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17287 | (arg1)->base_RemoveChild(arg2); | |
17288 | ||
17289 | wxPyEndAllowThreads(__tstate); | |
17290 | if (PyErr_Occurred()) SWIG_fail; | |
17291 | } | |
17292 | Py_INCREF(Py_None); resultobj = Py_None; | |
17293 | return resultobj; | |
17294 | fail: | |
17295 | return NULL; | |
17296 | } | |
17297 | ||
17298 | ||
17299 | static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17300 | PyObject *resultobj; | |
17301 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17302 | bool result; | |
17303 | PyObject * obj0 = 0 ; | |
17304 | char *kwnames[] = { | |
17305 | (char *) "self", NULL | |
17306 | }; | |
17307 | ||
17308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
17309 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17310 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17311 | { | |
17312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17313 | result = (bool)(arg1)->base_ShouldInheritColours(); | |
17314 | ||
17315 | wxPyEndAllowThreads(__tstate); | |
17316 | if (PyErr_Occurred()) SWIG_fail; | |
17317 | } | |
17318 | { | |
17319 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17320 | } | |
17321 | return resultobj; | |
17322 | fail: | |
17323 | return NULL; | |
17324 | } | |
17325 | ||
17326 | ||
17327 | static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17328 | PyObject *resultobj; | |
17329 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17330 | wxColour *arg2 = 0 ; | |
17331 | wxColour temp2 ; | |
17332 | PyObject * obj0 = 0 ; | |
17333 | PyObject * obj1 = 0 ; | |
17334 | char *kwnames[] = { | |
17335 | (char *) "self",(char *) "c", NULL | |
17336 | }; | |
17337 | ||
17338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
17339 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17340 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17341 | { | |
17342 | arg2 = &temp2; | |
17343 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
17344 | } | |
17345 | { | |
17346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17347 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
17348 | ||
17349 | wxPyEndAllowThreads(__tstate); | |
17350 | if (PyErr_Occurred()) SWIG_fail; | |
17351 | } | |
17352 | Py_INCREF(Py_None); resultobj = Py_None; | |
17353 | return resultobj; | |
17354 | fail: | |
17355 | return NULL; | |
17356 | } | |
17357 | ||
17358 | ||
17359 | static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
17360 | PyObject *obj; | |
17361 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17362 | SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj); | |
17363 | Py_INCREF(obj); | |
17364 | return Py_BuildValue((char *)""); | |
17365 | } | |
17366 | static int _wrap_PrintoutTitleStr_set(PyObject *_val) { | |
17367 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); | |
17368 | return 1; | |
17369 | } | |
17370 | ||
17371 | ||
17372 | static PyObject *_wrap_PrintoutTitleStr_get() { | |
17373 | PyObject *pyobj; | |
17374 | ||
17375 | { | |
17376 | #if wxUSE_UNICODE | |
17377 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
17378 | #else | |
17379 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
17380 | #endif | |
17381 | } | |
17382 | return pyobj; | |
17383 | } | |
17384 | ||
17385 | ||
17386 | static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) { | |
17387 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); | |
17388 | return 1; | |
17389 | } | |
17390 | ||
17391 | ||
17392 | static PyObject *_wrap_PreviewCanvasNameStr_get() { | |
17393 | PyObject *pyobj; | |
17394 | ||
17395 | { | |
17396 | #if wxUSE_UNICODE | |
17397 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
17398 | #else | |
17399 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
17400 | #endif | |
17401 | } | |
17402 | return pyobj; | |
17403 | } | |
17404 | ||
17405 | ||
17406 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17407 | PyObject *resultobj; | |
17408 | wxPrintData *result; | |
17409 | char *kwnames[] = { | |
17410 | NULL | |
17411 | }; | |
17412 | ||
17413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail; | |
17414 | { | |
17415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17416 | result = (wxPrintData *)new wxPrintData(); | |
17417 | ||
17418 | wxPyEndAllowThreads(__tstate); | |
17419 | if (PyErr_Occurred()) SWIG_fail; | |
17420 | } | |
17421 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
17422 | return resultobj; | |
17423 | fail: | |
17424 | return NULL; | |
17425 | } | |
17426 | ||
17427 | ||
17428 | static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17429 | PyObject *resultobj; | |
17430 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17431 | PyObject * obj0 = 0 ; | |
17432 | char *kwnames[] = { | |
17433 | (char *) "self", NULL | |
17434 | }; | |
17435 | ||
17436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
17437 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
17438 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17439 | { | |
17440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17441 | delete arg1; | |
17442 | ||
17443 | wxPyEndAllowThreads(__tstate); | |
17444 | if (PyErr_Occurred()) SWIG_fail; | |
17445 | } | |
17446 | Py_INCREF(Py_None); resultobj = Py_None; | |
17447 | return resultobj; | |
17448 | fail: | |
17449 | return NULL; | |
17450 | } | |
17451 | ||
17452 | ||
17453 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17454 | PyObject *resultobj; | |
17455 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17456 | int result; | |
17457 | PyObject * obj0 = 0 ; | |
17458 | char *kwnames[] = { | |
17459 | (char *) "self", NULL | |
17460 | }; | |
17461 | ||
17462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
17463 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
17464 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17465 | { | |
17466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17467 | result = (int)(arg1)->GetNoCopies(); | |
17468 | ||
17469 | wxPyEndAllowThreads(__tstate); | |
17470 | if (PyErr_Occurred()) SWIG_fail; | |
17471 | } | |
17472 | resultobj = SWIG_FromInt((int)result); | |
17473 | return resultobj; | |
17474 | fail: | |
d14a1e28 RD |
17475 | return NULL; |
17476 | } | |
17477 | ||
17478 | ||
17479 | static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17480 | PyObject *resultobj; | |
17481 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17482 | bool result; | |
17483 | PyObject * obj0 = 0 ; | |
17484 | char *kwnames[] = { | |
17485 | (char *) "self", NULL | |
17486 | }; | |
17487 | ||
17488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17489 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17490 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17491 | { |
17492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17493 | result = (bool)(arg1)->GetCollate(); | |
17494 | ||
17495 | wxPyEndAllowThreads(__tstate); | |
17496 | if (PyErr_Occurred()) SWIG_fail; | |
17497 | } | |
4f89f6a3 RD |
17498 | { |
17499 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17500 | } | |
d14a1e28 RD |
17501 | return resultobj; |
17502 | fail: | |
17503 | return NULL; | |
17504 | } | |
17505 | ||
17506 | ||
17507 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17508 | PyObject *resultobj; | |
17509 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17510 | int result; | |
17511 | PyObject * obj0 = 0 ; | |
17512 | char *kwnames[] = { | |
17513 | (char *) "self", NULL | |
17514 | }; | |
17515 | ||
17516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17517 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17518 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17519 | { |
17520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17521 | result = (int)(arg1)->GetOrientation(); | |
17522 | ||
17523 | wxPyEndAllowThreads(__tstate); | |
17524 | if (PyErr_Occurred()) SWIG_fail; | |
17525 | } | |
15afbcd0 | 17526 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
17527 | return resultobj; |
17528 | fail: | |
17529 | return NULL; | |
17530 | } | |
17531 | ||
17532 | ||
17533 | static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17534 | PyObject *resultobj; | |
17535 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17536 | bool result; | |
17537 | PyObject * obj0 = 0 ; | |
17538 | char *kwnames[] = { | |
17539 | (char *) "self", NULL | |
17540 | }; | |
17541 | ||
17542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17543 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17544 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17545 | { |
17546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17547 | result = (bool)(arg1)->Ok(); | |
17548 | ||
17549 | wxPyEndAllowThreads(__tstate); | |
17550 | if (PyErr_Occurred()) SWIG_fail; | |
17551 | } | |
4f89f6a3 RD |
17552 | { |
17553 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17554 | } | |
d14a1e28 RD |
17555 | return resultobj; |
17556 | fail: | |
17557 | return NULL; | |
17558 | } | |
17559 | ||
17560 | ||
17561 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17562 | PyObject *resultobj; | |
17563 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17564 | wxString *result; | |
17565 | PyObject * obj0 = 0 ; | |
17566 | char *kwnames[] = { | |
17567 | (char *) "self", NULL | |
17568 | }; | |
17569 | ||
17570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17571 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17572 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17573 | { |
17574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17575 | { | |
17576 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
17577 | result = (wxString *) &_result_ref; | |
17578 | } | |
17579 | ||
17580 | wxPyEndAllowThreads(__tstate); | |
17581 | if (PyErr_Occurred()) SWIG_fail; | |
17582 | } | |
cc6dd355 RD |
17583 | { |
17584 | #if wxUSE_UNICODE | |
17585 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17586 | #else | |
17587 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17588 | #endif | |
17589 | } | |
d14a1e28 RD |
17590 | return resultobj; |
17591 | fail: | |
17592 | return NULL; | |
17593 | } | |
17594 | ||
17595 | ||
17596 | static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17597 | PyObject *resultobj; | |
17598 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17599 | bool result; | |
17600 | PyObject * obj0 = 0 ; | |
17601 | char *kwnames[] = { | |
17602 | (char *) "self", NULL | |
17603 | }; | |
17604 | ||
17605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17606 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17607 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17608 | { |
17609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17610 | result = (bool)(arg1)->GetColour(); | |
17611 | ||
17612 | wxPyEndAllowThreads(__tstate); | |
17613 | if (PyErr_Occurred()) SWIG_fail; | |
17614 | } | |
4f89f6a3 RD |
17615 | { |
17616 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17617 | } | |
d14a1e28 RD |
17618 | return resultobj; |
17619 | fail: | |
17620 | return NULL; | |
17621 | } | |
17622 | ||
17623 | ||
17624 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17625 | PyObject *resultobj; | |
17626 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17627 | int result; | |
17628 | PyObject * obj0 = 0 ; | |
17629 | char *kwnames[] = { | |
17630 | (char *) "self", NULL | |
17631 | }; | |
17632 | ||
17633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17634 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17635 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17636 | { |
17637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17638 | result = (int)(arg1)->GetDuplex(); | |
17639 | ||
17640 | wxPyEndAllowThreads(__tstate); | |
17641 | if (PyErr_Occurred()) SWIG_fail; | |
17642 | } | |
15afbcd0 | 17643 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
17644 | return resultobj; |
17645 | fail: | |
17646 | return NULL; | |
17647 | } | |
17648 | ||
17649 | ||
17650 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17651 | PyObject *resultobj; | |
17652 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17653 | int result; | |
17654 | PyObject * obj0 = 0 ; | |
17655 | char *kwnames[] = { | |
17656 | (char *) "self", NULL | |
17657 | }; | |
17658 | ||
17659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17660 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17661 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17662 | { |
17663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17664 | result = (int)(arg1)->GetPaperId(); | |
17665 | ||
17666 | wxPyEndAllowThreads(__tstate); | |
17667 | if (PyErr_Occurred()) SWIG_fail; | |
17668 | } | |
15afbcd0 | 17669 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
17670 | return resultobj; |
17671 | fail: | |
17672 | return NULL; | |
17673 | } | |
17674 | ||
17675 | ||
17676 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17677 | PyObject *resultobj; | |
17678 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17679 | wxSize *result; | |
17680 | PyObject * obj0 = 0 ; | |
17681 | char *kwnames[] = { | |
17682 | (char *) "self", NULL | |
17683 | }; | |
17684 | ||
17685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17688 | { |
17689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17690 | { | |
17691 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
17692 | result = (wxSize *) &_result_ref; | |
17693 | } | |
17694 | ||
17695 | wxPyEndAllowThreads(__tstate); | |
17696 | if (PyErr_Occurred()) SWIG_fail; | |
17697 | } | |
15afbcd0 | 17698 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); |
d14a1e28 RD |
17699 | return resultobj; |
17700 | fail: | |
17701 | return NULL; | |
17702 | } | |
17703 | ||
17704 | ||
17705 | static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17706 | PyObject *resultobj; | |
17707 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 17708 | int result; |
d14a1e28 RD |
17709 | PyObject * obj0 = 0 ; |
17710 | char *kwnames[] = { | |
17711 | (char *) "self", NULL | |
17712 | }; | |
17713 | ||
17714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17715 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17717 | { |
17718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b2dc1044 | 17719 | result = (int)(arg1)->GetQuality(); |
d14a1e28 RD |
17720 | |
17721 | wxPyEndAllowThreads(__tstate); | |
17722 | if (PyErr_Occurred()) SWIG_fail; | |
17723 | } | |
15afbcd0 | 17724 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
17725 | return resultobj; |
17726 | fail: | |
17727 | return NULL; | |
17728 | } | |
17729 | ||
17730 | ||
17731 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17732 | PyObject *resultobj; | |
17733 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17734 | int arg2 ; | |
17735 | PyObject * obj0 = 0 ; | |
994141e6 | 17736 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17737 | char *kwnames[] = { |
17738 | (char *) "self",(char *) "v", NULL | |
17739 | }; | |
17740 | ||
994141e6 | 17741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17742 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17744 | arg2 = (int) SWIG_AsInt(obj1); | |
17745 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17746 | { |
17747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17748 | (arg1)->SetNoCopies(arg2); | |
17749 | ||
17750 | wxPyEndAllowThreads(__tstate); | |
17751 | if (PyErr_Occurred()) SWIG_fail; | |
17752 | } | |
17753 | Py_INCREF(Py_None); resultobj = Py_None; | |
17754 | return resultobj; | |
17755 | fail: | |
17756 | return NULL; | |
17757 | } | |
17758 | ||
17759 | ||
17760 | static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17761 | PyObject *resultobj; | |
17762 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17763 | bool arg2 ; | |
17764 | PyObject * obj0 = 0 ; | |
17765 | PyObject * obj1 = 0 ; | |
17766 | char *kwnames[] = { | |
17767 | (char *) "self",(char *) "flag", NULL | |
17768 | }; | |
17769 | ||
17770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17771 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17773 | arg2 = (bool) SWIG_AsBool(obj1); | |
17774 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17775 | { |
17776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17777 | (arg1)->SetCollate(arg2); | |
17778 | ||
17779 | wxPyEndAllowThreads(__tstate); | |
17780 | if (PyErr_Occurred()) SWIG_fail; | |
17781 | } | |
17782 | Py_INCREF(Py_None); resultobj = Py_None; | |
17783 | return resultobj; | |
17784 | fail: | |
17785 | return NULL; | |
17786 | } | |
17787 | ||
17788 | ||
17789 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17790 | PyObject *resultobj; | |
17791 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17792 | int arg2 ; | |
17793 | PyObject * obj0 = 0 ; | |
994141e6 | 17794 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17795 | char *kwnames[] = { |
17796 | (char *) "self",(char *) "orient", NULL | |
17797 | }; | |
17798 | ||
994141e6 | 17799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17800 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17801 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17802 | arg2 = (int) SWIG_AsInt(obj1); | |
17803 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17804 | { |
17805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17806 | (arg1)->SetOrientation(arg2); | |
17807 | ||
17808 | wxPyEndAllowThreads(__tstate); | |
17809 | if (PyErr_Occurred()) SWIG_fail; | |
17810 | } | |
17811 | Py_INCREF(Py_None); resultobj = Py_None; | |
17812 | return resultobj; | |
17813 | fail: | |
17814 | return NULL; | |
17815 | } | |
17816 | ||
17817 | ||
17818 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17819 | PyObject *resultobj; | |
17820 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17821 | wxString *arg2 = 0 ; | |
e811c8ce | 17822 | bool temp2 = False ; |
d14a1e28 RD |
17823 | PyObject * obj0 = 0 ; |
17824 | PyObject * obj1 = 0 ; | |
17825 | char *kwnames[] = { | |
17826 | (char *) "self",(char *) "name", NULL | |
17827 | }; | |
17828 | ||
17829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17830 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17831 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17832 | { |
17833 | arg2 = wxString_in_helper(obj1); | |
17834 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17835 | temp2 = True; |
d14a1e28 RD |
17836 | } |
17837 | { | |
17838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17839 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
17840 | ||
17841 | wxPyEndAllowThreads(__tstate); | |
17842 | if (PyErr_Occurred()) SWIG_fail; | |
17843 | } | |
17844 | Py_INCREF(Py_None); resultobj = Py_None; | |
17845 | { | |
17846 | if (temp2) | |
17847 | delete arg2; | |
17848 | } | |
17849 | return resultobj; | |
17850 | fail: | |
17851 | { | |
17852 | if (temp2) | |
17853 | delete arg2; | |
17854 | } | |
17855 | return NULL; | |
17856 | } | |
17857 | ||
17858 | ||
17859 | static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17860 | PyObject *resultobj; | |
17861 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17862 | bool arg2 ; | |
17863 | PyObject * obj0 = 0 ; | |
17864 | PyObject * obj1 = 0 ; | |
17865 | char *kwnames[] = { | |
17866 | (char *) "self",(char *) "colour", NULL | |
17867 | }; | |
17868 | ||
17869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17870 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17871 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17872 | arg2 = (bool) SWIG_AsBool(obj1); | |
17873 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17874 | { |
17875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17876 | (arg1)->SetColour(arg2); | |
17877 | ||
17878 | wxPyEndAllowThreads(__tstate); | |
17879 | if (PyErr_Occurred()) SWIG_fail; | |
17880 | } | |
17881 | Py_INCREF(Py_None); resultobj = Py_None; | |
17882 | return resultobj; | |
17883 | fail: | |
17884 | return NULL; | |
17885 | } | |
17886 | ||
17887 | ||
17888 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17889 | PyObject *resultobj; | |
17890 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17891 | int arg2 ; | |
17892 | PyObject * obj0 = 0 ; | |
994141e6 | 17893 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17894 | char *kwnames[] = { |
17895 | (char *) "self",(char *) "duplex", NULL | |
17896 | }; | |
17897 | ||
994141e6 | 17898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17899 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17901 | arg2 = (wxDuplexMode) SWIG_AsInt(obj1); | |
17902 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17903 | { |
17904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17905 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
17906 | ||
17907 | wxPyEndAllowThreads(__tstate); | |
17908 | if (PyErr_Occurred()) SWIG_fail; | |
17909 | } | |
17910 | Py_INCREF(Py_None); resultobj = Py_None; | |
17911 | return resultobj; | |
17912 | fail: | |
17913 | return NULL; | |
17914 | } | |
17915 | ||
17916 | ||
17917 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17918 | PyObject *resultobj; | |
17919 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17920 | int arg2 ; | |
17921 | PyObject * obj0 = 0 ; | |
994141e6 | 17922 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17923 | char *kwnames[] = { |
17924 | (char *) "self",(char *) "sizeId", NULL | |
17925 | }; | |
17926 | ||
994141e6 | 17927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17928 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17929 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17930 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
17931 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17932 | { |
17933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17934 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
17935 | ||
17936 | wxPyEndAllowThreads(__tstate); | |
17937 | if (PyErr_Occurred()) SWIG_fail; | |
17938 | } | |
17939 | Py_INCREF(Py_None); resultobj = Py_None; | |
17940 | return resultobj; | |
17941 | fail: | |
17942 | return NULL; | |
17943 | } | |
17944 | ||
17945 | ||
17946 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17947 | PyObject *resultobj; | |
17948 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17949 | wxSize *arg2 = 0 ; | |
17950 | wxSize temp2 ; | |
17951 | PyObject * obj0 = 0 ; | |
17952 | PyObject * obj1 = 0 ; | |
17953 | char *kwnames[] = { | |
17954 | (char *) "self",(char *) "sz", NULL | |
17955 | }; | |
17956 | ||
17957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17958 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17959 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17960 | { |
17961 | arg2 = &temp2; | |
17962 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
17963 | } | |
17964 | { | |
17965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17966 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
17967 | ||
17968 | wxPyEndAllowThreads(__tstate); | |
17969 | if (PyErr_Occurred()) SWIG_fail; | |
17970 | } | |
17971 | Py_INCREF(Py_None); resultobj = Py_None; | |
17972 | return resultobj; | |
17973 | fail: | |
17974 | return NULL; | |
17975 | } | |
17976 | ||
17977 | ||
17978 | static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17979 | PyObject *resultobj; | |
17980 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 17981 | int arg2 ; |
d14a1e28 | 17982 | PyObject * obj0 = 0 ; |
994141e6 | 17983 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17984 | char *kwnames[] = { |
17985 | (char *) "self",(char *) "quality", NULL | |
17986 | }; | |
17987 | ||
994141e6 | 17988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17989 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17990 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17991 | arg2 = (int) SWIG_AsInt(obj1); | |
17992 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17993 | { |
17994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17995 | (arg1)->SetQuality(arg2); | |
17996 | ||
17997 | wxPyEndAllowThreads(__tstate); | |
17998 | if (PyErr_Occurred()) SWIG_fail; | |
17999 | } | |
18000 | Py_INCREF(Py_None); resultobj = Py_None; | |
18001 | return resultobj; | |
18002 | fail: | |
18003 | return NULL; | |
18004 | } | |
18005 | ||
18006 | ||
18007 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18008 | PyObject *resultobj; | |
18009 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18010 | wxString *result; | |
18011 | PyObject * obj0 = 0 ; | |
18012 | char *kwnames[] = { | |
18013 | (char *) "self", NULL | |
18014 | }; | |
18015 | ||
18016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18017 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18018 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18019 | { |
18020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18021 | { | |
18022 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); | |
18023 | result = (wxString *) &_result_ref; | |
18024 | } | |
18025 | ||
18026 | wxPyEndAllowThreads(__tstate); | |
18027 | if (PyErr_Occurred()) SWIG_fail; | |
18028 | } | |
cc6dd355 RD |
18029 | { |
18030 | #if wxUSE_UNICODE | |
18031 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18032 | #else | |
18033 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18034 | #endif | |
18035 | } | |
d14a1e28 RD |
18036 | return resultobj; |
18037 | fail: | |
18038 | return NULL; | |
18039 | } | |
18040 | ||
18041 | ||
18042 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18043 | PyObject *resultobj; | |
18044 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18045 | wxString *result; | |
18046 | PyObject * obj0 = 0 ; | |
18047 | char *kwnames[] = { | |
18048 | (char *) "self", NULL | |
18049 | }; | |
18050 | ||
18051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18052 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18053 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18054 | { |
18055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18056 | { | |
18057 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); | |
18058 | result = (wxString *) &_result_ref; | |
18059 | } | |
18060 | ||
18061 | wxPyEndAllowThreads(__tstate); | |
18062 | if (PyErr_Occurred()) SWIG_fail; | |
18063 | } | |
cc6dd355 RD |
18064 | { |
18065 | #if wxUSE_UNICODE | |
18066 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18067 | #else | |
18068 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18069 | #endif | |
18070 | } | |
d14a1e28 RD |
18071 | return resultobj; |
18072 | fail: | |
18073 | return NULL; | |
18074 | } | |
18075 | ||
18076 | ||
18077 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18078 | PyObject *resultobj; | |
18079 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18080 | wxString *result; | |
18081 | PyObject * obj0 = 0 ; | |
18082 | char *kwnames[] = { | |
18083 | (char *) "self", NULL | |
18084 | }; | |
18085 | ||
18086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18087 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18088 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18089 | { |
18090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18091 | { | |
18092 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); | |
18093 | result = (wxString *) &_result_ref; | |
18094 | } | |
18095 | ||
18096 | wxPyEndAllowThreads(__tstate); | |
18097 | if (PyErr_Occurred()) SWIG_fail; | |
18098 | } | |
cc6dd355 RD |
18099 | { |
18100 | #if wxUSE_UNICODE | |
18101 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18102 | #else | |
18103 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18104 | #endif | |
18105 | } | |
d14a1e28 RD |
18106 | return resultobj; |
18107 | fail: | |
18108 | return NULL; | |
18109 | } | |
18110 | ||
18111 | ||
18112 | static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18113 | PyObject *resultobj; | |
18114 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18115 | wxString *result; | |
18116 | PyObject * obj0 = 0 ; | |
18117 | char *kwnames[] = { | |
18118 | (char *) "self", NULL | |
18119 | }; | |
18120 | ||
18121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18122 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18123 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18124 | { |
18125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18126 | { | |
18127 | wxString const &_result_ref = (arg1)->GetFilename(); | |
18128 | result = (wxString *) &_result_ref; | |
18129 | } | |
18130 | ||
18131 | wxPyEndAllowThreads(__tstate); | |
18132 | if (PyErr_Occurred()) SWIG_fail; | |
18133 | } | |
cc6dd355 RD |
18134 | { |
18135 | #if wxUSE_UNICODE | |
18136 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18137 | #else | |
18138 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18139 | #endif | |
18140 | } | |
d14a1e28 RD |
18141 | return resultobj; |
18142 | fail: | |
18143 | return NULL; | |
18144 | } | |
18145 | ||
18146 | ||
18147 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18148 | PyObject *resultobj; | |
18149 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18150 | wxString *result; | |
18151 | PyObject * obj0 = 0 ; | |
18152 | char *kwnames[] = { | |
18153 | (char *) "self", NULL | |
18154 | }; | |
18155 | ||
18156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18157 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18158 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18159 | { |
18160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18161 | { | |
18162 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
18163 | result = (wxString *) &_result_ref; | |
18164 | } | |
18165 | ||
18166 | wxPyEndAllowThreads(__tstate); | |
18167 | if (PyErr_Occurred()) SWIG_fail; | |
18168 | } | |
cc6dd355 RD |
18169 | { |
18170 | #if wxUSE_UNICODE | |
18171 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18172 | #else | |
18173 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18174 | #endif | |
18175 | } | |
d14a1e28 RD |
18176 | return resultobj; |
18177 | fail: | |
18178 | return NULL; | |
18179 | } | |
18180 | ||
18181 | ||
18182 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18183 | PyObject *resultobj; | |
18184 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18185 | double result; | |
18186 | PyObject * obj0 = 0 ; | |
18187 | char *kwnames[] = { | |
18188 | (char *) "self", NULL | |
18189 | }; | |
18190 | ||
18191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18192 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18193 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18194 | { |
18195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18196 | result = (double)(arg1)->GetPrinterScaleX(); | |
18197 | ||
18198 | wxPyEndAllowThreads(__tstate); | |
18199 | if (PyErr_Occurred()) SWIG_fail; | |
18200 | } | |
15afbcd0 | 18201 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
18202 | return resultobj; |
18203 | fail: | |
18204 | return NULL; | |
18205 | } | |
18206 | ||
18207 | ||
18208 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18209 | PyObject *resultobj; | |
18210 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18211 | double result; | |
18212 | PyObject * obj0 = 0 ; | |
18213 | char *kwnames[] = { | |
18214 | (char *) "self", NULL | |
18215 | }; | |
18216 | ||
18217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18218 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18219 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18220 | { |
18221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18222 | result = (double)(arg1)->GetPrinterScaleY(); | |
18223 | ||
18224 | wxPyEndAllowThreads(__tstate); | |
18225 | if (PyErr_Occurred()) SWIG_fail; | |
18226 | } | |
15afbcd0 | 18227 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
18228 | return resultobj; |
18229 | fail: | |
18230 | return NULL; | |
18231 | } | |
18232 | ||
18233 | ||
18234 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18235 | PyObject *resultobj; | |
18236 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18237 | long result; | |
18238 | PyObject * obj0 = 0 ; | |
18239 | char *kwnames[] = { | |
18240 | (char *) "self", NULL | |
18241 | }; | |
18242 | ||
18243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18244 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18245 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18246 | { |
18247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18248 | result = (long)(arg1)->GetPrinterTranslateX(); | |
18249 | ||
18250 | wxPyEndAllowThreads(__tstate); | |
18251 | if (PyErr_Occurred()) SWIG_fail; | |
18252 | } | |
15afbcd0 | 18253 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
18254 | return resultobj; |
18255 | fail: | |
18256 | return NULL; | |
18257 | } | |
18258 | ||
18259 | ||
18260 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18261 | PyObject *resultobj; | |
18262 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18263 | long result; | |
18264 | PyObject * obj0 = 0 ; | |
18265 | char *kwnames[] = { | |
18266 | (char *) "self", NULL | |
18267 | }; | |
18268 | ||
18269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18270 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18271 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18272 | { |
18273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18274 | result = (long)(arg1)->GetPrinterTranslateY(); | |
18275 | ||
18276 | wxPyEndAllowThreads(__tstate); | |
18277 | if (PyErr_Occurred()) SWIG_fail; | |
18278 | } | |
15afbcd0 | 18279 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
18280 | return resultobj; |
18281 | fail: | |
18282 | return NULL; | |
18283 | } | |
18284 | ||
18285 | ||
18286 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18287 | PyObject *resultobj; | |
18288 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18289 | int result; | |
18290 | PyObject * obj0 = 0 ; | |
18291 | char *kwnames[] = { | |
18292 | (char *) "self", NULL | |
18293 | }; | |
18294 | ||
18295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18296 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18297 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18298 | { |
18299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18300 | result = (int)(arg1)->GetPrintMode(); | |
18301 | ||
18302 | wxPyEndAllowThreads(__tstate); | |
18303 | if (PyErr_Occurred()) SWIG_fail; | |
18304 | } | |
15afbcd0 | 18305 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18306 | return resultobj; |
18307 | fail: | |
18308 | return NULL; | |
18309 | } | |
18310 | ||
18311 | ||
18312 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18313 | PyObject *resultobj; | |
18314 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18315 | wxString *arg2 = 0 ; | |
e811c8ce | 18316 | bool temp2 = False ; |
d14a1e28 RD |
18317 | PyObject * obj0 = 0 ; |
18318 | PyObject * obj1 = 0 ; | |
18319 | char *kwnames[] = { | |
18320 | (char *) "self",(char *) "command", NULL | |
18321 | }; | |
18322 | ||
18323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18324 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18325 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18326 | { |
18327 | arg2 = wxString_in_helper(obj1); | |
18328 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 18329 | temp2 = True; |
d14a1e28 RD |
18330 | } |
18331 | { | |
18332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18333 | (arg1)->SetPrinterCommand((wxString const &)*arg2); | |
18334 | ||
18335 | wxPyEndAllowThreads(__tstate); | |
18336 | if (PyErr_Occurred()) SWIG_fail; | |
18337 | } | |
18338 | Py_INCREF(Py_None); resultobj = Py_None; | |
18339 | { | |
18340 | if (temp2) | |
18341 | delete arg2; | |
18342 | } | |
18343 | return resultobj; | |
18344 | fail: | |
18345 | { | |
18346 | if (temp2) | |
18347 | delete arg2; | |
18348 | } | |
18349 | return NULL; | |
18350 | } | |
18351 | ||
18352 | ||
18353 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18354 | PyObject *resultobj; | |
18355 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18356 | wxString *arg2 = 0 ; | |
e811c8ce | 18357 | bool temp2 = False ; |
d14a1e28 RD |
18358 | PyObject * obj0 = 0 ; |
18359 | PyObject * obj1 = 0 ; | |
18360 | char *kwnames[] = { | |
18361 | (char *) "self",(char *) "options", NULL | |
18362 | }; | |
18363 | ||
18364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18365 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18367 | { |
18368 | arg2 = wxString_in_helper(obj1); | |
18369 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 18370 | temp2 = True; |
d14a1e28 RD |
18371 | } |
18372 | { | |
18373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18374 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
18375 | ||
18376 | wxPyEndAllowThreads(__tstate); | |
18377 | if (PyErr_Occurred()) SWIG_fail; | |
18378 | } | |
18379 | Py_INCREF(Py_None); resultobj = Py_None; | |
18380 | { | |
18381 | if (temp2) | |
18382 | delete arg2; | |
18383 | } | |
18384 | return resultobj; | |
18385 | fail: | |
18386 | { | |
18387 | if (temp2) | |
18388 | delete arg2; | |
18389 | } | |
18390 | return NULL; | |
18391 | } | |
18392 | ||
18393 | ||
18394 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18395 | PyObject *resultobj; | |
18396 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18397 | wxString *arg2 = 0 ; | |
e811c8ce | 18398 | bool temp2 = False ; |
d14a1e28 RD |
18399 | PyObject * obj0 = 0 ; |
18400 | PyObject * obj1 = 0 ; | |
18401 | char *kwnames[] = { | |
18402 | (char *) "self",(char *) "command", NULL | |
18403 | }; | |
18404 | ||
18405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18406 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18407 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18408 | { |
18409 | arg2 = wxString_in_helper(obj1); | |
18410 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 18411 | temp2 = True; |
d14a1e28 RD |
18412 | } |
18413 | { | |
18414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18415 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
18416 | ||
18417 | wxPyEndAllowThreads(__tstate); | |
18418 | if (PyErr_Occurred()) SWIG_fail; | |
18419 | } | |
18420 | Py_INCREF(Py_None); resultobj = Py_None; | |
18421 | { | |
18422 | if (temp2) | |
18423 | delete arg2; | |
18424 | } | |
18425 | return resultobj; | |
18426 | fail: | |
18427 | { | |
18428 | if (temp2) | |
18429 | delete arg2; | |
18430 | } | |
18431 | return NULL; | |
18432 | } | |
18433 | ||
18434 | ||
18435 | static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18436 | PyObject *resultobj; | |
18437 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18438 | wxString *arg2 = 0 ; | |
e811c8ce | 18439 | bool temp2 = False ; |
d14a1e28 RD |
18440 | PyObject * obj0 = 0 ; |
18441 | PyObject * obj1 = 0 ; | |
18442 | char *kwnames[] = { | |
18443 | (char *) "self",(char *) "filename", NULL | |
18444 | }; | |
18445 | ||
18446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18449 | { |
18450 | arg2 = wxString_in_helper(obj1); | |
18451 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 18452 | temp2 = True; |
d14a1e28 RD |
18453 | } |
18454 | { | |
18455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18456 | (arg1)->SetFilename((wxString const &)*arg2); | |
18457 | ||
18458 | wxPyEndAllowThreads(__tstate); | |
18459 | if (PyErr_Occurred()) SWIG_fail; | |
18460 | } | |
18461 | Py_INCREF(Py_None); resultobj = Py_None; | |
18462 | { | |
18463 | if (temp2) | |
18464 | delete arg2; | |
18465 | } | |
18466 | return resultobj; | |
18467 | fail: | |
18468 | { | |
18469 | if (temp2) | |
18470 | delete arg2; | |
18471 | } | |
18472 | return NULL; | |
18473 | } | |
18474 | ||
18475 | ||
18476 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18477 | PyObject *resultobj; | |
18478 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18479 | wxString *arg2 = 0 ; | |
e811c8ce | 18480 | bool temp2 = False ; |
d14a1e28 RD |
18481 | PyObject * obj0 = 0 ; |
18482 | PyObject * obj1 = 0 ; | |
18483 | char *kwnames[] = { | |
18484 | (char *) "self",(char *) "path", NULL | |
18485 | }; | |
18486 | ||
18487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18488 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18489 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18490 | { |
18491 | arg2 = wxString_in_helper(obj1); | |
18492 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 18493 | temp2 = True; |
d14a1e28 RD |
18494 | } |
18495 | { | |
18496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18497 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
18498 | ||
18499 | wxPyEndAllowThreads(__tstate); | |
18500 | if (PyErr_Occurred()) SWIG_fail; | |
18501 | } | |
18502 | Py_INCREF(Py_None); resultobj = Py_None; | |
18503 | { | |
18504 | if (temp2) | |
18505 | delete arg2; | |
18506 | } | |
18507 | return resultobj; | |
18508 | fail: | |
18509 | { | |
18510 | if (temp2) | |
18511 | delete arg2; | |
18512 | } | |
18513 | return NULL; | |
18514 | } | |
18515 | ||
18516 | ||
18517 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18518 | PyObject *resultobj; | |
18519 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18520 | double arg2 ; | |
18521 | PyObject * obj0 = 0 ; | |
994141e6 | 18522 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18523 | char *kwnames[] = { |
18524 | (char *) "self",(char *) "x", NULL | |
18525 | }; | |
18526 | ||
994141e6 | 18527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18528 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18529 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18530 | arg2 = (double) SWIG_AsDouble(obj1); | |
18531 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18532 | { |
18533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18534 | (arg1)->SetPrinterScaleX(arg2); | |
18535 | ||
18536 | wxPyEndAllowThreads(__tstate); | |
18537 | if (PyErr_Occurred()) SWIG_fail; | |
18538 | } | |
18539 | Py_INCREF(Py_None); resultobj = Py_None; | |
18540 | return resultobj; | |
18541 | fail: | |
18542 | return NULL; | |
18543 | } | |
18544 | ||
18545 | ||
18546 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18547 | PyObject *resultobj; | |
18548 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18549 | double arg2 ; | |
18550 | PyObject * obj0 = 0 ; | |
994141e6 | 18551 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18552 | char *kwnames[] = { |
18553 | (char *) "self",(char *) "y", NULL | |
18554 | }; | |
18555 | ||
994141e6 | 18556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18557 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18558 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18559 | arg2 = (double) SWIG_AsDouble(obj1); | |
18560 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18561 | { |
18562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18563 | (arg1)->SetPrinterScaleY(arg2); | |
18564 | ||
18565 | wxPyEndAllowThreads(__tstate); | |
18566 | if (PyErr_Occurred()) SWIG_fail; | |
18567 | } | |
18568 | Py_INCREF(Py_None); resultobj = Py_None; | |
18569 | return resultobj; | |
18570 | fail: | |
18571 | return NULL; | |
18572 | } | |
18573 | ||
18574 | ||
18575 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18576 | PyObject *resultobj; | |
18577 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18578 | double arg2 ; | |
18579 | double arg3 ; | |
18580 | PyObject * obj0 = 0 ; | |
994141e6 RD |
18581 | PyObject * obj1 = 0 ; |
18582 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
18583 | char *kwnames[] = { |
18584 | (char *) "self",(char *) "x",(char *) "y", NULL | |
18585 | }; | |
18586 | ||
994141e6 | 18587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
18588 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18589 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18590 | arg2 = (double) SWIG_AsDouble(obj1); | |
18591 | if (PyErr_Occurred()) SWIG_fail; | |
18592 | arg3 = (double) SWIG_AsDouble(obj2); | |
18593 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18594 | { |
18595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18596 | (arg1)->SetPrinterScaling(arg2,arg3); | |
18597 | ||
18598 | wxPyEndAllowThreads(__tstate); | |
18599 | if (PyErr_Occurred()) SWIG_fail; | |
18600 | } | |
18601 | Py_INCREF(Py_None); resultobj = Py_None; | |
18602 | return resultobj; | |
18603 | fail: | |
18604 | return NULL; | |
18605 | } | |
18606 | ||
18607 | ||
18608 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18609 | PyObject *resultobj; | |
18610 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18611 | long arg2 ; | |
18612 | PyObject * obj0 = 0 ; | |
994141e6 | 18613 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18614 | char *kwnames[] = { |
18615 | (char *) "self",(char *) "x", NULL | |
18616 | }; | |
18617 | ||
994141e6 | 18618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18619 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18620 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18621 | arg2 = (long) SWIG_AsLong(obj1); | |
18622 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18623 | { |
18624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18625 | (arg1)->SetPrinterTranslateX(arg2); | |
18626 | ||
18627 | wxPyEndAllowThreads(__tstate); | |
18628 | if (PyErr_Occurred()) SWIG_fail; | |
18629 | } | |
18630 | Py_INCREF(Py_None); resultobj = Py_None; | |
18631 | return resultobj; | |
18632 | fail: | |
18633 | return NULL; | |
18634 | } | |
18635 | ||
18636 | ||
18637 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18638 | PyObject *resultobj; | |
18639 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18640 | long arg2 ; | |
18641 | PyObject * obj0 = 0 ; | |
994141e6 | 18642 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18643 | char *kwnames[] = { |
18644 | (char *) "self",(char *) "y", NULL | |
18645 | }; | |
18646 | ||
994141e6 | 18647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18648 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18649 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18650 | arg2 = (long) SWIG_AsLong(obj1); | |
18651 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18652 | { |
18653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18654 | (arg1)->SetPrinterTranslateY(arg2); | |
18655 | ||
18656 | wxPyEndAllowThreads(__tstate); | |
18657 | if (PyErr_Occurred()) SWIG_fail; | |
18658 | } | |
18659 | Py_INCREF(Py_None); resultobj = Py_None; | |
18660 | return resultobj; | |
18661 | fail: | |
18662 | return NULL; | |
18663 | } | |
18664 | ||
18665 | ||
18666 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18667 | PyObject *resultobj; | |
18668 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18669 | long arg2 ; | |
18670 | long arg3 ; | |
18671 | PyObject * obj0 = 0 ; | |
994141e6 RD |
18672 | PyObject * obj1 = 0 ; |
18673 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
18674 | char *kwnames[] = { |
18675 | (char *) "self",(char *) "x",(char *) "y", NULL | |
18676 | }; | |
18677 | ||
994141e6 | 18678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
18679 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18680 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18681 | arg2 = (long) SWIG_AsLong(obj1); | |
18682 | if (PyErr_Occurred()) SWIG_fail; | |
18683 | arg3 = (long) SWIG_AsLong(obj2); | |
18684 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18685 | { |
18686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18687 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
18688 | ||
18689 | wxPyEndAllowThreads(__tstate); | |
18690 | if (PyErr_Occurred()) SWIG_fail; | |
18691 | } | |
18692 | Py_INCREF(Py_None); resultobj = Py_None; | |
18693 | return resultobj; | |
18694 | fail: | |
18695 | return NULL; | |
18696 | } | |
18697 | ||
18698 | ||
18699 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18700 | PyObject *resultobj; | |
18701 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18702 | int arg2 ; | |
18703 | PyObject * obj0 = 0 ; | |
994141e6 | 18704 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18705 | char *kwnames[] = { |
18706 | (char *) "self",(char *) "printMode", NULL | |
18707 | }; | |
18708 | ||
994141e6 | 18709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18710 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18711 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18712 | arg2 = (wxPrintMode) SWIG_AsInt(obj1); | |
18713 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18714 | { |
18715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18716 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
18717 | ||
18718 | wxPyEndAllowThreads(__tstate); | |
18719 | if (PyErr_Occurred()) SWIG_fail; | |
18720 | } | |
18721 | Py_INCREF(Py_None); resultobj = Py_None; | |
18722 | return resultobj; | |
18723 | fail: | |
18724 | return NULL; | |
18725 | } | |
18726 | ||
18727 | ||
db914595 RD |
18728 | static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { |
18729 | PyObject *resultobj; | |
18730 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18731 | wxOutputStream *result; | |
18732 | PyObject * obj0 = 0 ; | |
18733 | char *kwnames[] = { | |
18734 | (char *) "self", NULL | |
18735 | }; | |
18736 | ||
18737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18738 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18739 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
18740 | { |
18741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18742 | result = (wxOutputStream *)(arg1)->GetOutputStream(); | |
18743 | ||
18744 | wxPyEndAllowThreads(__tstate); | |
18745 | if (PyErr_Occurred()) SWIG_fail; | |
18746 | } | |
15afbcd0 | 18747 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0); |
db914595 RD |
18748 | return resultobj; |
18749 | fail: | |
18750 | return NULL; | |
18751 | } | |
18752 | ||
18753 | ||
18754 | static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18755 | PyObject *resultobj; | |
18756 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18757 | wxOutputStream *arg2 = (wxOutputStream *) 0 ; | |
18758 | PyObject * obj0 = 0 ; | |
18759 | PyObject * obj1 = 0 ; | |
18760 | char *kwnames[] = { | |
18761 | (char *) "self",(char *) "outputstream", NULL | |
18762 | }; | |
18763 | ||
18764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18765 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18766 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18767 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream, | |
18768 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
18769 | { |
18770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18771 | (arg1)->SetOutputStream(arg2); | |
18772 | ||
18773 | wxPyEndAllowThreads(__tstate); | |
18774 | if (PyErr_Occurred()) SWIG_fail; | |
18775 | } | |
18776 | Py_INCREF(Py_None); resultobj = Py_None; | |
18777 | return resultobj; | |
18778 | fail: | |
18779 | return NULL; | |
18780 | } | |
18781 | ||
18782 | ||
d14a1e28 RD |
18783 | static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) { |
18784 | PyObject *obj; | |
18785 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18786 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
18787 | Py_INCREF(obj); | |
18788 | return Py_BuildValue((char *)""); | |
18789 | } | |
18790 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18791 | PyObject *resultobj; | |
18792 | wxPageSetupDialogData *result; | |
18793 | char *kwnames[] = { | |
18794 | NULL | |
18795 | }; | |
18796 | ||
18797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail; | |
18798 | { | |
18799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18800 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
18801 | ||
18802 | wxPyEndAllowThreads(__tstate); | |
18803 | if (PyErr_Occurred()) SWIG_fail; | |
18804 | } | |
15afbcd0 | 18805 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); |
d14a1e28 RD |
18806 | return resultobj; |
18807 | fail: | |
18808 | return NULL; | |
18809 | } | |
18810 | ||
18811 | ||
18812 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18813 | PyObject *resultobj; | |
18814 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18815 | PyObject * obj0 = 0 ; | |
18816 | char *kwnames[] = { | |
18817 | (char *) "self", NULL | |
18818 | }; | |
18819 | ||
18820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18821 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18822 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18823 | { |
18824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18825 | delete arg1; | |
18826 | ||
18827 | wxPyEndAllowThreads(__tstate); | |
18828 | if (PyErr_Occurred()) SWIG_fail; | |
18829 | } | |
18830 | Py_INCREF(Py_None); resultobj = Py_None; | |
18831 | return resultobj; | |
18832 | fail: | |
18833 | return NULL; | |
18834 | } | |
18835 | ||
18836 | ||
18837 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18838 | PyObject *resultobj; | |
18839 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18840 | bool arg2 ; | |
18841 | PyObject * obj0 = 0 ; | |
18842 | PyObject * obj1 = 0 ; | |
18843 | char *kwnames[] = { | |
18844 | (char *) "self",(char *) "flag", NULL | |
18845 | }; | |
18846 | ||
18847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18848 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18849 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18850 | arg2 = (bool) SWIG_AsBool(obj1); | |
18851 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18852 | { |
18853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18854 | (arg1)->EnableHelp(arg2); | |
18855 | ||
18856 | wxPyEndAllowThreads(__tstate); | |
18857 | if (PyErr_Occurred()) SWIG_fail; | |
18858 | } | |
18859 | Py_INCREF(Py_None); resultobj = Py_None; | |
18860 | return resultobj; | |
18861 | fail: | |
18862 | return NULL; | |
18863 | } | |
18864 | ||
18865 | ||
18866 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18867 | PyObject *resultobj; | |
18868 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18869 | bool arg2 ; | |
18870 | PyObject * obj0 = 0 ; | |
18871 | PyObject * obj1 = 0 ; | |
18872 | char *kwnames[] = { | |
18873 | (char *) "self",(char *) "flag", NULL | |
18874 | }; | |
18875 | ||
18876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18877 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18878 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18879 | arg2 = (bool) SWIG_AsBool(obj1); | |
18880 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18881 | { |
18882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18883 | (arg1)->EnableMargins(arg2); | |
18884 | ||
18885 | wxPyEndAllowThreads(__tstate); | |
18886 | if (PyErr_Occurred()) SWIG_fail; | |
18887 | } | |
18888 | Py_INCREF(Py_None); resultobj = Py_None; | |
18889 | return resultobj; | |
18890 | fail: | |
18891 | return NULL; | |
18892 | } | |
18893 | ||
18894 | ||
18895 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18896 | PyObject *resultobj; | |
18897 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18898 | bool arg2 ; | |
18899 | PyObject * obj0 = 0 ; | |
18900 | PyObject * obj1 = 0 ; | |
18901 | char *kwnames[] = { | |
18902 | (char *) "self",(char *) "flag", NULL | |
18903 | }; | |
18904 | ||
18905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18906 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18907 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18908 | arg2 = (bool) SWIG_AsBool(obj1); | |
18909 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18910 | { |
18911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18912 | (arg1)->EnableOrientation(arg2); | |
18913 | ||
18914 | wxPyEndAllowThreads(__tstate); | |
18915 | if (PyErr_Occurred()) SWIG_fail; | |
18916 | } | |
18917 | Py_INCREF(Py_None); resultobj = Py_None; | |
18918 | return resultobj; | |
18919 | fail: | |
18920 | return NULL; | |
18921 | } | |
18922 | ||
18923 | ||
18924 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18925 | PyObject *resultobj; | |
18926 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18927 | bool arg2 ; | |
18928 | PyObject * obj0 = 0 ; | |
18929 | PyObject * obj1 = 0 ; | |
18930 | char *kwnames[] = { | |
18931 | (char *) "self",(char *) "flag", NULL | |
18932 | }; | |
18933 | ||
18934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18935 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18936 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18937 | arg2 = (bool) SWIG_AsBool(obj1); | |
18938 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18939 | { |
18940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18941 | (arg1)->EnablePaper(arg2); | |
18942 | ||
18943 | wxPyEndAllowThreads(__tstate); | |
18944 | if (PyErr_Occurred()) SWIG_fail; | |
18945 | } | |
18946 | Py_INCREF(Py_None); resultobj = Py_None; | |
18947 | return resultobj; | |
18948 | fail: | |
18949 | return NULL; | |
18950 | } | |
18951 | ||
18952 | ||
18953 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18954 | PyObject *resultobj; | |
18955 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18956 | bool arg2 ; | |
18957 | PyObject * obj0 = 0 ; | |
18958 | PyObject * obj1 = 0 ; | |
18959 | char *kwnames[] = { | |
18960 | (char *) "self",(char *) "flag", NULL | |
18961 | }; | |
18962 | ||
18963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18964 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18966 | arg2 = (bool) SWIG_AsBool(obj1); | |
18967 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18968 | { |
18969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18970 | (arg1)->EnablePrinter(arg2); | |
18971 | ||
18972 | wxPyEndAllowThreads(__tstate); | |
18973 | if (PyErr_Occurred()) SWIG_fail; | |
18974 | } | |
18975 | Py_INCREF(Py_None); resultobj = Py_None; | |
18976 | return resultobj; | |
18977 | fail: | |
18978 | return NULL; | |
18979 | } | |
18980 | ||
18981 | ||
18982 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18983 | PyObject *resultobj; | |
18984 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18985 | bool result; | |
18986 | PyObject * obj0 = 0 ; | |
18987 | char *kwnames[] = { | |
18988 | (char *) "self", NULL | |
18989 | }; | |
18990 | ||
18991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18992 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18993 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18994 | { |
18995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18996 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
18997 | ||
18998 | wxPyEndAllowThreads(__tstate); | |
18999 | if (PyErr_Occurred()) SWIG_fail; | |
19000 | } | |
4f89f6a3 RD |
19001 | { |
19002 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19003 | } | |
d14a1e28 RD |
19004 | return resultobj; |
19005 | fail: | |
19006 | return NULL; | |
19007 | } | |
19008 | ||
19009 | ||
19010 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19011 | PyObject *resultobj; | |
19012 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19013 | bool result; | |
19014 | PyObject * obj0 = 0 ; | |
19015 | char *kwnames[] = { | |
19016 | (char *) "self", NULL | |
19017 | }; | |
19018 | ||
19019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19020 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19022 | { |
19023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19024 | result = (bool)(arg1)->GetEnableMargins(); | |
19025 | ||
19026 | wxPyEndAllowThreads(__tstate); | |
19027 | if (PyErr_Occurred()) SWIG_fail; | |
19028 | } | |
4f89f6a3 RD |
19029 | { |
19030 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19031 | } | |
d14a1e28 RD |
19032 | return resultobj; |
19033 | fail: | |
19034 | return NULL; | |
19035 | } | |
19036 | ||
19037 | ||
19038 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19039 | PyObject *resultobj; | |
19040 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19041 | bool result; | |
19042 | PyObject * obj0 = 0 ; | |
19043 | char *kwnames[] = { | |
19044 | (char *) "self", NULL | |
19045 | }; | |
19046 | ||
19047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19048 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19049 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19050 | { |
19051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19052 | result = (bool)(arg1)->GetEnableOrientation(); | |
19053 | ||
19054 | wxPyEndAllowThreads(__tstate); | |
19055 | if (PyErr_Occurred()) SWIG_fail; | |
19056 | } | |
4f89f6a3 RD |
19057 | { |
19058 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19059 | } | |
d14a1e28 RD |
19060 | return resultobj; |
19061 | fail: | |
19062 | return NULL; | |
19063 | } | |
19064 | ||
19065 | ||
19066 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19067 | PyObject *resultobj; | |
19068 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19069 | bool result; | |
19070 | PyObject * obj0 = 0 ; | |
19071 | char *kwnames[] = { | |
19072 | (char *) "self", NULL | |
19073 | }; | |
19074 | ||
19075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19076 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19077 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19078 | { |
19079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19080 | result = (bool)(arg1)->GetEnablePaper(); | |
19081 | ||
19082 | wxPyEndAllowThreads(__tstate); | |
19083 | if (PyErr_Occurred()) SWIG_fail; | |
19084 | } | |
4f89f6a3 RD |
19085 | { |
19086 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19087 | } | |
d14a1e28 RD |
19088 | return resultobj; |
19089 | fail: | |
19090 | return NULL; | |
19091 | } | |
19092 | ||
19093 | ||
19094 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19095 | PyObject *resultobj; | |
19096 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19097 | bool result; | |
19098 | PyObject * obj0 = 0 ; | |
19099 | char *kwnames[] = { | |
19100 | (char *) "self", NULL | |
19101 | }; | |
19102 | ||
19103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19104 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19105 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19106 | { |
19107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19108 | result = (bool)(arg1)->GetEnablePrinter(); | |
19109 | ||
19110 | wxPyEndAllowThreads(__tstate); | |
19111 | if (PyErr_Occurred()) SWIG_fail; | |
19112 | } | |
4f89f6a3 RD |
19113 | { |
19114 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19115 | } | |
d14a1e28 RD |
19116 | return resultobj; |
19117 | fail: | |
19118 | return NULL; | |
19119 | } | |
19120 | ||
19121 | ||
19122 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19123 | PyObject *resultobj; | |
19124 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19125 | bool result; | |
19126 | PyObject * obj0 = 0 ; | |
19127 | char *kwnames[] = { | |
19128 | (char *) "self", NULL | |
19129 | }; | |
19130 | ||
19131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19132 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19133 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19134 | { |
19135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19136 | result = (bool)(arg1)->GetEnableHelp(); | |
19137 | ||
19138 | wxPyEndAllowThreads(__tstate); | |
19139 | if (PyErr_Occurred()) SWIG_fail; | |
19140 | } | |
4f89f6a3 RD |
19141 | { |
19142 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19143 | } | |
d14a1e28 RD |
19144 | return resultobj; |
19145 | fail: | |
19146 | return NULL; | |
19147 | } | |
19148 | ||
19149 | ||
19150 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19151 | PyObject *resultobj; | |
19152 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19153 | bool result; | |
19154 | PyObject * obj0 = 0 ; | |
19155 | char *kwnames[] = { | |
19156 | (char *) "self", NULL | |
19157 | }; | |
19158 | ||
19159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19160 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19161 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19162 | { |
19163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19164 | result = (bool)(arg1)->GetDefaultInfo(); | |
19165 | ||
19166 | wxPyEndAllowThreads(__tstate); | |
19167 | if (PyErr_Occurred()) SWIG_fail; | |
19168 | } | |
4f89f6a3 RD |
19169 | { |
19170 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19171 | } | |
d14a1e28 RD |
19172 | return resultobj; |
19173 | fail: | |
19174 | return NULL; | |
19175 | } | |
19176 | ||
19177 | ||
19178 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19179 | PyObject *resultobj; | |
19180 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19181 | wxPoint result; | |
19182 | PyObject * obj0 = 0 ; | |
19183 | char *kwnames[] = { | |
19184 | (char *) "self", NULL | |
19185 | }; | |
19186 | ||
19187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19188 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19189 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19190 | { |
19191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19192 | result = (arg1)->GetMarginTopLeft(); | |
19193 | ||
19194 | wxPyEndAllowThreads(__tstate); | |
19195 | if (PyErr_Occurred()) SWIG_fail; | |
19196 | } | |
19197 | { | |
19198 | wxPoint * resultptr; | |
19199 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 19200 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
19201 | } |
19202 | return resultobj; | |
19203 | fail: | |
19204 | return NULL; | |
19205 | } | |
19206 | ||
19207 | ||
19208 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19209 | PyObject *resultobj; | |
19210 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19211 | wxPoint result; | |
19212 | PyObject * obj0 = 0 ; | |
19213 | char *kwnames[] = { | |
19214 | (char *) "self", NULL | |
19215 | }; | |
19216 | ||
19217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19218 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19219 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19220 | { |
19221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19222 | result = (arg1)->GetMarginBottomRight(); | |
19223 | ||
19224 | wxPyEndAllowThreads(__tstate); | |
19225 | if (PyErr_Occurred()) SWIG_fail; | |
19226 | } | |
19227 | { | |
19228 | wxPoint * resultptr; | |
19229 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 19230 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
19231 | } |
19232 | return resultobj; | |
19233 | fail: | |
19234 | return NULL; | |
19235 | } | |
19236 | ||
19237 | ||
19238 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19239 | PyObject *resultobj; | |
19240 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19241 | wxPoint result; | |
19242 | PyObject * obj0 = 0 ; | |
19243 | char *kwnames[] = { | |
19244 | (char *) "self", NULL | |
19245 | }; | |
19246 | ||
19247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19250 | { |
19251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19252 | result = (arg1)->GetMinMarginTopLeft(); | |
19253 | ||
19254 | wxPyEndAllowThreads(__tstate); | |
19255 | if (PyErr_Occurred()) SWIG_fail; | |
19256 | } | |
19257 | { | |
19258 | wxPoint * resultptr; | |
19259 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 19260 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
19261 | } |
19262 | return resultobj; | |
19263 | fail: | |
19264 | return NULL; | |
19265 | } | |
19266 | ||
19267 | ||
19268 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19269 | PyObject *resultobj; | |
19270 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19271 | wxPoint result; | |
19272 | PyObject * obj0 = 0 ; | |
19273 | char *kwnames[] = { | |
19274 | (char *) "self", NULL | |
19275 | }; | |
19276 | ||
19277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19278 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19280 | { |
19281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19282 | result = (arg1)->GetMinMarginBottomRight(); | |
19283 | ||
19284 | wxPyEndAllowThreads(__tstate); | |
19285 | if (PyErr_Occurred()) SWIG_fail; | |
19286 | } | |
19287 | { | |
19288 | wxPoint * resultptr; | |
19289 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 19290 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
19291 | } |
19292 | return resultobj; | |
19293 | fail: | |
19294 | return NULL; | |
19295 | } | |
19296 | ||
19297 | ||
19298 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19299 | PyObject *resultobj; | |
19300 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19301 | int result; | |
19302 | PyObject * obj0 = 0 ; | |
19303 | char *kwnames[] = { | |
19304 | (char *) "self", NULL | |
19305 | }; | |
19306 | ||
19307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19308 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19309 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19310 | { |
19311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19312 | result = (int)(arg1)->GetPaperId(); | |
19313 | ||
19314 | wxPyEndAllowThreads(__tstate); | |
19315 | if (PyErr_Occurred()) SWIG_fail; | |
19316 | } | |
15afbcd0 | 19317 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19318 | return resultobj; |
19319 | fail: | |
19320 | return NULL; | |
19321 | } | |
19322 | ||
19323 | ||
19324 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19325 | PyObject *resultobj; | |
19326 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19327 | wxSize result; | |
19328 | PyObject * obj0 = 0 ; | |
19329 | char *kwnames[] = { | |
19330 | (char *) "self", NULL | |
19331 | }; | |
19332 | ||
19333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19334 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19335 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19336 | { |
19337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19338 | result = (arg1)->GetPaperSize(); | |
19339 | ||
19340 | wxPyEndAllowThreads(__tstate); | |
19341 | if (PyErr_Occurred()) SWIG_fail; | |
19342 | } | |
19343 | { | |
19344 | wxSize * resultptr; | |
19345 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 19346 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
19347 | } |
19348 | return resultobj; | |
19349 | fail: | |
19350 | return NULL; | |
19351 | } | |
19352 | ||
19353 | ||
19354 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19355 | PyObject *resultobj; | |
19356 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19357 | wxPrintData *result; | |
19358 | PyObject * obj0 = 0 ; | |
19359 | char *kwnames[] = { | |
19360 | (char *) "self", NULL | |
19361 | }; | |
19362 | ||
19363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19364 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19365 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19366 | { |
19367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19368 | { | |
19369 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
19370 | result = (wxPrintData *) &_result_ref; | |
19371 | } | |
19372 | ||
19373 | wxPyEndAllowThreads(__tstate); | |
19374 | if (PyErr_Occurred()) SWIG_fail; | |
19375 | } | |
15afbcd0 | 19376 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
19377 | return resultobj; |
19378 | fail: | |
19379 | return NULL; | |
19380 | } | |
19381 | ||
19382 | ||
19383 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19384 | PyObject *resultobj; | |
19385 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19386 | bool result; | |
19387 | PyObject * obj0 = 0 ; | |
19388 | char *kwnames[] = { | |
19389 | (char *) "self", NULL | |
19390 | }; | |
19391 | ||
19392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19393 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19394 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19395 | { |
19396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19397 | result = (bool)(arg1)->Ok(); | |
19398 | ||
19399 | wxPyEndAllowThreads(__tstate); | |
19400 | if (PyErr_Occurred()) SWIG_fail; | |
19401 | } | |
4f89f6a3 RD |
19402 | { |
19403 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19404 | } | |
d14a1e28 RD |
19405 | return resultobj; |
19406 | fail: | |
19407 | return NULL; | |
19408 | } | |
19409 | ||
19410 | ||
19411 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19412 | PyObject *resultobj; | |
19413 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19414 | bool arg2 ; | |
19415 | PyObject * obj0 = 0 ; | |
19416 | PyObject * obj1 = 0 ; | |
19417 | char *kwnames[] = { | |
19418 | (char *) "self",(char *) "flag", NULL | |
19419 | }; | |
19420 | ||
19421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19422 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19423 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19424 | arg2 = (bool) SWIG_AsBool(obj1); | |
19425 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19426 | { |
19427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19428 | (arg1)->SetDefaultInfo(arg2); | |
19429 | ||
19430 | wxPyEndAllowThreads(__tstate); | |
19431 | if (PyErr_Occurred()) SWIG_fail; | |
19432 | } | |
19433 | Py_INCREF(Py_None); resultobj = Py_None; | |
19434 | return resultobj; | |
19435 | fail: | |
19436 | return NULL; | |
19437 | } | |
19438 | ||
19439 | ||
19440 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19441 | PyObject *resultobj; | |
19442 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19443 | bool arg2 ; | |
19444 | PyObject * obj0 = 0 ; | |
19445 | PyObject * obj1 = 0 ; | |
19446 | char *kwnames[] = { | |
19447 | (char *) "self",(char *) "flag", NULL | |
19448 | }; | |
19449 | ||
19450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19451 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19452 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19453 | arg2 = (bool) SWIG_AsBool(obj1); | |
19454 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19455 | { |
19456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19457 | (arg1)->SetDefaultMinMargins(arg2); | |
19458 | ||
19459 | wxPyEndAllowThreads(__tstate); | |
19460 | if (PyErr_Occurred()) SWIG_fail; | |
19461 | } | |
19462 | Py_INCREF(Py_None); resultobj = Py_None; | |
19463 | return resultobj; | |
19464 | fail: | |
19465 | return NULL; | |
19466 | } | |
19467 | ||
19468 | ||
19469 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19470 | PyObject *resultobj; | |
19471 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19472 | wxPoint *arg2 = 0 ; | |
19473 | wxPoint temp2 ; | |
19474 | PyObject * obj0 = 0 ; | |
19475 | PyObject * obj1 = 0 ; | |
19476 | char *kwnames[] = { | |
19477 | (char *) "self",(char *) "pt", NULL | |
19478 | }; | |
19479 | ||
19480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19481 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19482 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19483 | { |
19484 | arg2 = &temp2; | |
19485 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
19486 | } | |
19487 | { | |
19488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19489 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
19490 | ||
19491 | wxPyEndAllowThreads(__tstate); | |
19492 | if (PyErr_Occurred()) SWIG_fail; | |
19493 | } | |
19494 | Py_INCREF(Py_None); resultobj = Py_None; | |
19495 | return resultobj; | |
19496 | fail: | |
19497 | return NULL; | |
19498 | } | |
19499 | ||
19500 | ||
19501 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19502 | PyObject *resultobj; | |
19503 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19504 | wxPoint *arg2 = 0 ; | |
19505 | wxPoint temp2 ; | |
19506 | PyObject * obj0 = 0 ; | |
19507 | PyObject * obj1 = 0 ; | |
19508 | char *kwnames[] = { | |
19509 | (char *) "self",(char *) "pt", NULL | |
19510 | }; | |
19511 | ||
19512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19513 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19514 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19515 | { |
19516 | arg2 = &temp2; | |
19517 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
19518 | } | |
19519 | { | |
19520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19521 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
19522 | ||
19523 | wxPyEndAllowThreads(__tstate); | |
19524 | if (PyErr_Occurred()) SWIG_fail; | |
19525 | } | |
19526 | Py_INCREF(Py_None); resultobj = Py_None; | |
19527 | return resultobj; | |
19528 | fail: | |
19529 | return NULL; | |
19530 | } | |
19531 | ||
19532 | ||
19533 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19534 | PyObject *resultobj; | |
19535 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19536 | wxPoint *arg2 = 0 ; | |
19537 | wxPoint temp2 ; | |
19538 | PyObject * obj0 = 0 ; | |
19539 | PyObject * obj1 = 0 ; | |
19540 | char *kwnames[] = { | |
19541 | (char *) "self",(char *) "pt", NULL | |
19542 | }; | |
19543 | ||
19544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19545 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19546 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19547 | { |
19548 | arg2 = &temp2; | |
19549 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
19550 | } | |
19551 | { | |
19552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19553 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
19554 | ||
19555 | wxPyEndAllowThreads(__tstate); | |
19556 | if (PyErr_Occurred()) SWIG_fail; | |
19557 | } | |
19558 | Py_INCREF(Py_None); resultobj = Py_None; | |
19559 | return resultobj; | |
19560 | fail: | |
19561 | return NULL; | |
19562 | } | |
19563 | ||
19564 | ||
19565 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19566 | PyObject *resultobj; | |
19567 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19568 | wxPoint *arg2 = 0 ; | |
19569 | wxPoint temp2 ; | |
19570 | PyObject * obj0 = 0 ; | |
19571 | PyObject * obj1 = 0 ; | |
19572 | char *kwnames[] = { | |
19573 | (char *) "self",(char *) "pt", NULL | |
19574 | }; | |
19575 | ||
19576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19577 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19578 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19579 | { |
19580 | arg2 = &temp2; | |
19581 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
19582 | } | |
19583 | { | |
19584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19585 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
19586 | ||
19587 | wxPyEndAllowThreads(__tstate); | |
19588 | if (PyErr_Occurred()) SWIG_fail; | |
19589 | } | |
19590 | Py_INCREF(Py_None); resultobj = Py_None; | |
19591 | return resultobj; | |
19592 | fail: | |
19593 | return NULL; | |
19594 | } | |
19595 | ||
19596 | ||
19597 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19598 | PyObject *resultobj; | |
19599 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19600 | int arg2 ; | |
19601 | PyObject * obj0 = 0 ; | |
994141e6 | 19602 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19603 | char *kwnames[] = { |
19604 | (char *) "self",(char *) "id", NULL | |
19605 | }; | |
19606 | ||
994141e6 | 19607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19608 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19609 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19610 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
19611 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19612 | { |
19613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19614 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
19615 | ||
19616 | wxPyEndAllowThreads(__tstate); | |
19617 | if (PyErr_Occurred()) SWIG_fail; | |
19618 | } | |
19619 | Py_INCREF(Py_None); resultobj = Py_None; | |
19620 | return resultobj; | |
19621 | fail: | |
19622 | return NULL; | |
19623 | } | |
19624 | ||
19625 | ||
19626 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19627 | PyObject *resultobj; | |
19628 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19629 | wxSize *arg2 = 0 ; | |
19630 | wxSize temp2 ; | |
19631 | PyObject * obj0 = 0 ; | |
19632 | PyObject * obj1 = 0 ; | |
19633 | char *kwnames[] = { | |
19634 | (char *) "self",(char *) "size", NULL | |
19635 | }; | |
19636 | ||
19637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19638 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19639 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19640 | { |
19641 | arg2 = &temp2; | |
19642 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
19643 | } | |
19644 | { | |
19645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19646 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
19647 | ||
19648 | wxPyEndAllowThreads(__tstate); | |
19649 | if (PyErr_Occurred()) SWIG_fail; | |
19650 | } | |
19651 | Py_INCREF(Py_None); resultobj = Py_None; | |
19652 | return resultobj; | |
19653 | fail: | |
19654 | return NULL; | |
19655 | } | |
19656 | ||
19657 | ||
19658 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19659 | PyObject *resultobj; | |
19660 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19661 | wxPrintData *arg2 = 0 ; | |
19662 | PyObject * obj0 = 0 ; | |
19663 | PyObject * obj1 = 0 ; | |
19664 | char *kwnames[] = { | |
19665 | (char *) "self",(char *) "printData", NULL | |
19666 | }; | |
19667 | ||
19668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19669 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19670 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19671 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
19672 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
19673 | SWIG_fail; | |
d14a1e28 | 19674 | if (arg2 == NULL) { |
15afbcd0 RD |
19675 | PyErr_SetString(PyExc_TypeError,"null reference"); |
19676 | SWIG_fail; | |
d14a1e28 RD |
19677 | } |
19678 | { | |
19679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19680 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
19681 | ||
19682 | wxPyEndAllowThreads(__tstate); | |
19683 | if (PyErr_Occurred()) SWIG_fail; | |
19684 | } | |
19685 | Py_INCREF(Py_None); resultobj = Py_None; | |
19686 | return resultobj; | |
19687 | fail: | |
19688 | return NULL; | |
19689 | } | |
19690 | ||
19691 | ||
19692 | static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) { | |
19693 | PyObject *obj; | |
19694 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19695 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
19696 | Py_INCREF(obj); | |
19697 | return Py_BuildValue((char *)""); | |
19698 | } | |
19699 | static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19700 | PyObject *resultobj; | |
19701 | wxWindow *arg1 = (wxWindow *) 0 ; | |
19702 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
19703 | wxPageSetupDialog *result; | |
19704 | PyObject * obj0 = 0 ; | |
19705 | PyObject * obj1 = 0 ; | |
19706 | char *kwnames[] = { | |
19707 | (char *) "parent",(char *) "data", NULL | |
19708 | }; | |
19709 | ||
19710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19711 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
19712 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 19713 | if (obj1) { |
15afbcd0 RD |
19714 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData, |
19715 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19716 | } |
19717 | { | |
19718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19719 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
19720 | ||
19721 | wxPyEndAllowThreads(__tstate); | |
19722 | if (PyErr_Occurred()) SWIG_fail; | |
19723 | } | |
15afbcd0 | 19724 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); |
d14a1e28 RD |
19725 | return resultobj; |
19726 | fail: | |
19727 | return NULL; | |
19728 | } | |
19729 | ||
19730 | ||
19731 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19732 | PyObject *resultobj; | |
19733 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
19734 | wxPageSetupDialogData *result; | |
19735 | PyObject * obj0 = 0 ; | |
19736 | char *kwnames[] = { | |
19737 | (char *) "self", NULL | |
19738 | }; | |
19739 | ||
19740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19741 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
19742 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19743 | { |
19744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19745 | { | |
19746 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
19747 | result = (wxPageSetupDialogData *) &_result_ref; | |
19748 | } | |
19749 | ||
19750 | wxPyEndAllowThreads(__tstate); | |
19751 | if (PyErr_Occurred()) SWIG_fail; | |
19752 | } | |
15afbcd0 | 19753 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); |
d14a1e28 RD |
19754 | return resultobj; |
19755 | fail: | |
19756 | return NULL; | |
19757 | } | |
19758 | ||
19759 | ||
19760 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19761 | PyObject *resultobj; | |
19762 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
19763 | int result; | |
19764 | PyObject * obj0 = 0 ; | |
19765 | char *kwnames[] = { | |
19766 | (char *) "self", NULL | |
19767 | }; | |
19768 | ||
19769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19770 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
19771 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19772 | { |
19773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19774 | result = (int)(arg1)->ShowModal(); | |
19775 | ||
19776 | wxPyEndAllowThreads(__tstate); | |
19777 | if (PyErr_Occurred()) SWIG_fail; | |
19778 | } | |
15afbcd0 | 19779 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19780 | return resultobj; |
19781 | fail: | |
19782 | return NULL; | |
19783 | } | |
19784 | ||
19785 | ||
19786 | static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) { | |
19787 | PyObject *obj; | |
19788 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19789 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
19790 | Py_INCREF(obj); | |
19791 | return Py_BuildValue((char *)""); | |
19792 | } | |
4276dc52 | 19793 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
19794 | PyObject *resultobj; |
19795 | wxPrintDialogData *result; | |
d14a1e28 | 19796 | |
4276dc52 | 19797 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; |
d14a1e28 RD |
19798 | { |
19799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19800 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
19801 | ||
19802 | wxPyEndAllowThreads(__tstate); | |
19803 | if (PyErr_Occurred()) SWIG_fail; | |
19804 | } | |
15afbcd0 | 19805 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); |
d14a1e28 RD |
19806 | return resultobj; |
19807 | fail: | |
19808 | return NULL; | |
19809 | } | |
19810 | ||
19811 | ||
4276dc52 RD |
19812 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) { |
19813 | PyObject *resultobj; | |
19814 | wxPrintData *arg1 = 0 ; | |
19815 | wxPrintDialogData *result; | |
19816 | PyObject * obj0 = 0 ; | |
19817 | ||
19818 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
19819 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19820 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
19821 | SWIG_fail; | |
19822 | if (arg1 == NULL) { | |
19823 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
19824 | SWIG_fail; | |
19825 | } | |
19826 | { | |
19827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19828 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
19829 | ||
19830 | wxPyEndAllowThreads(__tstate); | |
19831 | if (PyErr_Occurred()) SWIG_fail; | |
19832 | } | |
19833 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
19834 | return resultobj; | |
19835 | fail: | |
19836 | return NULL; | |
19837 | } | |
19838 | ||
19839 | ||
19840 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { | |
19841 | int argc; | |
19842 | PyObject *argv[2]; | |
19843 | int ii; | |
19844 | ||
19845 | argc = PyObject_Length(args); | |
19846 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
19847 | argv[ii] = PyTuple_GetItem(args,ii); | |
19848 | } | |
19849 | if (argc == 0) { | |
19850 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
19851 | } | |
19852 | if (argc == 1) { | |
19853 | int _v; | |
19854 | { | |
19855 | void *ptr; | |
19856 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
19857 | _v = 0; | |
19858 | PyErr_Clear(); | |
19859 | } else { | |
19860 | _v = 1; | |
19861 | } | |
19862 | } | |
19863 | if (_v) { | |
19864 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
19865 | } | |
19866 | } | |
19867 | ||
19868 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'"); | |
19869 | return NULL; | |
19870 | } | |
19871 | ||
19872 | ||
d14a1e28 RD |
19873 | static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { |
19874 | PyObject *resultobj; | |
19875 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19876 | PyObject * obj0 = 0 ; | |
19877 | char *kwnames[] = { | |
19878 | (char *) "self", NULL | |
19879 | }; | |
19880 | ||
19881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19882 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19883 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19884 | { |
19885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19886 | delete arg1; | |
19887 | ||
19888 | wxPyEndAllowThreads(__tstate); | |
19889 | if (PyErr_Occurred()) SWIG_fail; | |
19890 | } | |
19891 | Py_INCREF(Py_None); resultobj = Py_None; | |
19892 | return resultobj; | |
19893 | fail: | |
19894 | return NULL; | |
19895 | } | |
19896 | ||
19897 | ||
19898 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19899 | PyObject *resultobj; | |
19900 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19901 | int result; | |
19902 | PyObject * obj0 = 0 ; | |
19903 | char *kwnames[] = { | |
19904 | (char *) "self", NULL | |
19905 | }; | |
19906 | ||
19907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19910 | { |
19911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19912 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
19913 | ||
19914 | wxPyEndAllowThreads(__tstate); | |
19915 | if (PyErr_Occurred()) SWIG_fail; | |
19916 | } | |
15afbcd0 | 19917 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19918 | return resultobj; |
19919 | fail: | |
19920 | return NULL; | |
19921 | } | |
19922 | ||
19923 | ||
19924 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19925 | PyObject *resultobj; | |
19926 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19927 | int result; | |
19928 | PyObject * obj0 = 0 ; | |
19929 | char *kwnames[] = { | |
19930 | (char *) "self", NULL | |
19931 | }; | |
19932 | ||
19933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19934 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19935 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19936 | { |
19937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19938 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
19939 | ||
19940 | wxPyEndAllowThreads(__tstate); | |
19941 | if (PyErr_Occurred()) SWIG_fail; | |
19942 | } | |
15afbcd0 | 19943 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19944 | return resultobj; |
19945 | fail: | |
19946 | return NULL; | |
19947 | } | |
19948 | ||
19949 | ||
19950 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19951 | PyObject *resultobj; | |
19952 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19953 | int result; | |
19954 | PyObject * obj0 = 0 ; | |
19955 | char *kwnames[] = { | |
19956 | (char *) "self", NULL | |
19957 | }; | |
19958 | ||
19959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19960 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19961 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19962 | { |
19963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19964 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
19965 | ||
19966 | wxPyEndAllowThreads(__tstate); | |
19967 | if (PyErr_Occurred()) SWIG_fail; | |
19968 | } | |
15afbcd0 | 19969 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19970 | return resultobj; |
19971 | fail: | |
19972 | return NULL; | |
19973 | } | |
19974 | ||
19975 | ||
19976 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19977 | PyObject *resultobj; | |
19978 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19979 | int result; | |
19980 | PyObject * obj0 = 0 ; | |
19981 | char *kwnames[] = { | |
19982 | (char *) "self", NULL | |
19983 | }; | |
19984 | ||
19985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19986 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19987 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19988 | { |
19989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19990 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
19991 | ||
19992 | wxPyEndAllowThreads(__tstate); | |
19993 | if (PyErr_Occurred()) SWIG_fail; | |
19994 | } | |
15afbcd0 | 19995 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19996 | return resultobj; |
19997 | fail: | |
19998 | return NULL; | |
19999 | } | |
20000 | ||
20001 | ||
20002 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20003 | PyObject *resultobj; | |
20004 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20005 | int result; | |
20006 | PyObject * obj0 = 0 ; | |
20007 | char *kwnames[] = { | |
20008 | (char *) "self", NULL | |
20009 | }; | |
20010 | ||
20011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20012 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20013 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20014 | { |
20015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20016 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
20017 | ||
20018 | wxPyEndAllowThreads(__tstate); | |
20019 | if (PyErr_Occurred()) SWIG_fail; | |
20020 | } | |
15afbcd0 | 20021 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
20022 | return resultobj; |
20023 | fail: | |
20024 | return NULL; | |
20025 | } | |
20026 | ||
20027 | ||
20028 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20029 | PyObject *resultobj; | |
20030 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20031 | bool result; | |
20032 | PyObject * obj0 = 0 ; | |
20033 | char *kwnames[] = { | |
20034 | (char *) "self", NULL | |
20035 | }; | |
20036 | ||
20037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20038 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20040 | { |
20041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20042 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
20043 | ||
20044 | wxPyEndAllowThreads(__tstate); | |
20045 | if (PyErr_Occurred()) SWIG_fail; | |
20046 | } | |
4f89f6a3 RD |
20047 | { |
20048 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20049 | } | |
d14a1e28 RD |
20050 | return resultobj; |
20051 | fail: | |
20052 | return NULL; | |
20053 | } | |
20054 | ||
20055 | ||
20056 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20057 | PyObject *resultobj; | |
20058 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20059 | bool result; | |
20060 | PyObject * obj0 = 0 ; | |
20061 | char *kwnames[] = { | |
20062 | (char *) "self", NULL | |
20063 | }; | |
20064 | ||
20065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20066 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20067 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20068 | { |
20069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20070 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
20071 | ||
20072 | wxPyEndAllowThreads(__tstate); | |
20073 | if (PyErr_Occurred()) SWIG_fail; | |
20074 | } | |
4f89f6a3 RD |
20075 | { |
20076 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20077 | } | |
d14a1e28 RD |
20078 | return resultobj; |
20079 | fail: | |
20080 | return NULL; | |
20081 | } | |
20082 | ||
20083 | ||
20084 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20085 | PyObject *resultobj; | |
20086 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20087 | bool result; | |
20088 | PyObject * obj0 = 0 ; | |
20089 | char *kwnames[] = { | |
20090 | (char *) "self", NULL | |
20091 | }; | |
20092 | ||
20093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20094 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20095 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20096 | { |
20097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20098 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
20099 | ||
20100 | wxPyEndAllowThreads(__tstate); | |
20101 | if (PyErr_Occurred()) SWIG_fail; | |
20102 | } | |
4f89f6a3 RD |
20103 | { |
20104 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20105 | } | |
d14a1e28 RD |
20106 | return resultobj; |
20107 | fail: | |
20108 | return NULL; | |
20109 | } | |
20110 | ||
20111 | ||
20112 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20113 | PyObject *resultobj; | |
20114 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20115 | bool result; | |
20116 | PyObject * obj0 = 0 ; | |
20117 | char *kwnames[] = { | |
20118 | (char *) "self", NULL | |
20119 | }; | |
20120 | ||
20121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20122 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20123 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20124 | { |
20125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20126 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
20127 | ||
20128 | wxPyEndAllowThreads(__tstate); | |
20129 | if (PyErr_Occurred()) SWIG_fail; | |
20130 | } | |
4f89f6a3 RD |
20131 | { |
20132 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20133 | } | |
d14a1e28 RD |
20134 | return resultobj; |
20135 | fail: | |
20136 | return NULL; | |
20137 | } | |
20138 | ||
20139 | ||
20140 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20141 | PyObject *resultobj; | |
20142 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20143 | bool result; | |
20144 | PyObject * obj0 = 0 ; | |
20145 | char *kwnames[] = { | |
20146 | (char *) "self", NULL | |
20147 | }; | |
20148 | ||
20149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20150 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20151 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20152 | { |
20153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20154 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
20155 | ||
20156 | wxPyEndAllowThreads(__tstate); | |
20157 | if (PyErr_Occurred()) SWIG_fail; | |
20158 | } | |
4f89f6a3 RD |
20159 | { |
20160 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20161 | } | |
d14a1e28 RD |
20162 | return resultobj; |
20163 | fail: | |
20164 | return NULL; | |
20165 | } | |
20166 | ||
20167 | ||
20168 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20169 | PyObject *resultobj; | |
20170 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20171 | int arg2 ; | |
20172 | PyObject * obj0 = 0 ; | |
994141e6 | 20173 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20174 | char *kwnames[] = { |
20175 | (char *) "self",(char *) "v", NULL | |
20176 | }; | |
20177 | ||
994141e6 | 20178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20179 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20180 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20181 | arg2 = (int) SWIG_AsInt(obj1); | |
20182 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20183 | { |
20184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20185 | (arg1)->SetFromPage(arg2); | |
20186 | ||
20187 | wxPyEndAllowThreads(__tstate); | |
20188 | if (PyErr_Occurred()) SWIG_fail; | |
20189 | } | |
20190 | Py_INCREF(Py_None); resultobj = Py_None; | |
20191 | return resultobj; | |
20192 | fail: | |
20193 | return NULL; | |
20194 | } | |
20195 | ||
20196 | ||
20197 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20198 | PyObject *resultobj; | |
20199 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20200 | int arg2 ; | |
20201 | PyObject * obj0 = 0 ; | |
994141e6 | 20202 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20203 | char *kwnames[] = { |
20204 | (char *) "self",(char *) "v", NULL | |
20205 | }; | |
20206 | ||
994141e6 | 20207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20208 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20209 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20210 | arg2 = (int) SWIG_AsInt(obj1); | |
20211 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20212 | { |
20213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20214 | (arg1)->SetToPage(arg2); | |
20215 | ||
20216 | wxPyEndAllowThreads(__tstate); | |
20217 | if (PyErr_Occurred()) SWIG_fail; | |
20218 | } | |
20219 | Py_INCREF(Py_None); resultobj = Py_None; | |
20220 | return resultobj; | |
20221 | fail: | |
20222 | return NULL; | |
20223 | } | |
20224 | ||
20225 | ||
20226 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20227 | PyObject *resultobj; | |
20228 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20229 | int arg2 ; | |
20230 | PyObject * obj0 = 0 ; | |
994141e6 | 20231 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20232 | char *kwnames[] = { |
20233 | (char *) "self",(char *) "v", NULL | |
20234 | }; | |
20235 | ||
994141e6 | 20236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20239 | arg2 = (int) SWIG_AsInt(obj1); | |
20240 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20241 | { |
20242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20243 | (arg1)->SetMinPage(arg2); | |
20244 | ||
20245 | wxPyEndAllowThreads(__tstate); | |
20246 | if (PyErr_Occurred()) SWIG_fail; | |
20247 | } | |
20248 | Py_INCREF(Py_None); resultobj = Py_None; | |
20249 | return resultobj; | |
20250 | fail: | |
20251 | return NULL; | |
20252 | } | |
20253 | ||
20254 | ||
20255 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20256 | PyObject *resultobj; | |
20257 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20258 | int arg2 ; | |
20259 | PyObject * obj0 = 0 ; | |
994141e6 | 20260 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20261 | char *kwnames[] = { |
20262 | (char *) "self",(char *) "v", NULL | |
20263 | }; | |
20264 | ||
994141e6 | 20265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20266 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20267 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20268 | arg2 = (int) SWIG_AsInt(obj1); | |
20269 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20270 | { |
20271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20272 | (arg1)->SetMaxPage(arg2); | |
20273 | ||
20274 | wxPyEndAllowThreads(__tstate); | |
20275 | if (PyErr_Occurred()) SWIG_fail; | |
20276 | } | |
20277 | Py_INCREF(Py_None); resultobj = Py_None; | |
20278 | return resultobj; | |
20279 | fail: | |
20280 | return NULL; | |
20281 | } | |
20282 | ||
20283 | ||
20284 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20285 | PyObject *resultobj; | |
20286 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20287 | int arg2 ; | |
20288 | PyObject * obj0 = 0 ; | |
994141e6 | 20289 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20290 | char *kwnames[] = { |
20291 | (char *) "self",(char *) "v", NULL | |
20292 | }; | |
20293 | ||
994141e6 | 20294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20295 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20296 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20297 | arg2 = (int) SWIG_AsInt(obj1); | |
20298 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20299 | { |
20300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20301 | (arg1)->SetNoCopies(arg2); | |
20302 | ||
20303 | wxPyEndAllowThreads(__tstate); | |
20304 | if (PyErr_Occurred()) SWIG_fail; | |
20305 | } | |
20306 | Py_INCREF(Py_None); resultobj = Py_None; | |
20307 | return resultobj; | |
20308 | fail: | |
20309 | return NULL; | |
20310 | } | |
20311 | ||
20312 | ||
20313 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20314 | PyObject *resultobj; | |
20315 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20316 | bool arg2 ; | |
20317 | PyObject * obj0 = 0 ; | |
20318 | PyObject * obj1 = 0 ; | |
20319 | char *kwnames[] = { | |
20320 | (char *) "self",(char *) "flag", NULL | |
20321 | }; | |
20322 | ||
20323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20324 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20325 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20326 | arg2 = (bool) SWIG_AsBool(obj1); | |
20327 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20328 | { |
20329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20330 | (arg1)->SetAllPages(arg2); | |
20331 | ||
20332 | wxPyEndAllowThreads(__tstate); | |
20333 | if (PyErr_Occurred()) SWIG_fail; | |
20334 | } | |
20335 | Py_INCREF(Py_None); resultobj = Py_None; | |
20336 | return resultobj; | |
20337 | fail: | |
20338 | return NULL; | |
20339 | } | |
20340 | ||
20341 | ||
20342 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20343 | PyObject *resultobj; | |
20344 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20345 | bool arg2 ; | |
20346 | PyObject * obj0 = 0 ; | |
20347 | PyObject * obj1 = 0 ; | |
20348 | char *kwnames[] = { | |
20349 | (char *) "self",(char *) "flag", NULL | |
20350 | }; | |
20351 | ||
20352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20353 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20354 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20355 | arg2 = (bool) SWIG_AsBool(obj1); | |
20356 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20357 | { |
20358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20359 | (arg1)->SetSelection(arg2); | |
20360 | ||
20361 | wxPyEndAllowThreads(__tstate); | |
20362 | if (PyErr_Occurred()) SWIG_fail; | |
20363 | } | |
20364 | Py_INCREF(Py_None); resultobj = Py_None; | |
20365 | return resultobj; | |
20366 | fail: | |
20367 | return NULL; | |
20368 | } | |
20369 | ||
20370 | ||
20371 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20372 | PyObject *resultobj; | |
20373 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20374 | bool arg2 ; | |
20375 | PyObject * obj0 = 0 ; | |
20376 | PyObject * obj1 = 0 ; | |
20377 | char *kwnames[] = { | |
20378 | (char *) "self",(char *) "flag", NULL | |
20379 | }; | |
20380 | ||
20381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20382 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20383 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20384 | arg2 = (bool) SWIG_AsBool(obj1); | |
20385 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20386 | { |
20387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20388 | (arg1)->SetCollate(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_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20401 | PyObject *resultobj; | |
20402 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20403 | bool arg2 ; | |
20404 | PyObject * obj0 = 0 ; | |
20405 | PyObject * obj1 = 0 ; | |
20406 | char *kwnames[] = { | |
20407 | (char *) "self",(char *) "flag", NULL | |
20408 | }; | |
20409 | ||
20410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20411 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20412 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20413 | arg2 = (bool) SWIG_AsBool(obj1); | |
20414 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20415 | { |
20416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20417 | (arg1)->SetPrintToFile(arg2); | |
20418 | ||
20419 | wxPyEndAllowThreads(__tstate); | |
20420 | if (PyErr_Occurred()) SWIG_fail; | |
20421 | } | |
20422 | Py_INCREF(Py_None); resultobj = Py_None; | |
20423 | return resultobj; | |
20424 | fail: | |
20425 | return NULL; | |
20426 | } | |
20427 | ||
20428 | ||
20429 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20430 | PyObject *resultobj; | |
20431 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20432 | bool arg2 ; | |
20433 | PyObject * obj0 = 0 ; | |
20434 | PyObject * obj1 = 0 ; | |
20435 | char *kwnames[] = { | |
20436 | (char *) "self",(char *) "flag", NULL | |
20437 | }; | |
20438 | ||
20439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20440 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20441 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20442 | arg2 = (bool) SWIG_AsBool(obj1); | |
20443 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20444 | { |
20445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20446 | (arg1)->SetSetupDialog(arg2); | |
20447 | ||
20448 | wxPyEndAllowThreads(__tstate); | |
20449 | if (PyErr_Occurred()) SWIG_fail; | |
20450 | } | |
20451 | Py_INCREF(Py_None); resultobj = Py_None; | |
20452 | return resultobj; | |
20453 | fail: | |
20454 | return NULL; | |
20455 | } | |
20456 | ||
20457 | ||
20458 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20459 | PyObject *resultobj; | |
20460 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20461 | bool arg2 ; | |
20462 | PyObject * obj0 = 0 ; | |
20463 | PyObject * obj1 = 0 ; | |
20464 | char *kwnames[] = { | |
20465 | (char *) "self",(char *) "flag", NULL | |
20466 | }; | |
20467 | ||
20468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20471 | arg2 = (bool) SWIG_AsBool(obj1); | |
20472 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20473 | { |
20474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20475 | (arg1)->EnablePrintToFile(arg2); | |
20476 | ||
20477 | wxPyEndAllowThreads(__tstate); | |
20478 | if (PyErr_Occurred()) SWIG_fail; | |
20479 | } | |
20480 | Py_INCREF(Py_None); resultobj = Py_None; | |
20481 | return resultobj; | |
20482 | fail: | |
20483 | return NULL; | |
20484 | } | |
20485 | ||
20486 | ||
20487 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20488 | PyObject *resultobj; | |
20489 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20490 | bool arg2 ; | |
20491 | PyObject * obj0 = 0 ; | |
20492 | PyObject * obj1 = 0 ; | |
20493 | char *kwnames[] = { | |
20494 | (char *) "self",(char *) "flag", NULL | |
20495 | }; | |
20496 | ||
20497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20498 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20499 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20500 | arg2 = (bool) SWIG_AsBool(obj1); | |
20501 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20502 | { |
20503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20504 | (arg1)->EnableSelection(arg2); | |
20505 | ||
20506 | wxPyEndAllowThreads(__tstate); | |
20507 | if (PyErr_Occurred()) SWIG_fail; | |
20508 | } | |
20509 | Py_INCREF(Py_None); resultobj = Py_None; | |
20510 | return resultobj; | |
20511 | fail: | |
20512 | return NULL; | |
20513 | } | |
20514 | ||
20515 | ||
20516 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20517 | PyObject *resultobj; | |
20518 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20519 | bool arg2 ; | |
20520 | PyObject * obj0 = 0 ; | |
20521 | PyObject * obj1 = 0 ; | |
20522 | char *kwnames[] = { | |
20523 | (char *) "self",(char *) "flag", NULL | |
20524 | }; | |
20525 | ||
20526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20529 | arg2 = (bool) SWIG_AsBool(obj1); | |
20530 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20531 | { |
20532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20533 | (arg1)->EnablePageNumbers(arg2); | |
20534 | ||
20535 | wxPyEndAllowThreads(__tstate); | |
20536 | if (PyErr_Occurred()) SWIG_fail; | |
20537 | } | |
20538 | Py_INCREF(Py_None); resultobj = Py_None; | |
20539 | return resultobj; | |
20540 | fail: | |
20541 | return NULL; | |
20542 | } | |
20543 | ||
20544 | ||
20545 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20546 | PyObject *resultobj; | |
20547 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20548 | bool arg2 ; | |
20549 | PyObject * obj0 = 0 ; | |
20550 | PyObject * obj1 = 0 ; | |
20551 | char *kwnames[] = { | |
20552 | (char *) "self",(char *) "flag", NULL | |
20553 | }; | |
20554 | ||
20555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20556 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20557 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20558 | arg2 = (bool) SWIG_AsBool(obj1); | |
20559 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20560 | { |
20561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20562 | (arg1)->EnableHelp(arg2); | |
20563 | ||
20564 | wxPyEndAllowThreads(__tstate); | |
20565 | if (PyErr_Occurred()) SWIG_fail; | |
20566 | } | |
20567 | Py_INCREF(Py_None); resultobj = Py_None; | |
20568 | return resultobj; | |
20569 | fail: | |
20570 | return NULL; | |
20571 | } | |
20572 | ||
20573 | ||
20574 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20575 | PyObject *resultobj; | |
20576 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20577 | bool result; | |
20578 | PyObject * obj0 = 0 ; | |
20579 | char *kwnames[] = { | |
20580 | (char *) "self", NULL | |
20581 | }; | |
20582 | ||
20583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20584 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20586 | { |
20587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20588 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
20589 | ||
20590 | wxPyEndAllowThreads(__tstate); | |
20591 | if (PyErr_Occurred()) SWIG_fail; | |
20592 | } | |
4f89f6a3 RD |
20593 | { |
20594 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20595 | } | |
d14a1e28 RD |
20596 | return resultobj; |
20597 | fail: | |
20598 | return NULL; | |
20599 | } | |
20600 | ||
20601 | ||
20602 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20603 | PyObject *resultobj; | |
20604 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20605 | bool result; | |
20606 | PyObject * obj0 = 0 ; | |
20607 | char *kwnames[] = { | |
20608 | (char *) "self", NULL | |
20609 | }; | |
20610 | ||
20611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20612 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20613 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20614 | { |
20615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20616 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
20617 | ||
20618 | wxPyEndAllowThreads(__tstate); | |
20619 | if (PyErr_Occurred()) SWIG_fail; | |
20620 | } | |
4f89f6a3 RD |
20621 | { |
20622 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20623 | } | |
d14a1e28 RD |
20624 | return resultobj; |
20625 | fail: | |
20626 | return NULL; | |
20627 | } | |
20628 | ||
20629 | ||
20630 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20631 | PyObject *resultobj; | |
20632 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20633 | bool result; | |
20634 | PyObject * obj0 = 0 ; | |
20635 | char *kwnames[] = { | |
20636 | (char *) "self", NULL | |
20637 | }; | |
20638 | ||
20639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20642 | { |
20643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20644 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
20645 | ||
20646 | wxPyEndAllowThreads(__tstate); | |
20647 | if (PyErr_Occurred()) SWIG_fail; | |
20648 | } | |
4f89f6a3 RD |
20649 | { |
20650 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20651 | } | |
d14a1e28 RD |
20652 | return resultobj; |
20653 | fail: | |
20654 | return NULL; | |
20655 | } | |
20656 | ||
20657 | ||
20658 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20659 | PyObject *resultobj; | |
20660 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20661 | bool result; | |
20662 | PyObject * obj0 = 0 ; | |
20663 | char *kwnames[] = { | |
20664 | (char *) "self", NULL | |
20665 | }; | |
20666 | ||
20667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20668 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20669 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20670 | { |
20671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20672 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
20673 | ||
20674 | wxPyEndAllowThreads(__tstate); | |
20675 | if (PyErr_Occurred()) SWIG_fail; | |
20676 | } | |
4f89f6a3 RD |
20677 | { |
20678 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20679 | } | |
d14a1e28 RD |
20680 | return resultobj; |
20681 | fail: | |
20682 | return NULL; | |
20683 | } | |
20684 | ||
20685 | ||
20686 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20687 | PyObject *resultobj; | |
20688 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20689 | bool result; | |
20690 | PyObject * obj0 = 0 ; | |
20691 | char *kwnames[] = { | |
20692 | (char *) "self", NULL | |
20693 | }; | |
20694 | ||
20695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20696 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20697 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20698 | { |
20699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20700 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
20701 | ||
20702 | wxPyEndAllowThreads(__tstate); | |
20703 | if (PyErr_Occurred()) SWIG_fail; | |
20704 | } | |
4f89f6a3 RD |
20705 | { |
20706 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20707 | } | |
d14a1e28 RD |
20708 | return resultobj; |
20709 | fail: | |
20710 | return NULL; | |
20711 | } | |
20712 | ||
20713 | ||
20714 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20715 | PyObject *resultobj; | |
20716 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20717 | wxPrintData *result; | |
20718 | PyObject * obj0 = 0 ; | |
20719 | char *kwnames[] = { | |
20720 | (char *) "self", NULL | |
20721 | }; | |
20722 | ||
20723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20724 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20725 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20726 | { |
20727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20728 | { | |
20729 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
20730 | result = (wxPrintData *) &_result_ref; | |
20731 | } | |
20732 | ||
20733 | wxPyEndAllowThreads(__tstate); | |
20734 | if (PyErr_Occurred()) SWIG_fail; | |
20735 | } | |
15afbcd0 | 20736 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
20737 | return resultobj; |
20738 | fail: | |
20739 | return NULL; | |
20740 | } | |
20741 | ||
20742 | ||
20743 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20744 | PyObject *resultobj; | |
20745 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20746 | wxPrintData *arg2 = 0 ; | |
20747 | PyObject * obj0 = 0 ; | |
20748 | PyObject * obj1 = 0 ; | |
20749 | char *kwnames[] = { | |
20750 | (char *) "self",(char *) "printData", NULL | |
20751 | }; | |
20752 | ||
20753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20754 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20755 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20756 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
20757 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
20758 | SWIG_fail; | |
d14a1e28 | 20759 | if (arg2 == NULL) { |
15afbcd0 RD |
20760 | PyErr_SetString(PyExc_TypeError,"null reference"); |
20761 | SWIG_fail; | |
d14a1e28 RD |
20762 | } |
20763 | { | |
20764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20765 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
20766 | ||
20767 | wxPyEndAllowThreads(__tstate); | |
20768 | if (PyErr_Occurred()) SWIG_fail; | |
20769 | } | |
20770 | Py_INCREF(Py_None); resultobj = Py_None; | |
20771 | return resultobj; | |
20772 | fail: | |
20773 | return NULL; | |
20774 | } | |
20775 | ||
20776 | ||
20777 | static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) { | |
20778 | PyObject *obj; | |
20779 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20780 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
20781 | Py_INCREF(obj); | |
20782 | return Py_BuildValue((char *)""); | |
20783 | } | |
20784 | static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20785 | PyObject *resultobj; | |
20786 | wxWindow *arg1 = (wxWindow *) 0 ; | |
20787 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
20788 | wxPrintDialog *result; | |
20789 | PyObject * obj0 = 0 ; | |
20790 | PyObject * obj1 = 0 ; | |
20791 | char *kwnames[] = { | |
20792 | (char *) "parent",(char *) "data", NULL | |
20793 | }; | |
20794 | ||
20795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20796 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
20797 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 20798 | if (obj1) { |
15afbcd0 RD |
20799 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData, |
20800 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20801 | } |
20802 | { | |
20803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20804 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
20805 | ||
20806 | wxPyEndAllowThreads(__tstate); | |
20807 | if (PyErr_Occurred()) SWIG_fail; | |
20808 | } | |
15afbcd0 | 20809 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); |
d14a1e28 RD |
20810 | return resultobj; |
20811 | fail: | |
20812 | return NULL; | |
20813 | } | |
20814 | ||
20815 | ||
20816 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20817 | PyObject *resultobj; | |
20818 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
20819 | wxPrintDialogData *result; | |
20820 | PyObject * obj0 = 0 ; | |
20821 | char *kwnames[] = { | |
20822 | (char *) "self", NULL | |
20823 | }; | |
20824 | ||
20825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20826 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
20827 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20828 | { |
20829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20830 | { | |
20831 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
20832 | result = (wxPrintDialogData *) &_result_ref; | |
20833 | } | |
20834 | ||
20835 | wxPyEndAllowThreads(__tstate); | |
20836 | if (PyErr_Occurred()) SWIG_fail; | |
20837 | } | |
15afbcd0 | 20838 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
20839 | return resultobj; |
20840 | fail: | |
20841 | return NULL; | |
20842 | } | |
20843 | ||
20844 | ||
20845 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20846 | PyObject *resultobj; | |
20847 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
20848 | wxDC *result; | |
20849 | PyObject * obj0 = 0 ; | |
20850 | char *kwnames[] = { | |
20851 | (char *) "self", NULL | |
20852 | }; | |
20853 | ||
20854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20855 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
20856 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20857 | { |
20858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20859 | result = (wxDC *)(arg1)->GetPrintDC(); | |
20860 | ||
20861 | wxPyEndAllowThreads(__tstate); | |
20862 | if (PyErr_Occurred()) SWIG_fail; | |
20863 | } | |
20864 | { | |
20865 | resultobj = wxPyMake_wxObject(result); | |
20866 | } | |
20867 | return resultobj; | |
20868 | fail: | |
20869 | return NULL; | |
20870 | } | |
20871 | ||
20872 | ||
20873 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20874 | PyObject *resultobj; | |
20875 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
20876 | int result; | |
20877 | PyObject * obj0 = 0 ; | |
20878 | char *kwnames[] = { | |
20879 | (char *) "self", NULL | |
20880 | }; | |
20881 | ||
20882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20883 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
20884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20885 | { |
20886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20887 | result = (int)(arg1)->ShowModal(); | |
20888 | ||
20889 | wxPyEndAllowThreads(__tstate); | |
20890 | if (PyErr_Occurred()) SWIG_fail; | |
20891 | } | |
15afbcd0 | 20892 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
20893 | return resultobj; |
20894 | fail: | |
20895 | return NULL; | |
20896 | } | |
20897 | ||
20898 | ||
20899 | static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) { | |
20900 | PyObject *obj; | |
20901 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20902 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
20903 | Py_INCREF(obj); | |
20904 | return Py_BuildValue((char *)""); | |
20905 | } | |
20906 | static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20907 | PyObject *resultobj; | |
20908 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
20909 | wxPrinter *result; | |
20910 | PyObject * obj0 = 0 ; | |
20911 | char *kwnames[] = { | |
20912 | (char *) "data", NULL | |
20913 | }; | |
20914 | ||
20915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
20916 | if (obj0) { | |
15afbcd0 RD |
20917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20919 | } |
20920 | { | |
20921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20922 | result = (wxPrinter *)new wxPrinter(arg1); | |
20923 | ||
20924 | wxPyEndAllowThreads(__tstate); | |
20925 | if (PyErr_Occurred()) SWIG_fail; | |
20926 | } | |
15afbcd0 | 20927 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); |
d14a1e28 RD |
20928 | return resultobj; |
20929 | fail: | |
20930 | return NULL; | |
20931 | } | |
20932 | ||
20933 | ||
20934 | static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20935 | PyObject *resultobj; | |
20936 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20937 | PyObject * obj0 = 0 ; | |
20938 | char *kwnames[] = { | |
20939 | (char *) "self", NULL | |
20940 | }; | |
20941 | ||
20942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
20944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20945 | { |
20946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20947 | delete arg1; | |
20948 | ||
20949 | wxPyEndAllowThreads(__tstate); | |
20950 | if (PyErr_Occurred()) SWIG_fail; | |
20951 | } | |
20952 | Py_INCREF(Py_None); resultobj = Py_None; | |
20953 | return resultobj; | |
20954 | fail: | |
20955 | return NULL; | |
20956 | } | |
20957 | ||
20958 | ||
20959 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20960 | PyObject *resultobj; | |
20961 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20962 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20963 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
20964 | PyObject * obj0 = 0 ; | |
20965 | PyObject * obj1 = 0 ; | |
20966 | PyObject * obj2 = 0 ; | |
20967 | char *kwnames[] = { | |
20968 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
20969 | }; | |
20970 | ||
20971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
20972 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
20973 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20974 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
20975 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20976 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
20977 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20978 | { |
20979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20980 | (arg1)->CreateAbortWindow(arg2,arg3); | |
20981 | ||
20982 | wxPyEndAllowThreads(__tstate); | |
20983 | if (PyErr_Occurred()) SWIG_fail; | |
20984 | } | |
20985 | Py_INCREF(Py_None); resultobj = Py_None; | |
20986 | return resultobj; | |
20987 | fail: | |
20988 | return NULL; | |
20989 | } | |
20990 | ||
20991 | ||
20992 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20993 | PyObject *resultobj; | |
20994 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20995 | wxPrintDialogData *result; | |
20996 | PyObject * obj0 = 0 ; | |
20997 | char *kwnames[] = { | |
20998 | (char *) "self", NULL | |
20999 | }; | |
21000 | ||
21001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21002 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21003 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21004 | { |
21005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21006 | { | |
21007 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
21008 | result = (wxPrintDialogData *) &_result_ref; | |
21009 | } | |
21010 | ||
21011 | wxPyEndAllowThreads(__tstate); | |
21012 | if (PyErr_Occurred()) SWIG_fail; | |
21013 | } | |
15afbcd0 | 21014 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
21015 | return resultobj; |
21016 | fail: | |
21017 | return NULL; | |
21018 | } | |
21019 | ||
21020 | ||
21021 | static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21022 | PyObject *resultobj; | |
21023 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21024 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21025 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
e811c8ce | 21026 | int arg4 = (int) True ; |
d14a1e28 RD |
21027 | bool result; |
21028 | PyObject * obj0 = 0 ; | |
21029 | PyObject * obj1 = 0 ; | |
21030 | PyObject * obj2 = 0 ; | |
994141e6 | 21031 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
21032 | char *kwnames[] = { |
21033 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL | |
21034 | }; | |
21035 | ||
994141e6 | 21036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
21037 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21038 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21039 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21040 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21041 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
21042 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 21043 | if (obj3) { |
15afbcd0 RD |
21044 | arg4 = (int) SWIG_AsInt(obj3); |
21045 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 21046 | } |
d14a1e28 RD |
21047 | { |
21048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21049 | result = (bool)(arg1)->Print(arg2,arg3,arg4); | |
21050 | ||
21051 | wxPyEndAllowThreads(__tstate); | |
21052 | if (PyErr_Occurred()) SWIG_fail; | |
21053 | } | |
4f89f6a3 RD |
21054 | { |
21055 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21056 | } | |
d14a1e28 RD |
21057 | return resultobj; |
21058 | fail: | |
21059 | return NULL; | |
21060 | } | |
21061 | ||
21062 | ||
21063 | static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21064 | PyObject *resultobj; | |
21065 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21066 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21067 | wxDC *result; | |
21068 | PyObject * obj0 = 0 ; | |
21069 | PyObject * obj1 = 0 ; | |
21070 | char *kwnames[] = { | |
21071 | (char *) "self",(char *) "parent", NULL | |
21072 | }; | |
21073 | ||
21074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21077 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21078 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21079 | { |
21080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21081 | result = (wxDC *)(arg1)->PrintDialog(arg2); | |
21082 | ||
21083 | wxPyEndAllowThreads(__tstate); | |
21084 | if (PyErr_Occurred()) SWIG_fail; | |
21085 | } | |
21086 | { | |
21087 | resultobj = wxPyMake_wxObject(result); | |
21088 | } | |
21089 | return resultobj; | |
21090 | fail: | |
21091 | return NULL; | |
21092 | } | |
21093 | ||
21094 | ||
21095 | static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21096 | PyObject *resultobj; | |
21097 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21098 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21099 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
21100 | wxString *arg4 = 0 ; | |
e811c8ce | 21101 | bool temp4 = False ; |
d14a1e28 RD |
21102 | PyObject * obj0 = 0 ; |
21103 | PyObject * obj1 = 0 ; | |
21104 | PyObject * obj2 = 0 ; | |
21105 | PyObject * obj3 = 0 ; | |
21106 | char *kwnames[] = { | |
21107 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL | |
21108 | }; | |
21109 | ||
21110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
15afbcd0 RD |
21111 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21112 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21113 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21114 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21115 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
21116 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21117 | { |
21118 | arg4 = wxString_in_helper(obj3); | |
21119 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 21120 | temp4 = True; |
d14a1e28 RD |
21121 | } |
21122 | { | |
21123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21124 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); | |
21125 | ||
21126 | wxPyEndAllowThreads(__tstate); | |
21127 | if (PyErr_Occurred()) SWIG_fail; | |
21128 | } | |
21129 | Py_INCREF(Py_None); resultobj = Py_None; | |
21130 | { | |
21131 | if (temp4) | |
21132 | delete arg4; | |
21133 | } | |
21134 | return resultobj; | |
21135 | fail: | |
21136 | { | |
21137 | if (temp4) | |
21138 | delete arg4; | |
21139 | } | |
21140 | return NULL; | |
21141 | } | |
21142 | ||
21143 | ||
21144 | static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21145 | PyObject *resultobj; | |
21146 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21147 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21148 | bool result; | |
21149 | PyObject * obj0 = 0 ; | |
21150 | PyObject * obj1 = 0 ; | |
21151 | char *kwnames[] = { | |
21152 | (char *) "self",(char *) "parent", NULL | |
21153 | }; | |
21154 | ||
21155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21156 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21157 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21158 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21159 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21160 | { |
21161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21162 | result = (bool)(arg1)->Setup(arg2); | |
21163 | ||
21164 | wxPyEndAllowThreads(__tstate); | |
21165 | if (PyErr_Occurred()) SWIG_fail; | |
21166 | } | |
4f89f6a3 RD |
21167 | { |
21168 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21169 | } | |
d14a1e28 RD |
21170 | return resultobj; |
21171 | fail: | |
21172 | return NULL; | |
21173 | } | |
21174 | ||
21175 | ||
21176 | static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21177 | PyObject *resultobj; | |
21178 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21179 | bool result; | |
21180 | PyObject * obj0 = 0 ; | |
21181 | char *kwnames[] = { | |
21182 | (char *) "self", NULL | |
21183 | }; | |
21184 | ||
21185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21186 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21187 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21188 | { |
21189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21190 | result = (bool)(arg1)->GetAbort(); | |
21191 | ||
21192 | wxPyEndAllowThreads(__tstate); | |
21193 | if (PyErr_Occurred()) SWIG_fail; | |
21194 | } | |
4f89f6a3 RD |
21195 | { |
21196 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21197 | } | |
d14a1e28 RD |
21198 | return resultobj; |
21199 | fail: | |
21200 | return NULL; | |
21201 | } | |
21202 | ||
21203 | ||
21204 | static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21205 | PyObject *resultobj; | |
21206 | int result; | |
21207 | char *kwnames[] = { | |
21208 | NULL | |
21209 | }; | |
21210 | ||
21211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
21212 | { | |
21213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21214 | result = (int)wxPrinter::GetLastError(); | |
21215 | ||
21216 | wxPyEndAllowThreads(__tstate); | |
21217 | if (PyErr_Occurred()) SWIG_fail; | |
21218 | } | |
15afbcd0 | 21219 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21220 | return resultobj; |
21221 | fail: | |
21222 | return NULL; | |
21223 | } | |
21224 | ||
21225 | ||
21226 | static PyObject * Printer_swigregister(PyObject *self, PyObject *args) { | |
21227 | PyObject *obj; | |
21228 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21229 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
21230 | Py_INCREF(obj); | |
21231 | return Py_BuildValue((char *)""); | |
21232 | } | |
21233 | static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21234 | PyObject *resultobj; | |
21235 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
21236 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
21237 | wxPyPrintout *result; | |
e811c8ce | 21238 | bool temp1 = False ; |
d14a1e28 RD |
21239 | PyObject * obj0 = 0 ; |
21240 | char *kwnames[] = { | |
21241 | (char *) "title", NULL | |
21242 | }; | |
21243 | ||
21244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
21245 | if (obj0) { | |
21246 | { | |
21247 | arg1 = wxString_in_helper(obj0); | |
21248 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 21249 | temp1 = True; |
d14a1e28 RD |
21250 | } |
21251 | } | |
21252 | { | |
21253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21254 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
21255 | ||
21256 | wxPyEndAllowThreads(__tstate); | |
21257 | if (PyErr_Occurred()) SWIG_fail; | |
21258 | } | |
21259 | { | |
21260 | resultobj = wxPyMake_wxObject(result); | |
21261 | } | |
21262 | { | |
21263 | if (temp1) | |
21264 | delete arg1; | |
21265 | } | |
21266 | return resultobj; | |
21267 | fail: | |
21268 | { | |
21269 | if (temp1) | |
21270 | delete arg1; | |
21271 | } | |
21272 | return NULL; | |
21273 | } | |
21274 | ||
21275 | ||
21276 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21277 | PyObject *resultobj; | |
21278 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21279 | PyObject *arg2 = (PyObject *) 0 ; | |
21280 | PyObject *arg3 = (PyObject *) 0 ; | |
21281 | PyObject * obj0 = 0 ; | |
21282 | PyObject * obj1 = 0 ; | |
21283 | PyObject * obj2 = 0 ; | |
21284 | char *kwnames[] = { | |
21285 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
21286 | }; | |
21287 | ||
21288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
21289 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21290 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21291 | arg2 = obj1; |
21292 | arg3 = obj2; | |
21293 | { | |
21294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21295 | (arg1)->_setCallbackInfo(arg2,arg3); | |
21296 | ||
21297 | wxPyEndAllowThreads(__tstate); | |
21298 | if (PyErr_Occurred()) SWIG_fail; | |
21299 | } | |
21300 | Py_INCREF(Py_None); resultobj = Py_None; | |
21301 | return resultobj; | |
21302 | fail: | |
21303 | return NULL; | |
21304 | } | |
21305 | ||
21306 | ||
21307 | static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21308 | PyObject *resultobj; | |
21309 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21310 | wxString result; | |
21311 | PyObject * obj0 = 0 ; | |
21312 | char *kwnames[] = { | |
21313 | (char *) "self", NULL | |
21314 | }; | |
21315 | ||
21316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21317 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21318 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21319 | { |
21320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21321 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
21322 | ||
21323 | wxPyEndAllowThreads(__tstate); | |
21324 | if (PyErr_Occurred()) SWIG_fail; | |
21325 | } | |
21326 | { | |
21327 | #if wxUSE_UNICODE | |
21328 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
21329 | #else | |
21330 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
21331 | #endif | |
21332 | } | |
21333 | return resultobj; | |
21334 | fail: | |
21335 | return NULL; | |
21336 | } | |
21337 | ||
21338 | ||
21339 | static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21340 | PyObject *resultobj; | |
21341 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21342 | wxDC *result; | |
21343 | PyObject * obj0 = 0 ; | |
21344 | char *kwnames[] = { | |
21345 | (char *) "self", NULL | |
21346 | }; | |
21347 | ||
21348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21349 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21350 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21351 | { |
21352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21353 | result = (wxDC *)(arg1)->GetDC(); | |
21354 | ||
21355 | wxPyEndAllowThreads(__tstate); | |
21356 | if (PyErr_Occurred()) SWIG_fail; | |
21357 | } | |
21358 | { | |
21359 | resultobj = wxPyMake_wxObject(result); | |
21360 | } | |
21361 | return resultobj; | |
21362 | fail: | |
21363 | return NULL; | |
21364 | } | |
21365 | ||
21366 | ||
21367 | static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21368 | PyObject *resultobj; | |
21369 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21370 | wxDC *arg2 = (wxDC *) 0 ; | |
21371 | PyObject * obj0 = 0 ; | |
21372 | PyObject * obj1 = 0 ; | |
21373 | char *kwnames[] = { | |
21374 | (char *) "self",(char *) "dc", NULL | |
21375 | }; | |
21376 | ||
21377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21378 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21379 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21380 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
21381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21382 | { |
21383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21384 | (arg1)->SetDC(arg2); | |
21385 | ||
21386 | wxPyEndAllowThreads(__tstate); | |
21387 | if (PyErr_Occurred()) SWIG_fail; | |
21388 | } | |
21389 | Py_INCREF(Py_None); resultobj = Py_None; | |
21390 | return resultobj; | |
21391 | fail: | |
21392 | return NULL; | |
21393 | } | |
21394 | ||
21395 | ||
322913ce | 21396 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21397 | PyObject *resultobj; |
21398 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
21399 | int arg2 ; |
21400 | int arg3 ; | |
d14a1e28 | 21401 | PyObject * obj0 = 0 ; |
994141e6 RD |
21402 | PyObject * obj1 = 0 ; |
21403 | PyObject * obj2 = 0 ; | |
d14a1e28 | 21404 | char *kwnames[] = { |
322913ce | 21405 | (char *) "self",(char *) "w",(char *) "h", NULL |
d14a1e28 RD |
21406 | }; |
21407 | ||
994141e6 | 21408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
21409 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21410 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21411 | arg2 = (int) SWIG_AsInt(obj1); | |
21412 | if (PyErr_Occurred()) SWIG_fail; | |
21413 | arg3 = (int) SWIG_AsInt(obj2); | |
21414 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21415 | { |
21416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 21417 | (arg1)->SetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
21418 | |
21419 | wxPyEndAllowThreads(__tstate); | |
21420 | if (PyErr_Occurred()) SWIG_fail; | |
21421 | } | |
21422 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
21423 | return resultobj; |
21424 | fail: | |
21425 | return NULL; | |
21426 | } | |
21427 | ||
21428 | ||
322913ce | 21429 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21430 | PyObject *resultobj; |
21431 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
21432 | int *arg2 = (int *) 0 ; |
21433 | int *arg3 = (int *) 0 ; | |
21434 | int temp2 ; | |
21435 | int temp3 ; | |
d14a1e28 RD |
21436 | PyObject * obj0 = 0 ; |
21437 | char *kwnames[] = { | |
322913ce | 21438 | (char *) "self", NULL |
d14a1e28 RD |
21439 | }; |
21440 | ||
322913ce RD |
21441 | arg2 = &temp2; |
21442 | arg3 = &temp3; | |
21443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21444 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21445 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21446 | { |
21447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 21448 | (arg1)->GetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
21449 | |
21450 | wxPyEndAllowThreads(__tstate); | |
21451 | if (PyErr_Occurred()) SWIG_fail; | |
21452 | } | |
21453 | Py_INCREF(Py_None); resultobj = Py_None; | |
322913ce RD |
21454 | { |
21455 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
21456 | resultobj = t_output_helper(resultobj,o); | |
21457 | } | |
21458 | { | |
21459 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
21460 | resultobj = t_output_helper(resultobj,o); | |
21461 | } | |
d14a1e28 RD |
21462 | return resultobj; |
21463 | fail: | |
21464 | return NULL; | |
21465 | } | |
21466 | ||
21467 | ||
21468 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21469 | PyObject *resultobj; | |
21470 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21471 | int arg2 ; | |
21472 | int arg3 ; | |
21473 | PyObject * obj0 = 0 ; | |
994141e6 RD |
21474 | PyObject * obj1 = 0 ; |
21475 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
21476 | char *kwnames[] = { |
21477 | (char *) "self",(char *) "w",(char *) "h", NULL | |
21478 | }; | |
21479 | ||
994141e6 | 21480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
21481 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21482 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21483 | arg2 = (int) SWIG_AsInt(obj1); | |
21484 | if (PyErr_Occurred()) SWIG_fail; | |
21485 | arg3 = (int) SWIG_AsInt(obj2); | |
21486 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21487 | { |
21488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21489 | (arg1)->SetPageSizeMM(arg2,arg3); | |
21490 | ||
21491 | wxPyEndAllowThreads(__tstate); | |
21492 | if (PyErr_Occurred()) SWIG_fail; | |
21493 | } | |
21494 | Py_INCREF(Py_None); resultobj = Py_None; | |
21495 | return resultobj; | |
21496 | fail: | |
21497 | return NULL; | |
21498 | } | |
21499 | ||
21500 | ||
21501 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21502 | PyObject *resultobj; | |
21503 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21504 | int *arg2 = (int *) 0 ; | |
21505 | int *arg3 = (int *) 0 ; | |
21506 | int temp2 ; | |
21507 | int temp3 ; | |
21508 | PyObject * obj0 = 0 ; | |
21509 | char *kwnames[] = { | |
21510 | (char *) "self", NULL | |
21511 | }; | |
21512 | ||
21513 | arg2 = &temp2; | |
21514 | arg3 = &temp3; | |
21515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21516 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21517 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21518 | { |
21519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21520 | (arg1)->GetPageSizeMM(arg2,arg3); | |
21521 | ||
21522 | wxPyEndAllowThreads(__tstate); | |
21523 | if (PyErr_Occurred()) SWIG_fail; | |
21524 | } | |
21525 | Py_INCREF(Py_None); resultobj = Py_None; | |
21526 | { | |
21527 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
21528 | resultobj = t_output_helper(resultobj,o); | |
21529 | } | |
21530 | { | |
21531 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
21532 | resultobj = t_output_helper(resultobj,o); | |
21533 | } | |
21534 | return resultobj; | |
21535 | fail: | |
21536 | return NULL; | |
21537 | } | |
21538 | ||
21539 | ||
21540 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21541 | PyObject *resultobj; | |
21542 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21543 | int arg2 ; | |
21544 | int arg3 ; | |
21545 | PyObject * obj0 = 0 ; | |
994141e6 RD |
21546 | PyObject * obj1 = 0 ; |
21547 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
21548 | char *kwnames[] = { |
21549 | (char *) "self",(char *) "x",(char *) "y", NULL | |
21550 | }; | |
21551 | ||
994141e6 | 21552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
21553 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21554 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21555 | arg2 = (int) SWIG_AsInt(obj1); | |
21556 | if (PyErr_Occurred()) SWIG_fail; | |
21557 | arg3 = (int) SWIG_AsInt(obj2); | |
21558 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21559 | { |
21560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21561 | (arg1)->SetPPIScreen(arg2,arg3); | |
21562 | ||
21563 | wxPyEndAllowThreads(__tstate); | |
21564 | if (PyErr_Occurred()) SWIG_fail; | |
21565 | } | |
21566 | Py_INCREF(Py_None); resultobj = Py_None; | |
21567 | return resultobj; | |
21568 | fail: | |
21569 | return NULL; | |
21570 | } | |
21571 | ||
21572 | ||
21573 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21574 | PyObject *resultobj; | |
21575 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21576 | int *arg2 = (int *) 0 ; | |
21577 | int *arg3 = (int *) 0 ; | |
21578 | int temp2 ; | |
21579 | int temp3 ; | |
21580 | PyObject * obj0 = 0 ; | |
21581 | char *kwnames[] = { | |
21582 | (char *) "self", NULL | |
21583 | }; | |
21584 | ||
21585 | arg2 = &temp2; | |
21586 | arg3 = &temp3; | |
21587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21588 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21589 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21590 | { |
21591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21592 | (arg1)->GetPPIScreen(arg2,arg3); | |
21593 | ||
21594 | wxPyEndAllowThreads(__tstate); | |
21595 | if (PyErr_Occurred()) SWIG_fail; | |
21596 | } | |
21597 | Py_INCREF(Py_None); resultobj = Py_None; | |
21598 | { | |
21599 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
21600 | resultobj = t_output_helper(resultobj,o); | |
21601 | } | |
21602 | { | |
21603 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
21604 | resultobj = t_output_helper(resultobj,o); | |
21605 | } | |
21606 | return resultobj; | |
21607 | fail: | |
21608 | return NULL; | |
21609 | } | |
21610 | ||
21611 | ||
21612 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21613 | PyObject *resultobj; | |
21614 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21615 | int arg2 ; | |
21616 | int arg3 ; | |
21617 | PyObject * obj0 = 0 ; | |
994141e6 RD |
21618 | PyObject * obj1 = 0 ; |
21619 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
21620 | char *kwnames[] = { |
21621 | (char *) "self",(char *) "x",(char *) "y", NULL | |
21622 | }; | |
21623 | ||
994141e6 | 21624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
21625 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21626 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21627 | arg2 = (int) SWIG_AsInt(obj1); | |
21628 | if (PyErr_Occurred()) SWIG_fail; | |
21629 | arg3 = (int) SWIG_AsInt(obj2); | |
21630 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21631 | { |
21632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21633 | (arg1)->SetPPIPrinter(arg2,arg3); | |
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 *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21646 | PyObject *resultobj; | |
21647 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21648 | int *arg2 = (int *) 0 ; | |
21649 | int *arg3 = (int *) 0 ; | |
21650 | int temp2 ; | |
21651 | int temp3 ; | |
21652 | PyObject * obj0 = 0 ; | |
21653 | char *kwnames[] = { | |
21654 | (char *) "self", NULL | |
21655 | }; | |
21656 | ||
21657 | arg2 = &temp2; | |
21658 | arg3 = &temp3; | |
21659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21660 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21661 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21662 | { |
21663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21664 | (arg1)->GetPPIPrinter(arg2,arg3); | |
21665 | ||
21666 | wxPyEndAllowThreads(__tstate); | |
21667 | if (PyErr_Occurred()) SWIG_fail; | |
21668 | } | |
21669 | Py_INCREF(Py_None); resultobj = Py_None; | |
21670 | { | |
21671 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
21672 | resultobj = t_output_helper(resultobj,o); | |
21673 | } | |
21674 | { | |
21675 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
21676 | resultobj = t_output_helper(resultobj,o); | |
21677 | } | |
21678 | return resultobj; | |
21679 | fail: | |
21680 | return NULL; | |
21681 | } | |
21682 | ||
21683 | ||
21684 | static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21685 | PyObject *resultobj; | |
21686 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21687 | bool result; | |
21688 | PyObject * obj0 = 0 ; | |
21689 | char *kwnames[] = { | |
21690 | (char *) "self", NULL | |
21691 | }; | |
21692 | ||
21693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21694 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21695 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21696 | { |
21697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21698 | result = (bool)(arg1)->IsPreview(); | |
21699 | ||
21700 | wxPyEndAllowThreads(__tstate); | |
21701 | if (PyErr_Occurred()) SWIG_fail; | |
21702 | } | |
4f89f6a3 RD |
21703 | { |
21704 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21705 | } | |
d14a1e28 RD |
21706 | return resultobj; |
21707 | fail: | |
21708 | return NULL; | |
21709 | } | |
21710 | ||
21711 | ||
21712 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21713 | PyObject *resultobj; | |
21714 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21715 | bool arg2 ; | |
21716 | PyObject * obj0 = 0 ; | |
21717 | PyObject * obj1 = 0 ; | |
21718 | char *kwnames[] = { | |
21719 | (char *) "self",(char *) "p", NULL | |
21720 | }; | |
21721 | ||
21722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21723 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21724 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21725 | arg2 = (bool) SWIG_AsBool(obj1); | |
21726 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21727 | { |
21728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21729 | (arg1)->SetIsPreview(arg2); | |
21730 | ||
21731 | wxPyEndAllowThreads(__tstate); | |
21732 | if (PyErr_Occurred()) SWIG_fail; | |
21733 | } | |
21734 | Py_INCREF(Py_None); resultobj = Py_None; | |
21735 | return resultobj; | |
21736 | fail: | |
21737 | return NULL; | |
21738 | } | |
21739 | ||
21740 | ||
21741 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21742 | PyObject *resultobj; | |
21743 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21744 | int arg2 ; | |
21745 | int arg3 ; | |
21746 | bool result; | |
21747 | PyObject * obj0 = 0 ; | |
994141e6 RD |
21748 | PyObject * obj1 = 0 ; |
21749 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
21750 | char *kwnames[] = { |
21751 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
21752 | }; | |
21753 | ||
994141e6 | 21754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
21755 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21756 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21757 | arg2 = (int) SWIG_AsInt(obj1); | |
21758 | if (PyErr_Occurred()) SWIG_fail; | |
21759 | arg3 = (int) SWIG_AsInt(obj2); | |
21760 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21761 | { |
21762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21763 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
21764 | ||
21765 | wxPyEndAllowThreads(__tstate); | |
21766 | if (PyErr_Occurred()) SWIG_fail; | |
21767 | } | |
4f89f6a3 RD |
21768 | { |
21769 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21770 | } | |
d14a1e28 RD |
21771 | return resultobj; |
21772 | fail: | |
21773 | return NULL; | |
21774 | } | |
21775 | ||
21776 | ||
21777 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21778 | PyObject *resultobj; | |
21779 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21780 | PyObject * obj0 = 0 ; | |
21781 | char *kwnames[] = { | |
21782 | (char *) "self", NULL | |
21783 | }; | |
21784 | ||
21785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21786 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21787 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21788 | { |
21789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21790 | (arg1)->base_OnEndDocument(); | |
21791 | ||
21792 | wxPyEndAllowThreads(__tstate); | |
21793 | if (PyErr_Occurred()) SWIG_fail; | |
21794 | } | |
21795 | Py_INCREF(Py_None); resultobj = Py_None; | |
21796 | return resultobj; | |
21797 | fail: | |
21798 | return NULL; | |
21799 | } | |
21800 | ||
21801 | ||
21802 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21803 | PyObject *resultobj; | |
21804 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21805 | PyObject * obj0 = 0 ; | |
21806 | char *kwnames[] = { | |
21807 | (char *) "self", NULL | |
21808 | }; | |
21809 | ||
21810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21811 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21812 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21813 | { |
21814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21815 | (arg1)->base_OnBeginPrinting(); | |
21816 | ||
21817 | wxPyEndAllowThreads(__tstate); | |
21818 | if (PyErr_Occurred()) SWIG_fail; | |
21819 | } | |
21820 | Py_INCREF(Py_None); resultobj = Py_None; | |
21821 | return resultobj; | |
21822 | fail: | |
21823 | return NULL; | |
21824 | } | |
21825 | ||
21826 | ||
21827 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21828 | PyObject *resultobj; | |
21829 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21830 | PyObject * obj0 = 0 ; | |
21831 | char *kwnames[] = { | |
21832 | (char *) "self", NULL | |
21833 | }; | |
21834 | ||
21835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21836 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21837 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21838 | { |
21839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21840 | (arg1)->base_OnEndPrinting(); | |
21841 | ||
21842 | wxPyEndAllowThreads(__tstate); | |
21843 | if (PyErr_Occurred()) SWIG_fail; | |
21844 | } | |
21845 | Py_INCREF(Py_None); resultobj = Py_None; | |
21846 | return resultobj; | |
21847 | fail: | |
21848 | return NULL; | |
21849 | } | |
21850 | ||
21851 | ||
21852 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21853 | PyObject *resultobj; | |
21854 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21855 | PyObject * obj0 = 0 ; | |
21856 | char *kwnames[] = { | |
21857 | (char *) "self", NULL | |
21858 | }; | |
21859 | ||
21860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21861 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21862 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21863 | { |
21864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21865 | (arg1)->base_OnPreparePrinting(); | |
21866 | ||
21867 | wxPyEndAllowThreads(__tstate); | |
21868 | if (PyErr_Occurred()) SWIG_fail; | |
21869 | } | |
21870 | Py_INCREF(Py_None); resultobj = Py_None; | |
21871 | return resultobj; | |
21872 | fail: | |
21873 | return NULL; | |
21874 | } | |
21875 | ||
21876 | ||
322913ce RD |
21877 | static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
21878 | PyObject *resultobj; | |
21879 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21880 | int arg2 ; | |
21881 | bool result; | |
21882 | PyObject * obj0 = 0 ; | |
994141e6 | 21883 | PyObject * obj1 = 0 ; |
322913ce RD |
21884 | char *kwnames[] = { |
21885 | (char *) "self",(char *) "page", NULL | |
21886 | }; | |
21887 | ||
994141e6 | 21888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21889 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21890 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21891 | arg2 = (int) SWIG_AsInt(obj1); | |
21892 | if (PyErr_Occurred()) SWIG_fail; | |
322913ce RD |
21893 | { |
21894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21895 | result = (bool)(arg1)->base_HasPage(arg2); | |
21896 | ||
21897 | wxPyEndAllowThreads(__tstate); | |
21898 | if (PyErr_Occurred()) SWIG_fail; | |
21899 | } | |
4f89f6a3 RD |
21900 | { |
21901 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21902 | } | |
322913ce RD |
21903 | return resultobj; |
21904 | fail: | |
21905 | return NULL; | |
21906 | } | |
21907 | ||
21908 | ||
d14a1e28 RD |
21909 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
21910 | PyObject *resultobj; | |
21911 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21912 | int *arg2 = (int *) 0 ; | |
21913 | int *arg3 = (int *) 0 ; | |
21914 | int *arg4 = (int *) 0 ; | |
21915 | int *arg5 = (int *) 0 ; | |
21916 | int temp2 ; | |
21917 | int temp3 ; | |
21918 | int temp4 ; | |
21919 | int temp5 ; | |
21920 | PyObject * obj0 = 0 ; | |
21921 | char *kwnames[] = { | |
21922 | (char *) "self", NULL | |
21923 | }; | |
21924 | ||
21925 | arg2 = &temp2; | |
21926 | arg3 = &temp3; | |
21927 | arg4 = &temp4; | |
21928 | arg5 = &temp5; | |
21929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21930 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21931 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21932 | { |
21933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21934 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
21935 | ||
21936 | wxPyEndAllowThreads(__tstate); | |
21937 | if (PyErr_Occurred()) SWIG_fail; | |
21938 | } | |
21939 | Py_INCREF(Py_None); resultobj = Py_None; | |
21940 | { | |
21941 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
21942 | resultobj = t_output_helper(resultobj,o); | |
21943 | } | |
21944 | { | |
21945 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
21946 | resultobj = t_output_helper(resultobj,o); | |
21947 | } | |
21948 | { | |
21949 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
21950 | resultobj = t_output_helper(resultobj,o); | |
21951 | } | |
21952 | { | |
21953 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
21954 | resultobj = t_output_helper(resultobj,o); | |
21955 | } | |
21956 | return resultobj; | |
21957 | fail: | |
21958 | return NULL; | |
21959 | } | |
21960 | ||
21961 | ||
d14a1e28 RD |
21962 | static PyObject * Printout_swigregister(PyObject *self, PyObject *args) { |
21963 | PyObject *obj; | |
21964 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21965 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
21966 | Py_INCREF(obj); | |
21967 | return Py_BuildValue((char *)""); | |
21968 | } | |
21969 | static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21970 | PyObject *resultobj; | |
21971 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21972 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21973 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
21974 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
21975 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
21976 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
21977 | long arg5 = (long) 0 ; | |
21978 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
21979 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
21980 | wxPreviewCanvas *result; | |
21981 | wxPoint temp3 ; | |
21982 | wxSize temp4 ; | |
e811c8ce | 21983 | bool temp6 = False ; |
d14a1e28 RD |
21984 | PyObject * obj0 = 0 ; |
21985 | PyObject * obj1 = 0 ; | |
21986 | PyObject * obj2 = 0 ; | |
21987 | PyObject * obj3 = 0 ; | |
994141e6 | 21988 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
21989 | PyObject * obj5 = 0 ; |
21990 | char *kwnames[] = { | |
21991 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
21992 | }; | |
21993 | ||
994141e6 | 21994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
21995 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21996 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21997 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21998 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21999 | if (obj2) { |
22000 | { | |
22001 | arg3 = &temp3; | |
22002 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
22003 | } | |
22004 | } | |
22005 | if (obj3) { | |
22006 | { | |
22007 | arg4 = &temp4; | |
22008 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
22009 | } | |
22010 | } | |
994141e6 | 22011 | if (obj4) { |
15afbcd0 RD |
22012 | arg5 = (long) SWIG_AsLong(obj4); |
22013 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 22014 | } |
d14a1e28 RD |
22015 | if (obj5) { |
22016 | { | |
22017 | arg6 = wxString_in_helper(obj5); | |
22018 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 22019 | temp6 = True; |
d14a1e28 RD |
22020 | } |
22021 | } | |
22022 | { | |
22023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22024 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
22025 | ||
22026 | wxPyEndAllowThreads(__tstate); | |
22027 | if (PyErr_Occurred()) SWIG_fail; | |
22028 | } | |
15afbcd0 | 22029 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); |
d14a1e28 RD |
22030 | { |
22031 | if (temp6) | |
22032 | delete arg6; | |
22033 | } | |
22034 | return resultobj; | |
22035 | fail: | |
22036 | { | |
22037 | if (temp6) | |
22038 | delete arg6; | |
22039 | } | |
22040 | return NULL; | |
22041 | } | |
22042 | ||
22043 | ||
22044 | static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) { | |
22045 | PyObject *obj; | |
22046 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22047 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
22048 | Py_INCREF(obj); | |
22049 | return Py_BuildValue((char *)""); | |
22050 | } | |
22051 | static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22052 | PyObject *resultobj; | |
22053 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22054 | wxFrame *arg2 = (wxFrame *) 0 ; | |
22055 | wxString *arg3 = 0 ; | |
22056 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22057 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22058 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22059 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22060 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
22061 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
22062 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22063 | wxPreviewFrame *result; | |
e811c8ce | 22064 | bool temp3 = False ; |
d14a1e28 RD |
22065 | wxPoint temp4 ; |
22066 | wxSize temp5 ; | |
e811c8ce | 22067 | bool temp7 = False ; |
d14a1e28 RD |
22068 | PyObject * obj0 = 0 ; |
22069 | PyObject * obj1 = 0 ; | |
22070 | PyObject * obj2 = 0 ; | |
22071 | PyObject * obj3 = 0 ; | |
22072 | PyObject * obj4 = 0 ; | |
994141e6 | 22073 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22074 | PyObject * obj6 = 0 ; |
22075 | char *kwnames[] = { | |
22076 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22077 | }; | |
22078 | ||
994141e6 | 22079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
22080 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22081 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22082 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
22083 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22084 | { |
22085 | arg3 = wxString_in_helper(obj2); | |
22086 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 22087 | temp3 = True; |
d14a1e28 RD |
22088 | } |
22089 | if (obj3) { | |
22090 | { | |
22091 | arg4 = &temp4; | |
22092 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22093 | } | |
22094 | } | |
22095 | if (obj4) { | |
22096 | { | |
22097 | arg5 = &temp5; | |
22098 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22099 | } | |
22100 | } | |
994141e6 | 22101 | if (obj5) { |
15afbcd0 RD |
22102 | arg6 = (long) SWIG_AsLong(obj5); |
22103 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 22104 | } |
d14a1e28 RD |
22105 | if (obj6) { |
22106 | { | |
22107 | arg7 = wxString_in_helper(obj6); | |
22108 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 22109 | temp7 = True; |
d14a1e28 RD |
22110 | } |
22111 | } | |
22112 | { | |
22113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22114 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22115 | ||
22116 | wxPyEndAllowThreads(__tstate); | |
22117 | if (PyErr_Occurred()) SWIG_fail; | |
22118 | } | |
15afbcd0 | 22119 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); |
d14a1e28 RD |
22120 | { |
22121 | if (temp3) | |
22122 | delete arg3; | |
22123 | } | |
22124 | { | |
22125 | if (temp7) | |
22126 | delete arg7; | |
22127 | } | |
22128 | return resultobj; | |
22129 | fail: | |
22130 | { | |
22131 | if (temp3) | |
22132 | delete arg3; | |
22133 | } | |
22134 | { | |
22135 | if (temp7) | |
22136 | delete arg7; | |
22137 | } | |
22138 | return NULL; | |
22139 | } | |
22140 | ||
22141 | ||
22142 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22143 | PyObject *resultobj; | |
22144 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
22145 | PyObject * obj0 = 0 ; | |
22146 | char *kwnames[] = { | |
22147 | (char *) "self", NULL | |
22148 | }; | |
22149 | ||
22150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22151 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
22152 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22153 | { |
22154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22155 | (arg1)->Initialize(); | |
22156 | ||
22157 | wxPyEndAllowThreads(__tstate); | |
22158 | if (PyErr_Occurred()) SWIG_fail; | |
22159 | } | |
22160 | Py_INCREF(Py_None); resultobj = Py_None; | |
22161 | return resultobj; | |
22162 | fail: | |
22163 | return NULL; | |
22164 | } | |
22165 | ||
22166 | ||
22167 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22168 | PyObject *resultobj; | |
22169 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
22170 | PyObject * obj0 = 0 ; | |
22171 | char *kwnames[] = { | |
22172 | (char *) "self", NULL | |
22173 | }; | |
22174 | ||
22175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22176 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
22177 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22178 | { |
22179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22180 | (arg1)->CreateControlBar(); | |
22181 | ||
22182 | wxPyEndAllowThreads(__tstate); | |
22183 | if (PyErr_Occurred()) SWIG_fail; | |
22184 | } | |
22185 | Py_INCREF(Py_None); resultobj = Py_None; | |
22186 | return resultobj; | |
22187 | fail: | |
22188 | return NULL; | |
22189 | } | |
22190 | ||
22191 | ||
22192 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22193 | PyObject *resultobj; | |
22194 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
22195 | PyObject * obj0 = 0 ; | |
22196 | char *kwnames[] = { | |
22197 | (char *) "self", NULL | |
22198 | }; | |
22199 | ||
22200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
22202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22203 | { |
22204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22205 | (arg1)->CreateCanvas(); | |
22206 | ||
22207 | wxPyEndAllowThreads(__tstate); | |
22208 | if (PyErr_Occurred()) SWIG_fail; | |
22209 | } | |
22210 | Py_INCREF(Py_None); resultobj = Py_None; | |
22211 | return resultobj; | |
22212 | fail: | |
22213 | return NULL; | |
22214 | } | |
22215 | ||
22216 | ||
22217 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22218 | PyObject *resultobj; | |
22219 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
22220 | wxPreviewControlBar *result; | |
22221 | PyObject * obj0 = 0 ; | |
22222 | char *kwnames[] = { | |
22223 | (char *) "self", NULL | |
22224 | }; | |
22225 | ||
22226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22227 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
22228 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22229 | { |
22230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22231 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
22232 | ||
22233 | wxPyEndAllowThreads(__tstate); | |
22234 | if (PyErr_Occurred()) SWIG_fail; | |
22235 | } | |
15afbcd0 | 22236 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); |
d14a1e28 RD |
22237 | return resultobj; |
22238 | fail: | |
22239 | return NULL; | |
22240 | } | |
22241 | ||
22242 | ||
22243 | static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
22244 | PyObject *obj; | |
22245 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22246 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
22247 | Py_INCREF(obj); | |
22248 | return Py_BuildValue((char *)""); | |
22249 | } | |
22250 | static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22251 | PyObject *resultobj; | |
22252 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22253 | long arg2 ; | |
22254 | wxWindow *arg3 = (wxWindow *) 0 ; | |
22255 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22256 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22257 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22258 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22259 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
22260 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
22261 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22262 | wxPreviewControlBar *result; | |
22263 | wxPoint temp4 ; | |
22264 | wxSize temp5 ; | |
e811c8ce | 22265 | bool temp7 = False ; |
d14a1e28 | 22266 | PyObject * obj0 = 0 ; |
994141e6 | 22267 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22268 | PyObject * obj2 = 0 ; |
22269 | PyObject * obj3 = 0 ; | |
22270 | PyObject * obj4 = 0 ; | |
994141e6 | 22271 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22272 | PyObject * obj6 = 0 ; |
22273 | char *kwnames[] = { | |
22274 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22275 | }; | |
22276 | ||
994141e6 | 22277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
22278 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22280 | arg2 = (long) SWIG_AsLong(obj1); | |
22281 | if (PyErr_Occurred()) SWIG_fail; | |
22282 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
22283 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22284 | if (obj3) { |
22285 | { | |
22286 | arg4 = &temp4; | |
22287 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22288 | } | |
22289 | } | |
22290 | if (obj4) { | |
22291 | { | |
22292 | arg5 = &temp5; | |
22293 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22294 | } | |
22295 | } | |
994141e6 | 22296 | if (obj5) { |
15afbcd0 RD |
22297 | arg6 = (long) SWIG_AsLong(obj5); |
22298 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 22299 | } |
d14a1e28 RD |
22300 | if (obj6) { |
22301 | { | |
22302 | arg7 = wxString_in_helper(obj6); | |
22303 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 22304 | temp7 = True; |
d14a1e28 RD |
22305 | } |
22306 | } | |
22307 | { | |
22308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22309 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22310 | ||
22311 | wxPyEndAllowThreads(__tstate); | |
22312 | if (PyErr_Occurred()) SWIG_fail; | |
22313 | } | |
15afbcd0 | 22314 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); |
d14a1e28 RD |
22315 | { |
22316 | if (temp7) | |
22317 | delete arg7; | |
22318 | } | |
22319 | return resultobj; | |
22320 | fail: | |
22321 | { | |
22322 | if (temp7) | |
22323 | delete arg7; | |
22324 | } | |
22325 | return NULL; | |
22326 | } | |
22327 | ||
22328 | ||
22329 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22330 | PyObject *resultobj; | |
22331 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22332 | int result; | |
22333 | PyObject * obj0 = 0 ; | |
22334 | char *kwnames[] = { | |
22335 | (char *) "self", NULL | |
22336 | }; | |
22337 | ||
22338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22339 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22340 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22341 | { |
22342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22343 | result = (int)(arg1)->GetZoomControl(); | |
22344 | ||
22345 | wxPyEndAllowThreads(__tstate); | |
22346 | if (PyErr_Occurred()) SWIG_fail; | |
22347 | } | |
15afbcd0 | 22348 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
22349 | return resultobj; |
22350 | fail: | |
22351 | return NULL; | |
22352 | } | |
22353 | ||
22354 | ||
22355 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22356 | PyObject *resultobj; | |
22357 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22358 | int arg2 ; | |
22359 | PyObject * obj0 = 0 ; | |
994141e6 | 22360 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22361 | char *kwnames[] = { |
22362 | (char *) "self",(char *) "zoom", NULL | |
22363 | }; | |
22364 | ||
994141e6 | 22365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22366 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22367 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22368 | arg2 = (int) SWIG_AsInt(obj1); | |
22369 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22370 | { |
22371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22372 | (arg1)->SetZoomControl(arg2); | |
22373 | ||
22374 | wxPyEndAllowThreads(__tstate); | |
22375 | if (PyErr_Occurred()) SWIG_fail; | |
22376 | } | |
22377 | Py_INCREF(Py_None); resultobj = Py_None; | |
22378 | return resultobj; | |
22379 | fail: | |
22380 | return NULL; | |
22381 | } | |
22382 | ||
22383 | ||
22384 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22385 | PyObject *resultobj; | |
22386 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22387 | wxPrintPreview *result; | |
22388 | PyObject * obj0 = 0 ; | |
22389 | char *kwnames[] = { | |
22390 | (char *) "self", NULL | |
22391 | }; | |
22392 | ||
22393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22394 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22395 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22396 | { |
22397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22398 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
22399 | ||
22400 | wxPyEndAllowThreads(__tstate); | |
22401 | if (PyErr_Occurred()) SWIG_fail; | |
22402 | } | |
15afbcd0 | 22403 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); |
d14a1e28 RD |
22404 | return resultobj; |
22405 | fail: | |
22406 | return NULL; | |
22407 | } | |
22408 | ||
22409 | ||
22410 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22411 | PyObject *resultobj; | |
22412 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22413 | PyObject * obj0 = 0 ; | |
22414 | char *kwnames[] = { | |
22415 | (char *) "self", NULL | |
22416 | }; | |
22417 | ||
22418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22421 | { |
22422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22423 | (arg1)->OnNext(); | |
22424 | ||
22425 | wxPyEndAllowThreads(__tstate); | |
22426 | if (PyErr_Occurred()) SWIG_fail; | |
22427 | } | |
22428 | Py_INCREF(Py_None); resultobj = Py_None; | |
22429 | return resultobj; | |
22430 | fail: | |
22431 | return NULL; | |
22432 | } | |
22433 | ||
22434 | ||
22435 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22436 | PyObject *resultobj; | |
22437 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22438 | PyObject * obj0 = 0 ; | |
22439 | char *kwnames[] = { | |
22440 | (char *) "self", NULL | |
22441 | }; | |
22442 | ||
22443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22444 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22445 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22446 | { |
22447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22448 | (arg1)->OnPrevious(); | |
22449 | ||
22450 | wxPyEndAllowThreads(__tstate); | |
22451 | if (PyErr_Occurred()) SWIG_fail; | |
22452 | } | |
22453 | Py_INCREF(Py_None); resultobj = Py_None; | |
22454 | return resultobj; | |
22455 | fail: | |
22456 | return NULL; | |
22457 | } | |
22458 | ||
22459 | ||
22460 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22461 | PyObject *resultobj; | |
22462 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22463 | PyObject * obj0 = 0 ; | |
22464 | char *kwnames[] = { | |
22465 | (char *) "self", NULL | |
22466 | }; | |
22467 | ||
22468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22471 | { |
22472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22473 | (arg1)->OnFirst(); | |
22474 | ||
22475 | wxPyEndAllowThreads(__tstate); | |
22476 | if (PyErr_Occurred()) SWIG_fail; | |
22477 | } | |
22478 | Py_INCREF(Py_None); resultobj = Py_None; | |
22479 | return resultobj; | |
22480 | fail: | |
22481 | return NULL; | |
22482 | } | |
22483 | ||
22484 | ||
22485 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22486 | PyObject *resultobj; | |
22487 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22488 | PyObject * obj0 = 0 ; | |
22489 | char *kwnames[] = { | |
22490 | (char *) "self", NULL | |
22491 | }; | |
22492 | ||
22493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22496 | { |
22497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22498 | (arg1)->OnLast(); | |
22499 | ||
22500 | wxPyEndAllowThreads(__tstate); | |
22501 | if (PyErr_Occurred()) SWIG_fail; | |
22502 | } | |
22503 | Py_INCREF(Py_None); resultobj = Py_None; | |
22504 | return resultobj; | |
22505 | fail: | |
22506 | return NULL; | |
22507 | } | |
22508 | ||
22509 | ||
22510 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22511 | PyObject *resultobj; | |
22512 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22513 | PyObject * obj0 = 0 ; | |
22514 | char *kwnames[] = { | |
22515 | (char *) "self", NULL | |
22516 | }; | |
22517 | ||
22518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22519 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22520 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22521 | { |
22522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22523 | (arg1)->OnGoto(); | |
22524 | ||
22525 | wxPyEndAllowThreads(__tstate); | |
22526 | if (PyErr_Occurred()) SWIG_fail; | |
22527 | } | |
22528 | Py_INCREF(Py_None); resultobj = Py_None; | |
22529 | return resultobj; | |
22530 | fail: | |
22531 | return NULL; | |
22532 | } | |
22533 | ||
22534 | ||
22535 | static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
22536 | PyObject *obj; | |
22537 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22538 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
22539 | Py_INCREF(obj); | |
22540 | return Py_BuildValue((char *)""); | |
22541 | } | |
4276dc52 | 22542 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
22543 | PyObject *resultobj; |
22544 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22545 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
4276dc52 | 22546 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
22547 | wxPrintPreview *result; |
22548 | PyObject * obj0 = 0 ; | |
22549 | PyObject * obj1 = 0 ; | |
22550 | PyObject * obj2 = 0 ; | |
d14a1e28 | 22551 | |
4276dc52 | 22552 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22553 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22554 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22555 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
22556 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 22557 | if (obj2) { |
4276dc52 | 22558 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
15afbcd0 | 22559 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
22560 | } |
22561 | { | |
22562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22563 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
22564 | ||
22565 | wxPyEndAllowThreads(__tstate); | |
22566 | if (PyErr_Occurred()) SWIG_fail; | |
22567 | } | |
15afbcd0 | 22568 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); |
d14a1e28 RD |
22569 | return resultobj; |
22570 | fail: | |
22571 | return NULL; | |
22572 | } | |
22573 | ||
22574 | ||
4276dc52 RD |
22575 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) { |
22576 | PyObject *resultobj; | |
22577 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22578 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
22579 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
22580 | wxPrintPreview *result; | |
22581 | PyObject * obj0 = 0 ; | |
22582 | PyObject * obj1 = 0 ; | |
22583 | PyObject * obj2 = 0 ; | |
22584 | ||
22585 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
22586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22588 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
22589 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22590 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
22591 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22592 | { | |
22593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22594 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
22595 | ||
22596 | wxPyEndAllowThreads(__tstate); | |
22597 | if (PyErr_Occurred()) SWIG_fail; | |
22598 | } | |
22599 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
22600 | return resultobj; | |
22601 | fail: | |
22602 | return NULL; | |
22603 | } | |
22604 | ||
22605 | ||
22606 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
22607 | int argc; | |
22608 | PyObject *argv[4]; | |
22609 | int ii; | |
22610 | ||
22611 | argc = PyObject_Length(args); | |
22612 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
22613 | argv[ii] = PyTuple_GetItem(args,ii); | |
22614 | } | |
22615 | if ((argc >= 2) && (argc <= 3)) { | |
22616 | int _v; | |
22617 | { | |
22618 | void *ptr; | |
22619 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22620 | _v = 0; | |
22621 | PyErr_Clear(); | |
22622 | } else { | |
22623 | _v = 1; | |
22624 | } | |
22625 | } | |
22626 | if (_v) { | |
22627 | { | |
22628 | void *ptr; | |
22629 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22630 | _v = 0; | |
22631 | PyErr_Clear(); | |
22632 | } else { | |
22633 | _v = 1; | |
22634 | } | |
22635 | } | |
22636 | if (_v) { | |
22637 | if (argc <= 2) { | |
22638 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
22639 | } | |
22640 | { | |
22641 | void *ptr; | |
22642 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
22643 | _v = 0; | |
22644 | PyErr_Clear(); | |
22645 | } else { | |
22646 | _v = 1; | |
22647 | } | |
22648 | } | |
22649 | if (_v) { | |
22650 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
22651 | } | |
22652 | } | |
22653 | } | |
22654 | } | |
22655 | if (argc == 3) { | |
22656 | int _v; | |
22657 | { | |
22658 | void *ptr; | |
22659 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22660 | _v = 0; | |
22661 | PyErr_Clear(); | |
22662 | } else { | |
22663 | _v = 1; | |
22664 | } | |
22665 | } | |
22666 | if (_v) { | |
22667 | { | |
22668 | void *ptr; | |
22669 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22670 | _v = 0; | |
22671 | PyErr_Clear(); | |
22672 | } else { | |
22673 | _v = 1; | |
22674 | } | |
22675 | } | |
22676 | if (_v) { | |
22677 | { | |
22678 | void *ptr; | |
22679 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
22680 | _v = 0; | |
22681 | PyErr_Clear(); | |
22682 | } else { | |
22683 | _v = 1; | |
22684 | } | |
22685 | } | |
22686 | if (_v) { | |
22687 | return _wrap_new_PrintPreview__SWIG_1(self,args); | |
22688 | } | |
22689 | } | |
22690 | } | |
22691 | } | |
22692 | ||
22693 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'"); | |
22694 | return NULL; | |
22695 | } | |
22696 | ||
22697 | ||
d14a1e28 RD |
22698 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
22699 | PyObject *resultobj; | |
22700 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22701 | int arg2 ; | |
22702 | bool result; | |
22703 | PyObject * obj0 = 0 ; | |
994141e6 | 22704 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22705 | char *kwnames[] = { |
22706 | (char *) "self",(char *) "pageNum", NULL | |
22707 | }; | |
22708 | ||
994141e6 | 22709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22710 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22711 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22712 | arg2 = (int) SWIG_AsInt(obj1); | |
22713 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22714 | { |
22715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22716 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
22717 | ||
22718 | wxPyEndAllowThreads(__tstate); | |
22719 | if (PyErr_Occurred()) SWIG_fail; | |
22720 | } | |
4f89f6a3 RD |
22721 | { |
22722 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22723 | } | |
d14a1e28 RD |
22724 | return resultobj; |
22725 | fail: | |
22726 | return NULL; | |
22727 | } | |
22728 | ||
22729 | ||
22730 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22731 | PyObject *resultobj; | |
22732 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22733 | int result; | |
22734 | PyObject * obj0 = 0 ; | |
22735 | char *kwnames[] = { | |
22736 | (char *) "self", NULL | |
22737 | }; | |
22738 | ||
22739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22740 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22741 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22742 | { |
22743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22744 | result = (int)(arg1)->GetCurrentPage(); | |
22745 | ||
22746 | wxPyEndAllowThreads(__tstate); | |
22747 | if (PyErr_Occurred()) SWIG_fail; | |
22748 | } | |
15afbcd0 | 22749 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
22750 | return resultobj; |
22751 | fail: | |
22752 | return NULL; | |
22753 | } | |
22754 | ||
22755 | ||
22756 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22757 | PyObject *resultobj; | |
22758 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22759 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
22760 | PyObject * obj0 = 0 ; | |
22761 | PyObject * obj1 = 0 ; | |
22762 | char *kwnames[] = { | |
22763 | (char *) "self",(char *) "printout", NULL | |
22764 | }; | |
22765 | ||
22766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22767 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22768 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22769 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
22770 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22771 | { |
22772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22773 | (arg1)->SetPrintout(arg2); | |
22774 | ||
22775 | wxPyEndAllowThreads(__tstate); | |
22776 | if (PyErr_Occurred()) SWIG_fail; | |
22777 | } | |
22778 | Py_INCREF(Py_None); resultobj = Py_None; | |
22779 | return resultobj; | |
22780 | fail: | |
22781 | return NULL; | |
22782 | } | |
22783 | ||
22784 | ||
22785 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22786 | PyObject *resultobj; | |
22787 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22788 | wxPyPrintout *result; | |
22789 | PyObject * obj0 = 0 ; | |
22790 | char *kwnames[] = { | |
22791 | (char *) "self", NULL | |
22792 | }; | |
22793 | ||
22794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22795 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22796 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22797 | { |
22798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22799 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
22800 | ||
22801 | wxPyEndAllowThreads(__tstate); | |
22802 | if (PyErr_Occurred()) SWIG_fail; | |
22803 | } | |
22804 | { | |
22805 | resultobj = wxPyMake_wxObject(result); | |
22806 | } | |
22807 | return resultobj; | |
22808 | fail: | |
22809 | return NULL; | |
22810 | } | |
22811 | ||
22812 | ||
22813 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22814 | PyObject *resultobj; | |
22815 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22816 | wxPyPrintout *result; | |
22817 | PyObject * obj0 = 0 ; | |
22818 | char *kwnames[] = { | |
22819 | (char *) "self", NULL | |
22820 | }; | |
22821 | ||
22822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22823 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22825 | { |
22826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22827 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
22828 | ||
22829 | wxPyEndAllowThreads(__tstate); | |
22830 | if (PyErr_Occurred()) SWIG_fail; | |
22831 | } | |
22832 | { | |
22833 | resultobj = wxPyMake_wxObject(result); | |
22834 | } | |
22835 | return resultobj; | |
22836 | fail: | |
22837 | return NULL; | |
22838 | } | |
22839 | ||
22840 | ||
22841 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22842 | PyObject *resultobj; | |
22843 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22844 | wxFrame *arg2 = (wxFrame *) 0 ; | |
22845 | PyObject * obj0 = 0 ; | |
22846 | PyObject * obj1 = 0 ; | |
22847 | char *kwnames[] = { | |
22848 | (char *) "self",(char *) "frame", NULL | |
22849 | }; | |
22850 | ||
22851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22852 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22853 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22854 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
22855 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22856 | { |
22857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22858 | (arg1)->SetFrame(arg2); | |
22859 | ||
22860 | wxPyEndAllowThreads(__tstate); | |
22861 | if (PyErr_Occurred()) SWIG_fail; | |
22862 | } | |
22863 | Py_INCREF(Py_None); resultobj = Py_None; | |
22864 | return resultobj; | |
22865 | fail: | |
22866 | return NULL; | |
22867 | } | |
22868 | ||
22869 | ||
22870 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22871 | PyObject *resultobj; | |
22872 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22873 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22874 | PyObject * obj0 = 0 ; | |
22875 | PyObject * obj1 = 0 ; | |
22876 | char *kwnames[] = { | |
22877 | (char *) "self",(char *) "canvas", NULL | |
22878 | }; | |
22879 | ||
22880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22881 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22882 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22883 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22885 | { |
22886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22887 | (arg1)->SetCanvas(arg2); | |
22888 | ||
22889 | wxPyEndAllowThreads(__tstate); | |
22890 | if (PyErr_Occurred()) SWIG_fail; | |
22891 | } | |
22892 | Py_INCREF(Py_None); resultobj = Py_None; | |
22893 | return resultobj; | |
22894 | fail: | |
22895 | return NULL; | |
22896 | } | |
22897 | ||
22898 | ||
22899 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22900 | PyObject *resultobj; | |
22901 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22902 | wxFrame *result; | |
22903 | PyObject * obj0 = 0 ; | |
22904 | char *kwnames[] = { | |
22905 | (char *) "self", NULL | |
22906 | }; | |
22907 | ||
22908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22909 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22910 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22911 | { |
22912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22913 | result = (wxFrame *)(arg1)->GetFrame(); | |
22914 | ||
22915 | wxPyEndAllowThreads(__tstate); | |
22916 | if (PyErr_Occurred()) SWIG_fail; | |
22917 | } | |
22918 | { | |
22919 | resultobj = wxPyMake_wxObject(result); | |
22920 | } | |
22921 | return resultobj; | |
22922 | fail: | |
22923 | return NULL; | |
22924 | } | |
22925 | ||
22926 | ||
22927 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22928 | PyObject *resultobj; | |
22929 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22930 | wxPreviewCanvas *result; | |
22931 | PyObject * obj0 = 0 ; | |
22932 | char *kwnames[] = { | |
22933 | (char *) "self", NULL | |
22934 | }; | |
22935 | ||
22936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22937 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22938 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22939 | { |
22940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22941 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
22942 | ||
22943 | wxPyEndAllowThreads(__tstate); | |
22944 | if (PyErr_Occurred()) SWIG_fail; | |
22945 | } | |
15afbcd0 | 22946 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); |
d14a1e28 RD |
22947 | return resultobj; |
22948 | fail: | |
22949 | return NULL; | |
22950 | } | |
22951 | ||
22952 | ||
22953 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22954 | PyObject *resultobj; | |
22955 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22956 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22957 | wxDC *arg3 = 0 ; | |
22958 | bool result; | |
22959 | PyObject * obj0 = 0 ; | |
22960 | PyObject * obj1 = 0 ; | |
22961 | PyObject * obj2 = 0 ; | |
22962 | char *kwnames[] = { | |
22963 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
22964 | }; | |
22965 | ||
22966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
22967 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22968 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22969 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22970 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22971 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
22972 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
22973 | SWIG_fail; | |
d14a1e28 | 22974 | if (arg3 == NULL) { |
15afbcd0 RD |
22975 | PyErr_SetString(PyExc_TypeError,"null reference"); |
22976 | SWIG_fail; | |
d14a1e28 RD |
22977 | } |
22978 | { | |
22979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22980 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
22981 | ||
22982 | wxPyEndAllowThreads(__tstate); | |
22983 | if (PyErr_Occurred()) SWIG_fail; | |
22984 | } | |
4f89f6a3 RD |
22985 | { |
22986 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22987 | } | |
d14a1e28 RD |
22988 | return resultobj; |
22989 | fail: | |
22990 | return NULL; | |
22991 | } | |
22992 | ||
22993 | ||
22994 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22995 | PyObject *resultobj; | |
22996 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22997 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22998 | wxDC *arg3 = 0 ; | |
22999 | bool result; | |
23000 | PyObject * obj0 = 0 ; | |
23001 | PyObject * obj1 = 0 ; | |
23002 | PyObject * obj2 = 0 ; | |
23003 | char *kwnames[] = { | |
23004 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
23005 | }; | |
23006 | ||
23007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23008 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23009 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23010 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23011 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23012 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
23013 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
23014 | SWIG_fail; | |
d14a1e28 | 23015 | if (arg3 == NULL) { |
15afbcd0 RD |
23016 | PyErr_SetString(PyExc_TypeError,"null reference"); |
23017 | SWIG_fail; | |
d14a1e28 RD |
23018 | } |
23019 | { | |
23020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23021 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
23022 | ||
23023 | wxPyEndAllowThreads(__tstate); | |
23024 | if (PyErr_Occurred()) SWIG_fail; | |
23025 | } | |
4f89f6a3 RD |
23026 | { |
23027 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23028 | } | |
d14a1e28 RD |
23029 | return resultobj; |
23030 | fail: | |
23031 | return NULL; | |
23032 | } | |
23033 | ||
23034 | ||
23035 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23036 | PyObject *resultobj; | |
23037 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23038 | int arg2 ; | |
23039 | bool result; | |
23040 | PyObject * obj0 = 0 ; | |
994141e6 | 23041 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23042 | char *kwnames[] = { |
23043 | (char *) "self",(char *) "pageNum", NULL | |
23044 | }; | |
23045 | ||
994141e6 | 23046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23047 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23048 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23049 | arg2 = (int) SWIG_AsInt(obj1); | |
23050 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23051 | { |
23052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23053 | result = (bool)(arg1)->RenderPage(arg2); | |
23054 | ||
23055 | wxPyEndAllowThreads(__tstate); | |
23056 | if (PyErr_Occurred()) SWIG_fail; | |
23057 | } | |
4f89f6a3 RD |
23058 | { |
23059 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23060 | } | |
d14a1e28 RD |
23061 | return resultobj; |
23062 | fail: | |
23063 | return NULL; | |
23064 | } | |
23065 | ||
23066 | ||
23067 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23068 | PyObject *resultobj; | |
23069 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23070 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23071 | PyObject * obj0 = 0 ; | |
23072 | PyObject * obj1 = 0 ; | |
23073 | char *kwnames[] = { | |
23074 | (char *) "self",(char *) "canvas", NULL | |
23075 | }; | |
23076 | ||
23077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23078 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23079 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23080 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23081 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23082 | { |
23083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23084 | (arg1)->AdjustScrollbars(arg2); | |
23085 | ||
23086 | wxPyEndAllowThreads(__tstate); | |
23087 | if (PyErr_Occurred()) SWIG_fail; | |
23088 | } | |
23089 | Py_INCREF(Py_None); resultobj = Py_None; | |
23090 | return resultobj; | |
23091 | fail: | |
23092 | return NULL; | |
23093 | } | |
23094 | ||
23095 | ||
23096 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23097 | PyObject *resultobj; | |
23098 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23099 | wxPrintDialogData *result; | |
23100 | PyObject * obj0 = 0 ; | |
23101 | char *kwnames[] = { | |
23102 | (char *) "self", NULL | |
23103 | }; | |
23104 | ||
23105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23106 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23107 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23108 | { |
23109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23110 | { | |
23111 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
23112 | result = (wxPrintDialogData *) &_result_ref; | |
23113 | } | |
23114 | ||
23115 | wxPyEndAllowThreads(__tstate); | |
23116 | if (PyErr_Occurred()) SWIG_fail; | |
23117 | } | |
15afbcd0 | 23118 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
23119 | return resultobj; |
23120 | fail: | |
23121 | return NULL; | |
23122 | } | |
23123 | ||
23124 | ||
23125 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23126 | PyObject *resultobj; | |
23127 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23128 | int arg2 ; | |
23129 | PyObject * obj0 = 0 ; | |
994141e6 | 23130 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23131 | char *kwnames[] = { |
23132 | (char *) "self",(char *) "percent", NULL | |
23133 | }; | |
23134 | ||
994141e6 | 23135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23136 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23137 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23138 | arg2 = (int) SWIG_AsInt(obj1); | |
23139 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23140 | { |
23141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23142 | (arg1)->SetZoom(arg2); | |
23143 | ||
23144 | wxPyEndAllowThreads(__tstate); | |
23145 | if (PyErr_Occurred()) SWIG_fail; | |
23146 | } | |
23147 | Py_INCREF(Py_None); resultobj = Py_None; | |
23148 | return resultobj; | |
23149 | fail: | |
23150 | return NULL; | |
23151 | } | |
23152 | ||
23153 | ||
23154 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23155 | PyObject *resultobj; | |
23156 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23157 | int result; | |
23158 | PyObject * obj0 = 0 ; | |
23159 | char *kwnames[] = { | |
23160 | (char *) "self", NULL | |
23161 | }; | |
23162 | ||
23163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23164 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23165 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23166 | { |
23167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23168 | result = (int)(arg1)->GetZoom(); | |
23169 | ||
23170 | wxPyEndAllowThreads(__tstate); | |
23171 | if (PyErr_Occurred()) SWIG_fail; | |
23172 | } | |
15afbcd0 | 23173 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
23174 | return resultobj; |
23175 | fail: | |
23176 | return NULL; | |
23177 | } | |
23178 | ||
23179 | ||
23180 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23181 | PyObject *resultobj; | |
23182 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23183 | int result; | |
23184 | PyObject * obj0 = 0 ; | |
23185 | char *kwnames[] = { | |
23186 | (char *) "self", NULL | |
23187 | }; | |
23188 | ||
23189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23190 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23191 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23192 | { |
23193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23194 | result = (int)(arg1)->GetMaxPage(); | |
23195 | ||
23196 | wxPyEndAllowThreads(__tstate); | |
23197 | if (PyErr_Occurred()) SWIG_fail; | |
23198 | } | |
15afbcd0 | 23199 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
23200 | return resultobj; |
23201 | fail: | |
23202 | return NULL; | |
23203 | } | |
23204 | ||
23205 | ||
23206 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23207 | PyObject *resultobj; | |
23208 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23209 | int result; | |
23210 | PyObject * obj0 = 0 ; | |
23211 | char *kwnames[] = { | |
23212 | (char *) "self", NULL | |
23213 | }; | |
23214 | ||
23215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23216 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23217 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23218 | { |
23219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23220 | result = (int)(arg1)->GetMinPage(); | |
23221 | ||
23222 | wxPyEndAllowThreads(__tstate); | |
23223 | if (PyErr_Occurred()) SWIG_fail; | |
23224 | } | |
15afbcd0 | 23225 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
23226 | return resultobj; |
23227 | fail: | |
23228 | return NULL; | |
23229 | } | |
23230 | ||
23231 | ||
23232 | static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23233 | PyObject *resultobj; | |
23234 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23235 | bool result; | |
23236 | PyObject * obj0 = 0 ; | |
23237 | char *kwnames[] = { | |
23238 | (char *) "self", NULL | |
23239 | }; | |
23240 | ||
23241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23242 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23243 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23244 | { |
23245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23246 | result = (bool)(arg1)->Ok(); | |
23247 | ||
23248 | wxPyEndAllowThreads(__tstate); | |
23249 | if (PyErr_Occurred()) SWIG_fail; | |
23250 | } | |
4f89f6a3 RD |
23251 | { |
23252 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23253 | } | |
d14a1e28 RD |
23254 | return resultobj; |
23255 | fail: | |
23256 | return NULL; | |
23257 | } | |
23258 | ||
23259 | ||
23260 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23261 | PyObject *resultobj; | |
23262 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23263 | bool arg2 ; | |
23264 | PyObject * obj0 = 0 ; | |
23265 | PyObject * obj1 = 0 ; | |
23266 | char *kwnames[] = { | |
23267 | (char *) "self",(char *) "ok", NULL | |
23268 | }; | |
23269 | ||
23270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23271 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23272 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23273 | arg2 = (bool) SWIG_AsBool(obj1); | |
23274 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23275 | { |
23276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23277 | (arg1)->SetOk(arg2); | |
23278 | ||
23279 | wxPyEndAllowThreads(__tstate); | |
23280 | if (PyErr_Occurred()) SWIG_fail; | |
23281 | } | |
23282 | Py_INCREF(Py_None); resultobj = Py_None; | |
23283 | return resultobj; | |
23284 | fail: | |
23285 | return NULL; | |
23286 | } | |
23287 | ||
23288 | ||
23289 | static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23290 | PyObject *resultobj; | |
23291 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23292 | bool arg2 ; | |
23293 | bool result; | |
23294 | PyObject * obj0 = 0 ; | |
23295 | PyObject * obj1 = 0 ; | |
23296 | char *kwnames[] = { | |
23297 | (char *) "self",(char *) "interactive", NULL | |
23298 | }; | |
23299 | ||
23300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23301 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23302 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23303 | arg2 = (bool) SWIG_AsBool(obj1); | |
23304 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23305 | { |
23306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23307 | result = (bool)(arg1)->Print(arg2); | |
23308 | ||
23309 | wxPyEndAllowThreads(__tstate); | |
23310 | if (PyErr_Occurred()) SWIG_fail; | |
23311 | } | |
4f89f6a3 RD |
23312 | { |
23313 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23314 | } | |
d14a1e28 RD |
23315 | return resultobj; |
23316 | fail: | |
23317 | return NULL; | |
23318 | } | |
23319 | ||
23320 | ||
23321 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23322 | PyObject *resultobj; | |
23323 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23324 | PyObject * obj0 = 0 ; | |
23325 | char *kwnames[] = { | |
23326 | (char *) "self", NULL | |
23327 | }; | |
23328 | ||
23329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23330 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23331 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23332 | { |
23333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23334 | (arg1)->DetermineScaling(); | |
23335 | ||
23336 | wxPyEndAllowThreads(__tstate); | |
23337 | if (PyErr_Occurred()) SWIG_fail; | |
23338 | } | |
23339 | Py_INCREF(Py_None); resultobj = Py_None; | |
23340 | return resultobj; | |
23341 | fail: | |
23342 | return NULL; | |
23343 | } | |
23344 | ||
23345 | ||
23346 | static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) { | |
23347 | PyObject *obj; | |
23348 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23349 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
23350 | Py_INCREF(obj); | |
23351 | return Py_BuildValue((char *)""); | |
23352 | } | |
4276dc52 | 23353 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
23354 | PyObject *resultobj; |
23355 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23356 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
4276dc52 | 23357 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
23358 | wxPyPrintPreview *result; |
23359 | PyObject * obj0 = 0 ; | |
23360 | PyObject * obj1 = 0 ; | |
23361 | PyObject * obj2 = 0 ; | |
d14a1e28 | 23362 | |
4276dc52 | 23363 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
23364 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
23365 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23366 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23367 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 23368 | if (obj2) { |
4276dc52 | 23369 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
15afbcd0 | 23370 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
23371 | } |
23372 | { | |
23373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23374 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
23375 | ||
23376 | wxPyEndAllowThreads(__tstate); | |
23377 | if (PyErr_Occurred()) SWIG_fail; | |
23378 | } | |
15afbcd0 | 23379 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); |
d14a1e28 RD |
23380 | return resultobj; |
23381 | fail: | |
23382 | return NULL; | |
23383 | } | |
23384 | ||
23385 | ||
4276dc52 RD |
23386 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) { |
23387 | PyObject *resultobj; | |
23388 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23389 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
23390 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
23391 | wxPyPrintPreview *result; | |
23392 | PyObject * obj0 = 0 ; | |
23393 | PyObject * obj1 = 0 ; | |
23394 | PyObject * obj2 = 0 ; | |
23395 | ||
23396 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
23397 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
23398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23399 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23401 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
23402 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23403 | { | |
23404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23405 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
23406 | ||
23407 | wxPyEndAllowThreads(__tstate); | |
23408 | if (PyErr_Occurred()) SWIG_fail; | |
23409 | } | |
23410 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
23411 | return resultobj; | |
23412 | fail: | |
23413 | return NULL; | |
23414 | } | |
23415 | ||
23416 | ||
23417 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
23418 | int argc; | |
23419 | PyObject *argv[4]; | |
23420 | int ii; | |
23421 | ||
23422 | argc = PyObject_Length(args); | |
23423 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
23424 | argv[ii] = PyTuple_GetItem(args,ii); | |
23425 | } | |
23426 | if ((argc >= 2) && (argc <= 3)) { | |
23427 | int _v; | |
23428 | { | |
23429 | void *ptr; | |
23430 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23431 | _v = 0; | |
23432 | PyErr_Clear(); | |
23433 | } else { | |
23434 | _v = 1; | |
23435 | } | |
23436 | } | |
23437 | if (_v) { | |
23438 | { | |
23439 | void *ptr; | |
23440 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23441 | _v = 0; | |
23442 | PyErr_Clear(); | |
23443 | } else { | |
23444 | _v = 1; | |
23445 | } | |
23446 | } | |
23447 | if (_v) { | |
23448 | if (argc <= 2) { | |
23449 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
23450 | } | |
23451 | { | |
23452 | void *ptr; | |
23453 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
23454 | _v = 0; | |
23455 | PyErr_Clear(); | |
23456 | } else { | |
23457 | _v = 1; | |
23458 | } | |
23459 | } | |
23460 | if (_v) { | |
23461 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
23462 | } | |
23463 | } | |
23464 | } | |
23465 | } | |
23466 | if (argc == 3) { | |
23467 | int _v; | |
23468 | { | |
23469 | void *ptr; | |
23470 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23471 | _v = 0; | |
23472 | PyErr_Clear(); | |
23473 | } else { | |
23474 | _v = 1; | |
23475 | } | |
23476 | } | |
23477 | if (_v) { | |
23478 | { | |
23479 | void *ptr; | |
23480 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23481 | _v = 0; | |
23482 | PyErr_Clear(); | |
23483 | } else { | |
23484 | _v = 1; | |
23485 | } | |
23486 | } | |
23487 | if (_v) { | |
23488 | { | |
23489 | void *ptr; | |
23490 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
23491 | _v = 0; | |
23492 | PyErr_Clear(); | |
23493 | } else { | |
23494 | _v = 1; | |
23495 | } | |
23496 | } | |
23497 | if (_v) { | |
23498 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); | |
23499 | } | |
23500 | } | |
23501 | } | |
23502 | } | |
23503 | ||
23504 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'"); | |
23505 | return NULL; | |
23506 | } | |
23507 | ||
23508 | ||
d14a1e28 RD |
23509 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
23510 | PyObject *resultobj; | |
23511 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23512 | PyObject *arg2 = (PyObject *) 0 ; | |
23513 | PyObject *arg3 = (PyObject *) 0 ; | |
23514 | PyObject * obj0 = 0 ; | |
23515 | PyObject * obj1 = 0 ; | |
23516 | PyObject * obj2 = 0 ; | |
23517 | char *kwnames[] = { | |
23518 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
23519 | }; | |
23520 | ||
23521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23522 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23523 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23524 | arg2 = obj1; |
23525 | arg3 = obj2; | |
23526 | { | |
23527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23528 | (arg1)->_setCallbackInfo(arg2,arg3); | |
23529 | ||
23530 | wxPyEndAllowThreads(__tstate); | |
23531 | if (PyErr_Occurred()) SWIG_fail; | |
23532 | } | |
23533 | Py_INCREF(Py_None); resultobj = Py_None; | |
23534 | return resultobj; | |
23535 | fail: | |
23536 | return NULL; | |
23537 | } | |
23538 | ||
23539 | ||
23540 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23541 | PyObject *resultobj; | |
23542 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23543 | int arg2 ; | |
23544 | bool result; | |
23545 | PyObject * obj0 = 0 ; | |
994141e6 | 23546 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23547 | char *kwnames[] = { |
23548 | (char *) "self",(char *) "pageNum", NULL | |
23549 | }; | |
23550 | ||
994141e6 | 23551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23552 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23554 | arg2 = (int) SWIG_AsInt(obj1); | |
23555 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23556 | { |
23557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23558 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
23559 | ||
23560 | wxPyEndAllowThreads(__tstate); | |
23561 | if (PyErr_Occurred()) SWIG_fail; | |
23562 | } | |
4f89f6a3 RD |
23563 | { |
23564 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23565 | } | |
d14a1e28 RD |
23566 | return resultobj; |
23567 | fail: | |
23568 | return NULL; | |
23569 | } | |
23570 | ||
23571 | ||
23572 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23573 | PyObject *resultobj; | |
23574 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23575 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23576 | wxDC *arg3 = 0 ; | |
23577 | bool result; | |
23578 | PyObject * obj0 = 0 ; | |
23579 | PyObject * obj1 = 0 ; | |
23580 | PyObject * obj2 = 0 ; | |
23581 | char *kwnames[] = { | |
23582 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
23583 | }; | |
23584 | ||
23585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23588 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23589 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23590 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
23591 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
23592 | SWIG_fail; | |
d14a1e28 | 23593 | if (arg3 == NULL) { |
15afbcd0 RD |
23594 | PyErr_SetString(PyExc_TypeError,"null reference"); |
23595 | SWIG_fail; | |
d14a1e28 RD |
23596 | } |
23597 | { | |
23598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23599 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
23600 | ||
23601 | wxPyEndAllowThreads(__tstate); | |
23602 | if (PyErr_Occurred()) SWIG_fail; | |
23603 | } | |
4f89f6a3 RD |
23604 | { |
23605 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23606 | } | |
d14a1e28 RD |
23607 | return resultobj; |
23608 | fail: | |
23609 | return NULL; | |
23610 | } | |
23611 | ||
23612 | ||
23613 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23614 | PyObject *resultobj; | |
23615 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23616 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23617 | wxDC *arg3 = 0 ; | |
23618 | bool result; | |
23619 | PyObject * obj0 = 0 ; | |
23620 | PyObject * obj1 = 0 ; | |
23621 | PyObject * obj2 = 0 ; | |
23622 | char *kwnames[] = { | |
23623 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
23624 | }; | |
23625 | ||
23626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23627 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23628 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23629 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23630 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23631 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
23632 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
23633 | SWIG_fail; | |
d14a1e28 | 23634 | if (arg3 == NULL) { |
15afbcd0 RD |
23635 | PyErr_SetString(PyExc_TypeError,"null reference"); |
23636 | SWIG_fail; | |
d14a1e28 RD |
23637 | } |
23638 | { | |
23639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23640 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
23641 | ||
23642 | wxPyEndAllowThreads(__tstate); | |
23643 | if (PyErr_Occurred()) SWIG_fail; | |
23644 | } | |
4f89f6a3 RD |
23645 | { |
23646 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23647 | } | |
d14a1e28 RD |
23648 | return resultobj; |
23649 | fail: | |
23650 | return NULL; | |
23651 | } | |
23652 | ||
23653 | ||
23654 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23655 | PyObject *resultobj; | |
23656 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23657 | int arg2 ; | |
23658 | bool result; | |
23659 | PyObject * obj0 = 0 ; | |
994141e6 | 23660 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23661 | char *kwnames[] = { |
23662 | (char *) "self",(char *) "pageNum", NULL | |
23663 | }; | |
23664 | ||
994141e6 | 23665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23666 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23667 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23668 | arg2 = (int) SWIG_AsInt(obj1); | |
23669 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23670 | { |
23671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23672 | result = (bool)(arg1)->base_RenderPage(arg2); | |
23673 | ||
23674 | wxPyEndAllowThreads(__tstate); | |
23675 | if (PyErr_Occurred()) SWIG_fail; | |
23676 | } | |
4f89f6a3 RD |
23677 | { |
23678 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23679 | } | |
d14a1e28 RD |
23680 | return resultobj; |
23681 | fail: | |
23682 | return NULL; | |
23683 | } | |
23684 | ||
23685 | ||
23686 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23687 | PyObject *resultobj; | |
23688 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23689 | int arg2 ; | |
23690 | PyObject * obj0 = 0 ; | |
994141e6 | 23691 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23692 | char *kwnames[] = { |
23693 | (char *) "self",(char *) "percent", NULL | |
23694 | }; | |
23695 | ||
994141e6 | 23696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23697 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23698 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23699 | arg2 = (int) SWIG_AsInt(obj1); | |
23700 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23701 | { |
23702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23703 | (arg1)->base_SetZoom(arg2); | |
23704 | ||
23705 | wxPyEndAllowThreads(__tstate); | |
23706 | if (PyErr_Occurred()) SWIG_fail; | |
23707 | } | |
23708 | Py_INCREF(Py_None); resultobj = Py_None; | |
23709 | return resultobj; | |
23710 | fail: | |
23711 | return NULL; | |
23712 | } | |
23713 | ||
23714 | ||
23715 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23716 | PyObject *resultobj; | |
23717 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23718 | bool arg2 ; | |
23719 | bool result; | |
23720 | PyObject * obj0 = 0 ; | |
23721 | PyObject * obj1 = 0 ; | |
23722 | char *kwnames[] = { | |
23723 | (char *) "self",(char *) "interactive", NULL | |
23724 | }; | |
23725 | ||
23726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23727 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23728 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23729 | arg2 = (bool) SWIG_AsBool(obj1); | |
23730 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23731 | { |
23732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23733 | result = (bool)(arg1)->base_Print(arg2); | |
23734 | ||
23735 | wxPyEndAllowThreads(__tstate); | |
23736 | if (PyErr_Occurred()) SWIG_fail; | |
23737 | } | |
4f89f6a3 RD |
23738 | { |
23739 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23740 | } | |
d14a1e28 RD |
23741 | return resultobj; |
23742 | fail: | |
23743 | return NULL; | |
23744 | } | |
23745 | ||
23746 | ||
23747 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23748 | PyObject *resultobj; | |
23749 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23750 | PyObject * obj0 = 0 ; | |
23751 | char *kwnames[] = { | |
23752 | (char *) "self", NULL | |
23753 | }; | |
23754 | ||
23755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23756 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23757 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23758 | { |
23759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23760 | (arg1)->base_DetermineScaling(); | |
23761 | ||
23762 | wxPyEndAllowThreads(__tstate); | |
23763 | if (PyErr_Occurred()) SWIG_fail; | |
23764 | } | |
23765 | Py_INCREF(Py_None); resultobj = Py_None; | |
23766 | return resultobj; | |
23767 | fail: | |
23768 | return NULL; | |
23769 | } | |
23770 | ||
23771 | ||
23772 | static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) { | |
23773 | PyObject *obj; | |
23774 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23775 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
23776 | Py_INCREF(obj); | |
23777 | return Py_BuildValue((char *)""); | |
23778 | } | |
23779 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23780 | PyObject *resultobj; | |
23781 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23782 | wxFrame *arg2 = (wxFrame *) 0 ; | |
23783 | wxString *arg3 = 0 ; | |
23784 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
23785 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
23786 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
23787 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
23788 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
23789 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
23790 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
23791 | wxPyPreviewFrame *result; | |
e811c8ce | 23792 | bool temp3 = False ; |
d14a1e28 RD |
23793 | wxPoint temp4 ; |
23794 | wxSize temp5 ; | |
e811c8ce | 23795 | bool temp7 = False ; |
d14a1e28 RD |
23796 | PyObject * obj0 = 0 ; |
23797 | PyObject * obj1 = 0 ; | |
23798 | PyObject * obj2 = 0 ; | |
23799 | PyObject * obj3 = 0 ; | |
23800 | PyObject * obj4 = 0 ; | |
994141e6 | 23801 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
23802 | PyObject * obj6 = 0 ; |
23803 | char *kwnames[] = { | |
23804 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
23805 | }; | |
23806 | ||
994141e6 | 23807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
23808 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23809 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23810 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
23811 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23812 | { |
23813 | arg3 = wxString_in_helper(obj2); | |
23814 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 23815 | temp3 = True; |
d14a1e28 RD |
23816 | } |
23817 | if (obj3) { | |
23818 | { | |
23819 | arg4 = &temp4; | |
23820 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
23821 | } | |
23822 | } | |
23823 | if (obj4) { | |
23824 | { | |
23825 | arg5 = &temp5; | |
23826 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
23827 | } | |
23828 | } | |
994141e6 | 23829 | if (obj5) { |
15afbcd0 RD |
23830 | arg6 = (long) SWIG_AsLong(obj5); |
23831 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 23832 | } |
d14a1e28 RD |
23833 | if (obj6) { |
23834 | { | |
23835 | arg7 = wxString_in_helper(obj6); | |
23836 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 23837 | temp7 = True; |
d14a1e28 RD |
23838 | } |
23839 | } | |
23840 | { | |
23841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23842 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
23843 | ||
23844 | wxPyEndAllowThreads(__tstate); | |
23845 | if (PyErr_Occurred()) SWIG_fail; | |
23846 | } | |
15afbcd0 | 23847 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); |
d14a1e28 RD |
23848 | { |
23849 | if (temp3) | |
23850 | delete arg3; | |
23851 | } | |
23852 | { | |
23853 | if (temp7) | |
23854 | delete arg7; | |
23855 | } | |
23856 | return resultobj; | |
23857 | fail: | |
23858 | { | |
23859 | if (temp3) | |
23860 | delete arg3; | |
23861 | } | |
23862 | { | |
23863 | if (temp7) | |
23864 | delete arg7; | |
23865 | } | |
23866 | return NULL; | |
23867 | } | |
23868 | ||
23869 | ||
23870 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23871 | PyObject *resultobj; | |
23872 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
23873 | PyObject *arg2 = (PyObject *) 0 ; | |
23874 | PyObject *arg3 = (PyObject *) 0 ; | |
23875 | PyObject * obj0 = 0 ; | |
23876 | PyObject * obj1 = 0 ; | |
23877 | PyObject * obj2 = 0 ; | |
23878 | char *kwnames[] = { | |
23879 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
23880 | }; | |
23881 | ||
23882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23883 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
23884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23885 | arg2 = obj1; |
23886 | arg3 = obj2; | |
23887 | { | |
23888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23889 | (arg1)->_setCallbackInfo(arg2,arg3); | |
23890 | ||
23891 | wxPyEndAllowThreads(__tstate); | |
23892 | if (PyErr_Occurred()) SWIG_fail; | |
23893 | } | |
23894 | Py_INCREF(Py_None); resultobj = Py_None; | |
23895 | return resultobj; | |
23896 | fail: | |
23897 | return NULL; | |
23898 | } | |
23899 | ||
23900 | ||
23901 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23902 | PyObject *resultobj; | |
23903 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
23904 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23905 | PyObject * obj0 = 0 ; | |
23906 | PyObject * obj1 = 0 ; | |
23907 | char *kwnames[] = { | |
23908 | (char *) "self",(char *) "canvas", NULL | |
23909 | }; | |
23910 | ||
23911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23912 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
23913 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23914 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23915 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23916 | { |
23917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23918 | (arg1)->SetPreviewCanvas(arg2); | |
23919 | ||
23920 | wxPyEndAllowThreads(__tstate); | |
23921 | if (PyErr_Occurred()) SWIG_fail; | |
23922 | } | |
23923 | Py_INCREF(Py_None); resultobj = Py_None; | |
23924 | return resultobj; | |
23925 | fail: | |
23926 | return NULL; | |
23927 | } | |
23928 | ||
23929 | ||
23930 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23931 | PyObject *resultobj; | |
23932 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
23933 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
23934 | PyObject * obj0 = 0 ; | |
23935 | PyObject * obj1 = 0 ; | |
23936 | char *kwnames[] = { | |
23937 | (char *) "self",(char *) "bar", NULL | |
23938 | }; | |
23939 | ||
23940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23941 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
23942 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23943 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar, | |
23944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23945 | { |
23946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23947 | (arg1)->SetControlBar(arg2); | |
23948 | ||
23949 | wxPyEndAllowThreads(__tstate); | |
23950 | if (PyErr_Occurred()) SWIG_fail; | |
23951 | } | |
23952 | Py_INCREF(Py_None); resultobj = Py_None; | |
23953 | return resultobj; | |
23954 | fail: | |
23955 | return NULL; | |
23956 | } | |
23957 | ||
23958 | ||
23959 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23960 | PyObject *resultobj; | |
23961 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
23962 | PyObject * obj0 = 0 ; | |
23963 | char *kwnames[] = { | |
23964 | (char *) "self", NULL | |
23965 | }; | |
23966 | ||
23967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23968 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
23969 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23970 | { |
23971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23972 | (arg1)->base_Initialize(); | |
23973 | ||
23974 | wxPyEndAllowThreads(__tstate); | |
23975 | if (PyErr_Occurred()) SWIG_fail; | |
23976 | } | |
23977 | Py_INCREF(Py_None); resultobj = Py_None; | |
23978 | return resultobj; | |
23979 | fail: | |
23980 | return NULL; | |
23981 | } | |
23982 | ||
23983 | ||
23984 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23985 | PyObject *resultobj; | |
23986 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
23987 | PyObject * obj0 = 0 ; | |
23988 | char *kwnames[] = { | |
23989 | (char *) "self", NULL | |
23990 | }; | |
23991 | ||
23992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23993 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
23994 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23995 | { |
23996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23997 | (arg1)->base_CreateCanvas(); | |
23998 | ||
23999 | wxPyEndAllowThreads(__tstate); | |
24000 | if (PyErr_Occurred()) SWIG_fail; | |
24001 | } | |
24002 | Py_INCREF(Py_None); resultobj = Py_None; | |
24003 | return resultobj; | |
24004 | fail: | |
24005 | return NULL; | |
24006 | } | |
24007 | ||
24008 | ||
24009 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24010 | PyObject *resultobj; | |
24011 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24012 | PyObject * obj0 = 0 ; | |
24013 | char *kwnames[] = { | |
24014 | (char *) "self", NULL | |
24015 | }; | |
24016 | ||
24017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24018 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24019 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24020 | { |
24021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24022 | (arg1)->base_CreateControlBar(); | |
24023 | ||
24024 | wxPyEndAllowThreads(__tstate); | |
24025 | if (PyErr_Occurred()) SWIG_fail; | |
24026 | } | |
24027 | Py_INCREF(Py_None); resultobj = Py_None; | |
24028 | return resultobj; | |
24029 | fail: | |
24030 | return NULL; | |
24031 | } | |
24032 | ||
24033 | ||
24034 | static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
24035 | PyObject *obj; | |
24036 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24037 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
24038 | Py_INCREF(obj); | |
24039 | return Py_BuildValue((char *)""); | |
24040 | } | |
24041 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24042 | PyObject *resultobj; | |
24043 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24044 | long arg2 ; | |
24045 | wxWindow *arg3 = (wxWindow *) 0 ; | |
24046 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
24047 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
24048 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
24049 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
24050 | long arg6 = (long) 0 ; | |
24051 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
24052 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
24053 | wxPyPreviewControlBar *result; | |
24054 | wxPoint temp4 ; | |
24055 | wxSize temp5 ; | |
e811c8ce | 24056 | bool temp7 = False ; |
d14a1e28 | 24057 | PyObject * obj0 = 0 ; |
994141e6 | 24058 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24059 | PyObject * obj2 = 0 ; |
24060 | PyObject * obj3 = 0 ; | |
24061 | PyObject * obj4 = 0 ; | |
994141e6 | 24062 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
24063 | PyObject * obj6 = 0 ; |
24064 | char *kwnames[] = { | |
24065 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
24066 | }; | |
24067 | ||
994141e6 | 24068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
24069 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24071 | arg2 = (long) SWIG_AsLong(obj1); | |
24072 | if (PyErr_Occurred()) SWIG_fail; | |
24073 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
24074 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24075 | if (obj3) { |
24076 | { | |
24077 | arg4 = &temp4; | |
24078 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
24079 | } | |
24080 | } | |
24081 | if (obj4) { | |
24082 | { | |
24083 | arg5 = &temp5; | |
24084 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
24085 | } | |
24086 | } | |
994141e6 | 24087 | if (obj5) { |
15afbcd0 RD |
24088 | arg6 = (long) SWIG_AsLong(obj5); |
24089 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 24090 | } |
d14a1e28 RD |
24091 | if (obj6) { |
24092 | { | |
24093 | arg7 = wxString_in_helper(obj6); | |
24094 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 24095 | temp7 = True; |
d14a1e28 RD |
24096 | } |
24097 | } | |
24098 | { | |
24099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24100 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
24101 | ||
24102 | wxPyEndAllowThreads(__tstate); | |
24103 | if (PyErr_Occurred()) SWIG_fail; | |
24104 | } | |
15afbcd0 | 24105 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); |
d14a1e28 RD |
24106 | { |
24107 | if (temp7) | |
24108 | delete arg7; | |
24109 | } | |
24110 | return resultobj; | |
24111 | fail: | |
24112 | { | |
24113 | if (temp7) | |
24114 | delete arg7; | |
24115 | } | |
24116 | return NULL; | |
24117 | } | |
24118 | ||
24119 | ||
24120 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24121 | PyObject *resultobj; | |
24122 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
24123 | PyObject *arg2 = (PyObject *) 0 ; | |
24124 | PyObject *arg3 = (PyObject *) 0 ; | |
24125 | PyObject * obj0 = 0 ; | |
24126 | PyObject * obj1 = 0 ; | |
24127 | PyObject * obj2 = 0 ; | |
24128 | char *kwnames[] = { | |
24129 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24130 | }; | |
24131 | ||
24132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24133 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
24134 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24135 | arg2 = obj1; |
24136 | arg3 = obj2; | |
24137 | { | |
24138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24139 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24140 | ||
24141 | wxPyEndAllowThreads(__tstate); | |
24142 | if (PyErr_Occurred()) SWIG_fail; | |
24143 | } | |
24144 | Py_INCREF(Py_None); resultobj = Py_None; | |
24145 | return resultobj; | |
24146 | fail: | |
24147 | return NULL; | |
24148 | } | |
24149 | ||
24150 | ||
24151 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24152 | PyObject *resultobj; | |
24153 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
24154 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
24155 | PyObject * obj0 = 0 ; | |
24156 | PyObject * obj1 = 0 ; | |
24157 | char *kwnames[] = { | |
24158 | (char *) "self",(char *) "preview", NULL | |
24159 | }; | |
24160 | ||
24161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24162 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
24163 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24164 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview, | |
24165 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24166 | { |
24167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24168 | (arg1)->SetPrintPreview(arg2); | |
24169 | ||
24170 | wxPyEndAllowThreads(__tstate); | |
24171 | if (PyErr_Occurred()) SWIG_fail; | |
24172 | } | |
24173 | Py_INCREF(Py_None); resultobj = Py_None; | |
24174 | return resultobj; | |
24175 | fail: | |
24176 | return NULL; | |
24177 | } | |
24178 | ||
24179 | ||
24180 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24181 | PyObject *resultobj; | |
24182 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
24183 | PyObject * obj0 = 0 ; | |
24184 | char *kwnames[] = { | |
24185 | (char *) "self", NULL | |
24186 | }; | |
24187 | ||
24188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24189 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
24190 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24191 | { |
24192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24193 | (arg1)->base_CreateButtons(); | |
24194 | ||
24195 | wxPyEndAllowThreads(__tstate); | |
24196 | if (PyErr_Occurred()) SWIG_fail; | |
24197 | } | |
24198 | Py_INCREF(Py_None); resultobj = Py_None; | |
24199 | return resultobj; | |
24200 | fail: | |
24201 | return NULL; | |
24202 | } | |
24203 | ||
24204 | ||
24205 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24206 | PyObject *resultobj; | |
24207 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
24208 | int arg2 ; | |
24209 | PyObject * obj0 = 0 ; | |
994141e6 | 24210 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24211 | char *kwnames[] = { |
24212 | (char *) "self",(char *) "zoom", NULL | |
24213 | }; | |
24214 | ||
994141e6 | 24215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24216 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
24217 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24218 | arg2 = (int) SWIG_AsInt(obj1); | |
24219 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
24220 | { |
24221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24222 | (arg1)->base_SetZoomControl(arg2); | |
24223 | ||
24224 | wxPyEndAllowThreads(__tstate); | |
24225 | if (PyErr_Occurred()) SWIG_fail; | |
24226 | } | |
24227 | Py_INCREF(Py_None); resultobj = Py_None; | |
24228 | return resultobj; | |
24229 | fail: | |
24230 | return NULL; | |
24231 | } | |
24232 | ||
24233 | ||
24234 | static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
24235 | PyObject *obj; | |
24236 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24237 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
24238 | Py_INCREF(obj); | |
24239 | return Py_BuildValue((char *)""); | |
24240 | } | |
24241 | static PyMethodDef SwigMethods[] = { | |
24242 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS }, | |
24243 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS }, | |
24244 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS }, | |
24245 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
24246 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS }, | |
24247 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
24248 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
24249 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24250 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
24251 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS }, | |
24252 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
24253 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
24254 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS }, | |
24255 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS }, | |
24256 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS }, | |
24257 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS }, | |
24258 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS }, | |
24259 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS }, | |
24260 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS }, | |
24261 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS }, | |
24262 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS }, | |
24263 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
24264 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS }, | |
24265 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
24266 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
24267 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS }, | |
d14a1e28 RD |
24268 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS }, |
24269 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS }, | |
24270 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS }, | |
24271 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS }, | |
24272 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS }, | |
24273 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS }, | |
24274 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
24275 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS }, | |
24276 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
24277 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
24278 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
24279 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
24280 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS }, | |
24281 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS }, | |
24282 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS }, | |
24283 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS }, | |
24284 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS }, | |
24285 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS }, | |
24286 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
24287 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
24288 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
24289 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS }, | |
24290 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
24291 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
24292 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
24293 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24294 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
24295 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24296 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24297 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
24298 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
24299 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS }, | |
24300 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
24301 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
24302 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS }, | |
24303 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS }, | |
24304 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS }, | |
24305 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS }, | |
24306 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS }, | |
24307 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
24308 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
24309 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
24310 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS }, | |
24311 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24312 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS }, |
24313 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
24314 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS }, | |
24315 | { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS }, | |
24316 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS }, | |
24317 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
24318 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
24319 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
24320 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS }, | |
24321 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS }, | |
24322 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
24323 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
24324 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS }, | |
24325 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS }, | |
24326 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS }, | |
24327 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS }, | |
24328 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS }, | |
24329 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS }, | |
24330 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS }, | |
24331 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
24332 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS }, | |
24333 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
24334 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
24335 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24336 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24337 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24338 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24339 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
24340 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS }, | |
24341 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
24342 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS }, | |
24343 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS }, | |
24344 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS }, | |
24345 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
24346 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
24347 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24348 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS }, | |
24349 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS }, | |
24350 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
24351 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
24352 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
24353 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS }, | |
24354 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS }, | |
24355 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS }, | |
24356 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS }, | |
d00d1b88 | 24357 | { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24358 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS }, |
24359 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
24360 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
24361 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
24362 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
24363 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
24364 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
24365 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
24366 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
24367 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
24368 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
24369 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
24370 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
24371 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS }, | |
24372 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS }, | |
24373 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
24374 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
24375 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS }, | |
24376 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
24377 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
24378 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS }, | |
24379 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS }, | |
24380 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
24381 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24382 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
24383 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
24384 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS }, | |
24385 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS }, | |
24386 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS }, | |
24387 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
24388 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
24389 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
24390 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
24391 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
24392 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
24393 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
24394 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
24395 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
24396 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
24397 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
24398 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
24399 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
24400 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
24401 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS }, | |
24402 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS }, | |
24403 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS }, | |
24404 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS }, | |
24405 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
24406 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
24407 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
24408 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
24409 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS }, | |
24410 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS }, | |
24411 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
24412 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
24413 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24414 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24415 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
24416 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
24417 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24418 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24419 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
24420 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
24421 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS }, | |
24422 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS }, | |
24423 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24424 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24425 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS }, | |
24426 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS }, | |
24427 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS }, | |
24428 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
24429 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
24430 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24431 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
24432 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24433 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
24434 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS }, | |
24435 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24436 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS }, | |
24437 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
24438 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
24439 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS }, | |
24440 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS }, | |
24441 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
24442 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS }, | |
24443 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
24444 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
24445 | { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24446 | { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS }, | |
24447 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS }, | |
24448 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
24449 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
24450 | { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24451 | { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS }, | |
24452 | { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS }, | |
24453 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS }, | |
24454 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS }, | |
24455 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS }, | |
24456 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS }, | |
24457 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS }, | |
24458 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
24459 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
24460 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24461 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24462 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
24463 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
24464 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS }, | |
24465 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS }, | |
24466 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS }, | |
24467 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS }, | |
24468 | { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS }, | |
24469 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
24470 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
24471 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
24472 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
24473 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
24474 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
24475 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS }, | |
24476 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS }, | |
24477 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS }, | |
24478 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24479 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
24480 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
24481 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS }, | |
24482 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
24483 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS }, | |
24484 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
24485 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS }, | |
24486 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS }, | |
24487 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS }, | |
24488 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS }, | |
24489 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
24490 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
24491 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS }, | |
24492 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
24493 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS }, | |
24494 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS }, | |
24495 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
24496 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
24497 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS }, | |
24498 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
24499 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS }, | |
24500 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
24501 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS }, | |
24502 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
24503 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
24504 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24505 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
24506 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
24507 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
24508 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS }, | |
24509 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
24510 | { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
24511 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS }, | |
24512 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS }, | |
24513 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
24514 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS }, | |
24515 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS }, | |
24516 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS }, | |
24517 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS }, | |
24518 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS }, | |
24519 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
24520 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
24521 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
24522 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
24523 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
24524 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
24525 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
24526 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
24527 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS }, | |
24528 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS }, | |
24529 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24530 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS }, |
24531 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS }, | |
24532 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
24533 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
24534 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
24535 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
24536 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24537 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS }, |
24538 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS }, | |
24539 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
24540 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
24541 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
24542 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
24543 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
24544 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
24545 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
24546 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
24547 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
24548 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
24549 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
24550 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
24551 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
24552 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
24553 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS }, | |
24554 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS }, | |
24555 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS }, | |
24556 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
24557 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS }, | |
24558 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS }, | |
24559 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS }, | |
24560 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
24561 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
24562 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
24563 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24564 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS }, |
24565 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS }, | |
24566 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
24567 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24568 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS }, |
24569 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS }, | |
24570 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS }, | |
24571 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
24572 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
24573 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
24574 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
24575 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
24576 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
24577 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
24578 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
24579 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
24580 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
24581 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
24582 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
24583 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
24584 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS }, | |
15afbcd0 | 24585 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 | 24586 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24587 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS }, |
24588 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24589 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS }, |
24590 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS }, | |
24591 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS }, | |
24592 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS }, | |
24593 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS }, | |
24594 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS }, | |
24595 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24596 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
24597 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
24598 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS }, | |
24599 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24600 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
24601 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
24602 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS }, | |
24603 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
24604 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
24605 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
24606 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
24607 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24608 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24609 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
24610 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
24611 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS }, | |
24612 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
24613 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
24614 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
24615 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS }, | |
24616 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS }, | |
24617 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS }, | |
24618 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
24619 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
24620 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
24621 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS }, | |
24622 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS }, | |
24623 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS }, | |
24624 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS }, | |
24625 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS }, | |
24626 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
24627 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
24628 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS }, | |
24629 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS }, | |
24630 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
24631 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
24632 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
24633 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS }, | |
24634 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
24635 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS }, | |
24636 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS }, | |
24637 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
24638 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
24639 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24640 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS }, | |
24641 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS }, | |
1cb4a8aa | 24642 | { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24643 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
24644 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
24645 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
24646 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
24647 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
24648 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
24649 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
24650 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
24651 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
24652 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
24653 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
24654 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
24655 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
24656 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
24657 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
24658 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
24659 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
24660 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
24661 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
1cb4a8aa RD |
24662 | { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS }, |
24663 | { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24664 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS }, |
24665 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS }, | |
1cb4a8aa | 24666 | { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24667 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
24668 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
24669 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
24670 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
24671 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
24672 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
24673 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
24674 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
24675 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
24676 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
24677 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
24678 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
24679 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
24680 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
24681 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
24682 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
24683 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
24684 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
24685 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
1cb4a8aa RD |
24686 | { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS }, |
24687 | { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 24688 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS }, |
1cb4a8aa RD |
24689 | { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS }, |
24690 | { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
24691 | { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24692 | { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
24693 | { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
24694 | { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
24695 | { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
24696 | { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
24697 | { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
24698 | { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
24699 | { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
24700 | { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
24701 | { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
24702 | { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
24703 | { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
24704 | { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
24705 | { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
24706 | { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
24707 | { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
24708 | { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
24709 | { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
24710 | { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS }, | |
24711 | { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS }, | |
24712 | { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS }, | |
d14a1e28 RD |
24713 | { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS }, |
24714 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
24715 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
24716 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
24717 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24718 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
24719 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
24720 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
24721 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
24722 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
24723 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
24724 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS }, | |
24725 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
24726 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
24727 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24728 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
24729 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
24730 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
24731 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
24732 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
24733 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS }, | |
24734 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
24735 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
24736 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
24737 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
24738 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
24739 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
24740 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
24741 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
24742 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
24743 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
24744 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
24745 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
24746 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
24747 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
24748 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
24749 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
24750 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
24751 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS }, | |
24752 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
24753 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
24754 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS }, | |
24755 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
db914595 RD |
24756 | { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS }, |
24757 | { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24758 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS }, |
24759 | { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
24760 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
24761 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
24762 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
24763 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24764 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
24765 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
24766 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
24767 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
24768 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24769 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
24770 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
24771 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
24772 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
24773 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
24774 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
24775 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
24776 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
24777 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
24778 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
24779 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
24780 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
24781 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
24782 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
24783 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
24784 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
24785 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
24786 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
24787 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
24788 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
24789 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
24790 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS }, | |
24791 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
24792 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
24793 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
24794 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS }, | |
4276dc52 | 24795 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS }, |
d14a1e28 RD |
24796 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS }, |
24797 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
24798 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS }, | |
24799 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
24800 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
24801 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
24802 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
24803 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
24804 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
24805 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
24806 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
24807 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
24808 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS }, | |
24809 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
24810 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
24811 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
24812 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
24813 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
24814 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
24815 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
24816 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
24817 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
24818 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
24819 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
24820 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
24821 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
24822 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
24823 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
24824 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
24825 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
24826 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
24827 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
24828 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS }, | |
24829 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
24830 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
24831 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS }, | |
24832 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
24833 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS }, | |
24834 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS }, | |
24835 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS }, | |
24836 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS }, | |
24837 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
24838 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS }, | |
24839 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
24840 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS }, | |
24841 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS }, | |
24842 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS }, | |
24843 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS }, | |
24844 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS }, | |
24845 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS }, | |
24846 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24847 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
24848 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
24849 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 24850 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
322913ce | 24851 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24852 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, |
24853 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, | |
24854 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
24855 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
24856 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
24857 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
24858 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS }, | |
24859 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS }, | |
24860 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS }, | |
24861 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS }, | |
24862 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS }, | |
24863 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS }, | |
24864 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 24865 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS }, |
322913ce | 24866 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24867 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS }, |
24868 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
24869 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS }, | |
24870 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
24871 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
24872 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
24873 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
24874 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
24875 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS }, | |
24876 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
24877 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
24878 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
24879 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
24880 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS }, | |
24881 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS }, | |
24882 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS }, | |
24883 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS }, | |
24884 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS }, | |
24885 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS }, | |
4276dc52 | 24886 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS }, |
d14a1e28 RD |
24887 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, |
24888 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
24889 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
24890 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
24891 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS }, | |
24892 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS }, | |
24893 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
24894 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
24895 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
24896 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
24897 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
24898 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
24899 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
24900 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
24901 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
24902 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
24903 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
24904 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
24905 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS }, | |
24906 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS }, | |
24907 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS }, | |
24908 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
24909 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS }, | |
4276dc52 | 24910 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS }, |
d14a1e28 RD |
24911 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
24912 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
24913 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
24914 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
24915 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
24916 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
24917 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS }, | |
24918 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
24919 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS }, | |
24920 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
24921 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24922 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
24923 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
24924 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
24925 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
24926 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
24927 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS }, | |
24928 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
24929 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24930 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
24931 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS }, | |
24932 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
24933 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS }, | |
24934 | { NULL, NULL } | |
24935 | }; | |
24936 | ||
24937 | ||
24938 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
24939 | ||
24940 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
24941 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24942 | } | |
24943 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
24944 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
24945 | } | |
24946 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
24947 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
24948 | } | |
24949 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
24950 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
24951 | } | |
24952 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
24953 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
24954 | } | |
24955 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
24956 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
24957 | } | |
24958 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
24959 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
24960 | } | |
24961 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
24962 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
24963 | } | |
24964 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
24965 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
24966 | } | |
24967 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
24968 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
24969 | } | |
24970 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
24971 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
24972 | } | |
24973 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
24974 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
24975 | } | |
24976 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
24977 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
24978 | } | |
24979 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
24980 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
24981 | } | |
24982 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
24983 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
24984 | } | |
24985 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
24986 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
24987 | } | |
24988 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
24989 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
24990 | } | |
24991 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
24992 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
24993 | } | |
24994 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
24995 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
24996 | } | |
24997 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
24998 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
24999 | } | |
25000 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
25001 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
25002 | } | |
25003 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
25004 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
25005 | } | |
25006 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
25007 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
25008 | } | |
25009 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
25010 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
25011 | } | |
25012 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
25013 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
25014 | } | |
25015 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
25016 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
25017 | } | |
25018 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
25019 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
25020 | } | |
25021 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
25022 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
25023 | } | |
25024 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
25025 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
25026 | } | |
25027 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
25028 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
25029 | } | |
25030 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
25031 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
25032 | } | |
25033 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
25034 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
25035 | } | |
25036 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
25037 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
25038 | } | |
25039 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
25040 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
25041 | } | |
25042 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
25043 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
25044 | } | |
25045 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
25046 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
25047 | } | |
25048 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
25049 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
25050 | } | |
25051 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
25052 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
25053 | } | |
25054 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
25055 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
25056 | } | |
25057 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
25058 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
25059 | } | |
25060 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
25061 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
25062 | } | |
25063 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
25064 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
25065 | } | |
25066 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
25067 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
25068 | } | |
25069 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
25070 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
25071 | } | |
25072 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
25073 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
25074 | } | |
25075 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
25076 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
25077 | } | |
25078 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
25079 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
25080 | } | |
25081 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
25082 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
25083 | } | |
25084 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
25085 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
25086 | } | |
25087 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
25088 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
25089 | } | |
25090 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
25091 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
25092 | } | |
25093 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
25094 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
25095 | } | |
25096 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
25097 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
25098 | } | |
25099 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
25100 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
25101 | } | |
25102 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
25103 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
25104 | } | |
25105 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
25106 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
25107 | } | |
25108 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
25109 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
25110 | } | |
25111 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
25112 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
25113 | } | |
25114 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
25115 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
25116 | } | |
25117 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
25118 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
25119 | } | |
25120 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
25121 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
25122 | } | |
25123 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
25124 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
25125 | } | |
25126 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
25127 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
25128 | } | |
25129 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
25130 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
25131 | } | |
25132 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
25133 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
25134 | } | |
25135 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
25136 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
25137 | } | |
25138 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
25139 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
25140 | } | |
25141 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
25142 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
25143 | } | |
25144 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
25145 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
25146 | } | |
25147 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
25148 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
25149 | } | |
25150 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
25151 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
25152 | } | |
1cb4a8aa RD |
25153 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
25154 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
25155 | } | |
d14a1e28 RD |
25156 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { |
25157 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
25158 | } | |
25159 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
25160 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
25161 | } | |
25162 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
25163 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25164 | } | |
25165 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
25166 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
25167 | } | |
25168 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
25169 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
25170 | } | |
25171 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
25172 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
25173 | } | |
25174 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
25175 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
25176 | } | |
25177 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
25178 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
25179 | } | |
25180 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
25181 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
25182 | } | |
25183 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
25184 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
25185 | } | |
25186 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
25187 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
25188 | } | |
25189 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
25190 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
25191 | } | |
25192 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
25193 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
25194 | } | |
25195 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
25196 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
25197 | } | |
25198 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
25199 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
25200 | } | |
25201 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
25202 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
25203 | } | |
25204 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
25205 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
25206 | } | |
25207 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
25208 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
25209 | } | |
25210 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
25211 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
25212 | } | |
25213 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
25214 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
25215 | } | |
25216 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
25217 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
25218 | } | |
25219 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
25220 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
25221 | } | |
25222 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
25223 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
25224 | } | |
25225 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
25226 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
25227 | } | |
25228 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
25229 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
25230 | } | |
25231 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
25232 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25233 | } | |
25234 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
25235 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
25236 | } | |
25237 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
25238 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
25239 | } | |
25240 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
25241 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
25242 | } | |
25243 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
25244 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
25245 | } | |
25246 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
25247 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
25248 | } | |
25249 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
25250 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
25251 | } | |
25252 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
25253 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25254 | } | |
25255 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
25256 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
25257 | } | |
25258 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
25259 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
25260 | } | |
25261 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
25262 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
25263 | } | |
25264 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
25265 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
25266 | } | |
25267 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
25268 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
25269 | } | |
25270 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
25271 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
25272 | } | |
25273 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
25274 | return (void *)((wxObject *) ((wxSizer *) x)); | |
25275 | } | |
25276 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
25277 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
25278 | } | |
25279 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
25280 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
25281 | } | |
25282 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
25283 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
25284 | } | |
25285 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
25286 | return (void *)((wxObject *) ((wxEvent *) x)); | |
25287 | } | |
25288 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
25289 | return (void *)((wxObject *) ((wxFontData *) x)); | |
25290 | } | |
25291 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
25292 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
25293 | } | |
25294 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
25295 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
25296 | } | |
25297 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
25298 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
25299 | } | |
25300 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
25301 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
25302 | } | |
25303 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
25304 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
25305 | } | |
25306 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
25307 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
25308 | } | |
25309 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
25310 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
25311 | } | |
25312 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
25313 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
25314 | } | |
25315 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
25316 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
25317 | } | |
25318 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
25319 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
25320 | } | |
25321 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
25322 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
25323 | } | |
25324 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
25325 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
25326 | } | |
25327 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
25328 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
25329 | } | |
25330 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
25331 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
25332 | } | |
25333 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
25334 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
25335 | } | |
25336 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
25337 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
25338 | } | |
25339 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
25340 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
25341 | } | |
25342 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
25343 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
25344 | } | |
25345 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
25346 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
25347 | } | |
25348 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
25349 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
25350 | } | |
25351 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
25352 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
25353 | } | |
25354 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
25355 | return (void *)((wxObject *) ((wxColourData *) x)); | |
25356 | } | |
25357 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
25358 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
25359 | } | |
25360 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
25361 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
25362 | } | |
25363 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
25364 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
25365 | } | |
25366 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
25367 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
25368 | } | |
25369 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
25370 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
25371 | } | |
25372 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
25373 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
25374 | } | |
25375 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
25376 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
25377 | } | |
25378 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
25379 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
25380 | } | |
25381 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
25382 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
25383 | } | |
25384 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
25385 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
25386 | } | |
25387 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
25388 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
25389 | } | |
25390 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
25391 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
25392 | } | |
25393 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
25394 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
25395 | } | |
25396 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
25397 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
25398 | } | |
25399 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
25400 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
25401 | } | |
25402 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
25403 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
25404 | } | |
25405 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
25406 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
25407 | } | |
25408 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
25409 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
25410 | } | |
25411 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
25412 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
25413 | } | |
25414 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
25415 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
25416 | } | |
25417 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
25418 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
25419 | } | |
25420 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
25421 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
25422 | } | |
25423 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
25424 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
25425 | } | |
25426 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
25427 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
25428 | } | |
25429 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
25430 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
25431 | } | |
25432 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
25433 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
25434 | } | |
25435 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
25436 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
25437 | } | |
25438 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
25439 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
25440 | } | |
25441 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
25442 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
25443 | } | |
25444 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
25445 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
25446 | } | |
25447 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
25448 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
25449 | } | |
25450 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
25451 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
25452 | } | |
25453 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
25454 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
25455 | } | |
25456 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
25457 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
25458 | } | |
25459 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
25460 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
25461 | } | |
25462 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
25463 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
25464 | } | |
25465 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
25466 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
25467 | } | |
25468 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
25469 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
25470 | } | |
25471 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
25472 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
25473 | } | |
25474 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
25475 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
25476 | } | |
25477 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
25478 | return (void *)((wxObject *) ((wxImage *) x)); | |
25479 | } | |
25480 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
25481 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
25482 | } | |
25483 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
25484 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
25485 | } | |
25486 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
25487 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
25488 | } | |
25489 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
25490 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
25491 | } | |
25492 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
25493 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
25494 | } | |
25495 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
25496 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
25497 | } | |
25498 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
25499 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
25500 | } | |
25501 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
25502 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
25503 | } | |
25504 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
25505 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
25506 | } | |
d14a1e28 RD |
25507 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
25508 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
25509 | } | |
25510 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
25511 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
25512 | } | |
25513 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
25514 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
25515 | } | |
1e0c8722 RD |
25516 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
25517 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
25518 | } | |
d14a1e28 RD |
25519 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
25520 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
25521 | } | |
25522 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
25523 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
25524 | } | |
25525 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
25526 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
25527 | } | |
25528 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
25529 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
25530 | } | |
25531 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
25532 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
25533 | } | |
25534 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
25535 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
25536 | } | |
25537 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
25538 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
25539 | } | |
25540 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
25541 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
25542 | } | |
25543 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
25544 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
25545 | } | |
25546 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
25547 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
25548 | } | |
1cb4a8aa RD |
25549 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
25550 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
25551 | } | |
d14a1e28 RD |
25552 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
25553 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
25554 | } | |
25555 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
25556 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
25557 | } | |
25558 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
25559 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
25560 | } | |
25561 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
25562 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
25563 | } | |
25564 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
25565 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
25566 | } | |
25567 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
25568 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
25569 | } | |
25570 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
25571 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
25572 | } | |
25573 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
25574 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
25575 | } | |
25576 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
25577 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
25578 | } | |
25579 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
25580 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
25581 | } | |
25582 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
25583 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
25584 | } | |
25585 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
25586 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
25587 | } | |
25588 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
25589 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
25590 | } | |
25591 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
25592 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
25593 | } | |
25594 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
25595 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
25596 | } | |
25597 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
25598 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
25599 | } | |
25600 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
25601 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
25602 | } | |
25603 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
25604 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
25605 | } | |
25606 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
25607 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
25608 | } | |
25609 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
25610 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
25611 | } | |
25612 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
25613 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
25614 | } | |
25615 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
25616 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
25617 | } | |
25618 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
25619 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
25620 | } | |
25621 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
25622 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
25623 | } | |
25624 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
25625 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
25626 | } | |
25627 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
25628 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
25629 | } | |
25630 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
25631 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
25632 | } | |
25633 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
25634 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
25635 | } | |
25636 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
25637 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
25638 | } | |
25639 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
25640 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
25641 | } | |
25642 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
25643 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
25644 | } | |
25645 | static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { | |
25646 | return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
25647 | } | |
25648 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
25649 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
25650 | } | |
25651 | static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) { | |
25652 | return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
25653 | } | |
25654 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
25655 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
25656 | } | |
25657 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
25658 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
25659 | } | |
25660 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
25661 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
25662 | } | |
25663 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
25664 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
25665 | } | |
25666 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
25667 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
25668 | } | |
25669 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
25670 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
25671 | } | |
25672 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
25673 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
25674 | } | |
25675 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
25676 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
25677 | } | |
25678 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
25679 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
25680 | } | |
25681 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
25682 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
25683 | } | |
25684 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
25685 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
25686 | } | |
25687 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
25688 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
25689 | } | |
25690 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
25691 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
25692 | } | |
25693 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
25694 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
25695 | } | |
25696 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
25697 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
25698 | } | |
25699 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
25700 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
25701 | } | |
25702 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
25703 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
25704 | } | |
25705 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
25706 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
25707 | } | |
25708 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
25709 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
25710 | } | |
25711 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
25712 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
25713 | } | |
25714 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
25715 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25716 | } | |
25717 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
25718 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
25719 | } | |
25720 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
25721 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
25722 | } | |
25723 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
25724 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
25725 | } | |
25726 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
25727 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
25728 | } | |
25729 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
25730 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
25731 | } | |
25732 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
25733 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
25734 | } | |
25735 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
25736 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
25737 | } | |
25738 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
25739 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
25740 | } | |
25741 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
25742 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
25743 | } | |
25744 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
25745 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
25746 | } | |
25747 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
25748 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
25749 | } | |
25750 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
25751 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
25752 | } | |
25753 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
25754 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
25755 | } | |
25756 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
25757 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
25758 | } | |
25759 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
25760 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
25761 | } | |
25762 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
25763 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
25764 | } | |
25765 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
25766 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
25767 | } | |
25768 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
25769 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
25770 | } | |
25771 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
25772 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
25773 | } | |
25774 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
25775 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
25776 | } | |
25777 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
25778 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
25779 | } | |
25780 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
25781 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
25782 | } | |
25783 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
25784 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
25785 | } | |
25786 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
25787 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
25788 | } | |
1cb4a8aa RD |
25789 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
25790 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
25791 | } | |
d14a1e28 RD |
25792 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
25793 | return (void *)((wxWindow *) ((wxControl *) x)); | |
25794 | } | |
25795 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
25796 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
25797 | } | |
25798 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
25799 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25800 | } | |
25801 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
25802 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
25803 | } | |
25804 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
25805 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
25806 | } | |
25807 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
25808 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
25809 | } | |
25810 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
25811 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
25812 | } | |
25813 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
25814 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
25815 | } | |
25816 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
25817 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
25818 | } | |
25819 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
25820 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
25821 | } | |
25822 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
25823 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
25824 | } | |
25825 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
25826 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
25827 | } | |
25828 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
25829 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
25830 | } | |
25831 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
25832 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
25833 | } | |
25834 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
25835 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
25836 | } | |
25837 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
25838 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
25839 | } | |
25840 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
25841 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
25842 | } | |
25843 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
25844 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
25845 | } | |
25846 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
25847 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
25848 | } | |
1cb4a8aa RD |
25849 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
25850 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
25851 | } | |
d14a1e28 RD |
25852 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
25853 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
25854 | } | |
25855 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
25856 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
25857 | } | |
25858 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
25859 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
25860 | } | |
25861 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
25862 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
25863 | } | |
25864 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
25865 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
25866 | } | |
25867 | static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) { | |
25868 | return (void *)((wxDialog *) ((wxPageSetupDialog *) x)); | |
25869 | } | |
25870 | static void *_p_wxPrintDialogTo_p_wxDialog(void *x) { | |
25871 | return (void *)((wxDialog *) ((wxPrintDialog *) x)); | |
25872 | } | |
25873 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { | |
25874 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
25875 | } | |
25876 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
25877 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
25878 | } | |
25879 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
25880 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
25881 | } | |
25882 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
25883 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
25884 | } | |
25885 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { | |
25886 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
25887 | } | |
25888 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
25889 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
25890 | } | |
25891 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
25892 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
25893 | } | |
25894 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
25895 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
25896 | } | |
1cb4a8aa RD |
25897 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
25898 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
25899 | } | |
d14a1e28 RD |
25900 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
25901 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
25902 | } | |
25903 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
25904 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
25905 | } | |
25906 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
25907 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
25908 | } | |
25909 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
25910 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
25911 | } | |
25912 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
25913 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
25914 | } | |
25915 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
25916 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
25917 | } | |
25918 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
25919 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
25920 | } | |
25921 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
25922 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
25923 | } | |
25924 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
25925 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
25926 | } | |
25927 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
25928 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
25929 | } | |
25930 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
25931 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
25932 | } | |
25933 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
25934 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
25935 | } | |
25936 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
25937 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
25938 | } | |
25939 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
25940 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
25941 | } | |
25942 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
25943 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
25944 | } | |
25945 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
25946 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
25947 | } | |
25948 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
25949 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
25950 | } | |
25951 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
25952 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
25953 | } | |
15afbcd0 RD |
25954 | 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}}; |
25955 | 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}}; | |
25956 | 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}}; | |
25957 | 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}}; | |
25958 | 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}}; | |
25959 | 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}}; | |
25960 | 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}}; | |
25961 | 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}}; | |
25962 | 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}}; | |
25963 | 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}}; | |
25964 | 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}}; | |
25965 | 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}}; | |
25966 | 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}}; | |
25967 | 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}}; | |
25968 | 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}}; | |
25969 | 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}}; | |
25970 | 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}}; | |
25971 | 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}}; | |
25972 | 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}}; | |
25973 | 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}}; | |
25974 | 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}}; | |
25975 | 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}}; | |
25976 | 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}}; | |
25977 | 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}}; | |
25978 | 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}}; | |
25979 | 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}}; | |
25980 | 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}}; | |
25981 | 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}}; | |
25982 | 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}}; | |
25983 | 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}}; | |
25984 | 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}}; | |
25985 | 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}}; | |
25986 | 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}}; | |
25987 | 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}}; | |
25988 | 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}}; | |
1cb4a8aa | 25989 | 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}}; |
15afbcd0 RD |
25990 | 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}}; |
25991 | 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}}; | |
25992 | 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}}; | |
25993 | 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}}; | |
25994 | 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}}; | |
25995 | 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}}; | |
25996 | 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}}; | |
25997 | 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}}; | |
25998 | 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}}; | |
25999 | 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}}; | |
26000 | 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}}; | |
26001 | 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}}; | |
26002 | 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}}; | |
1cb4a8aa | 26003 | 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}}; |
15afbcd0 RD |
26004 | 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}}; |
26005 | static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
1cb4a8aa | 26006 | 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}}; |
15afbcd0 RD |
26007 | 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}}; |
26008 | 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}}; | |
26009 | 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}}; | |
26010 | 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}}; | |
26011 | 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}}; | |
26012 | 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}}; | |
26013 | 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}}; | |
26014 | 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}}; | |
26015 | 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}}; | |
1cb4a8aa RD |
26016 | 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}}; |
26017 | 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}}; | |
15afbcd0 RD |
26018 | 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}}; |
26019 | 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}}; | |
26020 | 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}}; | |
26021 | 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}}; | |
26022 | 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}}; | |
26023 | 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}}; | |
26024 | 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}}; | |
26025 | 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}}; | |
26026 | 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}}; | |
26027 | 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}}; | |
1cb4a8aa | 26028 | 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}}; |
15afbcd0 RD |
26029 | 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}}; |
26030 | 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}}; | |
26031 | 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}}; | |
26032 | 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}}; | |
26033 | 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}}; | |
26034 | 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}}; | |
26035 | 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}}; | |
26036 | 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}}; | |
26037 | 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}}; | |
26038 | 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}}; | |
d14a1e28 RD |
26039 | |
26040 | static swig_type_info *swig_types_initial[] = { | |
26041 | _swigt__p_wxQueryLayoutInfoEvent, | |
26042 | _swigt__p_wxPreviewFrame, | |
26043 | _swigt__p_wxPyPreviewFrame, | |
d14a1e28 RD |
26044 | _swigt__p_wxPyPanel, |
26045 | _swigt__p_wxMenu, | |
26046 | _swigt__p_wxPrintData, | |
26047 | _swigt__p_wxFontData, | |
26048 | _swigt__p_wxEvent, | |
26049 | _swigt__p_wxTaskBarIcon, | |
26050 | _swigt__p_wxIconBundle, | |
26051 | _swigt__p_wxLayoutAlgorithm, | |
26052 | _swigt__p_wxFindDialogEvent, | |
26053 | _swigt__p_wxPreviewCanvas, | |
26054 | _swigt__p_wxFont, | |
26055 | _swigt__p_wxSplitterEvent, | |
26056 | _swigt__p_wxRegion, | |
26057 | _swigt__p_wxFindReplaceData, | |
26058 | _swigt__p_int, | |
26059 | _swigt__p_wxSize, | |
26060 | _swigt__p_wxDC, | |
26061 | _swigt__p_wxIcon, | |
26062 | _swigt__p_wxMDIChildFrame, | |
26063 | _swigt__p_wxColourData, | |
26064 | _swigt__p_wxNotifyEvent, | |
26065 | _swigt__p_wxPyWindow, | |
26066 | _swigt__p_wxSplashScreen, | |
26067 | _swigt__p_wxFindReplaceDialog, | |
26068 | _swigt__p_wxProgressDialog, | |
26069 | _swigt__p_wxMessageDialog, | |
26070 | _swigt__p_wxTextEntryDialog, | |
26071 | _swigt__p_wxSingleChoiceDialog, | |
26072 | _swigt__p_wxMultiChoiceDialog, | |
26073 | _swigt__p_wxFileDialog, | |
26074 | _swigt__p_wxPrinter, | |
d14a1e28 RD |
26075 | _swigt__p_wxArrayInt, |
26076 | _swigt__p_wxEvtHandler, | |
26077 | _swigt__p_wxCalculateLayoutEvent, | |
26078 | _swigt__p_wxPyHtmlListBox, | |
26079 | _swigt__p_wxPyVListBox, | |
26080 | _swigt__p_wxRect, | |
994141e6 | 26081 | _swigt__p_char, |
d14a1e28 RD |
26082 | _swigt__p_wxMiniFrame, |
26083 | _swigt__p_wxFrame, | |
26084 | _swigt__p_wxPyPrintout, | |
26085 | _swigt__p_wxTaskBarIconEvent, | |
26086 | _swigt__p_wxScrollWinEvent, | |
26087 | _swigt__p_wxStatusBar, | |
26088 | _swigt__p_wxMDIParentFrame, | |
26089 | _swigt__p_wxPoint, | |
26090 | _swigt__p_wxObject, | |
db914595 | 26091 | _swigt__p_wxOutputStream, |
d14a1e28 | 26092 | _swigt__p_unsigned_long, |
1cb4a8aa | 26093 | _swigt__p_wxPyScrolledWindow, |
d14a1e28 RD |
26094 | _swigt__p_wxMDIClientWindow, |
26095 | _swigt__p_wxTipWindow, | |
26096 | _swigt__p_wxSashLayoutWindow, | |
26097 | _swigt__p_wxSplitterWindow, | |
d14a1e28 RD |
26098 | _swigt__p_wxPyVScrolledWindow, |
26099 | _swigt__p_wxPyPopupTransientWindow, | |
26100 | _swigt__p_wxPopupWindow, | |
26101 | _swigt__p_wxSashWindow, | |
26102 | _swigt__p_wxTopLevelWindow, | |
26103 | _swigt__p_wxWindow, | |
26104 | _swigt__p_wxScrolledWindow, | |
1e0c8722 | 26105 | _swigt__p_wxSplashScreenWindow, |
d14a1e28 RD |
26106 | _swigt__p_wxMenuBar, |
26107 | _swigt__p_wxPrintPreview, | |
26108 | _swigt__p_wxSashEvent, | |
26109 | _swigt__p_wxString, | |
26110 | _swigt__p_wxPyPrintPreview, | |
26111 | _swigt__p_wxFontDialog, | |
26112 | _swigt__p_wxDirDialog, | |
26113 | _swigt__p_wxColourDialog, | |
26114 | _swigt__p_wxDialog, | |
26115 | _swigt__p_wxPanel, | |
db914595 | 26116 | _swigt__p_wxPageSetupDialog, |
d14a1e28 RD |
26117 | _swigt__p_wxPrintDialog, |
26118 | _swigt__p_wxBitmap, | |
26119 | _swigt__p_wxCommandEvent, | |
d14a1e28 RD |
26120 | _swigt__p_wxPreviewControlBar, |
26121 | _swigt__p_wxPyPreviewControlBar, | |
26122 | _swigt__p_wxColour, | |
26123 | _swigt__p_wxToolBar, | |
b2dc1044 | 26124 | _swigt__p_wxPageSetupDialogData, |
994141e6 | 26125 | _swigt__p_wxPrintDialogData, |
d14a1e28 RD |
26126 | 0 |
26127 | }; | |
26128 | ||
26129 | ||
26130 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
26131 | ||
26132 | static swig_const_info swig_const_table[] = { | |
d14a1e28 RD |
26133 | {0}}; |
26134 | ||
26135 | #ifdef __cplusplus | |
26136 | } | |
26137 | #endif | |
26138 | ||
26139 | #ifdef __cplusplus | |
26140 | extern "C" | |
26141 | #endif | |
26142 | SWIGEXPORT(void) SWIG_init(void) { | |
26143 | static PyObject *SWIG_globals = 0; | |
26144 | static int typeinit = 0; | |
26145 | PyObject *m, *d; | |
26146 | int i; | |
26147 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
26148 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
26149 | d = PyModule_GetDict(m); | |
26150 | ||
26151 | if (!typeinit) { | |
26152 | for (i = 0; swig_types_initial[i]; i++) { | |
26153 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
26154 | } | |
26155 | typeinit = 1; | |
26156 | } | |
26157 | SWIG_InstallConstants(d,swig_const_table); | |
26158 | ||
b2dc1044 RD |
26159 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
26160 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
26161 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
26162 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
26163 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
15afbcd0 RD |
26164 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR)); |
26165 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR)); | |
26166 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR)); | |
26167 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER)); | |
26168 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION)); | |
26169 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL)); | |
26170 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG)); | |
26171 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT)); | |
26172 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN)); | |
26173 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE)); | |
26174 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT)); | |
26175 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT)); | |
b2dc1044 | 26176 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
15afbcd0 RD |
26177 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER)); |
26178 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH)); | |
26179 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT)); | |
26180 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE)); | |
26181 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH)); | |
26182 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER)); | |
4276dc52 | 26183 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME)); |
15afbcd0 RD |
26184 | PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER)); |
26185 | PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D)); | |
26186 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL)); | |
26187 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL)); | |
26188 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE)); | |
26189 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING)); | |
26190 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN)); | |
d14a1e28 RD |
26191 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
26192 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
26193 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
26194 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
b2dc1044 RD |
26195 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); |
26196 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
15afbcd0 RD |
26197 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE)); |
26198 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING)); | |
26199 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN)); | |
26200 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER)); | |
26201 | PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER)); | |
26202 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH)); | |
26203 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER)); | |
26204 | PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D)); | |
26205 | PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP)); | |
26206 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT)); | |
26207 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM)); | |
26208 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT)); | |
26209 | PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE)); | |
26210 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK)); | |
26211 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE)); | |
d14a1e28 | 26212 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
15afbcd0 RD |
26213 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL)); |
26214 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL)); | |
26215 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE)); | |
26216 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP)); | |
26217 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT)); | |
26218 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT)); | |
26219 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM)); | |
26220 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y)); | |
26221 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X)); | |
26222 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH)); | |
26223 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY)); | |
d14a1e28 RD |
26224 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
26225 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
b2dc1044 | 26226 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); |
d14a1e28 RD |
26227 | |
26228 | // Map renamed classes back to their common name for OOR | |
26229 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
26230 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
26231 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
26232 | ||
26233 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
26234 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
26235 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
26236 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
26237 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
26238 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
26239 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
b2dc1044 RD |
26240 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); |
26241 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
26242 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
26243 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
26244 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
26245 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
15afbcd0 RD |
26246 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE)); |
26247 | PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN)); | |
26248 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD)); | |
26249 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE)); | |
26250 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG)); | |
26251 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN)); | |
26252 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE)); | |
26253 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD)); | |
d14a1e28 RD |
26254 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
26255 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
26256 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
26257 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
26258 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
15afbcd0 RD |
26259 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001)); |
26260 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001)); | |
26261 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002)); | |
26262 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003)); | |
26263 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004)); | |
26264 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005)); | |
26265 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100)); | |
26266 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600)); | |
b2dc1044 RD |
26267 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
26268 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
15afbcd0 RD |
26269 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE)); |
26270 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW)); | |
26271 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE)); | |
26272 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER)); | |
26273 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM)); | |
26274 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR)); | |
26275 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED)); | |
26276 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR)); | |
26277 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT)); | |
26278 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS)); | |
26279 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT)); | |
26280 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM)); | |
26281 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST)); | |
26282 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST)); | |
26283 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO)); | |
26284 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT)); | |
26285 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE)); | |
26286 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT)); | |
26287 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS)); | |
26288 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT)); | |
26289 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM)); | |
26290 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST)); | |
26291 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST)); | |
26292 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO)); | |
d14a1e28 RD |
26293 | |
26294 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
26295 | ||
26296 | } | |
26297 |