]>
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 | ||
74a57fcd RD |
828 | void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){ |
829 | ||
830 | self->RemoveIcon(); | |
831 | ||
832 | } | |
b2dc1044 RD |
833 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); |
834 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
835 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
836 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
837 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
838 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
d14a1e28 RD |
839 | PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ |
840 | wxArrayString arr; | |
841 | self->GetFilenames(arr); | |
842 | return wxArrayString2PyList_helper(arr); | |
843 | } | |
844 | PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ | |
845 | wxArrayString arr; | |
846 | self->GetPaths(arr); | |
847 | return wxArrayString2PyList_helper(arr); | |
848 | } | |
849 | PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ | |
850 | return wxArrayInt2PyList_helper(self->GetSelections()); | |
851 | } | |
852 | wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){ | |
853 | return new wxSingleChoiceDialog(parent, message, caption, | |
854 | choices, choices_array, NULL, style, pos); | |
855 | } | |
856 | ||
857 | #include <wx/mdi.h> | |
858 | ||
859 | // C++ version of Python aware wxWindow | |
860 | class wxPyWindow : public wxWindow | |
861 | { | |
862 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
863 | public: | |
864 | wxPyWindow() : wxWindow() {} | |
865 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
866 | const wxPoint& pos = wxDefaultPosition, | |
867 | const wxSize& size = wxDefaultSize, | |
868 | long style = 0, | |
869 | const wxString& name = wxPyPanelNameStr) | |
870 | : wxWindow(parent, id, pos, size, style, name) {} | |
871 | ||
872 | ||
873 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
874 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
875 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
876 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
877 | ||
878 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
879 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
880 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
881 | ||
882 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
883 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
884 | ||
885 | DEC_PYCALLBACK__(InitDialog); | |
886 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
887 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
888 | DEC_PYCALLBACK_BOOL_(Validate); | |
889 | ||
890 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
891 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
892 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
893 | ||
894 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
895 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
896 | ||
4276dc52 | 897 | DEC_PYCALLBACK_BOOL_(ShouldInheritColours); |
1cb4a8aa | 898 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
4276dc52 | 899 | |
d14a1e28 RD |
900 | PYPRIVATE; |
901 | }; | |
902 | ||
903 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
904 | ||
905 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
906 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
907 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
908 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
909 | ||
910 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
911 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
912 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
913 | ||
914 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
915 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
916 | ||
917 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
918 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
919 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
920 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
921 | ||
922 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
923 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
924 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
925 | ||
926 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
927 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
928 | ||
4276dc52 | 929 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours); |
1cb4a8aa RD |
930 | IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground); |
931 | ||
d14a1e28 RD |
932 | |
933 | // C++ version of Python aware wxPanel | |
934 | class wxPyPanel : public wxPanel | |
935 | { | |
936 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
937 | public: | |
938 | wxPyPanel() : wxPanel() {} | |
939 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
940 | const wxPoint& pos = wxDefaultPosition, | |
941 | const wxSize& size = wxDefaultSize, | |
942 | long style = 0, | |
943 | const wxString& name = wxPyPanelNameStr) | |
944 | : wxPanel(parent, id, pos, size, style, name) {} | |
945 | ||
946 | ||
947 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
948 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
949 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
950 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
951 | ||
952 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
953 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
954 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
955 | ||
956 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
957 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
958 | ||
959 | DEC_PYCALLBACK__(InitDialog); | |
960 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
961 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
962 | DEC_PYCALLBACK_BOOL_(Validate); | |
963 | ||
964 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
965 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
966 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
967 | ||
968 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
969 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
970 | ||
4276dc52 | 971 | DEC_PYCALLBACK_BOOL_(ShouldInheritColours); |
1cb4a8aa | 972 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
4276dc52 | 973 | |
d14a1e28 RD |
974 | PYPRIVATE; |
975 | }; | |
976 | ||
977 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
978 | ||
979 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
980 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
981 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
982 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
983 | ||
984 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
985 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
986 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
987 | ||
988 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
989 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
990 | ||
991 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
992 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
993 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
994 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
995 | ||
996 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
997 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
998 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
999 | ||
1000 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
1001 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
1002 | ||
4276dc52 | 1003 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours); |
1cb4a8aa RD |
1004 | IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground); |
1005 | ||
1006 | // C++ version of Python aware wxScrolledWindow | |
1007 | class wxPyScrolledWindow : public wxScrolledWindow | |
1008 | { | |
1009 | DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow) | |
1010 | public: | |
1011 | wxPyScrolledWindow() : wxScrolledWindow() {} | |
1012 | wxPyScrolledWindow(wxWindow* parent, const wxWindowID id, | |
1013 | const wxPoint& pos = wxDefaultPosition, | |
1014 | const wxSize& size = wxDefaultSize, | |
1015 | long style = 0, | |
1016 | const wxString& name = wxPyPanelNameStr) | |
1017 | : wxScrolledWindow(parent, id, pos, size, style, name) {} | |
1018 | ||
1019 | ||
1020 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
1021 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
1022 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
1023 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
1024 | ||
1025 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
1026 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
1027 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
1028 | ||
1029 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
1030 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
1031 | ||
1032 | DEC_PYCALLBACK__(InitDialog); | |
1033 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
1034 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
1035 | DEC_PYCALLBACK_BOOL_(Validate); | |
1036 | ||
1037 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
1038 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
1039 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
1040 | ||
1041 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
1042 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
1043 | ||
1044 | DEC_PYCALLBACK_BOOL_(ShouldInheritColours); | |
1045 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); | |
1046 | ||
1047 | PYPRIVATE; | |
1048 | }; | |
1049 | ||
1050 | IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow); | |
1051 | ||
1052 | IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow); | |
1053 | IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize); | |
1054 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize); | |
1055 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize); | |
1056 | ||
1057 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize); | |
1058 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize); | |
1059 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition); | |
1060 | ||
1061 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize); | |
1062 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize); | |
1063 | ||
1064 | IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog); | |
1065 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow); | |
1066 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow); | |
1067 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate); | |
1068 | ||
1069 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus); | |
1070 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard); | |
1071 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize); | |
1072 | ||
1073 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild); | |
1074 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild); | |
1075 | ||
1076 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours); | |
1077 | IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground); | |
d14a1e28 RD |
1078 | |
1079 | ||
1080 | #include "wx/wxPython/printfw.h" | |
1081 | ||
d14a1e28 | 1082 | |
33b885b9 RD |
1083 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); |
1084 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
d14a1e28 RD |
1085 | |
1086 | ||
1087 | ||
1088 | // Since this one would be tough and ugly to do with the Macros... | |
1089 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
e811c8ce | 1090 | bool hadErr = False; |
d14a1e28 RD |
1091 | bool found; |
1092 | ||
4f89f6a3 | 1093 | bool blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
1094 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { |
1095 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
1096 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
1097 | PyObject* val; | |
1098 | ||
1099 | val = PyTuple_GetItem(result, 0); | |
1100 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
e811c8ce | 1101 | else hadErr = True; |
d14a1e28 RD |
1102 | |
1103 | val = PyTuple_GetItem(result, 1); | |
1104 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
e811c8ce | 1105 | else hadErr = True; |
d14a1e28 RD |
1106 | |
1107 | val = PyTuple_GetItem(result, 2); | |
1108 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
e811c8ce | 1109 | else hadErr = True; |
d14a1e28 RD |
1110 | |
1111 | val = PyTuple_GetItem(result, 3); | |
1112 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
e811c8ce | 1113 | else hadErr = True; |
d14a1e28 RD |
1114 | } |
1115 | else | |
e811c8ce | 1116 | hadErr = True; |
d14a1e28 RD |
1117 | |
1118 | if (hadErr) { | |
1119 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
1120 | PyErr_Print(); | |
1121 | } | |
1122 | Py_DECREF(result); | |
1123 | } | |
4f89f6a3 | 1124 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
1125 | if (! found) |
1126 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1127 | } | |
1128 | ||
1129 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
1130 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1131 | } | |
1132 | ||
1133 | ||
1134 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
1135 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
1136 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
1137 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
1138 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
1139 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
1140 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
1141 | ||
1142 | ||
1143 | ||
1144 | ||
1145 | ||
1146 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ | |
1147 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
1148 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) | |
1149 | ||
1150 | ||
1151 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ | |
1152 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
e811c8ce | 1153 | bool rval=False; \ |
d14a1e28 | 1154 | bool found; \ |
4f89f6a3 | 1155 | bool blocked = wxPyBeginBlockThreads(); \ |
d14a1e28 RD |
1156 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
1157 | PyObject* win = wxPyMake_wxObject(a); \ | |
1158 | PyObject* dc = wxPyMake_wxObject(&b); \ | |
1159 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\ | |
1160 | Py_DECREF(win); \ | |
1161 | Py_DECREF(dc); \ | |
1162 | } \ | |
4f89f6a3 | 1163 | wxPyEndBlockThreads(blocked); \ |
d14a1e28 RD |
1164 | if (! found) \ |
1165 | rval = PCLASS::CBNAME(a, b); \ | |
1166 | return rval; \ | |
1167 | } \ | |
1168 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
1169 | return PCLASS::CBNAME(a, b); \ | |
1170 | } | |
1171 | ||
1172 | ||
1173 | ||
1174 | ||
1175 | class wxPyPrintPreview : public wxPrintPreview | |
1176 | { | |
1177 | DECLARE_CLASS(wxPyPrintPreview) | |
1178 | public: | |
4276dc52 RD |
1179 | wxPyPrintPreview(wxPyPrintout* printout, |
1180 | wxPyPrintout* printoutForPrinting, | |
1181 | wxPrintDialogData* data=NULL) | |
1182 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1183 | {} | |
d14a1e28 RD |
1184 | wxPyPrintPreview(wxPyPrintout* printout, |
1185 | wxPyPrintout* printoutForPrinting, | |
1186 | wxPrintData* data=NULL) | |
1187 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1188 | {} | |
1189 | ||
1190 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
1191 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
1192 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
1193 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
1194 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
1195 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
1196 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
1197 | ||
1198 | PYPRIVATE; | |
1199 | }; | |
1200 | ||
1201 | // Stupid renamed classes... Fix this in 2.5... | |
1202 | #if defined(__WXMSW__) | |
1203 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
1204 | #elif defined(__WXMAC__) | |
1205 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
1206 | #else | |
1207 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
1208 | #endif | |
1209 | ||
1210 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
1211 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
1212 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
1213 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
1214 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
1215 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
1216 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
1217 | ||
1218 | ||
1219 | class wxPyPreviewFrame : public wxPreviewFrame | |
1220 | { | |
1221 | DECLARE_CLASS(wxPyPreviewFrame); | |
1222 | public: | |
1223 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
1224 | const wxString& title, | |
1225 | const wxPoint& pos = wxDefaultPosition, | |
1226 | const wxSize& size = wxDefaultSize, | |
1227 | long style = wxDEFAULT_FRAME_STYLE, | |
1228 | const wxString& name = wxPyFrameNameStr) | |
1229 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
1230 | {} | |
1231 | ||
1232 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
1233 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
1234 | ||
1235 | DEC_PYCALLBACK_VOID_(Initialize); | |
1236 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
1237 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
1238 | ||
1239 | PYPRIVATE; | |
1240 | }; | |
1241 | ||
1242 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
1243 | ||
1244 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
1245 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
1246 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
1247 | ||
1248 | ||
1249 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
1250 | { | |
1251 | DECLARE_CLASS(wxPyPreviewControlBar); | |
1252 | public: | |
1253 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
1254 | long buttons, | |
1255 | wxWindow *parent, | |
1256 | const wxPoint& pos = wxDefaultPosition, | |
1257 | const wxSize& size = wxDefaultSize, | |
1258 | long style = 0, | |
1259 | const wxString& name = wxPyPanelNameStr) | |
1260 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
1261 | {} | |
1262 | ||
1263 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
1264 | ||
1265 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
1266 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
1267 | ||
1268 | PYPRIVATE; | |
1269 | }; | |
1270 | ||
1271 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
1272 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
1273 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
1274 | ||
1275 | #ifdef __cplusplus | |
1276 | extern "C" { | |
1277 | #endif | |
1278 | static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1279 | PyObject *resultobj; | |
1280 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1281 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1282 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1283 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1284 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1285 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1286 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1287 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1288 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1289 | wxPanel *result; | |
1290 | wxPoint temp3 ; | |
1291 | wxSize temp4 ; | |
e811c8ce | 1292 | bool temp6 = False ; |
d14a1e28 | 1293 | PyObject * obj0 = 0 ; |
994141e6 | 1294 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1295 | PyObject * obj2 = 0 ; |
1296 | PyObject * obj3 = 0 ; | |
994141e6 | 1297 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1298 | PyObject * obj5 = 0 ; |
1299 | char *kwnames[] = { | |
1300 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1301 | }; | |
1302 | ||
994141e6 | 1303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
1304 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1305 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1306 | if (obj1) { |
15afbcd0 RD |
1307 | arg2 = (int const) SWIG_AsInt(obj1); |
1308 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1309 | } |
d14a1e28 RD |
1310 | if (obj2) { |
1311 | { | |
1312 | arg3 = &temp3; | |
1313 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1314 | } | |
1315 | } | |
1316 | if (obj3) { | |
1317 | { | |
1318 | arg4 = &temp4; | |
1319 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1320 | } | |
1321 | } | |
994141e6 | 1322 | if (obj4) { |
15afbcd0 RD |
1323 | arg5 = (long) SWIG_AsLong(obj4); |
1324 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1325 | } |
d14a1e28 RD |
1326 | if (obj5) { |
1327 | { | |
1328 | arg6 = wxString_in_helper(obj5); | |
1329 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 1330 | temp6 = True; |
d14a1e28 RD |
1331 | } |
1332 | } | |
1333 | { | |
1334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1335 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1336 | ||
1337 | wxPyEndAllowThreads(__tstate); | |
1338 | if (PyErr_Occurred()) SWIG_fail; | |
1339 | } | |
15afbcd0 | 1340 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
1341 | { |
1342 | if (temp6) | |
1343 | delete arg6; | |
1344 | } | |
1345 | return resultobj; | |
1346 | fail: | |
1347 | { | |
1348 | if (temp6) | |
1349 | delete arg6; | |
1350 | } | |
1351 | return NULL; | |
1352 | } | |
1353 | ||
1354 | ||
1355 | static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1356 | PyObject *resultobj; | |
1357 | wxPanel *result; | |
1358 | char *kwnames[] = { | |
1359 | NULL | |
1360 | }; | |
1361 | ||
1362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
1363 | { | |
1364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1365 | result = (wxPanel *)new wxPanel(); | |
1366 | ||
1367 | wxPyEndAllowThreads(__tstate); | |
1368 | if (PyErr_Occurred()) SWIG_fail; | |
1369 | } | |
15afbcd0 | 1370 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
1371 | return resultobj; |
1372 | fail: | |
1373 | return NULL; | |
1374 | } | |
1375 | ||
1376 | ||
1377 | static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1378 | PyObject *resultobj; | |
1379 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1380 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 1381 | int arg3 ; |
d14a1e28 RD |
1382 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1383 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1384 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1385 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1386 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1387 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1388 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1389 | bool result; | |
1390 | wxPoint temp4 ; | |
1391 | wxSize temp5 ; | |
e811c8ce | 1392 | bool temp7 = False ; |
d14a1e28 RD |
1393 | PyObject * obj0 = 0 ; |
1394 | PyObject * obj1 = 0 ; | |
994141e6 | 1395 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1396 | PyObject * obj3 = 0 ; |
1397 | PyObject * obj4 = 0 ; | |
994141e6 | 1398 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1399 | PyObject * obj6 = 0 ; |
1400 | char *kwnames[] = { | |
1401 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1402 | }; | |
1403 | ||
994141e6 | 1404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
1405 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1406 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1407 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1408 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1409 | arg3 = (int const) SWIG_AsInt(obj2); | |
1410 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1411 | if (obj3) { |
1412 | { | |
1413 | arg4 = &temp4; | |
1414 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1415 | } | |
1416 | } | |
1417 | if (obj4) { | |
1418 | { | |
1419 | arg5 = &temp5; | |
1420 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1421 | } | |
1422 | } | |
994141e6 | 1423 | if (obj5) { |
15afbcd0 RD |
1424 | arg6 = (long) SWIG_AsLong(obj5); |
1425 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1426 | } |
d14a1e28 RD |
1427 | if (obj6) { |
1428 | { | |
1429 | arg7 = wxString_in_helper(obj6); | |
1430 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 1431 | temp7 = True; |
d14a1e28 RD |
1432 | } |
1433 | } | |
1434 | { | |
1435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1436 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1437 | ||
1438 | wxPyEndAllowThreads(__tstate); | |
1439 | if (PyErr_Occurred()) SWIG_fail; | |
1440 | } | |
4f89f6a3 RD |
1441 | { |
1442 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1443 | } | |
d14a1e28 RD |
1444 | { |
1445 | if (temp7) | |
1446 | delete arg7; | |
1447 | } | |
1448 | return resultobj; | |
1449 | fail: | |
1450 | { | |
1451 | if (temp7) | |
1452 | delete arg7; | |
1453 | } | |
1454 | return NULL; | |
1455 | } | |
1456 | ||
1457 | ||
1458 | static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1459 | PyObject *resultobj; | |
1460 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1461 | PyObject * obj0 = 0 ; | |
1462 | char *kwnames[] = { | |
1463 | (char *) "self", NULL | |
1464 | }; | |
1465 | ||
1466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1467 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1468 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1469 | { |
1470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1471 | (arg1)->InitDialog(); | |
1472 | ||
1473 | wxPyEndAllowThreads(__tstate); | |
1474 | if (PyErr_Occurred()) SWIG_fail; | |
1475 | } | |
1476 | Py_INCREF(Py_None); resultobj = Py_None; | |
1477 | return resultobj; | |
1478 | fail: | |
1479 | return NULL; | |
1480 | } | |
1481 | ||
1482 | ||
1483 | static PyObject * Panel_swigregister(PyObject *self, PyObject *args) { | |
1484 | PyObject *obj; | |
1485 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1486 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
1487 | Py_INCREF(obj); | |
1488 | return Py_BuildValue((char *)""); | |
1489 | } | |
1490 | static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1491 | PyObject *resultobj; | |
1492 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1493 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1494 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1495 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1496 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1497 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1498 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
1499 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1500 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1501 | wxScrolledWindow *result; | |
1502 | wxPoint temp3 ; | |
1503 | wxSize temp4 ; | |
e811c8ce | 1504 | bool temp6 = False ; |
d14a1e28 | 1505 | PyObject * obj0 = 0 ; |
994141e6 | 1506 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1507 | PyObject * obj2 = 0 ; |
1508 | PyObject * obj3 = 0 ; | |
994141e6 | 1509 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1510 | PyObject * obj5 = 0 ; |
1511 | char *kwnames[] = { | |
1512 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1513 | }; | |
1514 | ||
994141e6 | 1515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
1516 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1517 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1518 | if (obj1) { |
15afbcd0 RD |
1519 | arg2 = (int const) SWIG_AsInt(obj1); |
1520 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1521 | } |
d14a1e28 RD |
1522 | if (obj2) { |
1523 | { | |
1524 | arg3 = &temp3; | |
1525 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1526 | } | |
1527 | } | |
1528 | if (obj3) { | |
1529 | { | |
1530 | arg4 = &temp4; | |
1531 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1532 | } | |
1533 | } | |
994141e6 | 1534 | if (obj4) { |
15afbcd0 RD |
1535 | arg5 = (long) SWIG_AsLong(obj4); |
1536 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1537 | } |
d14a1e28 RD |
1538 | if (obj5) { |
1539 | { | |
1540 | arg6 = wxString_in_helper(obj5); | |
1541 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 1542 | temp6 = True; |
d14a1e28 RD |
1543 | } |
1544 | } | |
1545 | { | |
1546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1547 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1548 | ||
1549 | wxPyEndAllowThreads(__tstate); | |
1550 | if (PyErr_Occurred()) SWIG_fail; | |
1551 | } | |
15afbcd0 | 1552 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1553 | { |
1554 | if (temp6) | |
1555 | delete arg6; | |
1556 | } | |
1557 | return resultobj; | |
1558 | fail: | |
1559 | { | |
1560 | if (temp6) | |
1561 | delete arg6; | |
1562 | } | |
1563 | return NULL; | |
1564 | } | |
1565 | ||
1566 | ||
1567 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1568 | PyObject *resultobj; | |
1569 | wxScrolledWindow *result; | |
1570 | char *kwnames[] = { | |
1571 | NULL | |
1572 | }; | |
1573 | ||
1574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
1575 | { | |
1576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1577 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
1578 | ||
1579 | wxPyEndAllowThreads(__tstate); | |
1580 | if (PyErr_Occurred()) SWIG_fail; | |
1581 | } | |
15afbcd0 | 1582 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1583 | return resultobj; |
1584 | fail: | |
1585 | return NULL; | |
1586 | } | |
1587 | ||
1588 | ||
1589 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1590 | PyObject *resultobj; | |
1591 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1592 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 1593 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
1594 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1595 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1596 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1597 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1598 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
1599 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1600 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1601 | bool result; | |
1602 | wxPoint temp4 ; | |
1603 | wxSize temp5 ; | |
e811c8ce | 1604 | bool temp7 = False ; |
d14a1e28 RD |
1605 | PyObject * obj0 = 0 ; |
1606 | PyObject * obj1 = 0 ; | |
994141e6 | 1607 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1608 | PyObject * obj3 = 0 ; |
1609 | PyObject * obj4 = 0 ; | |
994141e6 | 1610 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1611 | PyObject * obj6 = 0 ; |
1612 | char *kwnames[] = { | |
1613 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1614 | }; | |
1615 | ||
994141e6 | 1616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
1617 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1618 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1619 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1620 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1621 | if (obj2) { |
15afbcd0 RD |
1622 | arg3 = (int const) SWIG_AsInt(obj2); |
1623 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1624 | } |
d14a1e28 RD |
1625 | if (obj3) { |
1626 | { | |
1627 | arg4 = &temp4; | |
1628 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1629 | } | |
1630 | } | |
1631 | if (obj4) { | |
1632 | { | |
1633 | arg5 = &temp5; | |
1634 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1635 | } | |
1636 | } | |
994141e6 | 1637 | if (obj5) { |
15afbcd0 RD |
1638 | arg6 = (long) SWIG_AsLong(obj5); |
1639 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1640 | } |
d14a1e28 RD |
1641 | if (obj6) { |
1642 | { | |
1643 | arg7 = wxString_in_helper(obj6); | |
1644 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 1645 | temp7 = True; |
d14a1e28 RD |
1646 | } |
1647 | } | |
1648 | { | |
1649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1650 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1651 | ||
1652 | wxPyEndAllowThreads(__tstate); | |
1653 | if (PyErr_Occurred()) SWIG_fail; | |
1654 | } | |
4f89f6a3 RD |
1655 | { |
1656 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1657 | } | |
d14a1e28 RD |
1658 | { |
1659 | if (temp7) | |
1660 | delete arg7; | |
1661 | } | |
1662 | return resultobj; | |
1663 | fail: | |
1664 | { | |
1665 | if (temp7) | |
1666 | delete arg7; | |
1667 | } | |
1668 | return NULL; | |
1669 | } | |
1670 | ||
1671 | ||
1672 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1673 | PyObject *resultobj; | |
1674 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1675 | int arg2 ; | |
1676 | int arg3 ; | |
1677 | int arg4 ; | |
1678 | int arg5 ; | |
1679 | int arg6 = (int) 0 ; | |
1680 | int arg7 = (int) 0 ; | |
e811c8ce | 1681 | bool arg8 = (bool) False ; |
d14a1e28 | 1682 | PyObject * obj0 = 0 ; |
994141e6 RD |
1683 | PyObject * obj1 = 0 ; |
1684 | PyObject * obj2 = 0 ; | |
1685 | PyObject * obj3 = 0 ; | |
1686 | PyObject * obj4 = 0 ; | |
1687 | PyObject * obj5 = 0 ; | |
1688 | PyObject * obj6 = 0 ; | |
d14a1e28 RD |
1689 | PyObject * obj7 = 0 ; |
1690 | char *kwnames[] = { | |
1691 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
1692 | }; | |
1693 | ||
994141e6 | 1694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
1695 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1697 | arg2 = (int) SWIG_AsInt(obj1); | |
1698 | if (PyErr_Occurred()) SWIG_fail; | |
1699 | arg3 = (int) SWIG_AsInt(obj2); | |
1700 | if (PyErr_Occurred()) SWIG_fail; | |
1701 | arg4 = (int) SWIG_AsInt(obj3); | |
1702 | if (PyErr_Occurred()) SWIG_fail; | |
1703 | arg5 = (int) SWIG_AsInt(obj4); | |
1704 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1705 | if (obj5) { |
15afbcd0 RD |
1706 | arg6 = (int) SWIG_AsInt(obj5); |
1707 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
1708 | } |
1709 | if (obj6) { | |
15afbcd0 RD |
1710 | arg7 = (int) SWIG_AsInt(obj6); |
1711 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1712 | } |
d14a1e28 | 1713 | if (obj7) { |
15afbcd0 RD |
1714 | arg8 = (bool) SWIG_AsBool(obj7); |
1715 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1716 | } |
1717 | { | |
1718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1719 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
1720 | ||
1721 | wxPyEndAllowThreads(__tstate); | |
1722 | if (PyErr_Occurred()) SWIG_fail; | |
1723 | } | |
1724 | Py_INCREF(Py_None); resultobj = Py_None; | |
1725 | return resultobj; | |
1726 | fail: | |
1727 | return NULL; | |
1728 | } | |
1729 | ||
1730 | ||
1731 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1732 | PyObject *resultobj; | |
1733 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1734 | int arg2 ; | |
1735 | int arg3 ; | |
1736 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1737 | PyObject * obj1 = 0 ; |
1738 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1739 | char *kwnames[] = { |
1740 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1741 | }; | |
1742 | ||
994141e6 | 1743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1746 | arg2 = (int) SWIG_AsInt(obj1); | |
1747 | if (PyErr_Occurred()) SWIG_fail; | |
1748 | arg3 = (int) SWIG_AsInt(obj2); | |
1749 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1750 | { |
1751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1752 | (arg1)->Scroll(arg2,arg3); | |
1753 | ||
1754 | wxPyEndAllowThreads(__tstate); | |
1755 | if (PyErr_Occurred()) SWIG_fail; | |
1756 | } | |
1757 | Py_INCREF(Py_None); resultobj = Py_None; | |
1758 | return resultobj; | |
1759 | fail: | |
1760 | return NULL; | |
1761 | } | |
1762 | ||
1763 | ||
1764 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1765 | PyObject *resultobj; | |
1766 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1767 | int arg2 ; | |
1768 | int result; | |
1769 | PyObject * obj0 = 0 ; | |
994141e6 | 1770 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1771 | char *kwnames[] = { |
1772 | (char *) "self",(char *) "orient", NULL | |
1773 | }; | |
1774 | ||
994141e6 | 1775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1778 | arg2 = (int) SWIG_AsInt(obj1); | |
1779 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1780 | { |
1781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1782 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
1783 | ||
1784 | wxPyEndAllowThreads(__tstate); | |
1785 | if (PyErr_Occurred()) SWIG_fail; | |
1786 | } | |
15afbcd0 | 1787 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
1788 | return resultobj; |
1789 | fail: | |
1790 | return NULL; | |
1791 | } | |
1792 | ||
1793 | ||
1794 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1795 | PyObject *resultobj; | |
1796 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1797 | int arg2 ; | |
1798 | int arg3 ; | |
1799 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1800 | PyObject * obj1 = 0 ; |
1801 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1802 | char *kwnames[] = { |
1803 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
1804 | }; | |
1805 | ||
994141e6 | 1806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1807 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1808 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1809 | arg2 = (int) SWIG_AsInt(obj1); | |
1810 | if (PyErr_Occurred()) SWIG_fail; | |
1811 | arg3 = (int) SWIG_AsInt(obj2); | |
1812 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1813 | { |
1814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1815 | (arg1)->SetScrollPageSize(arg2,arg3); | |
1816 | ||
1817 | wxPyEndAllowThreads(__tstate); | |
1818 | if (PyErr_Occurred()) SWIG_fail; | |
1819 | } | |
1820 | Py_INCREF(Py_None); resultobj = Py_None; | |
1821 | return resultobj; | |
1822 | fail: | |
1823 | return NULL; | |
1824 | } | |
1825 | ||
1826 | ||
1827 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1828 | PyObject *resultobj; | |
1829 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1830 | int arg2 ; | |
1831 | int arg3 ; | |
1832 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1833 | PyObject * obj1 = 0 ; |
1834 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1835 | char *kwnames[] = { |
1836 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
1837 | }; | |
1838 | ||
994141e6 | 1839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1840 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1841 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1842 | arg2 = (int) SWIG_AsInt(obj1); | |
1843 | if (PyErr_Occurred()) SWIG_fail; | |
1844 | arg3 = (int) SWIG_AsInt(obj2); | |
1845 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1846 | { |
1847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1848 | (arg1)->SetScrollRate(arg2,arg3); | |
1849 | ||
1850 | wxPyEndAllowThreads(__tstate); | |
1851 | if (PyErr_Occurred()) SWIG_fail; | |
1852 | } | |
1853 | Py_INCREF(Py_None); resultobj = Py_None; | |
1854 | return resultobj; | |
1855 | fail: | |
1856 | return NULL; | |
1857 | } | |
1858 | ||
1859 | ||
1860 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1861 | PyObject *resultobj; | |
1862 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1863 | int *arg2 = (int *) 0 ; | |
1864 | int *arg3 = (int *) 0 ; | |
1865 | int temp2 ; | |
1866 | int temp3 ; | |
1867 | PyObject * obj0 = 0 ; | |
1868 | char *kwnames[] = { | |
1869 | (char *) "self", NULL | |
1870 | }; | |
1871 | ||
1872 | arg2 = &temp2; | |
1873 | arg3 = &temp3; | |
1874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1875 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1876 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1877 | { |
1878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1879 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
1880 | ||
1881 | wxPyEndAllowThreads(__tstate); | |
1882 | if (PyErr_Occurred()) SWIG_fail; | |
1883 | } | |
1884 | Py_INCREF(Py_None); resultobj = Py_None; | |
1885 | { | |
1886 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1887 | resultobj = t_output_helper(resultobj,o); | |
1888 | } | |
1889 | { | |
1890 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1891 | resultobj = t_output_helper(resultobj,o); | |
1892 | } | |
1893 | return resultobj; | |
1894 | fail: | |
1895 | return NULL; | |
1896 | } | |
1897 | ||
1898 | ||
1899 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1900 | PyObject *resultobj; | |
1901 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1902 | bool arg2 ; | |
1903 | bool arg3 ; | |
1904 | PyObject * obj0 = 0 ; | |
1905 | PyObject * obj1 = 0 ; | |
1906 | PyObject * obj2 = 0 ; | |
1907 | char *kwnames[] = { | |
1908 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
1909 | }; | |
1910 | ||
1911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
1912 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1913 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1914 | arg2 = (bool) SWIG_AsBool(obj1); | |
1915 | if (PyErr_Occurred()) SWIG_fail; | |
1916 | arg3 = (bool) SWIG_AsBool(obj2); | |
1917 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1918 | { |
1919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1920 | (arg1)->EnableScrolling(arg2,arg3); | |
1921 | ||
1922 | wxPyEndAllowThreads(__tstate); | |
1923 | if (PyErr_Occurred()) SWIG_fail; | |
1924 | } | |
1925 | Py_INCREF(Py_None); resultobj = Py_None; | |
1926 | return resultobj; | |
1927 | fail: | |
1928 | return NULL; | |
1929 | } | |
1930 | ||
1931 | ||
1932 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1933 | PyObject *resultobj; | |
1934 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1935 | int *arg2 = (int *) 0 ; | |
1936 | int *arg3 = (int *) 0 ; | |
1937 | int temp2 ; | |
1938 | int temp3 ; | |
1939 | PyObject * obj0 = 0 ; | |
1940 | char *kwnames[] = { | |
1941 | (char *) "self", NULL | |
1942 | }; | |
1943 | ||
1944 | arg2 = &temp2; | |
1945 | arg3 = &temp3; | |
1946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1947 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1948 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1949 | { |
1950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1951 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
1952 | ||
1953 | wxPyEndAllowThreads(__tstate); | |
1954 | if (PyErr_Occurred()) SWIG_fail; | |
1955 | } | |
1956 | Py_INCREF(Py_None); resultobj = Py_None; | |
1957 | { | |
1958 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1959 | resultobj = t_output_helper(resultobj,o); | |
1960 | } | |
1961 | { | |
1962 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1963 | resultobj = t_output_helper(resultobj,o); | |
1964 | } | |
1965 | return resultobj; | |
1966 | fail: | |
1967 | return NULL; | |
1968 | } | |
1969 | ||
1970 | ||
1971 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1972 | PyObject *resultobj; | |
1973 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1974 | double arg2 ; | |
1975 | double arg3 ; | |
1976 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1977 | PyObject * obj1 = 0 ; |
1978 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1979 | char *kwnames[] = { |
1980 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
1981 | }; | |
1982 | ||
994141e6 | 1983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1984 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1985 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1986 | arg2 = (double) SWIG_AsDouble(obj1); | |
1987 | if (PyErr_Occurred()) SWIG_fail; | |
1988 | arg3 = (double) SWIG_AsDouble(obj2); | |
1989 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1990 | { |
1991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1992 | (arg1)->SetScale(arg2,arg3); | |
1993 | ||
1994 | wxPyEndAllowThreads(__tstate); | |
1995 | if (PyErr_Occurred()) SWIG_fail; | |
1996 | } | |
1997 | Py_INCREF(Py_None); resultobj = Py_None; | |
1998 | return resultobj; | |
1999 | fail: | |
2000 | return NULL; | |
2001 | } | |
2002 | ||
2003 | ||
2004 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2005 | PyObject *resultobj; | |
2006 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2007 | double result; | |
2008 | PyObject * obj0 = 0 ; | |
2009 | char *kwnames[] = { | |
2010 | (char *) "self", NULL | |
2011 | }; | |
2012 | ||
2013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2014 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2015 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2016 | { |
2017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2018 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
2019 | ||
2020 | wxPyEndAllowThreads(__tstate); | |
2021 | if (PyErr_Occurred()) SWIG_fail; | |
2022 | } | |
15afbcd0 | 2023 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
2024 | return resultobj; |
2025 | fail: | |
2026 | return NULL; | |
2027 | } | |
2028 | ||
2029 | ||
2030 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2031 | PyObject *resultobj; | |
2032 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2033 | double result; | |
2034 | PyObject * obj0 = 0 ; | |
2035 | char *kwnames[] = { | |
2036 | (char *) "self", NULL | |
2037 | }; | |
2038 | ||
2039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2040 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2041 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2042 | { |
2043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2044 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
2045 | ||
2046 | wxPyEndAllowThreads(__tstate); | |
2047 | if (PyErr_Occurred()) SWIG_fail; | |
2048 | } | |
15afbcd0 | 2049 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
2050 | return resultobj; |
2051 | fail: | |
2052 | return NULL; | |
2053 | } | |
2054 | ||
2055 | ||
2056 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
2057 | PyObject *resultobj; | |
2058 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2059 | wxPoint *arg2 = 0 ; |
2060 | wxPoint result; | |
2061 | wxPoint temp2 ; | |
d14a1e28 | 2062 | PyObject * obj0 = 0 ; |
322913ce | 2063 | PyObject * obj1 = 0 ; |
d14a1e28 | 2064 | |
322913ce | 2065 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2066 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2067 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
322913ce RD |
2068 | { |
2069 | arg2 = &temp2; | |
2070 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2071 | } | |
d14a1e28 RD |
2072 | { |
2073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2074 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2075 | |
2076 | wxPyEndAllowThreads(__tstate); | |
2077 | if (PyErr_Occurred()) SWIG_fail; | |
2078 | } | |
d14a1e28 | 2079 | { |
322913ce RD |
2080 | wxPoint * resultptr; |
2081 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 2082 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
2083 | } |
2084 | return resultobj; | |
2085 | fail: | |
2086 | return NULL; | |
2087 | } | |
2088 | ||
2089 | ||
2090 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
2091 | PyObject *resultobj; | |
2092 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2093 | int arg2 ; |
2094 | int arg3 ; | |
2095 | int *arg4 = (int *) 0 ; | |
2096 | int *arg5 = (int *) 0 ; | |
2097 | int temp4 ; | |
2098 | int temp5 ; | |
d14a1e28 | 2099 | PyObject * obj0 = 0 ; |
994141e6 RD |
2100 | PyObject * obj1 = 0 ; |
2101 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2102 | |
322913ce RD |
2103 | arg4 = &temp4; |
2104 | arg5 = &temp5; | |
994141e6 | 2105 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2106 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2107 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2108 | arg2 = (int) SWIG_AsInt(obj1); | |
2109 | if (PyErr_Occurred()) SWIG_fail; | |
2110 | arg3 = (int) SWIG_AsInt(obj2); | |
2111 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2112 | { |
2113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2114 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2115 | |
2116 | wxPyEndAllowThreads(__tstate); | |
2117 | if (PyErr_Occurred()) SWIG_fail; | |
2118 | } | |
322913ce | 2119 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 2120 | { |
322913ce RD |
2121 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
2122 | resultobj = t_output_helper(resultobj,o); | |
2123 | } | |
2124 | { | |
2125 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
2126 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
2127 | } |
2128 | return resultobj; | |
2129 | fail: | |
2130 | return NULL; | |
2131 | } | |
2132 | ||
2133 | ||
2134 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
2135 | int argc; | |
2136 | PyObject *argv[4]; | |
2137 | int ii; | |
2138 | ||
2139 | argc = PyObject_Length(args); | |
2140 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2141 | argv[ii] = PyTuple_GetItem(args,ii); | |
2142 | } | |
2143 | if (argc == 2) { | |
2144 | int _v; | |
2145 | { | |
2146 | void *ptr; | |
15afbcd0 | 2147 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2148 | _v = 0; |
2149 | PyErr_Clear(); | |
2150 | } else { | |
2151 | _v = 1; | |
2152 | } | |
2153 | } | |
2154 | if (_v) { | |
2155 | { | |
2156 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2157 | } | |
2158 | if (_v) { | |
322913ce | 2159 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2160 | } |
2161 | } | |
2162 | } | |
2163 | if (argc == 3) { | |
2164 | int _v; | |
2165 | { | |
2166 | void *ptr; | |
15afbcd0 | 2167 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2168 | _v = 0; |
2169 | PyErr_Clear(); | |
2170 | } else { | |
2171 | _v = 1; | |
2172 | } | |
2173 | } | |
2174 | if (_v) { | |
15afbcd0 | 2175 | _v = SWIG_CheckInt(argv[1]); |
d14a1e28 | 2176 | if (_v) { |
15afbcd0 | 2177 | _v = SWIG_CheckInt(argv[2]); |
d14a1e28 | 2178 | if (_v) { |
322913ce | 2179 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2180 | } |
2181 | } | |
2182 | } | |
2183 | } | |
2184 | ||
2185 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); | |
2186 | return NULL; | |
2187 | } | |
2188 | ||
2189 | ||
2190 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
2191 | PyObject *resultobj; | |
2192 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2193 | wxPoint *arg2 = 0 ; |
2194 | wxPoint result; | |
2195 | wxPoint temp2 ; | |
d14a1e28 | 2196 | PyObject * obj0 = 0 ; |
322913ce | 2197 | PyObject * obj1 = 0 ; |
d14a1e28 | 2198 | |
322913ce | 2199 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
322913ce RD |
2202 | { |
2203 | arg2 = &temp2; | |
2204 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2205 | } | |
d14a1e28 RD |
2206 | { |
2207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2208 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2209 | |
2210 | wxPyEndAllowThreads(__tstate); | |
2211 | if (PyErr_Occurred()) SWIG_fail; | |
2212 | } | |
d14a1e28 | 2213 | { |
322913ce RD |
2214 | wxPoint * resultptr; |
2215 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 2216 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
2217 | } |
2218 | return resultobj; | |
2219 | fail: | |
2220 | return NULL; | |
2221 | } | |
2222 | ||
2223 | ||
2224 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
2225 | PyObject *resultobj; | |
2226 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2227 | int arg2 ; |
2228 | int arg3 ; | |
2229 | int *arg4 = (int *) 0 ; | |
2230 | int *arg5 = (int *) 0 ; | |
2231 | int temp4 ; | |
2232 | int temp5 ; | |
d14a1e28 | 2233 | PyObject * obj0 = 0 ; |
994141e6 RD |
2234 | PyObject * obj1 = 0 ; |
2235 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2236 | |
322913ce RD |
2237 | arg4 = &temp4; |
2238 | arg5 = &temp5; | |
994141e6 | 2239 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2242 | arg2 = (int) SWIG_AsInt(obj1); | |
2243 | if (PyErr_Occurred()) SWIG_fail; | |
2244 | arg3 = (int) SWIG_AsInt(obj2); | |
2245 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2246 | { |
2247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2248 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2249 | |
2250 | wxPyEndAllowThreads(__tstate); | |
2251 | if (PyErr_Occurred()) SWIG_fail; | |
2252 | } | |
322913ce | 2253 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 2254 | { |
322913ce RD |
2255 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
2256 | resultobj = t_output_helper(resultobj,o); | |
2257 | } | |
2258 | { | |
2259 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
2260 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
2261 | } |
2262 | return resultobj; | |
2263 | fail: | |
2264 | return NULL; | |
2265 | } | |
2266 | ||
2267 | ||
2268 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
2269 | int argc; | |
2270 | PyObject *argv[4]; | |
2271 | int ii; | |
2272 | ||
2273 | argc = PyObject_Length(args); | |
2274 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2275 | argv[ii] = PyTuple_GetItem(args,ii); | |
2276 | } | |
2277 | if (argc == 2) { | |
2278 | int _v; | |
2279 | { | |
2280 | void *ptr; | |
15afbcd0 | 2281 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2282 | _v = 0; |
2283 | PyErr_Clear(); | |
2284 | } else { | |
2285 | _v = 1; | |
2286 | } | |
2287 | } | |
2288 | if (_v) { | |
2289 | { | |
2290 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2291 | } | |
2292 | if (_v) { | |
322913ce | 2293 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2294 | } |
2295 | } | |
2296 | } | |
2297 | if (argc == 3) { | |
2298 | int _v; | |
2299 | { | |
2300 | void *ptr; | |
15afbcd0 | 2301 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2302 | _v = 0; |
2303 | PyErr_Clear(); | |
2304 | } else { | |
2305 | _v = 1; | |
2306 | } | |
2307 | } | |
2308 | if (_v) { | |
15afbcd0 | 2309 | _v = SWIG_CheckInt(argv[1]); |
d14a1e28 | 2310 | if (_v) { |
15afbcd0 | 2311 | _v = SWIG_CheckInt(argv[2]); |
d14a1e28 | 2312 | if (_v) { |
322913ce | 2313 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2314 | } |
2315 | } | |
2316 | } | |
2317 | } | |
2318 | ||
2319 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); | |
2320 | return NULL; | |
2321 | } | |
2322 | ||
2323 | ||
2324 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2325 | PyObject *resultobj; | |
2326 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2327 | PyObject * obj0 = 0 ; | |
2328 | char *kwnames[] = { | |
2329 | (char *) "self", NULL | |
2330 | }; | |
2331 | ||
2332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2333 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2334 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2335 | { |
2336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2337 | (arg1)->AdjustScrollbars(); | |
2338 | ||
2339 | wxPyEndAllowThreads(__tstate); | |
2340 | if (PyErr_Occurred()) SWIG_fail; | |
2341 | } | |
2342 | Py_INCREF(Py_None); resultobj = Py_None; | |
2343 | return resultobj; | |
2344 | fail: | |
2345 | return NULL; | |
2346 | } | |
2347 | ||
2348 | ||
2349 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2350 | PyObject *resultobj; | |
2351 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2352 | wxScrollWinEvent *arg2 = 0 ; | |
2353 | int result; | |
2354 | PyObject * obj0 = 0 ; | |
2355 | PyObject * obj1 = 0 ; | |
2356 | char *kwnames[] = { | |
2357 | (char *) "self",(char *) "event", NULL | |
2358 | }; | |
2359 | ||
2360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2361 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2362 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2363 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent, | |
2364 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2365 | SWIG_fail; | |
d14a1e28 | 2366 | if (arg2 == NULL) { |
15afbcd0 RD |
2367 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2368 | SWIG_fail; | |
d14a1e28 RD |
2369 | } |
2370 | { | |
2371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2372 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
2373 | ||
2374 | wxPyEndAllowThreads(__tstate); | |
2375 | if (PyErr_Occurred()) SWIG_fail; | |
2376 | } | |
15afbcd0 | 2377 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
2378 | return resultobj; |
2379 | fail: | |
2380 | return NULL; | |
2381 | } | |
2382 | ||
2383 | ||
2384 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2385 | PyObject *resultobj; | |
2386 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2387 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2388 | PyObject * obj0 = 0 ; | |
2389 | PyObject * obj1 = 0 ; | |
2390 | char *kwnames[] = { | |
2391 | (char *) "self",(char *) "target", NULL | |
2392 | }; | |
2393 | ||
2394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2395 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2396 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2397 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
2398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2399 | { |
2400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2401 | (arg1)->SetTargetWindow(arg2); | |
2402 | ||
2403 | wxPyEndAllowThreads(__tstate); | |
2404 | if (PyErr_Occurred()) SWIG_fail; | |
2405 | } | |
2406 | Py_INCREF(Py_None); resultobj = Py_None; | |
2407 | return resultobj; | |
2408 | fail: | |
2409 | return NULL; | |
2410 | } | |
2411 | ||
2412 | ||
2413 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2414 | PyObject *resultobj; | |
2415 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2416 | wxWindow *result; | |
2417 | PyObject * obj0 = 0 ; | |
2418 | char *kwnames[] = { | |
2419 | (char *) "self", NULL | |
2420 | }; | |
2421 | ||
2422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2423 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2424 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2425 | { |
2426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2427 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
2428 | ||
2429 | wxPyEndAllowThreads(__tstate); | |
2430 | if (PyErr_Occurred()) SWIG_fail; | |
2431 | } | |
2432 | { | |
2433 | resultobj = wxPyMake_wxObject(result); | |
2434 | } | |
2435 | return resultobj; | |
2436 | fail: | |
2437 | return NULL; | |
2438 | } | |
2439 | ||
2440 | ||
2441 | static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
2442 | PyObject *obj; | |
2443 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2444 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
2445 | Py_INCREF(obj); | |
2446 | return Py_BuildValue((char *)""); | |
2447 | } | |
b2dc1044 RD |
2448 | static int _wrap_FrameNameStr_set(PyObject *_val) { |
2449 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); | |
2450 | return 1; | |
2451 | } | |
2452 | ||
2453 | ||
2454 | static PyObject *_wrap_FrameNameStr_get() { | |
2455 | PyObject *pyobj; | |
2456 | ||
2457 | { | |
2458 | #if wxUSE_UNICODE | |
2459 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2460 | #else | |
2461 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2462 | #endif | |
2463 | } | |
2464 | return pyobj; | |
2465 | } | |
2466 | ||
2467 | ||
2468 | static int _wrap_DialogNameStr_set(PyObject *_val) { | |
2469 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); | |
2470 | return 1; | |
2471 | } | |
2472 | ||
2473 | ||
2474 | static PyObject *_wrap_DialogNameStr_get() { | |
2475 | PyObject *pyobj; | |
2476 | ||
2477 | { | |
2478 | #if wxUSE_UNICODE | |
2479 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2480 | #else | |
2481 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2482 | #endif | |
2483 | } | |
2484 | return pyobj; | |
2485 | } | |
2486 | ||
2487 | ||
2488 | static int _wrap_StatusLineNameStr_set(PyObject *_val) { | |
2489 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); | |
2490 | return 1; | |
2491 | } | |
2492 | ||
2493 | ||
2494 | static PyObject *_wrap_StatusLineNameStr_get() { | |
2495 | PyObject *pyobj; | |
2496 | ||
2497 | { | |
2498 | #if wxUSE_UNICODE | |
2499 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2500 | #else | |
2501 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2502 | #endif | |
2503 | } | |
2504 | return pyobj; | |
2505 | } | |
2506 | ||
2507 | ||
2508 | static int _wrap_ToolBarNameStr_set(PyObject *_val) { | |
2509 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); | |
2510 | return 1; | |
2511 | } | |
2512 | ||
2513 | ||
2514 | static PyObject *_wrap_ToolBarNameStr_get() { | |
2515 | PyObject *pyobj; | |
2516 | ||
2517 | { | |
2518 | #if wxUSE_UNICODE | |
2519 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2520 | #else | |
2521 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2522 | #endif | |
2523 | } | |
2524 | return pyobj; | |
2525 | } | |
2526 | ||
2527 | ||
d14a1e28 RD |
2528 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { |
2529 | PyObject *resultobj; | |
2530 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
e811c8ce | 2531 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2532 | PyObject * obj0 = 0 ; |
2533 | PyObject * obj1 = 0 ; | |
2534 | char *kwnames[] = { | |
2535 | (char *) "self",(char *) "maximize", NULL | |
2536 | }; | |
2537 | ||
2538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2539 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2540 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2541 | if (obj1) { |
15afbcd0 RD |
2542 | arg2 = (bool) SWIG_AsBool(obj1); |
2543 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2544 | } |
2545 | { | |
2546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2547 | (arg1)->Maximize(arg2); | |
2548 | ||
2549 | wxPyEndAllowThreads(__tstate); | |
2550 | if (PyErr_Occurred()) SWIG_fail; | |
2551 | } | |
2552 | Py_INCREF(Py_None); resultobj = Py_None; | |
2553 | return resultobj; | |
2554 | fail: | |
2555 | return NULL; | |
2556 | } | |
2557 | ||
2558 | ||
2559 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2560 | PyObject *resultobj; | |
2561 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2562 | PyObject * obj0 = 0 ; | |
2563 | char *kwnames[] = { | |
2564 | (char *) "self", NULL | |
2565 | }; | |
2566 | ||
2567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2568 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2569 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2570 | { |
2571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2572 | (arg1)->Restore(); | |
2573 | ||
2574 | wxPyEndAllowThreads(__tstate); | |
2575 | if (PyErr_Occurred()) SWIG_fail; | |
2576 | } | |
2577 | Py_INCREF(Py_None); resultobj = Py_None; | |
2578 | return resultobj; | |
2579 | fail: | |
2580 | return NULL; | |
2581 | } | |
2582 | ||
2583 | ||
2584 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2585 | PyObject *resultobj; | |
2586 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
e811c8ce | 2587 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2588 | PyObject * obj0 = 0 ; |
2589 | PyObject * obj1 = 0 ; | |
2590 | char *kwnames[] = { | |
2591 | (char *) "self",(char *) "iconize", NULL | |
2592 | }; | |
2593 | ||
2594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2595 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2596 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2597 | if (obj1) { |
15afbcd0 RD |
2598 | arg2 = (bool) SWIG_AsBool(obj1); |
2599 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2600 | } |
2601 | { | |
2602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2603 | (arg1)->Iconize(arg2); | |
2604 | ||
2605 | wxPyEndAllowThreads(__tstate); | |
2606 | if (PyErr_Occurred()) SWIG_fail; | |
2607 | } | |
2608 | Py_INCREF(Py_None); resultobj = Py_None; | |
2609 | return resultobj; | |
2610 | fail: | |
2611 | return NULL; | |
2612 | } | |
2613 | ||
2614 | ||
2615 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2616 | PyObject *resultobj; | |
2617 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2618 | bool result; | |
2619 | PyObject * obj0 = 0 ; | |
2620 | char *kwnames[] = { | |
2621 | (char *) "self", NULL | |
2622 | }; | |
2623 | ||
2624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2625 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2626 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2627 | { |
2628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2629 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
2630 | ||
2631 | wxPyEndAllowThreads(__tstate); | |
2632 | if (PyErr_Occurred()) SWIG_fail; | |
2633 | } | |
4f89f6a3 RD |
2634 | { |
2635 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2636 | } | |
d14a1e28 RD |
2637 | return resultobj; |
2638 | fail: | |
2639 | return NULL; | |
2640 | } | |
2641 | ||
2642 | ||
2643 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2644 | PyObject *resultobj; | |
2645 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2646 | bool result; | |
2647 | PyObject * obj0 = 0 ; | |
2648 | char *kwnames[] = { | |
2649 | (char *) "self", NULL | |
2650 | }; | |
2651 | ||
2652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2653 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2654 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2655 | { |
2656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2657 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
2658 | ||
2659 | wxPyEndAllowThreads(__tstate); | |
2660 | if (PyErr_Occurred()) SWIG_fail; | |
2661 | } | |
4f89f6a3 RD |
2662 | { |
2663 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2664 | } | |
d14a1e28 RD |
2665 | return resultobj; |
2666 | fail: | |
2667 | return NULL; | |
2668 | } | |
2669 | ||
2670 | ||
2671 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2672 | PyObject *resultobj; | |
2673 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2674 | wxIcon result; | |
2675 | PyObject * obj0 = 0 ; | |
2676 | char *kwnames[] = { | |
2677 | (char *) "self", NULL | |
2678 | }; | |
2679 | ||
2680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2681 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2682 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2683 | { |
2684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2685 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
2686 | ||
2687 | wxPyEndAllowThreads(__tstate); | |
2688 | if (PyErr_Occurred()) SWIG_fail; | |
2689 | } | |
2690 | { | |
2691 | wxIcon * resultptr; | |
2692 | resultptr = new wxIcon((wxIcon &) result); | |
15afbcd0 | 2693 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
d14a1e28 RD |
2694 | } |
2695 | return resultobj; | |
2696 | fail: | |
2697 | return NULL; | |
2698 | } | |
2699 | ||
2700 | ||
2701 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2702 | PyObject *resultobj; | |
2703 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2704 | wxIcon *arg2 = 0 ; | |
2705 | PyObject * obj0 = 0 ; | |
2706 | PyObject * obj1 = 0 ; | |
2707 | char *kwnames[] = { | |
2708 | (char *) "self",(char *) "icon", NULL | |
2709 | }; | |
2710 | ||
2711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2712 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2714 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
2715 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2716 | SWIG_fail; | |
d14a1e28 | 2717 | if (arg2 == NULL) { |
15afbcd0 RD |
2718 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2719 | SWIG_fail; | |
d14a1e28 RD |
2720 | } |
2721 | { | |
2722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2723 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
2724 | ||
2725 | wxPyEndAllowThreads(__tstate); | |
2726 | if (PyErr_Occurred()) SWIG_fail; | |
2727 | } | |
2728 | Py_INCREF(Py_None); resultobj = Py_None; | |
2729 | return resultobj; | |
2730 | fail: | |
2731 | return NULL; | |
2732 | } | |
2733 | ||
2734 | ||
2735 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2736 | PyObject *resultobj; | |
2737 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2738 | wxIconBundle *arg2 = 0 ; | |
2739 | PyObject * obj0 = 0 ; | |
2740 | PyObject * obj1 = 0 ; | |
2741 | char *kwnames[] = { | |
2742 | (char *) "self",(char *) "icons", NULL | |
2743 | }; | |
2744 | ||
2745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2746 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2747 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2748 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle, | |
2749 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2750 | SWIG_fail; | |
d14a1e28 | 2751 | if (arg2 == NULL) { |
15afbcd0 RD |
2752 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2753 | SWIG_fail; | |
d14a1e28 RD |
2754 | } |
2755 | { | |
2756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2757 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
2758 | ||
2759 | wxPyEndAllowThreads(__tstate); | |
2760 | if (PyErr_Occurred()) SWIG_fail; | |
2761 | } | |
2762 | Py_INCREF(Py_None); resultobj = Py_None; | |
2763 | return resultobj; | |
2764 | fail: | |
2765 | return NULL; | |
2766 | } | |
2767 | ||
2768 | ||
2769 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2770 | PyObject *resultobj; | |
2771 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2772 | bool arg2 ; | |
2773 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
2774 | bool result; | |
2775 | PyObject * obj0 = 0 ; | |
2776 | PyObject * obj1 = 0 ; | |
994141e6 | 2777 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
2778 | char *kwnames[] = { |
2779 | (char *) "self",(char *) "show",(char *) "style", NULL | |
2780 | }; | |
2781 | ||
994141e6 | 2782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2783 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2784 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2785 | arg2 = (bool) SWIG_AsBool(obj1); | |
2786 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 2787 | if (obj2) { |
15afbcd0 RD |
2788 | arg3 = (long) SWIG_AsLong(obj2); |
2789 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 2790 | } |
d14a1e28 RD |
2791 | { |
2792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2793 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
2794 | ||
2795 | wxPyEndAllowThreads(__tstate); | |
2796 | if (PyErr_Occurred()) SWIG_fail; | |
2797 | } | |
4f89f6a3 RD |
2798 | { |
2799 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2800 | } | |
d14a1e28 RD |
2801 | return resultobj; |
2802 | fail: | |
2803 | return NULL; | |
2804 | } | |
2805 | ||
2806 | ||
2807 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2808 | PyObject *resultobj; | |
2809 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2810 | bool result; | |
2811 | PyObject * obj0 = 0 ; | |
2812 | char *kwnames[] = { | |
2813 | (char *) "self", NULL | |
2814 | }; | |
2815 | ||
2816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2817 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2818 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2819 | { |
2820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2821 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
2822 | ||
2823 | wxPyEndAllowThreads(__tstate); | |
2824 | if (PyErr_Occurred()) SWIG_fail; | |
2825 | } | |
4f89f6a3 RD |
2826 | { |
2827 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2828 | } | |
d14a1e28 RD |
2829 | return resultobj; |
2830 | fail: | |
2831 | return NULL; | |
2832 | } | |
2833 | ||
2834 | ||
2835 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2836 | PyObject *resultobj; | |
2837 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2838 | wxString *arg2 = 0 ; | |
e811c8ce | 2839 | bool temp2 = False ; |
d14a1e28 RD |
2840 | PyObject * obj0 = 0 ; |
2841 | PyObject * obj1 = 0 ; | |
2842 | char *kwnames[] = { | |
2843 | (char *) "self",(char *) "title", NULL | |
2844 | }; | |
2845 | ||
2846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2847 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2848 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2849 | { |
2850 | arg2 = wxString_in_helper(obj1); | |
2851 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 2852 | temp2 = True; |
d14a1e28 RD |
2853 | } |
2854 | { | |
2855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2856 | (arg1)->SetTitle((wxString const &)*arg2); | |
2857 | ||
2858 | wxPyEndAllowThreads(__tstate); | |
2859 | if (PyErr_Occurred()) SWIG_fail; | |
2860 | } | |
2861 | Py_INCREF(Py_None); resultobj = Py_None; | |
2862 | { | |
2863 | if (temp2) | |
2864 | delete arg2; | |
2865 | } | |
2866 | return resultobj; | |
2867 | fail: | |
2868 | { | |
2869 | if (temp2) | |
2870 | delete arg2; | |
2871 | } | |
2872 | return NULL; | |
2873 | } | |
2874 | ||
2875 | ||
2876 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2877 | PyObject *resultobj; | |
2878 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2879 | wxString result; | |
2880 | PyObject * obj0 = 0 ; | |
2881 | char *kwnames[] = { | |
2882 | (char *) "self", NULL | |
2883 | }; | |
2884 | ||
2885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2886 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2887 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2888 | { |
2889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2890 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
2891 | ||
2892 | wxPyEndAllowThreads(__tstate); | |
2893 | if (PyErr_Occurred()) SWIG_fail; | |
2894 | } | |
2895 | { | |
2896 | #if wxUSE_UNICODE | |
2897 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2898 | #else | |
2899 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2900 | #endif | |
2901 | } | |
2902 | return resultobj; | |
2903 | fail: | |
2904 | return NULL; | |
2905 | } | |
2906 | ||
2907 | ||
2908 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2909 | PyObject *resultobj; | |
2910 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2911 | wxRegion *arg2 = 0 ; | |
2912 | bool result; | |
2913 | PyObject * obj0 = 0 ; | |
2914 | PyObject * obj1 = 0 ; | |
2915 | char *kwnames[] = { | |
2916 | (char *) "self",(char *) "region", NULL | |
2917 | }; | |
2918 | ||
2919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2922 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion, | |
2923 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2924 | SWIG_fail; | |
d14a1e28 | 2925 | if (arg2 == NULL) { |
15afbcd0 RD |
2926 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2927 | SWIG_fail; | |
d14a1e28 RD |
2928 | } |
2929 | { | |
2930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2931 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
2932 | ||
2933 | wxPyEndAllowThreads(__tstate); | |
2934 | if (PyErr_Occurred()) SWIG_fail; | |
2935 | } | |
4f89f6a3 RD |
2936 | { |
2937 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2938 | } | |
d14a1e28 RD |
2939 | return resultobj; |
2940 | fail: | |
2941 | return NULL; | |
2942 | } | |
2943 | ||
2944 | ||
2945 | static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) { | |
2946 | PyObject *obj; | |
2947 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2948 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
2949 | Py_INCREF(obj); | |
2950 | return Py_BuildValue((char *)""); | |
2951 | } | |
2952 | static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2953 | PyObject *resultobj; | |
2954 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 2955 | int arg2 ; |
d14a1e28 RD |
2956 | wxString *arg3 = 0 ; |
2957 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2958 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2959 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2960 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2961 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
2962 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
2963 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2964 | wxFrame *result; | |
e811c8ce | 2965 | bool temp3 = False ; |
d14a1e28 RD |
2966 | wxPoint temp4 ; |
2967 | wxSize temp5 ; | |
e811c8ce | 2968 | bool temp7 = False ; |
d14a1e28 | 2969 | PyObject * obj0 = 0 ; |
994141e6 | 2970 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2971 | PyObject * obj2 = 0 ; |
2972 | PyObject * obj3 = 0 ; | |
2973 | PyObject * obj4 = 0 ; | |
994141e6 | 2974 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
2975 | PyObject * obj6 = 0 ; |
2976 | char *kwnames[] = { | |
2977 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2978 | }; | |
2979 | ||
994141e6 | 2980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
2981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
2982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2983 | arg2 = (int const) SWIG_AsInt(obj1); | |
2984 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2985 | { |
2986 | arg3 = wxString_in_helper(obj2); | |
2987 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 2988 | temp3 = True; |
d14a1e28 RD |
2989 | } |
2990 | if (obj3) { | |
2991 | { | |
2992 | arg4 = &temp4; | |
2993 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2994 | } | |
2995 | } | |
2996 | if (obj4) { | |
2997 | { | |
2998 | arg5 = &temp5; | |
2999 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3000 | } | |
3001 | } | |
994141e6 | 3002 | if (obj5) { |
15afbcd0 RD |
3003 | arg6 = (long) SWIG_AsLong(obj5); |
3004 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3005 | } |
d14a1e28 RD |
3006 | if (obj6) { |
3007 | { | |
3008 | arg7 = wxString_in_helper(obj6); | |
3009 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 3010 | temp7 = True; |
d14a1e28 RD |
3011 | } |
3012 | } | |
3013 | { | |
3014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3015 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3016 | ||
3017 | wxPyEndAllowThreads(__tstate); | |
3018 | if (PyErr_Occurred()) SWIG_fail; | |
3019 | } | |
3020 | { | |
3021 | resultobj = wxPyMake_wxObject(result); | |
3022 | } | |
3023 | { | |
3024 | if (temp3) | |
3025 | delete arg3; | |
3026 | } | |
3027 | { | |
3028 | if (temp7) | |
3029 | delete arg7; | |
3030 | } | |
3031 | return resultobj; | |
3032 | fail: | |
3033 | { | |
3034 | if (temp3) | |
3035 | delete arg3; | |
3036 | } | |
3037 | { | |
3038 | if (temp7) | |
3039 | delete arg7; | |
3040 | } | |
3041 | return NULL; | |
3042 | } | |
3043 | ||
3044 | ||
3045 | static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3046 | PyObject *resultobj; | |
3047 | wxFrame *result; | |
3048 | char *kwnames[] = { | |
3049 | NULL | |
3050 | }; | |
3051 | ||
3052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
3053 | { | |
3054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3055 | result = (wxFrame *)new wxFrame(); | |
3056 | ||
3057 | wxPyEndAllowThreads(__tstate); | |
3058 | if (PyErr_Occurred()) SWIG_fail; | |
3059 | } | |
3060 | { | |
3061 | resultobj = wxPyMake_wxObject(result); | |
3062 | } | |
3063 | return resultobj; | |
3064 | fail: | |
3065 | return NULL; | |
3066 | } | |
3067 | ||
3068 | ||
3069 | static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3070 | PyObject *resultobj; | |
3071 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3072 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 3073 | int arg3 ; |
d14a1e28 RD |
3074 | wxString *arg4 = 0 ; |
3075 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
3076 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3077 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3078 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3079 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
3080 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
3081 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3082 | bool result; | |
e811c8ce | 3083 | bool temp4 = False ; |
d14a1e28 RD |
3084 | wxPoint temp5 ; |
3085 | wxSize temp6 ; | |
e811c8ce | 3086 | bool temp8 = False ; |
d14a1e28 RD |
3087 | PyObject * obj0 = 0 ; |
3088 | PyObject * obj1 = 0 ; | |
994141e6 | 3089 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3090 | PyObject * obj3 = 0 ; |
3091 | PyObject * obj4 = 0 ; | |
3092 | PyObject * obj5 = 0 ; | |
994141e6 | 3093 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3094 | PyObject * obj7 = 0 ; |
3095 | char *kwnames[] = { | |
3096 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3097 | }; | |
3098 | ||
994141e6 | 3099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
3100 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3102 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3103 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3104 | arg3 = (int const) SWIG_AsInt(obj2); | |
3105 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3106 | { |
3107 | arg4 = wxString_in_helper(obj3); | |
3108 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 3109 | temp4 = True; |
d14a1e28 RD |
3110 | } |
3111 | if (obj4) { | |
3112 | { | |
3113 | arg5 = &temp5; | |
3114 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3115 | } | |
3116 | } | |
3117 | if (obj5) { | |
3118 | { | |
3119 | arg6 = &temp6; | |
3120 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3121 | } | |
3122 | } | |
994141e6 | 3123 | if (obj6) { |
15afbcd0 RD |
3124 | arg7 = (long) SWIG_AsLong(obj6); |
3125 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3126 | } |
d14a1e28 RD |
3127 | if (obj7) { |
3128 | { | |
3129 | arg8 = wxString_in_helper(obj7); | |
3130 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 3131 | temp8 = True; |
d14a1e28 RD |
3132 | } |
3133 | } | |
3134 | { | |
3135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3136 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3137 | ||
3138 | wxPyEndAllowThreads(__tstate); | |
3139 | if (PyErr_Occurred()) SWIG_fail; | |
3140 | } | |
4f89f6a3 RD |
3141 | { |
3142 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3143 | } | |
d14a1e28 RD |
3144 | { |
3145 | if (temp4) | |
3146 | delete arg4; | |
3147 | } | |
3148 | { | |
3149 | if (temp8) | |
3150 | delete arg8; | |
3151 | } | |
3152 | return resultobj; | |
3153 | fail: | |
3154 | { | |
3155 | if (temp4) | |
3156 | delete arg4; | |
3157 | } | |
3158 | { | |
3159 | if (temp8) | |
3160 | delete arg8; | |
3161 | } | |
3162 | return NULL; | |
3163 | } | |
3164 | ||
3165 | ||
3166 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3167 | PyObject *resultobj; | |
3168 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3169 | wxPoint result; | |
3170 | PyObject * obj0 = 0 ; | |
3171 | char *kwnames[] = { | |
3172 | (char *) "self", NULL | |
3173 | }; | |
3174 | ||
3175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3176 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3177 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3178 | { |
3179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3180 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
3181 | ||
3182 | wxPyEndAllowThreads(__tstate); | |
3183 | if (PyErr_Occurred()) SWIG_fail; | |
3184 | } | |
3185 | { | |
3186 | wxPoint * resultptr; | |
3187 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 3188 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
3189 | } |
3190 | return resultobj; | |
3191 | fail: | |
3192 | return NULL; | |
3193 | } | |
3194 | ||
3195 | ||
3196 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3197 | PyObject *resultobj; | |
3198 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3199 | PyObject * obj0 = 0 ; | |
3200 | char *kwnames[] = { | |
3201 | (char *) "self", NULL | |
3202 | }; | |
3203 | ||
3204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3205 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3206 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3207 | { |
3208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3209 | (arg1)->SendSizeEvent(); | |
3210 | ||
3211 | wxPyEndAllowThreads(__tstate); | |
3212 | if (PyErr_Occurred()) SWIG_fail; | |
3213 | } | |
3214 | Py_INCREF(Py_None); resultobj = Py_None; | |
3215 | return resultobj; | |
3216 | fail: | |
3217 | return NULL; | |
3218 | } | |
3219 | ||
3220 | ||
3221 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3222 | PyObject *resultobj; | |
3223 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3224 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
3225 | PyObject * obj0 = 0 ; | |
3226 | PyObject * obj1 = 0 ; | |
3227 | char *kwnames[] = { | |
3228 | (char *) "self",(char *) "menubar", NULL | |
3229 | }; | |
3230 | ||
3231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3232 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3233 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3234 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar, | |
3235 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3236 | { |
3237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3238 | (arg1)->SetMenuBar(arg2); | |
3239 | ||
3240 | wxPyEndAllowThreads(__tstate); | |
3241 | if (PyErr_Occurred()) SWIG_fail; | |
3242 | } | |
3243 | Py_INCREF(Py_None); resultobj = Py_None; | |
3244 | return resultobj; | |
3245 | fail: | |
3246 | return NULL; | |
3247 | } | |
3248 | ||
3249 | ||
3250 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3251 | PyObject *resultobj; | |
3252 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3253 | wxMenuBar *result; | |
3254 | PyObject * obj0 = 0 ; | |
3255 | char *kwnames[] = { | |
3256 | (char *) "self", NULL | |
3257 | }; | |
3258 | ||
3259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3260 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3261 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3262 | { |
3263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3264 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
3265 | ||
3266 | wxPyEndAllowThreads(__tstate); | |
3267 | if (PyErr_Occurred()) SWIG_fail; | |
3268 | } | |
3269 | { | |
3270 | resultobj = wxPyMake_wxObject(result); | |
3271 | } | |
3272 | return resultobj; | |
3273 | fail: | |
3274 | return NULL; | |
3275 | } | |
3276 | ||
3277 | ||
3278 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3279 | PyObject *resultobj; | |
3280 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3281 | int arg2 ; | |
3282 | bool result; | |
3283 | PyObject * obj0 = 0 ; | |
994141e6 | 3284 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3285 | char *kwnames[] = { |
3286 | (char *) "self",(char *) "winid", NULL | |
3287 | }; | |
3288 | ||
994141e6 | 3289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3290 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3291 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3292 | arg2 = (int) SWIG_AsInt(obj1); | |
3293 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3294 | { |
3295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3296 | result = (bool)(arg1)->ProcessCommand(arg2); | |
3297 | ||
3298 | wxPyEndAllowThreads(__tstate); | |
3299 | if (PyErr_Occurred()) SWIG_fail; | |
3300 | } | |
4f89f6a3 RD |
3301 | { |
3302 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3303 | } | |
d14a1e28 RD |
3304 | return resultobj; |
3305 | fail: | |
3306 | return NULL; | |
3307 | } | |
3308 | ||
3309 | ||
3310 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3311 | PyObject *resultobj; | |
3312 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3313 | int arg2 = (int) 1 ; | |
4276dc52 | 3314 | long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ; |
e811c8ce | 3315 | int arg4 = (int) 0 ; |
d14a1e28 RD |
3316 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; |
3317 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
3318 | wxStatusBar *result; | |
e811c8ce | 3319 | bool temp5 = False ; |
d14a1e28 | 3320 | PyObject * obj0 = 0 ; |
994141e6 RD |
3321 | PyObject * obj1 = 0 ; |
3322 | PyObject * obj2 = 0 ; | |
3323 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
3324 | PyObject * obj4 = 0 ; |
3325 | char *kwnames[] = { | |
3326 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3327 | }; | |
3328 | ||
994141e6 | 3329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
3330 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3331 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3332 | if (obj1) { |
15afbcd0 RD |
3333 | arg2 = (int) SWIG_AsInt(obj1); |
3334 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
3335 | } |
3336 | if (obj2) { | |
15afbcd0 RD |
3337 | arg3 = (long) SWIG_AsLong(obj2); |
3338 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
3339 | } |
3340 | if (obj3) { | |
15afbcd0 RD |
3341 | arg4 = (int) SWIG_AsInt(obj3); |
3342 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3343 | } |
d14a1e28 RD |
3344 | if (obj4) { |
3345 | { | |
3346 | arg5 = wxString_in_helper(obj4); | |
3347 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 3348 | temp5 = True; |
d14a1e28 RD |
3349 | } |
3350 | } | |
3351 | { | |
3352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3353 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
3354 | ||
3355 | wxPyEndAllowThreads(__tstate); | |
3356 | if (PyErr_Occurred()) SWIG_fail; | |
3357 | } | |
3358 | { | |
3359 | resultobj = wxPyMake_wxObject(result); | |
3360 | } | |
3361 | { | |
3362 | if (temp5) | |
3363 | delete arg5; | |
3364 | } | |
3365 | return resultobj; | |
3366 | fail: | |
3367 | { | |
3368 | if (temp5) | |
3369 | delete arg5; | |
3370 | } | |
3371 | return NULL; | |
3372 | } | |
3373 | ||
3374 | ||
3375 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3376 | PyObject *resultobj; | |
3377 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3378 | wxStatusBar *result; | |
3379 | PyObject * obj0 = 0 ; | |
3380 | char *kwnames[] = { | |
3381 | (char *) "self", NULL | |
3382 | }; | |
3383 | ||
3384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3385 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3386 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3387 | { |
3388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3389 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
3390 | ||
3391 | wxPyEndAllowThreads(__tstate); | |
3392 | if (PyErr_Occurred()) SWIG_fail; | |
3393 | } | |
3394 | { | |
3395 | resultobj = wxPyMake_wxObject(result); | |
3396 | } | |
3397 | return resultobj; | |
3398 | fail: | |
3399 | return NULL; | |
3400 | } | |
3401 | ||
3402 | ||
3403 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3404 | PyObject *resultobj; | |
3405 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3406 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
3407 | PyObject * obj0 = 0 ; | |
3408 | PyObject * obj1 = 0 ; | |
3409 | char *kwnames[] = { | |
3410 | (char *) "self",(char *) "statBar", NULL | |
3411 | }; | |
3412 | ||
3413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3414 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3415 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3416 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar, | |
3417 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3418 | { |
3419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3420 | (arg1)->SetStatusBar(arg2); | |
3421 | ||
3422 | wxPyEndAllowThreads(__tstate); | |
3423 | if (PyErr_Occurred()) SWIG_fail; | |
3424 | } | |
3425 | Py_INCREF(Py_None); resultobj = Py_None; | |
3426 | return resultobj; | |
3427 | fail: | |
3428 | return NULL; | |
3429 | } | |
3430 | ||
3431 | ||
3432 | static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3433 | PyObject *resultobj; | |
3434 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3435 | wxString *arg2 = 0 ; | |
3436 | int arg3 = (int) 0 ; | |
e811c8ce | 3437 | bool temp2 = False ; |
d14a1e28 RD |
3438 | PyObject * obj0 = 0 ; |
3439 | PyObject * obj1 = 0 ; | |
994141e6 | 3440 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3441 | char *kwnames[] = { |
3442 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3443 | }; | |
3444 | ||
994141e6 | 3445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3446 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3447 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3448 | { |
3449 | arg2 = wxString_in_helper(obj1); | |
3450 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3451 | temp2 = True; |
d14a1e28 | 3452 | } |
994141e6 | 3453 | if (obj2) { |
15afbcd0 RD |
3454 | arg3 = (int) SWIG_AsInt(obj2); |
3455 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3456 | } |
d14a1e28 RD |
3457 | { |
3458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3459 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
3460 | ||
3461 | wxPyEndAllowThreads(__tstate); | |
3462 | if (PyErr_Occurred()) SWIG_fail; | |
3463 | } | |
3464 | Py_INCREF(Py_None); resultobj = Py_None; | |
3465 | { | |
3466 | if (temp2) | |
3467 | delete arg2; | |
3468 | } | |
3469 | return resultobj; | |
3470 | fail: | |
3471 | { | |
3472 | if (temp2) | |
3473 | delete arg2; | |
3474 | } | |
3475 | return NULL; | |
3476 | } | |
3477 | ||
3478 | ||
3479 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3480 | PyObject *resultobj; | |
3481 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3482 | int arg2 ; | |
3483 | int *arg3 = (int *) 0 ; | |
3484 | PyObject * obj0 = 0 ; | |
3485 | PyObject * obj1 = 0 ; | |
3486 | char *kwnames[] = { | |
3487 | (char *) "self",(char *) "widths", NULL | |
3488 | }; | |
3489 | ||
3490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3491 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3492 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3493 | { |
3494 | arg2 = PyList_Size(obj1); | |
3495 | arg3 = int_LIST_helper(obj1); | |
3496 | if (arg3 == NULL) SWIG_fail; | |
3497 | } | |
3498 | { | |
3499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3500 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
3501 | ||
3502 | wxPyEndAllowThreads(__tstate); | |
3503 | if (PyErr_Occurred()) SWIG_fail; | |
3504 | } | |
3505 | Py_INCREF(Py_None); resultobj = Py_None; | |
3506 | { | |
3507 | if (arg3) delete [] arg3; | |
3508 | } | |
3509 | return resultobj; | |
3510 | fail: | |
3511 | { | |
3512 | if (arg3) delete [] arg3; | |
3513 | } | |
3514 | return NULL; | |
3515 | } | |
3516 | ||
3517 | ||
3518 | static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3519 | PyObject *resultobj; | |
3520 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3521 | wxString *arg2 = 0 ; | |
3522 | int arg3 = (int) 0 ; | |
e811c8ce | 3523 | bool temp2 = False ; |
d14a1e28 RD |
3524 | PyObject * obj0 = 0 ; |
3525 | PyObject * obj1 = 0 ; | |
994141e6 | 3526 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3527 | char *kwnames[] = { |
3528 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3529 | }; | |
3530 | ||
994141e6 | 3531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3532 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3533 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3534 | { |
3535 | arg2 = wxString_in_helper(obj1); | |
3536 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3537 | temp2 = True; |
d14a1e28 | 3538 | } |
994141e6 | 3539 | if (obj2) { |
15afbcd0 RD |
3540 | arg3 = (int) SWIG_AsInt(obj2); |
3541 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3542 | } |
d14a1e28 RD |
3543 | { |
3544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3545 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
3546 | ||
3547 | wxPyEndAllowThreads(__tstate); | |
3548 | if (PyErr_Occurred()) SWIG_fail; | |
3549 | } | |
3550 | Py_INCREF(Py_None); resultobj = Py_None; | |
3551 | { | |
3552 | if (temp2) | |
3553 | delete arg2; | |
3554 | } | |
3555 | return resultobj; | |
3556 | fail: | |
3557 | { | |
3558 | if (temp2) | |
3559 | delete arg2; | |
3560 | } | |
3561 | return NULL; | |
3562 | } | |
3563 | ||
3564 | ||
3565 | static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3566 | PyObject *resultobj; | |
3567 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3568 | int arg2 = (int) 0 ; | |
3569 | PyObject * obj0 = 0 ; | |
994141e6 | 3570 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3571 | char *kwnames[] = { |
3572 | (char *) "self",(char *) "number", NULL | |
3573 | }; | |
3574 | ||
994141e6 | 3575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3576 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3578 | if (obj1) { |
15afbcd0 RD |
3579 | arg2 = (int) SWIG_AsInt(obj1); |
3580 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3581 | } |
d14a1e28 RD |
3582 | { |
3583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3584 | (arg1)->PopStatusText(arg2); | |
3585 | ||
3586 | wxPyEndAllowThreads(__tstate); | |
3587 | if (PyErr_Occurred()) SWIG_fail; | |
3588 | } | |
3589 | Py_INCREF(Py_None); resultobj = Py_None; | |
3590 | return resultobj; | |
3591 | fail: | |
3592 | return NULL; | |
3593 | } | |
3594 | ||
3595 | ||
3596 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3597 | PyObject *resultobj; | |
3598 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3599 | int arg2 ; | |
3600 | PyObject * obj0 = 0 ; | |
994141e6 | 3601 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3602 | char *kwnames[] = { |
3603 | (char *) "self",(char *) "n", NULL | |
3604 | }; | |
3605 | ||
994141e6 | 3606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3607 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3608 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3609 | arg2 = (int) SWIG_AsInt(obj1); | |
3610 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3611 | { |
3612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3613 | (arg1)->SetStatusBarPane(arg2); | |
3614 | ||
3615 | wxPyEndAllowThreads(__tstate); | |
3616 | if (PyErr_Occurred()) SWIG_fail; | |
3617 | } | |
3618 | Py_INCREF(Py_None); resultobj = Py_None; | |
3619 | return resultobj; | |
3620 | fail: | |
3621 | return NULL; | |
3622 | } | |
3623 | ||
3624 | ||
3625 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3626 | PyObject *resultobj; | |
3627 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3628 | int result; | |
3629 | PyObject * obj0 = 0 ; | |
3630 | char *kwnames[] = { | |
3631 | (char *) "self", NULL | |
3632 | }; | |
3633 | ||
3634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3635 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3636 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3637 | { |
3638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3639 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
3640 | ||
3641 | wxPyEndAllowThreads(__tstate); | |
3642 | if (PyErr_Occurred()) SWIG_fail; | |
3643 | } | |
15afbcd0 | 3644 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
3645 | return resultobj; |
3646 | fail: | |
3647 | return NULL; | |
3648 | } | |
3649 | ||
3650 | ||
3651 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3652 | PyObject *resultobj; | |
3653 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3654 | long arg2 = (long) -1 ; | |
e811c8ce | 3655 | int arg3 = (int) -1 ; |
d14a1e28 RD |
3656 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; |
3657 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
3658 | wxToolBar *result; | |
e811c8ce | 3659 | bool temp4 = False ; |
d14a1e28 | 3660 | PyObject * obj0 = 0 ; |
994141e6 RD |
3661 | PyObject * obj1 = 0 ; |
3662 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3663 | PyObject * obj3 = 0 ; |
3664 | char *kwnames[] = { | |
3665 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3666 | }; | |
3667 | ||
994141e6 | 3668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
3669 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3670 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3671 | if (obj1) { |
15afbcd0 RD |
3672 | arg2 = (long) SWIG_AsLong(obj1); |
3673 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
3674 | } |
3675 | if (obj2) { | |
15afbcd0 RD |
3676 | arg3 = (int) SWIG_AsInt(obj2); |
3677 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3678 | } |
d14a1e28 RD |
3679 | if (obj3) { |
3680 | { | |
3681 | arg4 = wxString_in_helper(obj3); | |
3682 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 3683 | temp4 = True; |
d14a1e28 RD |
3684 | } |
3685 | } | |
3686 | { | |
3687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3688 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
3689 | ||
3690 | wxPyEndAllowThreads(__tstate); | |
3691 | if (PyErr_Occurred()) SWIG_fail; | |
3692 | } | |
3693 | { | |
3694 | resultobj = wxPyMake_wxObject(result); | |
3695 | } | |
3696 | { | |
3697 | if (temp4) | |
3698 | delete arg4; | |
3699 | } | |
3700 | return resultobj; | |
3701 | fail: | |
3702 | { | |
3703 | if (temp4) | |
3704 | delete arg4; | |
3705 | } | |
3706 | return NULL; | |
3707 | } | |
3708 | ||
3709 | ||
3710 | static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3711 | PyObject *resultobj; | |
3712 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3713 | wxToolBar *result; | |
3714 | PyObject * obj0 = 0 ; | |
3715 | char *kwnames[] = { | |
3716 | (char *) "self", NULL | |
3717 | }; | |
3718 | ||
3719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3720 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3721 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3722 | { |
3723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3724 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
3725 | ||
3726 | wxPyEndAllowThreads(__tstate); | |
3727 | if (PyErr_Occurred()) SWIG_fail; | |
3728 | } | |
3729 | { | |
3730 | resultobj = wxPyMake_wxObject(result); | |
3731 | } | |
3732 | return resultobj; | |
3733 | fail: | |
3734 | return NULL; | |
3735 | } | |
3736 | ||
3737 | ||
3738 | static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3739 | PyObject *resultobj; | |
3740 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3741 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
3742 | PyObject * obj0 = 0 ; | |
3743 | PyObject * obj1 = 0 ; | |
3744 | char *kwnames[] = { | |
3745 | (char *) "self",(char *) "toolbar", NULL | |
3746 | }; | |
3747 | ||
3748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3749 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3750 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3751 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar, | |
3752 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3753 | { |
3754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3755 | (arg1)->SetToolBar(arg2); | |
3756 | ||
3757 | wxPyEndAllowThreads(__tstate); | |
3758 | if (PyErr_Occurred()) SWIG_fail; | |
3759 | } | |
3760 | Py_INCREF(Py_None); resultobj = Py_None; | |
3761 | return resultobj; | |
3762 | fail: | |
3763 | return NULL; | |
3764 | } | |
3765 | ||
3766 | ||
3767 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3768 | PyObject *resultobj; | |
3769 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3770 | wxString *arg2 = 0 ; | |
3771 | bool arg3 ; | |
e811c8ce | 3772 | bool temp2 = False ; |
d14a1e28 RD |
3773 | PyObject * obj0 = 0 ; |
3774 | PyObject * obj1 = 0 ; | |
3775 | PyObject * obj2 = 0 ; | |
3776 | char *kwnames[] = { | |
3777 | (char *) "self",(char *) "text",(char *) "show", NULL | |
3778 | }; | |
3779 | ||
3780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
3781 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3782 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3783 | { |
3784 | arg2 = wxString_in_helper(obj1); | |
3785 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3786 | temp2 = True; |
d14a1e28 | 3787 | } |
15afbcd0 RD |
3788 | arg3 = (bool) SWIG_AsBool(obj2); |
3789 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3790 | { |
3791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3792 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
3793 | ||
3794 | wxPyEndAllowThreads(__tstate); | |
3795 | if (PyErr_Occurred()) SWIG_fail; | |
3796 | } | |
3797 | Py_INCREF(Py_None); resultobj = Py_None; | |
3798 | { | |
3799 | if (temp2) | |
3800 | delete arg2; | |
3801 | } | |
3802 | return resultobj; | |
3803 | fail: | |
3804 | { | |
3805 | if (temp2) | |
3806 | delete arg2; | |
3807 | } | |
3808 | return NULL; | |
3809 | } | |
3810 | ||
3811 | ||
3812 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3813 | PyObject *resultobj; | |
3814 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3815 | wxMenu *arg2 = (wxMenu *) NULL ; | |
3816 | PyObject * obj0 = 0 ; | |
3817 | PyObject * obj1 = 0 ; | |
3818 | char *kwnames[] = { | |
3819 | (char *) "self",(char *) "menu", NULL | |
3820 | }; | |
3821 | ||
3822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3823 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 3825 | if (obj1) { |
15afbcd0 RD |
3826 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, |
3827 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3828 | } |
3829 | { | |
3830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3831 | (arg1)->DoMenuUpdates(arg2); | |
3832 | ||
3833 | wxPyEndAllowThreads(__tstate); | |
3834 | if (PyErr_Occurred()) SWIG_fail; | |
3835 | } | |
3836 | Py_INCREF(Py_None); resultobj = Py_None; | |
3837 | return resultobj; | |
3838 | fail: | |
3839 | return NULL; | |
3840 | } | |
3841 | ||
3842 | ||
3843 | static PyObject * Frame_swigregister(PyObject *self, PyObject *args) { | |
3844 | PyObject *obj; | |
3845 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3846 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
3847 | Py_INCREF(obj); | |
3848 | return Py_BuildValue((char *)""); | |
3849 | } | |
3850 | static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3851 | PyObject *resultobj; | |
3852 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 3853 | int arg2 ; |
d14a1e28 RD |
3854 | wxString *arg3 = 0 ; |
3855 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3856 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3857 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3858 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3859 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3860 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
3861 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3862 | wxDialog *result; | |
e811c8ce | 3863 | bool temp3 = False ; |
d14a1e28 RD |
3864 | wxPoint temp4 ; |
3865 | wxSize temp5 ; | |
e811c8ce | 3866 | bool temp7 = False ; |
d14a1e28 | 3867 | PyObject * obj0 = 0 ; |
994141e6 | 3868 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3869 | PyObject * obj2 = 0 ; |
3870 | PyObject * obj3 = 0 ; | |
3871 | PyObject * obj4 = 0 ; | |
994141e6 | 3872 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
3873 | PyObject * obj6 = 0 ; |
3874 | char *kwnames[] = { | |
3875 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3876 | }; | |
3877 | ||
994141e6 | 3878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
3879 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
3880 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3881 | arg2 = (int const) SWIG_AsInt(obj1); | |
3882 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3883 | { |
3884 | arg3 = wxString_in_helper(obj2); | |
3885 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 3886 | temp3 = True; |
d14a1e28 RD |
3887 | } |
3888 | if (obj3) { | |
3889 | { | |
3890 | arg4 = &temp4; | |
3891 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3892 | } | |
3893 | } | |
3894 | if (obj4) { | |
3895 | { | |
3896 | arg5 = &temp5; | |
3897 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3898 | } | |
3899 | } | |
994141e6 | 3900 | if (obj5) { |
15afbcd0 RD |
3901 | arg6 = (long) SWIG_AsLong(obj5); |
3902 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3903 | } |
d14a1e28 RD |
3904 | if (obj6) { |
3905 | { | |
3906 | arg7 = wxString_in_helper(obj6); | |
3907 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 3908 | temp7 = True; |
d14a1e28 RD |
3909 | } |
3910 | } | |
3911 | { | |
3912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3913 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3914 | ||
3915 | wxPyEndAllowThreads(__tstate); | |
3916 | if (PyErr_Occurred()) SWIG_fail; | |
3917 | } | |
15afbcd0 | 3918 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
3919 | { |
3920 | if (temp3) | |
3921 | delete arg3; | |
3922 | } | |
3923 | { | |
3924 | if (temp7) | |
3925 | delete arg7; | |
3926 | } | |
3927 | return resultobj; | |
3928 | fail: | |
3929 | { | |
3930 | if (temp3) | |
3931 | delete arg3; | |
3932 | } | |
3933 | { | |
3934 | if (temp7) | |
3935 | delete arg7; | |
3936 | } | |
3937 | return NULL; | |
3938 | } | |
3939 | ||
3940 | ||
3941 | static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3942 | PyObject *resultobj; | |
3943 | wxDialog *result; | |
3944 | char *kwnames[] = { | |
3945 | NULL | |
3946 | }; | |
3947 | ||
3948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
3949 | { | |
3950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3951 | result = (wxDialog *)new wxDialog(); | |
3952 | ||
3953 | wxPyEndAllowThreads(__tstate); | |
3954 | if (PyErr_Occurred()) SWIG_fail; | |
3955 | } | |
15afbcd0 | 3956 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
3957 | return resultobj; |
3958 | fail: | |
3959 | return NULL; | |
3960 | } | |
3961 | ||
3962 | ||
3963 | static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3964 | PyObject *resultobj; | |
3965 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3966 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 3967 | int arg3 ; |
d14a1e28 RD |
3968 | wxString *arg4 = 0 ; |
3969 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
3970 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3971 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3972 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3973 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3974 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
3975 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3976 | bool result; | |
e811c8ce | 3977 | bool temp4 = False ; |
d14a1e28 RD |
3978 | wxPoint temp5 ; |
3979 | wxSize temp6 ; | |
e811c8ce | 3980 | bool temp8 = False ; |
d14a1e28 RD |
3981 | PyObject * obj0 = 0 ; |
3982 | PyObject * obj1 = 0 ; | |
994141e6 | 3983 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3984 | PyObject * obj3 = 0 ; |
3985 | PyObject * obj4 = 0 ; | |
3986 | PyObject * obj5 = 0 ; | |
994141e6 | 3987 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3988 | PyObject * obj7 = 0 ; |
3989 | char *kwnames[] = { | |
3990 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3991 | }; | |
3992 | ||
994141e6 | 3993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
3994 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
3995 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3996 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3998 | arg3 = (int const) SWIG_AsInt(obj2); | |
3999 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4000 | { |
4001 | arg4 = wxString_in_helper(obj3); | |
4002 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 4003 | temp4 = True; |
d14a1e28 RD |
4004 | } |
4005 | if (obj4) { | |
4006 | { | |
4007 | arg5 = &temp5; | |
4008 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4009 | } | |
4010 | } | |
4011 | if (obj5) { | |
4012 | { | |
4013 | arg6 = &temp6; | |
4014 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4015 | } | |
4016 | } | |
994141e6 | 4017 | if (obj6) { |
15afbcd0 RD |
4018 | arg7 = (long) SWIG_AsLong(obj6); |
4019 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4020 | } |
d14a1e28 RD |
4021 | if (obj7) { |
4022 | { | |
4023 | arg8 = wxString_in_helper(obj7); | |
4024 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 4025 | temp8 = True; |
d14a1e28 RD |
4026 | } |
4027 | } | |
4028 | { | |
4029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4030 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4031 | ||
4032 | wxPyEndAllowThreads(__tstate); | |
4033 | if (PyErr_Occurred()) SWIG_fail; | |
4034 | } | |
4f89f6a3 RD |
4035 | { |
4036 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4037 | } | |
d14a1e28 RD |
4038 | { |
4039 | if (temp4) | |
4040 | delete arg4; | |
4041 | } | |
4042 | { | |
4043 | if (temp8) | |
4044 | delete arg8; | |
4045 | } | |
4046 | return resultobj; | |
4047 | fail: | |
4048 | { | |
4049 | if (temp4) | |
4050 | delete arg4; | |
4051 | } | |
4052 | { | |
4053 | if (temp8) | |
4054 | delete arg8; | |
4055 | } | |
4056 | return NULL; | |
4057 | } | |
4058 | ||
4059 | ||
4060 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4061 | PyObject *resultobj; | |
4062 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4063 | int arg2 ; | |
4064 | PyObject * obj0 = 0 ; | |
994141e6 | 4065 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4066 | char *kwnames[] = { |
4067 | (char *) "self",(char *) "returnCode", NULL | |
4068 | }; | |
4069 | ||
994141e6 | 4070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4071 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4072 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4073 | arg2 = (int) SWIG_AsInt(obj1); | |
4074 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4075 | { |
4076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4077 | (arg1)->SetReturnCode(arg2); | |
4078 | ||
4079 | wxPyEndAllowThreads(__tstate); | |
4080 | if (PyErr_Occurred()) SWIG_fail; | |
4081 | } | |
4082 | Py_INCREF(Py_None); resultobj = Py_None; | |
4083 | return resultobj; | |
4084 | fail: | |
4085 | return NULL; | |
4086 | } | |
4087 | ||
4088 | ||
4089 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4090 | PyObject *resultobj; | |
4091 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4092 | int result; | |
4093 | PyObject * obj0 = 0 ; | |
4094 | char *kwnames[] = { | |
4095 | (char *) "self", NULL | |
4096 | }; | |
4097 | ||
4098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4099 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4100 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4101 | { |
4102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4103 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
4104 | ||
4105 | wxPyEndAllowThreads(__tstate); | |
4106 | if (PyErr_Occurred()) SWIG_fail; | |
4107 | } | |
15afbcd0 | 4108 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4109 | return resultobj; |
4110 | fail: | |
4111 | return NULL; | |
4112 | } | |
4113 | ||
4114 | ||
4115 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4116 | PyObject *resultobj; | |
4117 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4118 | wxString *arg2 = 0 ; | |
4119 | wxSizer *result; | |
e811c8ce | 4120 | bool temp2 = False ; |
d14a1e28 RD |
4121 | PyObject * obj0 = 0 ; |
4122 | PyObject * obj1 = 0 ; | |
4123 | char *kwnames[] = { | |
4124 | (char *) "self",(char *) "message", NULL | |
4125 | }; | |
4126 | ||
4127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4128 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4129 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4130 | { |
4131 | arg2 = wxString_in_helper(obj1); | |
4132 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 4133 | temp2 = True; |
d14a1e28 RD |
4134 | } |
4135 | { | |
4136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4137 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
4138 | ||
4139 | wxPyEndAllowThreads(__tstate); | |
4140 | if (PyErr_Occurred()) SWIG_fail; | |
4141 | } | |
4142 | { | |
4143 | resultobj = wxPyMake_wxSizer(result); | |
4144 | } | |
4145 | { | |
4146 | if (temp2) | |
4147 | delete arg2; | |
4148 | } | |
4149 | return resultobj; | |
4150 | fail: | |
4151 | { | |
4152 | if (temp2) | |
4153 | delete arg2; | |
4154 | } | |
4155 | return NULL; | |
4156 | } | |
4157 | ||
4158 | ||
4159 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4160 | PyObject *resultobj; | |
4161 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4162 | long arg2 ; | |
4163 | wxSizer *result; | |
4164 | PyObject * obj0 = 0 ; | |
994141e6 | 4165 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4166 | char *kwnames[] = { |
4167 | (char *) "self",(char *) "flags", NULL | |
4168 | }; | |
4169 | ||
994141e6 | 4170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4171 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4172 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4173 | arg2 = (long) SWIG_AsLong(obj1); | |
4174 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4175 | { |
4176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4177 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
4178 | ||
4179 | wxPyEndAllowThreads(__tstate); | |
4180 | if (PyErr_Occurred()) SWIG_fail; | |
4181 | } | |
4182 | { | |
4183 | resultobj = wxPyMake_wxSizer(result); | |
4184 | } | |
4185 | return resultobj; | |
4186 | fail: | |
4187 | return NULL; | |
4188 | } | |
4189 | ||
4190 | ||
d14a1e28 RD |
4191 | static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
4192 | PyObject *resultobj; | |
4193 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4194 | bool result; | |
4195 | PyObject * obj0 = 0 ; | |
4196 | char *kwnames[] = { | |
4197 | (char *) "self", NULL | |
4198 | }; | |
4199 | ||
4200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4203 | { |
4204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4205 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
4206 | ||
4207 | wxPyEndAllowThreads(__tstate); | |
4208 | if (PyErr_Occurred()) SWIG_fail; | |
4209 | } | |
4f89f6a3 RD |
4210 | { |
4211 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4212 | } | |
d14a1e28 RD |
4213 | return resultobj; |
4214 | fail: | |
4215 | return NULL; | |
4216 | } | |
4217 | ||
4218 | ||
4219 | static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4220 | PyObject *resultobj; | |
4221 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4222 | int result; | |
4223 | PyObject * obj0 = 0 ; | |
4224 | char *kwnames[] = { | |
4225 | (char *) "self", NULL | |
4226 | }; | |
4227 | ||
4228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4229 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4231 | { |
4232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4233 | result = (int)(arg1)->ShowModal(); | |
4234 | ||
4235 | wxPyEndAllowThreads(__tstate); | |
4236 | if (PyErr_Occurred()) SWIG_fail; | |
4237 | } | |
15afbcd0 | 4238 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4239 | return resultobj; |
4240 | fail: | |
4241 | return NULL; | |
4242 | } | |
4243 | ||
4244 | ||
4245 | static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4246 | PyObject *resultobj; | |
4247 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4248 | int arg2 ; | |
4249 | PyObject * obj0 = 0 ; | |
994141e6 | 4250 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4251 | char *kwnames[] = { |
4252 | (char *) "self",(char *) "retCode", NULL | |
4253 | }; | |
4254 | ||
994141e6 | 4255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4256 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4257 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4258 | arg2 = (int) SWIG_AsInt(obj1); | |
4259 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4260 | { |
4261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4262 | (arg1)->EndModal(arg2); | |
4263 | ||
4264 | wxPyEndAllowThreads(__tstate); | |
4265 | if (PyErr_Occurred()) SWIG_fail; | |
4266 | } | |
4267 | Py_INCREF(Py_None); resultobj = Py_None; | |
4268 | return resultobj; | |
4269 | fail: | |
4270 | return NULL; | |
4271 | } | |
4272 | ||
4273 | ||
4274 | static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4275 | PyObject *resultobj; | |
4276 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4277 | bool result; | |
4278 | PyObject * obj0 = 0 ; | |
4279 | char *kwnames[] = { | |
4280 | (char *) "self", NULL | |
4281 | }; | |
4282 | ||
4283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4284 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4285 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4286 | { |
4287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4288 | result = (bool)wxDialog_IsModalShowing(arg1); | |
4289 | ||
4290 | wxPyEndAllowThreads(__tstate); | |
4291 | if (PyErr_Occurred()) SWIG_fail; | |
4292 | } | |
4f89f6a3 RD |
4293 | { |
4294 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4295 | } | |
d14a1e28 RD |
4296 | return resultobj; |
4297 | fail: | |
4298 | return NULL; | |
4299 | } | |
4300 | ||
4301 | ||
4302 | static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) { | |
4303 | PyObject *obj; | |
4304 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4305 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
4306 | Py_INCREF(obj); | |
4307 | return Py_BuildValue((char *)""); | |
4308 | } | |
4309 | static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4310 | PyObject *resultobj; | |
4311 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 4312 | int arg2 ; |
d14a1e28 RD |
4313 | wxString *arg3 = 0 ; |
4314 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
4315 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4316 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4317 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4318 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4319 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4320 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4321 | wxMiniFrame *result; | |
e811c8ce | 4322 | bool temp3 = False ; |
d14a1e28 RD |
4323 | wxPoint temp4 ; |
4324 | wxSize temp5 ; | |
e811c8ce | 4325 | bool temp7 = False ; |
d14a1e28 | 4326 | PyObject * obj0 = 0 ; |
994141e6 | 4327 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4328 | PyObject * obj2 = 0 ; |
4329 | PyObject * obj3 = 0 ; | |
4330 | PyObject * obj4 = 0 ; | |
994141e6 | 4331 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4332 | PyObject * obj6 = 0 ; |
4333 | char *kwnames[] = { | |
4334 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4335 | }; | |
4336 | ||
994141e6 | 4337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
4338 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4339 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4340 | arg2 = (int const) SWIG_AsInt(obj1); | |
4341 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4342 | { |
4343 | arg3 = wxString_in_helper(obj2); | |
4344 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 4345 | temp3 = True; |
d14a1e28 RD |
4346 | } |
4347 | if (obj3) { | |
4348 | { | |
4349 | arg4 = &temp4; | |
4350 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4351 | } | |
4352 | } | |
4353 | if (obj4) { | |
4354 | { | |
4355 | arg5 = &temp5; | |
4356 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4357 | } | |
4358 | } | |
994141e6 | 4359 | if (obj5) { |
15afbcd0 RD |
4360 | arg6 = (long) SWIG_AsLong(obj5); |
4361 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4362 | } |
d14a1e28 RD |
4363 | if (obj6) { |
4364 | { | |
4365 | arg7 = wxString_in_helper(obj6); | |
4366 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 4367 | temp7 = True; |
d14a1e28 RD |
4368 | } |
4369 | } | |
4370 | { | |
4371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4372 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4373 | ||
4374 | wxPyEndAllowThreads(__tstate); | |
4375 | if (PyErr_Occurred()) SWIG_fail; | |
4376 | } | |
15afbcd0 | 4377 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4378 | { |
4379 | if (temp3) | |
4380 | delete arg3; | |
4381 | } | |
4382 | { | |
4383 | if (temp7) | |
4384 | delete arg7; | |
4385 | } | |
4386 | return resultobj; | |
4387 | fail: | |
4388 | { | |
4389 | if (temp3) | |
4390 | delete arg3; | |
4391 | } | |
4392 | { | |
4393 | if (temp7) | |
4394 | delete arg7; | |
4395 | } | |
4396 | return NULL; | |
4397 | } | |
4398 | ||
4399 | ||
4400 | static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4401 | PyObject *resultobj; | |
4402 | wxMiniFrame *result; | |
4403 | char *kwnames[] = { | |
4404 | NULL | |
4405 | }; | |
4406 | ||
4407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
4408 | { | |
4409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4410 | result = (wxMiniFrame *)new wxMiniFrame(); | |
4411 | ||
4412 | wxPyEndAllowThreads(__tstate); | |
4413 | if (PyErr_Occurred()) SWIG_fail; | |
4414 | } | |
15afbcd0 | 4415 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4416 | return resultobj; |
4417 | fail: | |
4418 | return NULL; | |
4419 | } | |
4420 | ||
4421 | ||
4422 | static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4423 | PyObject *resultobj; | |
4424 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
4425 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4426 | int arg3 ; |
d14a1e28 RD |
4427 | wxString *arg4 = 0 ; |
4428 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
4429 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4430 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4431 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4432 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4433 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4434 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4435 | bool result; | |
e811c8ce | 4436 | bool temp4 = False ; |
d14a1e28 RD |
4437 | wxPoint temp5 ; |
4438 | wxSize temp6 ; | |
e811c8ce | 4439 | bool temp8 = False ; |
d14a1e28 RD |
4440 | PyObject * obj0 = 0 ; |
4441 | PyObject * obj1 = 0 ; | |
994141e6 | 4442 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4443 | PyObject * obj3 = 0 ; |
4444 | PyObject * obj4 = 0 ; | |
4445 | PyObject * obj5 = 0 ; | |
994141e6 | 4446 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4447 | PyObject * obj7 = 0 ; |
4448 | char *kwnames[] = { | |
4449 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4450 | }; | |
4451 | ||
994141e6 | 4452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
4453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame, |
4454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4455 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4456 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4457 | arg3 = (int const) SWIG_AsInt(obj2); | |
4458 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4459 | { |
4460 | arg4 = wxString_in_helper(obj3); | |
4461 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 4462 | temp4 = True; |
d14a1e28 RD |
4463 | } |
4464 | if (obj4) { | |
4465 | { | |
4466 | arg5 = &temp5; | |
4467 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4468 | } | |
4469 | } | |
4470 | if (obj5) { | |
4471 | { | |
4472 | arg6 = &temp6; | |
4473 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4474 | } | |
4475 | } | |
994141e6 | 4476 | if (obj6) { |
15afbcd0 RD |
4477 | arg7 = (long) SWIG_AsLong(obj6); |
4478 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4479 | } |
d14a1e28 RD |
4480 | if (obj7) { |
4481 | { | |
4482 | arg8 = wxString_in_helper(obj7); | |
4483 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 4484 | temp8 = True; |
d14a1e28 RD |
4485 | } |
4486 | } | |
4487 | { | |
4488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4489 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4490 | ||
4491 | wxPyEndAllowThreads(__tstate); | |
4492 | if (PyErr_Occurred()) SWIG_fail; | |
4493 | } | |
4f89f6a3 RD |
4494 | { |
4495 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4496 | } | |
d14a1e28 RD |
4497 | { |
4498 | if (temp4) | |
4499 | delete arg4; | |
4500 | } | |
4501 | { | |
4502 | if (temp8) | |
4503 | delete arg8; | |
4504 | } | |
4505 | return resultobj; | |
4506 | fail: | |
4507 | { | |
4508 | if (temp4) | |
4509 | delete arg4; | |
4510 | } | |
4511 | { | |
4512 | if (temp8) | |
4513 | delete arg8; | |
4514 | } | |
4515 | return NULL; | |
4516 | } | |
4517 | ||
4518 | ||
4519 | static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) { | |
4520 | PyObject *obj; | |
4521 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4522 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
4523 | Py_INCREF(obj); | |
4524 | return Py_BuildValue((char *)""); | |
4525 | } | |
4526 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4527 | PyObject *resultobj; | |
4528 | wxBitmap *arg1 = 0 ; | |
4529 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4530 | int arg3 ; |
d14a1e28 RD |
4531 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4532 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4533 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4534 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4535 | long arg6 = (long) wxNO_BORDER ; | |
4536 | wxSplashScreenWindow *result; | |
4537 | wxPoint temp4 ; | |
4538 | wxSize temp5 ; | |
4539 | PyObject * obj0 = 0 ; | |
4540 | PyObject * obj1 = 0 ; | |
994141e6 | 4541 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4542 | PyObject * obj3 = 0 ; |
4543 | PyObject * obj4 = 0 ; | |
994141e6 | 4544 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4545 | char *kwnames[] = { |
4546 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4547 | }; | |
4548 | ||
994141e6 | 4549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
4550 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4551 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4552 | SWIG_fail; | |
d14a1e28 | 4553 | if (arg1 == NULL) { |
15afbcd0 RD |
4554 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4555 | SWIG_fail; | |
994141e6 | 4556 | } |
15afbcd0 RD |
4557 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
4558 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4559 | arg3 = (int) SWIG_AsInt(obj2); | |
4560 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4561 | if (obj3) { |
4562 | { | |
4563 | arg4 = &temp4; | |
4564 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4565 | } | |
4566 | } | |
4567 | if (obj4) { | |
4568 | { | |
4569 | arg5 = &temp5; | |
4570 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4571 | } | |
4572 | } | |
994141e6 | 4573 | if (obj5) { |
15afbcd0 RD |
4574 | arg6 = (long) SWIG_AsLong(obj5); |
4575 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4576 | } |
d14a1e28 RD |
4577 | { |
4578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4579 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
4580 | ||
4581 | wxPyEndAllowThreads(__tstate); | |
4582 | if (PyErr_Occurred()) SWIG_fail; | |
4583 | } | |
15afbcd0 | 4584 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); |
d14a1e28 RD |
4585 | return resultobj; |
4586 | fail: | |
4587 | return NULL; | |
4588 | } | |
4589 | ||
4590 | ||
4591 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4592 | PyObject *resultobj; | |
4593 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4594 | wxBitmap *arg2 = 0 ; | |
4595 | PyObject * obj0 = 0 ; | |
4596 | PyObject * obj1 = 0 ; | |
4597 | char *kwnames[] = { | |
4598 | (char *) "self",(char *) "bitmap", NULL | |
4599 | }; | |
4600 | ||
4601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4602 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
4603 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4604 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap, | |
4605 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4606 | SWIG_fail; | |
d14a1e28 | 4607 | if (arg2 == NULL) { |
15afbcd0 RD |
4608 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4609 | SWIG_fail; | |
d14a1e28 RD |
4610 | } |
4611 | { | |
4612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4613 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
4614 | ||
4615 | wxPyEndAllowThreads(__tstate); | |
4616 | if (PyErr_Occurred()) SWIG_fail; | |
4617 | } | |
4618 | Py_INCREF(Py_None); resultobj = Py_None; | |
4619 | return resultobj; | |
4620 | fail: | |
4621 | return NULL; | |
4622 | } | |
4623 | ||
4624 | ||
4625 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4626 | PyObject *resultobj; | |
4627 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4628 | wxBitmap *result; | |
4629 | PyObject * obj0 = 0 ; | |
4630 | char *kwnames[] = { | |
4631 | (char *) "self", NULL | |
4632 | }; | |
4633 | ||
4634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4635 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
4636 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4637 | { |
4638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4639 | { | |
4640 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
4641 | result = (wxBitmap *) &_result_ref; | |
4642 | } | |
4643 | ||
4644 | wxPyEndAllowThreads(__tstate); | |
4645 | if (PyErr_Occurred()) SWIG_fail; | |
4646 | } | |
4276dc52 RD |
4647 | { |
4648 | wxBitmap* resultptr = new wxBitmap(*result); | |
4649 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
4650 | } | |
d14a1e28 RD |
4651 | return resultobj; |
4652 | fail: | |
4653 | return NULL; | |
4654 | } | |
4655 | ||
4656 | ||
4657 | static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) { | |
4658 | PyObject *obj; | |
4659 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4660 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
4661 | Py_INCREF(obj); | |
4662 | return Py_BuildValue((char *)""); | |
4663 | } | |
4664 | static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4665 | PyObject *resultobj; | |
4666 | wxBitmap *arg1 = 0 ; | |
4667 | long arg2 ; | |
4668 | int arg3 ; | |
4669 | wxWindow *arg4 = (wxWindow *) 0 ; | |
e811c8ce | 4670 | int arg5 ; |
d14a1e28 RD |
4671 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
4672 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
4673 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
4674 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
4675 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
4676 | wxSplashScreen *result; | |
4677 | wxPoint temp6 ; | |
4678 | wxSize temp7 ; | |
4679 | PyObject * obj0 = 0 ; | |
994141e6 RD |
4680 | PyObject * obj1 = 0 ; |
4681 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4682 | PyObject * obj3 = 0 ; |
994141e6 | 4683 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
4684 | PyObject * obj5 = 0 ; |
4685 | PyObject * obj6 = 0 ; | |
994141e6 | 4686 | PyObject * obj7 = 0 ; |
d14a1e28 RD |
4687 | char *kwnames[] = { |
4688 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4689 | }; | |
4690 | ||
994141e6 | 4691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
4692 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4693 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4694 | SWIG_fail; | |
d14a1e28 | 4695 | if (arg1 == NULL) { |
15afbcd0 RD |
4696 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4697 | SWIG_fail; | |
4698 | } | |
4699 | arg2 = (long) SWIG_AsLong(obj1); | |
4700 | if (PyErr_Occurred()) SWIG_fail; | |
4701 | arg3 = (int) SWIG_AsInt(obj2); | |
4702 | if (PyErr_Occurred()) SWIG_fail; | |
4703 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, | |
4704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4705 | arg5 = (int) SWIG_AsInt(obj4); | |
4706 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4707 | if (obj5) { |
4708 | { | |
4709 | arg6 = &temp6; | |
4710 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
4711 | } | |
4712 | } | |
4713 | if (obj6) { | |
4714 | { | |
4715 | arg7 = &temp7; | |
4716 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
4717 | } | |
4718 | } | |
994141e6 | 4719 | if (obj7) { |
15afbcd0 RD |
4720 | arg8 = (long) SWIG_AsLong(obj7); |
4721 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4722 | } |
d14a1e28 RD |
4723 | { |
4724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4725 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
4726 | ||
4727 | wxPyEndAllowThreads(__tstate); | |
4728 | if (PyErr_Occurred()) SWIG_fail; | |
4729 | } | |
15afbcd0 | 4730 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); |
d14a1e28 RD |
4731 | return resultobj; |
4732 | fail: | |
4733 | return NULL; | |
4734 | } | |
4735 | ||
4736 | ||
4737 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4738 | PyObject *resultobj; | |
4739 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4740 | long result; | |
4741 | PyObject * obj0 = 0 ; | |
4742 | char *kwnames[] = { | |
4743 | (char *) "self", NULL | |
4744 | }; | |
4745 | ||
4746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4747 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4748 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4749 | { |
4750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4751 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
4752 | ||
4753 | wxPyEndAllowThreads(__tstate); | |
4754 | if (PyErr_Occurred()) SWIG_fail; | |
4755 | } | |
15afbcd0 | 4756 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
4757 | return resultobj; |
4758 | fail: | |
4759 | return NULL; | |
4760 | } | |
4761 | ||
4762 | ||
4763 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4764 | PyObject *resultobj; | |
4765 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4766 | wxSplashScreenWindow *result; | |
4767 | PyObject * obj0 = 0 ; | |
4768 | char *kwnames[] = { | |
4769 | (char *) "self", NULL | |
4770 | }; | |
4771 | ||
4772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4773 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4774 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4775 | { |
4776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4777 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
4778 | ||
4779 | wxPyEndAllowThreads(__tstate); | |
4780 | if (PyErr_Occurred()) SWIG_fail; | |
4781 | } | |
15afbcd0 | 4782 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); |
d14a1e28 RD |
4783 | return resultobj; |
4784 | fail: | |
4785 | return NULL; | |
4786 | } | |
4787 | ||
4788 | ||
4789 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4790 | PyObject *resultobj; | |
4791 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4792 | int result; | |
4793 | PyObject * obj0 = 0 ; | |
4794 | char *kwnames[] = { | |
4795 | (char *) "self", NULL | |
4796 | }; | |
4797 | ||
4798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4799 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4800 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4801 | { |
4802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4803 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
4804 | ||
4805 | wxPyEndAllowThreads(__tstate); | |
4806 | if (PyErr_Occurred()) SWIG_fail; | |
4807 | } | |
15afbcd0 | 4808 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4809 | return resultobj; |
4810 | fail: | |
4811 | return NULL; | |
4812 | } | |
4813 | ||
4814 | ||
4815 | static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) { | |
4816 | PyObject *obj; | |
4817 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4818 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
4819 | Py_INCREF(obj); | |
4820 | return Py_BuildValue((char *)""); | |
4821 | } | |
4822 | static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4823 | PyObject *resultobj; | |
4824 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 4825 | int arg2 = (int) -1 ; |
4276dc52 | 4826 | long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ; |
d14a1e28 RD |
4827 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; |
4828 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4829 | wxStatusBar *result; | |
e811c8ce | 4830 | bool temp4 = False ; |
d14a1e28 | 4831 | PyObject * obj0 = 0 ; |
994141e6 RD |
4832 | PyObject * obj1 = 0 ; |
4833 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4834 | PyObject * obj3 = 0 ; |
4835 | char *kwnames[] = { | |
4836 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4837 | }; | |
4838 | ||
994141e6 | 4839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
4840 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4841 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 4842 | if (obj1) { |
15afbcd0 RD |
4843 | arg2 = (int) SWIG_AsInt(obj1); |
4844 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
4845 | } |
4846 | if (obj2) { | |
15afbcd0 RD |
4847 | arg3 = (long) SWIG_AsLong(obj2); |
4848 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4849 | } |
d14a1e28 RD |
4850 | if (obj3) { |
4851 | { | |
4852 | arg4 = wxString_in_helper(obj3); | |
4853 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 4854 | temp4 = True; |
d14a1e28 RD |
4855 | } |
4856 | } | |
4857 | { | |
4858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4859 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
4860 | ||
4861 | wxPyEndAllowThreads(__tstate); | |
4862 | if (PyErr_Occurred()) SWIG_fail; | |
4863 | } | |
4864 | { | |
4865 | resultobj = wxPyMake_wxObject(result); | |
4866 | } | |
4867 | { | |
4868 | if (temp4) | |
4869 | delete arg4; | |
4870 | } | |
4871 | return resultobj; | |
4872 | fail: | |
4873 | { | |
4874 | if (temp4) | |
4875 | delete arg4; | |
4876 | } | |
4877 | return NULL; | |
4878 | } | |
4879 | ||
4880 | ||
4881 | static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4882 | PyObject *resultobj; | |
4883 | wxStatusBar *result; | |
4884 | char *kwnames[] = { | |
4885 | NULL | |
4886 | }; | |
4887 | ||
4888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
4889 | { | |
4890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4891 | result = (wxStatusBar *)new wxStatusBar(); | |
4892 | ||
4893 | wxPyEndAllowThreads(__tstate); | |
4894 | if (PyErr_Occurred()) SWIG_fail; | |
4895 | } | |
4896 | { | |
4897 | resultobj = wxPyMake_wxObject(result); | |
4898 | } | |
4899 | return resultobj; | |
4900 | fail: | |
4901 | return NULL; | |
4902 | } | |
4903 | ||
4904 | ||
4905 | static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4906 | PyObject *resultobj; | |
4907 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4908 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4909 | int arg3 ; |
d14a1e28 RD |
4910 | long arg4 = (long) wxST_SIZEGRIP ; |
4911 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
4912 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
4913 | bool result; | |
e811c8ce | 4914 | bool temp5 = False ; |
d14a1e28 RD |
4915 | PyObject * obj0 = 0 ; |
4916 | PyObject * obj1 = 0 ; | |
994141e6 RD |
4917 | PyObject * obj2 = 0 ; |
4918 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
4919 | PyObject * obj4 = 0 ; |
4920 | char *kwnames[] = { | |
4921 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4922 | }; | |
4923 | ||
994141e6 | 4924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
4925 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4926 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4927 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4928 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4929 | arg3 = (int) SWIG_AsInt(obj2); | |
4930 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4931 | if (obj3) { |
15afbcd0 RD |
4932 | arg4 = (long) SWIG_AsLong(obj3); |
4933 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4934 | } |
d14a1e28 RD |
4935 | if (obj4) { |
4936 | { | |
4937 | arg5 = wxString_in_helper(obj4); | |
4938 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 4939 | temp5 = True; |
d14a1e28 RD |
4940 | } |
4941 | } | |
4942 | { | |
4943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4944 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
4945 | ||
4946 | wxPyEndAllowThreads(__tstate); | |
4947 | if (PyErr_Occurred()) SWIG_fail; | |
4948 | } | |
4f89f6a3 RD |
4949 | { |
4950 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4951 | } | |
d14a1e28 RD |
4952 | { |
4953 | if (temp5) | |
4954 | delete arg5; | |
4955 | } | |
4956 | return resultobj; | |
4957 | fail: | |
4958 | { | |
4959 | if (temp5) | |
4960 | delete arg5; | |
4961 | } | |
4962 | return NULL; | |
4963 | } | |
4964 | ||
4965 | ||
4966 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4967 | PyObject *resultobj; | |
4968 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4969 | int arg2 = (int) 1 ; | |
4970 | PyObject * obj0 = 0 ; | |
994141e6 | 4971 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4972 | char *kwnames[] = { |
4973 | (char *) "self",(char *) "number", NULL | |
4974 | }; | |
4975 | ||
994141e6 | 4976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4977 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4978 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 4979 | if (obj1) { |
15afbcd0 RD |
4980 | arg2 = (int) SWIG_AsInt(obj1); |
4981 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4982 | } |
d14a1e28 RD |
4983 | { |
4984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4985 | (arg1)->SetFieldsCount(arg2); | |
4986 | ||
4987 | wxPyEndAllowThreads(__tstate); | |
4988 | if (PyErr_Occurred()) SWIG_fail; | |
4989 | } | |
4990 | Py_INCREF(Py_None); resultobj = Py_None; | |
4991 | return resultobj; | |
4992 | fail: | |
4993 | return NULL; | |
4994 | } | |
4995 | ||
4996 | ||
4997 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4998 | PyObject *resultobj; | |
4999 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5000 | int result; | |
5001 | PyObject * obj0 = 0 ; | |
5002 | char *kwnames[] = { | |
5003 | (char *) "self", NULL | |
5004 | }; | |
5005 | ||
5006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5007 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5009 | { |
5010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5011 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
5012 | ||
5013 | wxPyEndAllowThreads(__tstate); | |
5014 | if (PyErr_Occurred()) SWIG_fail; | |
5015 | } | |
15afbcd0 | 5016 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5017 | return resultobj; |
5018 | fail: | |
5019 | return NULL; | |
5020 | } | |
5021 | ||
5022 | ||
5023 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5024 | PyObject *resultobj; | |
5025 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5026 | wxString *arg2 = 0 ; | |
5027 | int arg3 = (int) 0 ; | |
e811c8ce | 5028 | bool temp2 = False ; |
d14a1e28 RD |
5029 | PyObject * obj0 = 0 ; |
5030 | PyObject * obj1 = 0 ; | |
994141e6 | 5031 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5032 | char *kwnames[] = { |
5033 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5034 | }; | |
5035 | ||
994141e6 | 5036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5037 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5038 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5039 | { |
5040 | arg2 = wxString_in_helper(obj1); | |
5041 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5042 | temp2 = True; |
d14a1e28 | 5043 | } |
994141e6 | 5044 | if (obj2) { |
15afbcd0 RD |
5045 | arg3 = (int) SWIG_AsInt(obj2); |
5046 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5047 | } |
d14a1e28 RD |
5048 | { |
5049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5050 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
5051 | ||
5052 | wxPyEndAllowThreads(__tstate); | |
5053 | if (PyErr_Occurred()) SWIG_fail; | |
5054 | } | |
5055 | Py_INCREF(Py_None); resultobj = Py_None; | |
5056 | { | |
5057 | if (temp2) | |
5058 | delete arg2; | |
5059 | } | |
5060 | return resultobj; | |
5061 | fail: | |
5062 | { | |
5063 | if (temp2) | |
5064 | delete arg2; | |
5065 | } | |
5066 | return NULL; | |
5067 | } | |
5068 | ||
5069 | ||
5070 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5071 | PyObject *resultobj; | |
5072 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5073 | int arg2 = (int) 0 ; | |
5074 | wxString result; | |
5075 | PyObject * obj0 = 0 ; | |
994141e6 | 5076 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5077 | char *kwnames[] = { |
5078 | (char *) "self",(char *) "number", NULL | |
5079 | }; | |
5080 | ||
994141e6 | 5081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5082 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5083 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5084 | if (obj1) { |
15afbcd0 RD |
5085 | arg2 = (int) SWIG_AsInt(obj1); |
5086 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5087 | } |
d14a1e28 RD |
5088 | { |
5089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5090 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
5091 | ||
5092 | wxPyEndAllowThreads(__tstate); | |
5093 | if (PyErr_Occurred()) SWIG_fail; | |
5094 | } | |
5095 | { | |
5096 | #if wxUSE_UNICODE | |
5097 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5098 | #else | |
5099 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5100 | #endif | |
5101 | } | |
5102 | return resultobj; | |
5103 | fail: | |
5104 | return NULL; | |
5105 | } | |
5106 | ||
5107 | ||
5108 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5109 | PyObject *resultobj; | |
5110 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5111 | wxString *arg2 = 0 ; | |
5112 | int arg3 = (int) 0 ; | |
e811c8ce | 5113 | bool temp2 = False ; |
d14a1e28 RD |
5114 | PyObject * obj0 = 0 ; |
5115 | PyObject * obj1 = 0 ; | |
994141e6 | 5116 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5117 | char *kwnames[] = { |
5118 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5119 | }; | |
5120 | ||
994141e6 | 5121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5122 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5123 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5124 | { |
5125 | arg2 = wxString_in_helper(obj1); | |
5126 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5127 | temp2 = True; |
d14a1e28 | 5128 | } |
994141e6 | 5129 | if (obj2) { |
15afbcd0 RD |
5130 | arg3 = (int) SWIG_AsInt(obj2); |
5131 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5132 | } |
d14a1e28 RD |
5133 | { |
5134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5135 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5136 | ||
5137 | wxPyEndAllowThreads(__tstate); | |
5138 | if (PyErr_Occurred()) SWIG_fail; | |
5139 | } | |
5140 | Py_INCREF(Py_None); resultobj = Py_None; | |
5141 | { | |
5142 | if (temp2) | |
5143 | delete arg2; | |
5144 | } | |
5145 | return resultobj; | |
5146 | fail: | |
5147 | { | |
5148 | if (temp2) | |
5149 | delete arg2; | |
5150 | } | |
5151 | return NULL; | |
5152 | } | |
5153 | ||
5154 | ||
5155 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5156 | PyObject *resultobj; | |
5157 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5158 | int arg2 = (int) 0 ; | |
5159 | PyObject * obj0 = 0 ; | |
994141e6 | 5160 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5161 | char *kwnames[] = { |
5162 | (char *) "self",(char *) "number", NULL | |
5163 | }; | |
5164 | ||
994141e6 | 5165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5166 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5167 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5168 | if (obj1) { |
15afbcd0 RD |
5169 | arg2 = (int) SWIG_AsInt(obj1); |
5170 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5171 | } |
d14a1e28 RD |
5172 | { |
5173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5174 | (arg1)->PopStatusText(arg2); | |
5175 | ||
5176 | wxPyEndAllowThreads(__tstate); | |
5177 | if (PyErr_Occurred()) SWIG_fail; | |
5178 | } | |
5179 | Py_INCREF(Py_None); resultobj = Py_None; | |
5180 | return resultobj; | |
5181 | fail: | |
5182 | return NULL; | |
5183 | } | |
5184 | ||
5185 | ||
5186 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5187 | PyObject *resultobj; | |
5188 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5189 | int arg2 ; | |
5190 | int *arg3 = (int *) 0 ; | |
5191 | PyObject * obj0 = 0 ; | |
5192 | PyObject * obj1 = 0 ; | |
5193 | char *kwnames[] = { | |
5194 | (char *) "self",(char *) "widths", NULL | |
5195 | }; | |
5196 | ||
5197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5198 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5199 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5200 | { |
5201 | arg2 = PyList_Size(obj1); | |
5202 | arg3 = int_LIST_helper(obj1); | |
5203 | if (arg3 == NULL) SWIG_fail; | |
5204 | } | |
5205 | { | |
5206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5207 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5208 | ||
5209 | wxPyEndAllowThreads(__tstate); | |
5210 | if (PyErr_Occurred()) SWIG_fail; | |
5211 | } | |
5212 | Py_INCREF(Py_None); resultobj = Py_None; | |
5213 | { | |
5214 | if (arg3) delete [] arg3; | |
5215 | } | |
5216 | return resultobj; | |
5217 | fail: | |
5218 | { | |
5219 | if (arg3) delete [] arg3; | |
5220 | } | |
5221 | return NULL; | |
5222 | } | |
5223 | ||
5224 | ||
5225 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5226 | PyObject *resultobj; | |
5227 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5228 | int arg2 ; | |
7722248d | 5229 | wxRect result; |
d14a1e28 | 5230 | PyObject * obj0 = 0 ; |
994141e6 | 5231 | PyObject * obj1 = 0 ; |
d14a1e28 | 5232 | char *kwnames[] = { |
7722248d | 5233 | (char *) "self",(char *) "i", NULL |
d14a1e28 RD |
5234 | }; |
5235 | ||
994141e6 | 5236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5239 | arg2 = (int) SWIG_AsInt(obj1); | |
5240 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5241 | { |
5242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7722248d | 5243 | result = wxStatusBar_GetFieldRect(arg1,arg2); |
d14a1e28 RD |
5244 | |
5245 | wxPyEndAllowThreads(__tstate); | |
5246 | if (PyErr_Occurred()) SWIG_fail; | |
5247 | } | |
7722248d RD |
5248 | { |
5249 | wxRect * resultptr; | |
5250 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 5251 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
7722248d | 5252 | } |
d14a1e28 RD |
5253 | return resultobj; |
5254 | fail: | |
5255 | return NULL; | |
5256 | } | |
5257 | ||
5258 | ||
5259 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5260 | PyObject *resultobj; | |
5261 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5262 | int arg2 ; | |
5263 | PyObject * obj0 = 0 ; | |
994141e6 | 5264 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5265 | char *kwnames[] = { |
5266 | (char *) "self",(char *) "height", NULL | |
5267 | }; | |
5268 | ||
994141e6 | 5269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5270 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5271 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5272 | arg2 = (int) SWIG_AsInt(obj1); | |
5273 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5274 | { |
5275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5276 | (arg1)->SetMinHeight(arg2); | |
5277 | ||
5278 | wxPyEndAllowThreads(__tstate); | |
5279 | if (PyErr_Occurred()) SWIG_fail; | |
5280 | } | |
5281 | Py_INCREF(Py_None); resultobj = Py_None; | |
5282 | return resultobj; | |
5283 | fail: | |
5284 | return NULL; | |
5285 | } | |
5286 | ||
5287 | ||
5288 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5289 | PyObject *resultobj; | |
5290 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5291 | int result; | |
5292 | PyObject * obj0 = 0 ; | |
5293 | char *kwnames[] = { | |
5294 | (char *) "self", NULL | |
5295 | }; | |
5296 | ||
5297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5298 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5299 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5300 | { |
5301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5302 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
5303 | ||
5304 | wxPyEndAllowThreads(__tstate); | |
5305 | if (PyErr_Occurred()) SWIG_fail; | |
5306 | } | |
15afbcd0 | 5307 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5308 | return resultobj; |
5309 | fail: | |
5310 | return NULL; | |
5311 | } | |
5312 | ||
5313 | ||
5314 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5315 | PyObject *resultobj; | |
5316 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5317 | int result; | |
5318 | PyObject * obj0 = 0 ; | |
5319 | char *kwnames[] = { | |
5320 | (char *) "self", NULL | |
5321 | }; | |
5322 | ||
5323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5324 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5325 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5326 | { |
5327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5328 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
5329 | ||
5330 | wxPyEndAllowThreads(__tstate); | |
5331 | if (PyErr_Occurred()) SWIG_fail; | |
5332 | } | |
15afbcd0 | 5333 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5334 | return resultobj; |
5335 | fail: | |
5336 | return NULL; | |
5337 | } | |
5338 | ||
5339 | ||
5340 | static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) { | |
5341 | PyObject *obj; | |
5342 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5343 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
5344 | Py_INCREF(obj); | |
5345 | return Py_BuildValue((char *)""); | |
5346 | } | |
b2dc1044 RD |
5347 | static int _wrap_SplitterNameStr_set(PyObject *_val) { |
5348 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); | |
5349 | return 1; | |
5350 | } | |
5351 | ||
5352 | ||
5353 | static PyObject *_wrap_SplitterNameStr_get() { | |
5354 | PyObject *pyobj; | |
5355 | ||
5356 | { | |
5357 | #if wxUSE_UNICODE | |
5358 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5359 | #else | |
5360 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5361 | #endif | |
5362 | } | |
5363 | return pyobj; | |
5364 | } | |
5365 | ||
5366 | ||
d14a1e28 RD |
5367 | static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
5368 | PyObject *resultobj; | |
5369 | wxWindow *arg1 = (wxWindow *) 0 ; | |
74a57fcd | 5370 | int arg2 = (int) -1 ; |
d14a1e28 RD |
5371 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
5372 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5373 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5374 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5375 | long arg5 = (long) wxSP_3D ; | |
5376 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
5377 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5378 | wxSplitterWindow *result; | |
5379 | wxPoint temp3 ; | |
5380 | wxSize temp4 ; | |
e811c8ce | 5381 | bool temp6 = False ; |
d14a1e28 | 5382 | PyObject * obj0 = 0 ; |
994141e6 | 5383 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5384 | PyObject * obj2 = 0 ; |
5385 | PyObject * obj3 = 0 ; | |
994141e6 | 5386 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5387 | PyObject * obj5 = 0 ; |
5388 | char *kwnames[] = { | |
994141e6 | 5389 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5390 | }; |
5391 | ||
74a57fcd | 5392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
5393 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
5394 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
74a57fcd RD |
5395 | if (obj1) { |
5396 | arg2 = (int) SWIG_AsInt(obj1); | |
5397 | if (PyErr_Occurred()) SWIG_fail; | |
5398 | } | |
d14a1e28 RD |
5399 | if (obj2) { |
5400 | { | |
5401 | arg3 = &temp3; | |
5402 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5403 | } | |
5404 | } | |
5405 | if (obj3) { | |
5406 | { | |
5407 | arg4 = &temp4; | |
5408 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5409 | } | |
5410 | } | |
15afbcd0 RD |
5411 | if (obj4) { |
5412 | arg5 = (long) SWIG_AsLong(obj4); | |
5413 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5414 | } |
d14a1e28 RD |
5415 | if (obj5) { |
5416 | { | |
5417 | arg6 = wxString_in_helper(obj5); | |
5418 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 5419 | temp6 = True; |
d14a1e28 RD |
5420 | } |
5421 | } | |
5422 | { | |
5423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5424 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5425 | ||
5426 | wxPyEndAllowThreads(__tstate); | |
5427 | if (PyErr_Occurred()) SWIG_fail; | |
5428 | } | |
15afbcd0 | 5429 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5430 | { |
5431 | if (temp6) | |
5432 | delete arg6; | |
5433 | } | |
5434 | return resultobj; | |
5435 | fail: | |
5436 | { | |
5437 | if (temp6) | |
5438 | delete arg6; | |
5439 | } | |
5440 | return NULL; | |
5441 | } | |
5442 | ||
5443 | ||
5444 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5445 | PyObject *resultobj; | |
5446 | wxSplitterWindow *result; | |
5447 | char *kwnames[] = { | |
5448 | NULL | |
5449 | }; | |
5450 | ||
5451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
5452 | { | |
5453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5454 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
5455 | ||
5456 | wxPyEndAllowThreads(__tstate); | |
5457 | if (PyErr_Occurred()) SWIG_fail; | |
5458 | } | |
15afbcd0 | 5459 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5460 | return resultobj; |
5461 | fail: | |
5462 | return NULL; | |
5463 | } | |
5464 | ||
5465 | ||
5466 | static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5467 | PyObject *resultobj; | |
5468 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5469 | wxWindow *arg2 = (wxWindow *) 0 ; | |
74a57fcd | 5470 | int arg3 = (int) -1 ; |
d14a1e28 RD |
5471 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5472 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5473 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5474 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5475 | long arg6 = (long) wxSP_3D ; | |
5476 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
5477 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5478 | bool result; | |
5479 | wxPoint temp4 ; | |
5480 | wxSize temp5 ; | |
e811c8ce | 5481 | bool temp7 = False ; |
d14a1e28 RD |
5482 | PyObject * obj0 = 0 ; |
5483 | PyObject * obj1 = 0 ; | |
994141e6 | 5484 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5485 | PyObject * obj3 = 0 ; |
5486 | PyObject * obj4 = 0 ; | |
994141e6 | 5487 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
5488 | PyObject * obj6 = 0 ; |
5489 | char *kwnames[] = { | |
994141e6 | 5490 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5491 | }; |
5492 | ||
74a57fcd | 5493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
5494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5496 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5497 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
74a57fcd RD |
5498 | if (obj2) { |
5499 | arg3 = (int) SWIG_AsInt(obj2); | |
5500 | if (PyErr_Occurred()) SWIG_fail; | |
5501 | } | |
d14a1e28 RD |
5502 | if (obj3) { |
5503 | { | |
5504 | arg4 = &temp4; | |
5505 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5506 | } | |
5507 | } | |
5508 | if (obj4) { | |
5509 | { | |
5510 | arg5 = &temp5; | |
5511 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5512 | } | |
5513 | } | |
994141e6 | 5514 | if (obj5) { |
15afbcd0 RD |
5515 | arg6 = (long) SWIG_AsLong(obj5); |
5516 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5517 | } |
d14a1e28 RD |
5518 | if (obj6) { |
5519 | { | |
5520 | arg7 = wxString_in_helper(obj6); | |
5521 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 5522 | temp7 = True; |
d14a1e28 RD |
5523 | } |
5524 | } | |
5525 | { | |
5526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5527 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5528 | ||
5529 | wxPyEndAllowThreads(__tstate); | |
5530 | if (PyErr_Occurred()) SWIG_fail; | |
5531 | } | |
4f89f6a3 RD |
5532 | { |
5533 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5534 | } | |
d14a1e28 RD |
5535 | { |
5536 | if (temp7) | |
5537 | delete arg7; | |
5538 | } | |
5539 | return resultobj; | |
5540 | fail: | |
5541 | { | |
5542 | if (temp7) | |
5543 | delete arg7; | |
5544 | } | |
5545 | return NULL; | |
5546 | } | |
5547 | ||
5548 | ||
5549 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5550 | PyObject *resultobj; | |
5551 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5552 | wxWindow *result; | |
5553 | PyObject * obj0 = 0 ; | |
5554 | char *kwnames[] = { | |
5555 | (char *) "self", NULL | |
5556 | }; | |
5557 | ||
5558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5559 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5560 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5561 | { |
5562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5563 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
5564 | ||
5565 | wxPyEndAllowThreads(__tstate); | |
5566 | if (PyErr_Occurred()) SWIG_fail; | |
5567 | } | |
5568 | { | |
5569 | resultobj = wxPyMake_wxObject(result); | |
5570 | } | |
5571 | return resultobj; | |
5572 | fail: | |
5573 | return NULL; | |
5574 | } | |
5575 | ||
5576 | ||
5577 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5578 | PyObject *resultobj; | |
5579 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5580 | wxWindow *result; | |
5581 | PyObject * obj0 = 0 ; | |
5582 | char *kwnames[] = { | |
5583 | (char *) "self", NULL | |
5584 | }; | |
5585 | ||
5586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5587 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5588 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5589 | { |
5590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5591 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
5592 | ||
5593 | wxPyEndAllowThreads(__tstate); | |
5594 | if (PyErr_Occurred()) SWIG_fail; | |
5595 | } | |
5596 | { | |
5597 | resultobj = wxPyMake_wxObject(result); | |
5598 | } | |
5599 | return resultobj; | |
5600 | fail: | |
5601 | return NULL; | |
5602 | } | |
5603 | ||
5604 | ||
5605 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5606 | PyObject *resultobj; | |
5607 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5608 | int arg2 ; | |
5609 | PyObject * obj0 = 0 ; | |
994141e6 | 5610 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5611 | char *kwnames[] = { |
5612 | (char *) "self",(char *) "mode", NULL | |
5613 | }; | |
5614 | ||
994141e6 | 5615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5616 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5617 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5618 | arg2 = (int) SWIG_AsInt(obj1); | |
5619 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5620 | { |
5621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5622 | (arg1)->SetSplitMode(arg2); | |
5623 | ||
5624 | wxPyEndAllowThreads(__tstate); | |
5625 | if (PyErr_Occurred()) SWIG_fail; | |
5626 | } | |
5627 | Py_INCREF(Py_None); resultobj = Py_None; | |
5628 | return resultobj; | |
5629 | fail: | |
5630 | return NULL; | |
5631 | } | |
5632 | ||
5633 | ||
5634 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5635 | PyObject *resultobj; | |
5636 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5637 | int result; | |
5638 | PyObject * obj0 = 0 ; | |
5639 | char *kwnames[] = { | |
5640 | (char *) "self", NULL | |
5641 | }; | |
5642 | ||
5643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5644 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5645 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5646 | { |
5647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5648 | result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode(); | |
5649 | ||
5650 | wxPyEndAllowThreads(__tstate); | |
5651 | if (PyErr_Occurred()) SWIG_fail; | |
5652 | } | |
15afbcd0 | 5653 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5654 | return resultobj; |
5655 | fail: | |
5656 | return NULL; | |
5657 | } | |
5658 | ||
5659 | ||
5660 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5661 | PyObject *resultobj; | |
5662 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5663 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5664 | PyObject * obj0 = 0 ; | |
5665 | PyObject * obj1 = 0 ; | |
5666 | char *kwnames[] = { | |
5667 | (char *) "self",(char *) "window", NULL | |
5668 | }; | |
5669 | ||
5670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5673 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5674 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5675 | { |
5676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5677 | (arg1)->Initialize(arg2); | |
5678 | ||
5679 | wxPyEndAllowThreads(__tstate); | |
5680 | if (PyErr_Occurred()) SWIG_fail; | |
5681 | } | |
5682 | Py_INCREF(Py_None); resultobj = Py_None; | |
5683 | return resultobj; | |
5684 | fail: | |
5685 | return NULL; | |
5686 | } | |
5687 | ||
5688 | ||
5689 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5690 | PyObject *resultobj; | |
5691 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5692 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5693 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5694 | int arg4 = (int) 0 ; | |
5695 | bool result; | |
5696 | PyObject * obj0 = 0 ; | |
5697 | PyObject * obj1 = 0 ; | |
5698 | PyObject * obj2 = 0 ; | |
994141e6 | 5699 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5700 | char *kwnames[] = { |
5701 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5702 | }; | |
5703 | ||
994141e6 | 5704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
5705 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5706 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5707 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5708 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5709 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5710 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5711 | if (obj3) { |
15afbcd0 RD |
5712 | arg4 = (int) SWIG_AsInt(obj3); |
5713 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5714 | } |
d14a1e28 RD |
5715 | { |
5716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5717 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
5718 | ||
5719 | wxPyEndAllowThreads(__tstate); | |
5720 | if (PyErr_Occurred()) SWIG_fail; | |
5721 | } | |
4f89f6a3 RD |
5722 | { |
5723 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5724 | } | |
d14a1e28 RD |
5725 | return resultobj; |
5726 | fail: | |
5727 | return NULL; | |
5728 | } | |
5729 | ||
5730 | ||
5731 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5732 | PyObject *resultobj; | |
5733 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5734 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5735 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5736 | int arg4 = (int) 0 ; | |
5737 | bool result; | |
5738 | PyObject * obj0 = 0 ; | |
5739 | PyObject * obj1 = 0 ; | |
5740 | PyObject * obj2 = 0 ; | |
994141e6 | 5741 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5742 | char *kwnames[] = { |
5743 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5744 | }; | |
5745 | ||
994141e6 | 5746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
5747 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5748 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5749 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5750 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5751 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5752 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5753 | if (obj3) { |
15afbcd0 RD |
5754 | arg4 = (int) SWIG_AsInt(obj3); |
5755 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5756 | } |
d14a1e28 RD |
5757 | { |
5758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5759 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
5760 | ||
5761 | wxPyEndAllowThreads(__tstate); | |
5762 | if (PyErr_Occurred()) SWIG_fail; | |
5763 | } | |
4f89f6a3 RD |
5764 | { |
5765 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5766 | } | |
d14a1e28 RD |
5767 | return resultobj; |
5768 | fail: | |
5769 | return NULL; | |
5770 | } | |
5771 | ||
5772 | ||
5773 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5774 | PyObject *resultobj; | |
5775 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5776 | wxWindow *arg2 = (wxWindow *) NULL ; | |
5777 | bool result; | |
5778 | PyObject * obj0 = 0 ; | |
5779 | PyObject * obj1 = 0 ; | |
5780 | char *kwnames[] = { | |
5781 | (char *) "self",(char *) "toRemove", NULL | |
5782 | }; | |
5783 | ||
5784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5785 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5786 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 5787 | if (obj1) { |
15afbcd0 RD |
5788 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
5789 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5790 | } |
5791 | { | |
5792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5793 | result = (bool)(arg1)->Unsplit(arg2); | |
5794 | ||
5795 | wxPyEndAllowThreads(__tstate); | |
5796 | if (PyErr_Occurred()) SWIG_fail; | |
5797 | } | |
4f89f6a3 RD |
5798 | { |
5799 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5800 | } | |
d14a1e28 RD |
5801 | return resultobj; |
5802 | fail: | |
5803 | return NULL; | |
5804 | } | |
5805 | ||
5806 | ||
5807 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5808 | PyObject *resultobj; | |
5809 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5810 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5811 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5812 | bool result; | |
5813 | PyObject * obj0 = 0 ; | |
5814 | PyObject * obj1 = 0 ; | |
5815 | PyObject * obj2 = 0 ; | |
5816 | char *kwnames[] = { | |
5817 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
5818 | }; | |
5819 | ||
5820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
5821 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5822 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5823 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5825 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5826 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5827 | { |
5828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5829 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
5830 | ||
5831 | wxPyEndAllowThreads(__tstate); | |
5832 | if (PyErr_Occurred()) SWIG_fail; | |
5833 | } | |
4f89f6a3 RD |
5834 | { |
5835 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5836 | } | |
d14a1e28 RD |
5837 | return resultobj; |
5838 | fail: | |
5839 | return NULL; | |
5840 | } | |
5841 | ||
5842 | ||
d00d1b88 RD |
5843 | static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
5844 | PyObject *resultobj; | |
5845 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5846 | PyObject * obj0 = 0 ; | |
5847 | char *kwnames[] = { | |
5848 | (char *) "self", NULL | |
5849 | }; | |
5850 | ||
5851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail; | |
5852 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
5853 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5854 | { | |
5855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5856 | (arg1)->UpdateSize(); | |
5857 | ||
5858 | wxPyEndAllowThreads(__tstate); | |
5859 | if (PyErr_Occurred()) SWIG_fail; | |
5860 | } | |
5861 | Py_INCREF(Py_None); resultobj = Py_None; | |
5862 | return resultobj; | |
5863 | fail: | |
5864 | return NULL; | |
5865 | } | |
5866 | ||
5867 | ||
d14a1e28 RD |
5868 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) { |
5869 | PyObject *resultobj; | |
5870 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5871 | bool result; | |
5872 | PyObject * obj0 = 0 ; | |
5873 | char *kwnames[] = { | |
5874 | (char *) "self", NULL | |
5875 | }; | |
5876 | ||
5877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5878 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5879 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5880 | { |
5881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5882 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
5883 | ||
5884 | wxPyEndAllowThreads(__tstate); | |
5885 | if (PyErr_Occurred()) SWIG_fail; | |
5886 | } | |
4f89f6a3 RD |
5887 | { |
5888 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5889 | } | |
d14a1e28 RD |
5890 | return resultobj; |
5891 | fail: | |
5892 | return NULL; | |
5893 | } | |
5894 | ||
5895 | ||
5896 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5897 | PyObject *resultobj; | |
5898 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5899 | int arg2 ; | |
5900 | PyObject * obj0 = 0 ; | |
994141e6 | 5901 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5902 | char *kwnames[] = { |
5903 | (char *) "self",(char *) "width", NULL | |
5904 | }; | |
5905 | ||
994141e6 | 5906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5907 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5908 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5909 | arg2 = (int) SWIG_AsInt(obj1); | |
5910 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5911 | { |
5912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5913 | (arg1)->SetSashSize(arg2); | |
5914 | ||
5915 | wxPyEndAllowThreads(__tstate); | |
5916 | if (PyErr_Occurred()) SWIG_fail; | |
5917 | } | |
5918 | Py_INCREF(Py_None); resultobj = Py_None; | |
5919 | return resultobj; | |
5920 | fail: | |
5921 | return NULL; | |
5922 | } | |
5923 | ||
5924 | ||
5925 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5926 | PyObject *resultobj; | |
5927 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5928 | int arg2 ; | |
5929 | PyObject * obj0 = 0 ; | |
994141e6 | 5930 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5931 | char *kwnames[] = { |
5932 | (char *) "self",(char *) "width", NULL | |
5933 | }; | |
5934 | ||
994141e6 | 5935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5936 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5937 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5938 | arg2 = (int) SWIG_AsInt(obj1); | |
5939 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5940 | { |
5941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5942 | (arg1)->SetBorderSize(arg2); | |
5943 | ||
5944 | wxPyEndAllowThreads(__tstate); | |
5945 | if (PyErr_Occurred()) SWIG_fail; | |
5946 | } | |
5947 | Py_INCREF(Py_None); resultobj = Py_None; | |
5948 | return resultobj; | |
5949 | fail: | |
5950 | return NULL; | |
5951 | } | |
5952 | ||
5953 | ||
5954 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5955 | PyObject *resultobj; | |
5956 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5957 | int result; | |
5958 | PyObject * obj0 = 0 ; | |
5959 | char *kwnames[] = { | |
5960 | (char *) "self", NULL | |
5961 | }; | |
5962 | ||
5963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5964 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5966 | { |
5967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5968 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
5969 | ||
5970 | wxPyEndAllowThreads(__tstate); | |
5971 | if (PyErr_Occurred()) SWIG_fail; | |
5972 | } | |
15afbcd0 | 5973 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5974 | return resultobj; |
5975 | fail: | |
5976 | return NULL; | |
5977 | } | |
5978 | ||
5979 | ||
5980 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5981 | PyObject *resultobj; | |
5982 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5983 | int result; | |
5984 | PyObject * obj0 = 0 ; | |
5985 | char *kwnames[] = { | |
5986 | (char *) "self", NULL | |
5987 | }; | |
5988 | ||
5989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5990 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5991 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5992 | { |
5993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5994 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
5995 | ||
5996 | wxPyEndAllowThreads(__tstate); | |
5997 | if (PyErr_Occurred()) SWIG_fail; | |
5998 | } | |
15afbcd0 | 5999 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6000 | return resultobj; |
6001 | fail: | |
6002 | return NULL; | |
6003 | } | |
6004 | ||
6005 | ||
6006 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6007 | PyObject *resultobj; | |
6008 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6009 | int arg2 ; | |
e811c8ce | 6010 | bool arg3 = (bool) True ; |
d14a1e28 | 6011 | PyObject * obj0 = 0 ; |
994141e6 | 6012 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6013 | PyObject * obj2 = 0 ; |
6014 | char *kwnames[] = { | |
6015 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
6016 | }; | |
6017 | ||
994141e6 | 6018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6019 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6020 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6021 | arg2 = (int) SWIG_AsInt(obj1); | |
6022 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 | 6023 | if (obj2) { |
15afbcd0 RD |
6024 | arg3 = (bool) SWIG_AsBool(obj2); |
6025 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6026 | } |
6027 | { | |
6028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6029 | (arg1)->SetSashPosition(arg2,arg3); | |
6030 | ||
6031 | wxPyEndAllowThreads(__tstate); | |
6032 | if (PyErr_Occurred()) SWIG_fail; | |
6033 | } | |
6034 | Py_INCREF(Py_None); resultobj = Py_None; | |
6035 | return resultobj; | |
6036 | fail: | |
6037 | return NULL; | |
6038 | } | |
6039 | ||
6040 | ||
6041 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6042 | PyObject *resultobj; | |
6043 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6044 | int result; | |
6045 | PyObject * obj0 = 0 ; | |
6046 | char *kwnames[] = { | |
6047 | (char *) "self", NULL | |
6048 | }; | |
6049 | ||
6050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6051 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6053 | { |
6054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6055 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
6056 | ||
6057 | wxPyEndAllowThreads(__tstate); | |
6058 | if (PyErr_Occurred()) SWIG_fail; | |
6059 | } | |
15afbcd0 | 6060 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6061 | return resultobj; |
6062 | fail: | |
6063 | return NULL; | |
6064 | } | |
6065 | ||
6066 | ||
6067 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6068 | PyObject *resultobj; | |
6069 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6070 | int arg2 ; | |
6071 | PyObject * obj0 = 0 ; | |
994141e6 | 6072 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6073 | char *kwnames[] = { |
6074 | (char *) "self",(char *) "min", NULL | |
6075 | }; | |
6076 | ||
994141e6 | 6077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6078 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6079 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6080 | arg2 = (int) SWIG_AsInt(obj1); | |
6081 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6082 | { |
6083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6084 | (arg1)->SetMinimumPaneSize(arg2); | |
6085 | ||
6086 | wxPyEndAllowThreads(__tstate); | |
6087 | if (PyErr_Occurred()) SWIG_fail; | |
6088 | } | |
6089 | Py_INCREF(Py_None); resultobj = Py_None; | |
6090 | return resultobj; | |
6091 | fail: | |
6092 | return NULL; | |
6093 | } | |
6094 | ||
6095 | ||
6096 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6097 | PyObject *resultobj; | |
6098 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6099 | int result; | |
6100 | PyObject * obj0 = 0 ; | |
6101 | char *kwnames[] = { | |
6102 | (char *) "self", NULL | |
6103 | }; | |
6104 | ||
6105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6106 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6107 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6108 | { |
6109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6110 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
6111 | ||
6112 | wxPyEndAllowThreads(__tstate); | |
6113 | if (PyErr_Occurred()) SWIG_fail; | |
6114 | } | |
15afbcd0 | 6115 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6116 | return resultobj; |
6117 | fail: | |
6118 | return NULL; | |
6119 | } | |
6120 | ||
6121 | ||
6122 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6123 | PyObject *resultobj; | |
6124 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6125 | int arg2 ; | |
6126 | int arg3 ; | |
6127 | int arg4 = (int) 5 ; | |
6128 | bool result; | |
6129 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6130 | PyObject * obj1 = 0 ; |
6131 | PyObject * obj2 = 0 ; | |
6132 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
6133 | char *kwnames[] = { |
6134 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
6135 | }; | |
6136 | ||
994141e6 | 6137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
6138 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6139 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6140 | arg2 = (int) SWIG_AsInt(obj1); | |
6141 | if (PyErr_Occurred()) SWIG_fail; | |
6142 | arg3 = (int) SWIG_AsInt(obj2); | |
6143 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6144 | if (obj3) { |
15afbcd0 RD |
6145 | arg4 = (int) SWIG_AsInt(obj3); |
6146 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6147 | } |
d14a1e28 RD |
6148 | { |
6149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6150 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
6151 | ||
6152 | wxPyEndAllowThreads(__tstate); | |
6153 | if (PyErr_Occurred()) SWIG_fail; | |
6154 | } | |
4f89f6a3 RD |
6155 | { |
6156 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6157 | } | |
d14a1e28 RD |
6158 | return resultobj; |
6159 | fail: | |
6160 | return NULL; | |
6161 | } | |
6162 | ||
6163 | ||
6164 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6165 | PyObject *resultobj; | |
6166 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6167 | PyObject * obj0 = 0 ; | |
6168 | char *kwnames[] = { | |
6169 | (char *) "self", NULL | |
6170 | }; | |
6171 | ||
6172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6173 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6174 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6175 | { |
6176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6177 | (arg1)->SizeWindows(); | |
6178 | ||
6179 | wxPyEndAllowThreads(__tstate); | |
6180 | if (PyErr_Occurred()) SWIG_fail; | |
6181 | } | |
6182 | Py_INCREF(Py_None); resultobj = Py_None; | |
6183 | return resultobj; | |
6184 | fail: | |
6185 | return NULL; | |
6186 | } | |
6187 | ||
6188 | ||
6189 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6190 | PyObject *resultobj; | |
6191 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6192 | bool arg2 ; | |
6193 | PyObject * obj0 = 0 ; | |
6194 | PyObject * obj1 = 0 ; | |
6195 | char *kwnames[] = { | |
6196 | (char *) "self",(char *) "needUpdating", NULL | |
6197 | }; | |
6198 | ||
6199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6202 | arg2 = (bool) SWIG_AsBool(obj1); | |
6203 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6204 | { |
6205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6206 | (arg1)->SetNeedUpdating(arg2); | |
6207 | ||
6208 | wxPyEndAllowThreads(__tstate); | |
6209 | if (PyErr_Occurred()) SWIG_fail; | |
6210 | } | |
6211 | Py_INCREF(Py_None); resultobj = Py_None; | |
6212 | return resultobj; | |
6213 | fail: | |
6214 | return NULL; | |
6215 | } | |
6216 | ||
6217 | ||
6218 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6219 | PyObject *resultobj; | |
6220 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6221 | bool result; | |
6222 | PyObject * obj0 = 0 ; | |
6223 | char *kwnames[] = { | |
6224 | (char *) "self", NULL | |
6225 | }; | |
6226 | ||
6227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6228 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6229 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6230 | { |
6231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6232 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
6233 | ||
6234 | wxPyEndAllowThreads(__tstate); | |
6235 | if (PyErr_Occurred()) SWIG_fail; | |
6236 | } | |
4f89f6a3 RD |
6237 | { |
6238 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6239 | } | |
d14a1e28 RD |
6240 | return resultobj; |
6241 | fail: | |
6242 | return NULL; | |
6243 | } | |
6244 | ||
6245 | ||
6246 | static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) { | |
6247 | PyObject *obj; | |
6248 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6249 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
6250 | Py_INCREF(obj); | |
6251 | return Py_BuildValue((char *)""); | |
6252 | } | |
6253 | static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6254 | PyObject *resultobj; | |
6255 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
6256 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
6257 | wxSplitterEvent *result; | |
994141e6 | 6258 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
6259 | PyObject * obj1 = 0 ; |
6260 | char *kwnames[] = { | |
6261 | (char *) "type",(char *) "splitter", NULL | |
6262 | }; | |
6263 | ||
994141e6 RD |
6264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; |
6265 | if (obj0) { | |
15afbcd0 RD |
6266 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
6267 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6268 | } |
d14a1e28 | 6269 | if (obj1) { |
15afbcd0 RD |
6270 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow, |
6271 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6272 | } |
6273 | { | |
6274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6275 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
6276 | ||
6277 | wxPyEndAllowThreads(__tstate); | |
6278 | if (PyErr_Occurred()) SWIG_fail; | |
6279 | } | |
15afbcd0 | 6280 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); |
d14a1e28 RD |
6281 | return resultobj; |
6282 | fail: | |
6283 | return NULL; | |
6284 | } | |
6285 | ||
6286 | ||
6287 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6288 | PyObject *resultobj; | |
6289 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6290 | int arg2 ; | |
6291 | PyObject * obj0 = 0 ; | |
994141e6 | 6292 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6293 | char *kwnames[] = { |
6294 | (char *) "self",(char *) "pos", NULL | |
6295 | }; | |
6296 | ||
994141e6 | 6297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6298 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6299 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6300 | arg2 = (int) SWIG_AsInt(obj1); | |
6301 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6302 | { |
6303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6304 | (arg1)->SetSashPosition(arg2); | |
6305 | ||
6306 | wxPyEndAllowThreads(__tstate); | |
6307 | if (PyErr_Occurred()) SWIG_fail; | |
6308 | } | |
6309 | Py_INCREF(Py_None); resultobj = Py_None; | |
6310 | return resultobj; | |
6311 | fail: | |
6312 | return NULL; | |
6313 | } | |
6314 | ||
6315 | ||
6316 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6317 | PyObject *resultobj; | |
6318 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6319 | int result; | |
6320 | PyObject * obj0 = 0 ; | |
6321 | char *kwnames[] = { | |
6322 | (char *) "self", NULL | |
6323 | }; | |
6324 | ||
6325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6328 | { |
6329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6330 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
6331 | ||
6332 | wxPyEndAllowThreads(__tstate); | |
6333 | if (PyErr_Occurred()) SWIG_fail; | |
6334 | } | |
15afbcd0 | 6335 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6336 | return resultobj; |
6337 | fail: | |
6338 | return NULL; | |
6339 | } | |
6340 | ||
6341 | ||
6342 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6343 | PyObject *resultobj; | |
6344 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6345 | wxWindow *result; | |
6346 | PyObject * obj0 = 0 ; | |
6347 | char *kwnames[] = { | |
6348 | (char *) "self", NULL | |
6349 | }; | |
6350 | ||
6351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6352 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6353 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6354 | { |
6355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6356 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
6357 | ||
6358 | wxPyEndAllowThreads(__tstate); | |
6359 | if (PyErr_Occurred()) SWIG_fail; | |
6360 | } | |
6361 | { | |
6362 | resultobj = wxPyMake_wxObject(result); | |
6363 | } | |
6364 | return resultobj; | |
6365 | fail: | |
6366 | return NULL; | |
6367 | } | |
6368 | ||
6369 | ||
6370 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6371 | PyObject *resultobj; | |
6372 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6373 | int result; | |
6374 | PyObject * obj0 = 0 ; | |
6375 | char *kwnames[] = { | |
6376 | (char *) "self", NULL | |
6377 | }; | |
6378 | ||
6379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6380 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6382 | { |
6383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6384 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
6385 | ||
6386 | wxPyEndAllowThreads(__tstate); | |
6387 | if (PyErr_Occurred()) SWIG_fail; | |
6388 | } | |
15afbcd0 | 6389 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6390 | return resultobj; |
6391 | fail: | |
6392 | return NULL; | |
6393 | } | |
6394 | ||
6395 | ||
6396 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6397 | PyObject *resultobj; | |
6398 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6399 | int result; | |
6400 | PyObject * obj0 = 0 ; | |
6401 | char *kwnames[] = { | |
6402 | (char *) "self", NULL | |
6403 | }; | |
6404 | ||
6405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6406 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6407 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6408 | { |
6409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6410 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
6411 | ||
6412 | wxPyEndAllowThreads(__tstate); | |
6413 | if (PyErr_Occurred()) SWIG_fail; | |
6414 | } | |
15afbcd0 | 6415 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6416 | return resultobj; |
6417 | fail: | |
6418 | return NULL; | |
6419 | } | |
6420 | ||
6421 | ||
6422 | static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) { | |
6423 | PyObject *obj; | |
6424 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6425 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
6426 | Py_INCREF(obj); | |
6427 | return Py_BuildValue((char *)""); | |
6428 | } | |
b2dc1044 RD |
6429 | static int _wrap_SashNameStr_set(PyObject *_val) { |
6430 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); | |
6431 | return 1; | |
6432 | } | |
6433 | ||
6434 | ||
6435 | static PyObject *_wrap_SashNameStr_get() { | |
6436 | PyObject *pyobj; | |
6437 | ||
6438 | { | |
6439 | #if wxUSE_UNICODE | |
6440 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6441 | #else | |
6442 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6443 | #endif | |
6444 | } | |
6445 | return pyobj; | |
6446 | } | |
6447 | ||
6448 | ||
6449 | static int _wrap_SashLayoutNameStr_set(PyObject *_val) { | |
6450 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); | |
6451 | return 1; | |
6452 | } | |
6453 | ||
6454 | ||
6455 | static PyObject *_wrap_SashLayoutNameStr_get() { | |
6456 | PyObject *pyobj; | |
6457 | ||
6458 | { | |
6459 | #if wxUSE_UNICODE | |
6460 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6461 | #else | |
6462 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6463 | #endif | |
6464 | } | |
6465 | return pyobj; | |
6466 | } | |
6467 | ||
6468 | ||
d14a1e28 RD |
6469 | static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
6470 | PyObject *resultobj; | |
6471 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 6472 | int arg2 ; |
d14a1e28 RD |
6473 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
6474 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
6475 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
6476 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
6477 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6478 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
6479 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
6480 | wxSashWindow *result; | |
6481 | wxPoint temp3 ; | |
6482 | wxSize temp4 ; | |
e811c8ce | 6483 | bool temp6 = False ; |
d14a1e28 | 6484 | PyObject * obj0 = 0 ; |
994141e6 | 6485 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6486 | PyObject * obj2 = 0 ; |
6487 | PyObject * obj3 = 0 ; | |
994141e6 | 6488 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
6489 | PyObject * obj5 = 0 ; |
6490 | char *kwnames[] = { | |
6491 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6492 | }; | |
6493 | ||
994141e6 | 6494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
6495 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
6496 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6497 | arg2 = (int) SWIG_AsInt(obj1); | |
6498 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6499 | if (obj2) { |
6500 | { | |
6501 | arg3 = &temp3; | |
6502 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
6503 | } | |
6504 | } | |
6505 | if (obj3) { | |
6506 | { | |
6507 | arg4 = &temp4; | |
6508 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
6509 | } | |
6510 | } | |
994141e6 | 6511 | if (obj4) { |
15afbcd0 RD |
6512 | arg5 = (long) SWIG_AsLong(obj4); |
6513 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6514 | } |
d14a1e28 RD |
6515 | if (obj5) { |
6516 | { | |
6517 | arg6 = wxString_in_helper(obj5); | |
6518 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 6519 | temp6 = True; |
d14a1e28 RD |
6520 | } |
6521 | } | |
6522 | { | |
6523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6524 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
6525 | ||
6526 | wxPyEndAllowThreads(__tstate); | |
6527 | if (PyErr_Occurred()) SWIG_fail; | |
6528 | } | |
15afbcd0 | 6529 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
6530 | { |
6531 | if (temp6) | |
6532 | delete arg6; | |
6533 | } | |
6534 | return resultobj; | |
6535 | fail: | |
6536 | { | |
6537 | if (temp6) | |
6538 | delete arg6; | |
6539 | } | |
6540 | return NULL; | |
6541 | } | |
6542 | ||
6543 | ||
6544 | static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6545 | PyObject *resultobj; | |
6546 | wxSashWindow *result; | |
6547 | char *kwnames[] = { | |
6548 | NULL | |
6549 | }; | |
6550 | ||
6551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
6552 | { | |
6553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6554 | result = (wxSashWindow *)new wxSashWindow(); | |
6555 | ||
6556 | wxPyEndAllowThreads(__tstate); | |
6557 | if (PyErr_Occurred()) SWIG_fail; | |
6558 | } | |
15afbcd0 | 6559 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
6560 | return resultobj; |
6561 | fail: | |
6562 | return NULL; | |
6563 | } | |
6564 | ||
6565 | ||
6566 | static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6567 | PyObject *resultobj; | |
6568 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6569 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 6570 | int arg3 ; |
d14a1e28 RD |
6571 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6572 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6573 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6574 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6575 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6576 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
6577 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6578 | bool result; | |
6579 | wxPoint temp4 ; | |
6580 | wxSize temp5 ; | |
e811c8ce | 6581 | bool temp7 = False ; |
d14a1e28 RD |
6582 | PyObject * obj0 = 0 ; |
6583 | PyObject * obj1 = 0 ; | |
994141e6 | 6584 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6585 | PyObject * obj3 = 0 ; |
6586 | PyObject * obj4 = 0 ; | |
994141e6 | 6587 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6588 | PyObject * obj6 = 0 ; |
6589 | char *kwnames[] = { | |
6590 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6591 | }; | |
6592 | ||
994141e6 | 6593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
6594 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6595 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6596 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6597 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6598 | arg3 = (int) SWIG_AsInt(obj2); | |
6599 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6600 | if (obj3) { |
6601 | { | |
6602 | arg4 = &temp4; | |
6603 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6604 | } | |
6605 | } | |
6606 | if (obj4) { | |
6607 | { | |
6608 | arg5 = &temp5; | |
6609 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6610 | } | |
6611 | } | |
994141e6 | 6612 | if (obj5) { |
15afbcd0 RD |
6613 | arg6 = (long) SWIG_AsLong(obj5); |
6614 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6615 | } |
d14a1e28 RD |
6616 | if (obj6) { |
6617 | { | |
6618 | arg7 = wxString_in_helper(obj6); | |
6619 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 6620 | temp7 = True; |
d14a1e28 RD |
6621 | } |
6622 | } | |
6623 | { | |
6624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6625 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6626 | ||
6627 | wxPyEndAllowThreads(__tstate); | |
6628 | if (PyErr_Occurred()) SWIG_fail; | |
6629 | } | |
4f89f6a3 RD |
6630 | { |
6631 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6632 | } | |
d14a1e28 RD |
6633 | { |
6634 | if (temp7) | |
6635 | delete arg7; | |
6636 | } | |
6637 | return resultobj; | |
6638 | fail: | |
6639 | { | |
6640 | if (temp7) | |
6641 | delete arg7; | |
6642 | } | |
6643 | return NULL; | |
6644 | } | |
6645 | ||
6646 | ||
6647 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6648 | PyObject *resultobj; | |
6649 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6650 | int arg2 ; | |
6651 | bool arg3 ; | |
6652 | PyObject * obj0 = 0 ; | |
994141e6 | 6653 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6654 | PyObject * obj2 = 0 ; |
6655 | char *kwnames[] = { | |
6656 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
6657 | }; | |
6658 | ||
994141e6 | 6659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6660 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6661 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6662 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6663 | if (PyErr_Occurred()) SWIG_fail; | |
6664 | arg3 = (bool) SWIG_AsBool(obj2); | |
6665 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6666 | { |
6667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6668 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
6669 | ||
6670 | wxPyEndAllowThreads(__tstate); | |
6671 | if (PyErr_Occurred()) SWIG_fail; | |
6672 | } | |
6673 | Py_INCREF(Py_None); resultobj = Py_None; | |
6674 | return resultobj; | |
6675 | fail: | |
6676 | return NULL; | |
6677 | } | |
6678 | ||
6679 | ||
6680 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6681 | PyObject *resultobj; | |
6682 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6683 | int arg2 ; | |
6684 | bool result; | |
6685 | PyObject * obj0 = 0 ; | |
994141e6 | 6686 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6687 | char *kwnames[] = { |
6688 | (char *) "self",(char *) "edge", NULL | |
6689 | }; | |
6690 | ||
994141e6 | 6691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6692 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6693 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6694 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6695 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6696 | { |
6697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6698 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
6699 | ||
6700 | wxPyEndAllowThreads(__tstate); | |
6701 | if (PyErr_Occurred()) SWIG_fail; | |
6702 | } | |
4f89f6a3 RD |
6703 | { |
6704 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6705 | } | |
d14a1e28 RD |
6706 | return resultobj; |
6707 | fail: | |
6708 | return NULL; | |
6709 | } | |
6710 | ||
6711 | ||
6712 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6713 | PyObject *resultobj; | |
6714 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6715 | int arg2 ; | |
6716 | bool arg3 ; | |
6717 | PyObject * obj0 = 0 ; | |
994141e6 | 6718 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6719 | PyObject * obj2 = 0 ; |
6720 | char *kwnames[] = { | |
6721 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
6722 | }; | |
6723 | ||
994141e6 | 6724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6725 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6727 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6728 | if (PyErr_Occurred()) SWIG_fail; | |
6729 | arg3 = (bool) SWIG_AsBool(obj2); | |
6730 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6731 | { |
6732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6733 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
6734 | ||
6735 | wxPyEndAllowThreads(__tstate); | |
6736 | if (PyErr_Occurred()) SWIG_fail; | |
6737 | } | |
6738 | Py_INCREF(Py_None); resultobj = Py_None; | |
6739 | return resultobj; | |
6740 | fail: | |
6741 | return NULL; | |
6742 | } | |
6743 | ||
6744 | ||
6745 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6746 | PyObject *resultobj; | |
6747 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6748 | int arg2 ; | |
6749 | bool result; | |
6750 | PyObject * obj0 = 0 ; | |
994141e6 | 6751 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6752 | char *kwnames[] = { |
6753 | (char *) "self",(char *) "edge", NULL | |
6754 | }; | |
6755 | ||
994141e6 | 6756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6757 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6758 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6759 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6760 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6761 | { |
6762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6763 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
6764 | ||
6765 | wxPyEndAllowThreads(__tstate); | |
6766 | if (PyErr_Occurred()) SWIG_fail; | |
6767 | } | |
4f89f6a3 RD |
6768 | { |
6769 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6770 | } | |
d14a1e28 RD |
6771 | return resultobj; |
6772 | fail: | |
6773 | return NULL; | |
6774 | } | |
6775 | ||
6776 | ||
6777 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6778 | PyObject *resultobj; | |
6779 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6780 | int arg2 ; | |
6781 | int result; | |
6782 | PyObject * obj0 = 0 ; | |
994141e6 | 6783 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6784 | char *kwnames[] = { |
6785 | (char *) "self",(char *) "edge", NULL | |
6786 | }; | |
6787 | ||
994141e6 | 6788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6789 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6790 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6791 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6792 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6793 | { |
6794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6795 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
6796 | ||
6797 | wxPyEndAllowThreads(__tstate); | |
6798 | if (PyErr_Occurred()) SWIG_fail; | |
6799 | } | |
15afbcd0 | 6800 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6801 | return resultobj; |
6802 | fail: | |
6803 | return NULL; | |
6804 | } | |
6805 | ||
6806 | ||
6807 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6808 | PyObject *resultobj; | |
6809 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6810 | int arg2 ; | |
6811 | PyObject * obj0 = 0 ; | |
994141e6 | 6812 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6813 | char *kwnames[] = { |
6814 | (char *) "self",(char *) "width", NULL | |
6815 | }; | |
6816 | ||
994141e6 | 6817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6818 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6820 | arg2 = (int) SWIG_AsInt(obj1); | |
6821 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6822 | { |
6823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824 | (arg1)->SetDefaultBorderSize(arg2); | |
6825 | ||
6826 | wxPyEndAllowThreads(__tstate); | |
6827 | if (PyErr_Occurred()) SWIG_fail; | |
6828 | } | |
6829 | Py_INCREF(Py_None); resultobj = Py_None; | |
6830 | return resultobj; | |
6831 | fail: | |
6832 | return NULL; | |
6833 | } | |
6834 | ||
6835 | ||
6836 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6837 | PyObject *resultobj; | |
6838 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6839 | int result; | |
6840 | PyObject * obj0 = 0 ; | |
6841 | char *kwnames[] = { | |
6842 | (char *) "self", NULL | |
6843 | }; | |
6844 | ||
6845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6846 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6847 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6848 | { |
6849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6850 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
6851 | ||
6852 | wxPyEndAllowThreads(__tstate); | |
6853 | if (PyErr_Occurred()) SWIG_fail; | |
6854 | } | |
15afbcd0 | 6855 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6856 | return resultobj; |
6857 | fail: | |
6858 | return NULL; | |
6859 | } | |
6860 | ||
6861 | ||
6862 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6863 | PyObject *resultobj; | |
6864 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6865 | int arg2 ; | |
6866 | PyObject * obj0 = 0 ; | |
994141e6 | 6867 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6868 | char *kwnames[] = { |
6869 | (char *) "self",(char *) "width", NULL | |
6870 | }; | |
6871 | ||
994141e6 | 6872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6873 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6874 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6875 | arg2 = (int) SWIG_AsInt(obj1); | |
6876 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6877 | { |
6878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6879 | (arg1)->SetExtraBorderSize(arg2); | |
6880 | ||
6881 | wxPyEndAllowThreads(__tstate); | |
6882 | if (PyErr_Occurred()) SWIG_fail; | |
6883 | } | |
6884 | Py_INCREF(Py_None); resultobj = Py_None; | |
6885 | return resultobj; | |
6886 | fail: | |
6887 | return NULL; | |
6888 | } | |
6889 | ||
6890 | ||
6891 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6892 | PyObject *resultobj; | |
6893 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6894 | int result; | |
6895 | PyObject * obj0 = 0 ; | |
6896 | char *kwnames[] = { | |
6897 | (char *) "self", NULL | |
6898 | }; | |
6899 | ||
6900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6901 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6902 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6903 | { |
6904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6905 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
6906 | ||
6907 | wxPyEndAllowThreads(__tstate); | |
6908 | if (PyErr_Occurred()) SWIG_fail; | |
6909 | } | |
15afbcd0 | 6910 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6911 | return resultobj; |
6912 | fail: | |
6913 | return NULL; | |
6914 | } | |
6915 | ||
6916 | ||
6917 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6918 | PyObject *resultobj; | |
6919 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6920 | int arg2 ; | |
6921 | PyObject * obj0 = 0 ; | |
994141e6 | 6922 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6923 | char *kwnames[] = { |
6924 | (char *) "self",(char *) "min", NULL | |
6925 | }; | |
6926 | ||
994141e6 | 6927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6928 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6929 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6930 | arg2 = (int) SWIG_AsInt(obj1); | |
6931 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6932 | { |
6933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6934 | (arg1)->SetMinimumSizeX(arg2); | |
6935 | ||
6936 | wxPyEndAllowThreads(__tstate); | |
6937 | if (PyErr_Occurred()) SWIG_fail; | |
6938 | } | |
6939 | Py_INCREF(Py_None); resultobj = Py_None; | |
6940 | return resultobj; | |
6941 | fail: | |
6942 | return NULL; | |
6943 | } | |
6944 | ||
6945 | ||
6946 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6947 | PyObject *resultobj; | |
6948 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6949 | int arg2 ; | |
6950 | PyObject * obj0 = 0 ; | |
994141e6 | 6951 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6952 | char *kwnames[] = { |
6953 | (char *) "self",(char *) "min", NULL | |
6954 | }; | |
6955 | ||
994141e6 | 6956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6957 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6958 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6959 | arg2 = (int) SWIG_AsInt(obj1); | |
6960 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6961 | { |
6962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6963 | (arg1)->SetMinimumSizeY(arg2); | |
6964 | ||
6965 | wxPyEndAllowThreads(__tstate); | |
6966 | if (PyErr_Occurred()) SWIG_fail; | |
6967 | } | |
6968 | Py_INCREF(Py_None); resultobj = Py_None; | |
6969 | return resultobj; | |
6970 | fail: | |
6971 | return NULL; | |
6972 | } | |
6973 | ||
6974 | ||
6975 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6976 | PyObject *resultobj; | |
6977 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6978 | int result; | |
6979 | PyObject * obj0 = 0 ; | |
6980 | char *kwnames[] = { | |
6981 | (char *) "self", NULL | |
6982 | }; | |
6983 | ||
6984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6985 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6986 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6987 | { |
6988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6989 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
6990 | ||
6991 | wxPyEndAllowThreads(__tstate); | |
6992 | if (PyErr_Occurred()) SWIG_fail; | |
6993 | } | |
15afbcd0 | 6994 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6995 | return resultobj; |
6996 | fail: | |
6997 | return NULL; | |
6998 | } | |
6999 | ||
7000 | ||
7001 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7002 | PyObject *resultobj; | |
7003 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7004 | int result; | |
7005 | PyObject * obj0 = 0 ; | |
7006 | char *kwnames[] = { | |
7007 | (char *) "self", NULL | |
7008 | }; | |
7009 | ||
7010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7011 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7012 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7013 | { |
7014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7015 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
7016 | ||
7017 | wxPyEndAllowThreads(__tstate); | |
7018 | if (PyErr_Occurred()) SWIG_fail; | |
7019 | } | |
15afbcd0 | 7020 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7021 | return resultobj; |
7022 | fail: | |
7023 | return NULL; | |
7024 | } | |
7025 | ||
7026 | ||
7027 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7028 | PyObject *resultobj; | |
7029 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7030 | int arg2 ; | |
7031 | PyObject * obj0 = 0 ; | |
994141e6 | 7032 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7033 | char *kwnames[] = { |
7034 | (char *) "self",(char *) "max", NULL | |
7035 | }; | |
7036 | ||
994141e6 | 7037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7038 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7040 | arg2 = (int) SWIG_AsInt(obj1); | |
7041 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7042 | { |
7043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7044 | (arg1)->SetMaximumSizeX(arg2); | |
7045 | ||
7046 | wxPyEndAllowThreads(__tstate); | |
7047 | if (PyErr_Occurred()) SWIG_fail; | |
7048 | } | |
7049 | Py_INCREF(Py_None); resultobj = Py_None; | |
7050 | return resultobj; | |
7051 | fail: | |
7052 | return NULL; | |
7053 | } | |
7054 | ||
7055 | ||
7056 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7057 | PyObject *resultobj; | |
7058 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7059 | int arg2 ; | |
7060 | PyObject * obj0 = 0 ; | |
994141e6 | 7061 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7062 | char *kwnames[] = { |
7063 | (char *) "self",(char *) "max", NULL | |
7064 | }; | |
7065 | ||
994141e6 | 7066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7067 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7068 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7069 | arg2 = (int) SWIG_AsInt(obj1); | |
7070 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7071 | { |
7072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7073 | (arg1)->SetMaximumSizeY(arg2); | |
7074 | ||
7075 | wxPyEndAllowThreads(__tstate); | |
7076 | if (PyErr_Occurred()) SWIG_fail; | |
7077 | } | |
7078 | Py_INCREF(Py_None); resultobj = Py_None; | |
7079 | return resultobj; | |
7080 | fail: | |
7081 | return NULL; | |
7082 | } | |
7083 | ||
7084 | ||
7085 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7086 | PyObject *resultobj; | |
7087 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7088 | int result; | |
7089 | PyObject * obj0 = 0 ; | |
7090 | char *kwnames[] = { | |
7091 | (char *) "self", NULL | |
7092 | }; | |
7093 | ||
7094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7095 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7096 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7097 | { |
7098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7099 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
7100 | ||
7101 | wxPyEndAllowThreads(__tstate); | |
7102 | if (PyErr_Occurred()) SWIG_fail; | |
7103 | } | |
15afbcd0 | 7104 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7105 | return resultobj; |
7106 | fail: | |
7107 | return NULL; | |
7108 | } | |
7109 | ||
7110 | ||
7111 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7112 | PyObject *resultobj; | |
7113 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7114 | int result; | |
7115 | PyObject * obj0 = 0 ; | |
7116 | char *kwnames[] = { | |
7117 | (char *) "self", NULL | |
7118 | }; | |
7119 | ||
7120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7121 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7122 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7123 | { |
7124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7125 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
7126 | ||
7127 | wxPyEndAllowThreads(__tstate); | |
7128 | if (PyErr_Occurred()) SWIG_fail; | |
7129 | } | |
15afbcd0 | 7130 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7131 | return resultobj; |
7132 | fail: | |
7133 | return NULL; | |
7134 | } | |
7135 | ||
7136 | ||
7137 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7138 | PyObject *resultobj; | |
7139 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7140 | int arg2 ; | |
7141 | int arg3 ; | |
7142 | int arg4 = (int) 2 ; | |
7143 | int result; | |
7144 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7145 | PyObject * obj1 = 0 ; |
7146 | PyObject * obj2 = 0 ; | |
7147 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
7148 | char *kwnames[] = { |
7149 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
7150 | }; | |
7151 | ||
994141e6 | 7152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
7153 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7154 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7155 | arg2 = (int) SWIG_AsInt(obj1); | |
7156 | if (PyErr_Occurred()) SWIG_fail; | |
7157 | arg3 = (int) SWIG_AsInt(obj2); | |
7158 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7159 | if (obj3) { |
15afbcd0 RD |
7160 | arg4 = (int) SWIG_AsInt(obj3); |
7161 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7162 | } |
d14a1e28 RD |
7163 | { |
7164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7165 | result = (int)(arg1)->SashHitTest(arg2,arg3,arg4); | |
7166 | ||
7167 | wxPyEndAllowThreads(__tstate); | |
7168 | if (PyErr_Occurred()) SWIG_fail; | |
7169 | } | |
15afbcd0 | 7170 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7171 | return resultobj; |
7172 | fail: | |
7173 | return NULL; | |
7174 | } | |
7175 | ||
7176 | ||
7177 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7178 | PyObject *resultobj; | |
7179 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7180 | PyObject * obj0 = 0 ; | |
7181 | char *kwnames[] = { | |
7182 | (char *) "self", NULL | |
7183 | }; | |
7184 | ||
7185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7186 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7187 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7188 | { |
7189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7190 | (arg1)->SizeWindows(); | |
7191 | ||
7192 | wxPyEndAllowThreads(__tstate); | |
7193 | if (PyErr_Occurred()) SWIG_fail; | |
7194 | } | |
7195 | Py_INCREF(Py_None); resultobj = Py_None; | |
7196 | return resultobj; | |
7197 | fail: | |
7198 | return NULL; | |
7199 | } | |
7200 | ||
7201 | ||
7202 | static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) { | |
7203 | PyObject *obj; | |
7204 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7205 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
7206 | Py_INCREF(obj); | |
7207 | return Py_BuildValue((char *)""); | |
7208 | } | |
7209 | static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7210 | PyObject *resultobj; | |
7211 | int arg1 = (int) 0 ; | |
7212 | int arg2 = (int) wxSASH_NONE ; | |
7213 | wxSashEvent *result; | |
994141e6 RD |
7214 | PyObject * obj0 = 0 ; |
7215 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
7216 | char *kwnames[] = { |
7217 | (char *) "id",(char *) "edge", NULL | |
7218 | }; | |
7219 | ||
994141e6 RD |
7220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; |
7221 | if (obj0) { | |
15afbcd0 RD |
7222 | arg1 = (int) SWIG_AsInt(obj0); |
7223 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
7224 | } |
7225 | if (obj1) { | |
15afbcd0 RD |
7226 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); |
7227 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7228 | } |
d14a1e28 RD |
7229 | { |
7230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7231 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
7232 | ||
7233 | wxPyEndAllowThreads(__tstate); | |
7234 | if (PyErr_Occurred()) SWIG_fail; | |
7235 | } | |
15afbcd0 | 7236 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); |
d14a1e28 RD |
7237 | return resultobj; |
7238 | fail: | |
7239 | return NULL; | |
7240 | } | |
7241 | ||
7242 | ||
7243 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7244 | PyObject *resultobj; | |
7245 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7246 | int arg2 ; | |
7247 | PyObject * obj0 = 0 ; | |
994141e6 | 7248 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7249 | char *kwnames[] = { |
7250 | (char *) "self",(char *) "edge", NULL | |
7251 | }; | |
7252 | ||
994141e6 | 7253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7254 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7255 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7256 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7257 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7258 | { |
7259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7260 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
7261 | ||
7262 | wxPyEndAllowThreads(__tstate); | |
7263 | if (PyErr_Occurred()) SWIG_fail; | |
7264 | } | |
7265 | Py_INCREF(Py_None); resultobj = Py_None; | |
7266 | return resultobj; | |
7267 | fail: | |
7268 | return NULL; | |
7269 | } | |
7270 | ||
7271 | ||
7272 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7273 | PyObject *resultobj; | |
7274 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7275 | int result; | |
7276 | PyObject * obj0 = 0 ; | |
7277 | char *kwnames[] = { | |
7278 | (char *) "self", NULL | |
7279 | }; | |
7280 | ||
7281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7282 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7283 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7284 | { |
7285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7286 | result = (int)((wxSashEvent const *)arg1)->GetEdge(); | |
7287 | ||
7288 | wxPyEndAllowThreads(__tstate); | |
7289 | if (PyErr_Occurred()) SWIG_fail; | |
7290 | } | |
15afbcd0 | 7291 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7292 | return resultobj; |
7293 | fail: | |
7294 | return NULL; | |
7295 | } | |
7296 | ||
7297 | ||
7298 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7299 | PyObject *resultobj; | |
7300 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7301 | wxRect *arg2 = 0 ; | |
7302 | wxRect temp2 ; | |
7303 | PyObject * obj0 = 0 ; | |
7304 | PyObject * obj1 = 0 ; | |
7305 | char *kwnames[] = { | |
7306 | (char *) "self",(char *) "rect", NULL | |
7307 | }; | |
7308 | ||
7309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7310 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7311 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7312 | { |
7313 | arg2 = &temp2; | |
7314 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7315 | } | |
7316 | { | |
7317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7318 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
7319 | ||
7320 | wxPyEndAllowThreads(__tstate); | |
7321 | if (PyErr_Occurred()) SWIG_fail; | |
7322 | } | |
7323 | Py_INCREF(Py_None); resultobj = Py_None; | |
7324 | return resultobj; | |
7325 | fail: | |
7326 | return NULL; | |
7327 | } | |
7328 | ||
7329 | ||
7330 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7331 | PyObject *resultobj; | |
7332 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7333 | wxRect result; | |
7334 | PyObject * obj0 = 0 ; | |
7335 | char *kwnames[] = { | |
7336 | (char *) "self", NULL | |
7337 | }; | |
7338 | ||
7339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7340 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7341 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7342 | { |
7343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7344 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
7345 | ||
7346 | wxPyEndAllowThreads(__tstate); | |
7347 | if (PyErr_Occurred()) SWIG_fail; | |
7348 | } | |
7349 | { | |
7350 | wxRect * resultptr; | |
7351 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 7352 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
7353 | } |
7354 | return resultobj; | |
7355 | fail: | |
7356 | return NULL; | |
7357 | } | |
7358 | ||
7359 | ||
7360 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7361 | PyObject *resultobj; | |
7362 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7363 | int arg2 ; | |
7364 | PyObject * obj0 = 0 ; | |
994141e6 | 7365 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7366 | char *kwnames[] = { |
7367 | (char *) "self",(char *) "status", NULL | |
7368 | }; | |
7369 | ||
994141e6 | 7370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7371 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7372 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7373 | arg2 = (wxSashDragStatus) SWIG_AsInt(obj1); | |
7374 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7375 | { |
7376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7377 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
7378 | ||
7379 | wxPyEndAllowThreads(__tstate); | |
7380 | if (PyErr_Occurred()) SWIG_fail; | |
7381 | } | |
7382 | Py_INCREF(Py_None); resultobj = Py_None; | |
7383 | return resultobj; | |
7384 | fail: | |
7385 | return NULL; | |
7386 | } | |
7387 | ||
7388 | ||
7389 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7390 | PyObject *resultobj; | |
7391 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7392 | int result; | |
7393 | PyObject * obj0 = 0 ; | |
7394 | char *kwnames[] = { | |
7395 | (char *) "self", NULL | |
7396 | }; | |
7397 | ||
7398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7399 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7401 | { |
7402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7403 | result = (int)((wxSashEvent const *)arg1)->GetDragStatus(); | |
7404 | ||
7405 | wxPyEndAllowThreads(__tstate); | |
7406 | if (PyErr_Occurred()) SWIG_fail; | |
7407 | } | |
15afbcd0 | 7408 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7409 | return resultobj; |
7410 | fail: | |
7411 | return NULL; | |
7412 | } | |
7413 | ||
7414 | ||
7415 | static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) { | |
7416 | PyObject *obj; | |
7417 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7418 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
7419 | Py_INCREF(obj); | |
7420 | return Py_BuildValue((char *)""); | |
7421 | } | |
7422 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7423 | PyObject *resultobj; | |
e811c8ce | 7424 | int arg1 = (int) 0 ; |
d14a1e28 | 7425 | wxQueryLayoutInfoEvent *result; |
994141e6 | 7426 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7427 | char *kwnames[] = { |
7428 | (char *) "id", NULL | |
7429 | }; | |
7430 | ||
994141e6 RD |
7431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; |
7432 | if (obj0) { | |
15afbcd0 RD |
7433 | arg1 = (int) SWIG_AsInt(obj0); |
7434 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7435 | } |
d14a1e28 RD |
7436 | { |
7437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7438 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
7439 | ||
7440 | wxPyEndAllowThreads(__tstate); | |
7441 | if (PyErr_Occurred()) SWIG_fail; | |
7442 | } | |
15afbcd0 | 7443 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); |
d14a1e28 RD |
7444 | return resultobj; |
7445 | fail: | |
7446 | return NULL; | |
7447 | } | |
7448 | ||
7449 | ||
7450 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7451 | PyObject *resultobj; | |
7452 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7453 | int arg2 ; | |
7454 | PyObject * obj0 = 0 ; | |
994141e6 | 7455 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7456 | char *kwnames[] = { |
7457 | (char *) "self",(char *) "length", NULL | |
7458 | }; | |
7459 | ||
994141e6 | 7460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7461 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7462 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7463 | arg2 = (int) SWIG_AsInt(obj1); | |
7464 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7465 | { |
7466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7467 | (arg1)->SetRequestedLength(arg2); | |
7468 | ||
7469 | wxPyEndAllowThreads(__tstate); | |
7470 | if (PyErr_Occurred()) SWIG_fail; | |
7471 | } | |
7472 | Py_INCREF(Py_None); resultobj = Py_None; | |
7473 | return resultobj; | |
7474 | fail: | |
7475 | return NULL; | |
7476 | } | |
7477 | ||
7478 | ||
7479 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7480 | PyObject *resultobj; | |
7481 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7482 | int result; | |
7483 | PyObject * obj0 = 0 ; | |
7484 | char *kwnames[] = { | |
7485 | (char *) "self", NULL | |
7486 | }; | |
7487 | ||
7488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7489 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7490 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7491 | { |
7492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7493 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
7494 | ||
7495 | wxPyEndAllowThreads(__tstate); | |
7496 | if (PyErr_Occurred()) SWIG_fail; | |
7497 | } | |
15afbcd0 | 7498 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7499 | return resultobj; |
7500 | fail: | |
7501 | return NULL; | |
7502 | } | |
7503 | ||
7504 | ||
7505 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7506 | PyObject *resultobj; | |
7507 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7508 | int arg2 ; | |
7509 | PyObject * obj0 = 0 ; | |
994141e6 | 7510 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7511 | char *kwnames[] = { |
7512 | (char *) "self",(char *) "flags", NULL | |
7513 | }; | |
7514 | ||
994141e6 | 7515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7516 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7517 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7518 | arg2 = (int) SWIG_AsInt(obj1); | |
7519 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7520 | { |
7521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7522 | (arg1)->SetFlags(arg2); | |
7523 | ||
7524 | wxPyEndAllowThreads(__tstate); | |
7525 | if (PyErr_Occurred()) SWIG_fail; | |
7526 | } | |
7527 | Py_INCREF(Py_None); resultobj = Py_None; | |
7528 | return resultobj; | |
7529 | fail: | |
7530 | return NULL; | |
7531 | } | |
7532 | ||
7533 | ||
7534 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7535 | PyObject *resultobj; | |
7536 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7537 | int result; | |
7538 | PyObject * obj0 = 0 ; | |
7539 | char *kwnames[] = { | |
7540 | (char *) "self", NULL | |
7541 | }; | |
7542 | ||
7543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7544 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7545 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7546 | { |
7547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7548 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
7549 | ||
7550 | wxPyEndAllowThreads(__tstate); | |
7551 | if (PyErr_Occurred()) SWIG_fail; | |
7552 | } | |
15afbcd0 | 7553 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7554 | return resultobj; |
7555 | fail: | |
7556 | return NULL; | |
7557 | } | |
7558 | ||
7559 | ||
7560 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7561 | PyObject *resultobj; | |
7562 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7563 | wxSize *arg2 = 0 ; | |
7564 | wxSize temp2 ; | |
7565 | PyObject * obj0 = 0 ; | |
7566 | PyObject * obj1 = 0 ; | |
7567 | char *kwnames[] = { | |
7568 | (char *) "self",(char *) "size", NULL | |
7569 | }; | |
7570 | ||
7571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7572 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7573 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7574 | { |
7575 | arg2 = &temp2; | |
7576 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
7577 | } | |
7578 | { | |
7579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7580 | (arg1)->SetSize((wxSize const &)*arg2); | |
7581 | ||
7582 | wxPyEndAllowThreads(__tstate); | |
7583 | if (PyErr_Occurred()) SWIG_fail; | |
7584 | } | |
7585 | Py_INCREF(Py_None); resultobj = Py_None; | |
7586 | return resultobj; | |
7587 | fail: | |
7588 | return NULL; | |
7589 | } | |
7590 | ||
7591 | ||
7592 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7593 | PyObject *resultobj; | |
7594 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7595 | wxSize result; | |
7596 | PyObject * obj0 = 0 ; | |
7597 | char *kwnames[] = { | |
7598 | (char *) "self", NULL | |
7599 | }; | |
7600 | ||
7601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7602 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7603 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7604 | { |
7605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7606 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
7607 | ||
7608 | wxPyEndAllowThreads(__tstate); | |
7609 | if (PyErr_Occurred()) SWIG_fail; | |
7610 | } | |
7611 | { | |
7612 | wxSize * resultptr; | |
7613 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 7614 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
7615 | } |
7616 | return resultobj; | |
7617 | fail: | |
7618 | return NULL; | |
7619 | } | |
7620 | ||
7621 | ||
7622 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7623 | PyObject *resultobj; | |
7624 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7625 | int arg2 ; | |
7626 | PyObject * obj0 = 0 ; | |
994141e6 | 7627 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7628 | char *kwnames[] = { |
7629 | (char *) "self",(char *) "orient", NULL | |
7630 | }; | |
7631 | ||
994141e6 | 7632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7633 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7634 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7635 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
7636 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7637 | { |
7638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7639 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
7640 | ||
7641 | wxPyEndAllowThreads(__tstate); | |
7642 | if (PyErr_Occurred()) SWIG_fail; | |
7643 | } | |
7644 | Py_INCREF(Py_None); resultobj = Py_None; | |
7645 | return resultobj; | |
7646 | fail: | |
7647 | return NULL; | |
7648 | } | |
7649 | ||
7650 | ||
7651 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7652 | PyObject *resultobj; | |
7653 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7654 | int result; | |
7655 | PyObject * obj0 = 0 ; | |
7656 | char *kwnames[] = { | |
7657 | (char *) "self", NULL | |
7658 | }; | |
7659 | ||
7660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7661 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7662 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7663 | { |
7664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7665 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); | |
7666 | ||
7667 | wxPyEndAllowThreads(__tstate); | |
7668 | if (PyErr_Occurred()) SWIG_fail; | |
7669 | } | |
15afbcd0 | 7670 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7671 | return resultobj; |
7672 | fail: | |
7673 | return NULL; | |
7674 | } | |
7675 | ||
7676 | ||
7677 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7678 | PyObject *resultobj; | |
7679 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7680 | int arg2 ; | |
7681 | PyObject * obj0 = 0 ; | |
994141e6 | 7682 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7683 | char *kwnames[] = { |
7684 | (char *) "self",(char *) "align", NULL | |
7685 | }; | |
7686 | ||
994141e6 | 7687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7688 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7690 | arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
7691 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7692 | { |
7693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7694 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
7695 | ||
7696 | wxPyEndAllowThreads(__tstate); | |
7697 | if (PyErr_Occurred()) SWIG_fail; | |
7698 | } | |
7699 | Py_INCREF(Py_None); resultobj = Py_None; | |
7700 | return resultobj; | |
7701 | fail: | |
7702 | return NULL; | |
7703 | } | |
7704 | ||
7705 | ||
7706 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7707 | PyObject *resultobj; | |
7708 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7709 | int result; | |
7710 | PyObject * obj0 = 0 ; | |
7711 | char *kwnames[] = { | |
7712 | (char *) "self", NULL | |
7713 | }; | |
7714 | ||
7715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7716 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7717 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7718 | { |
7719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7720 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); | |
7721 | ||
7722 | wxPyEndAllowThreads(__tstate); | |
7723 | if (PyErr_Occurred()) SWIG_fail; | |
7724 | } | |
15afbcd0 | 7725 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7726 | return resultobj; |
7727 | fail: | |
7728 | return NULL; | |
7729 | } | |
7730 | ||
7731 | ||
7732 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) { | |
7733 | PyObject *obj; | |
7734 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7735 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
7736 | Py_INCREF(obj); | |
7737 | return Py_BuildValue((char *)""); | |
7738 | } | |
7739 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7740 | PyObject *resultobj; | |
e811c8ce | 7741 | int arg1 = (int) 0 ; |
d14a1e28 | 7742 | wxCalculateLayoutEvent *result; |
994141e6 | 7743 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7744 | char *kwnames[] = { |
7745 | (char *) "id", NULL | |
7746 | }; | |
7747 | ||
994141e6 RD |
7748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; |
7749 | if (obj0) { | |
15afbcd0 RD |
7750 | arg1 = (int) SWIG_AsInt(obj0); |
7751 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7752 | } |
d14a1e28 RD |
7753 | { |
7754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7755 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
7756 | ||
7757 | wxPyEndAllowThreads(__tstate); | |
7758 | if (PyErr_Occurred()) SWIG_fail; | |
7759 | } | |
15afbcd0 | 7760 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); |
d14a1e28 RD |
7761 | return resultobj; |
7762 | fail: | |
7763 | return NULL; | |
7764 | } | |
7765 | ||
7766 | ||
7767 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7768 | PyObject *resultobj; | |
7769 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7770 | int arg2 ; | |
7771 | PyObject * obj0 = 0 ; | |
994141e6 | 7772 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7773 | char *kwnames[] = { |
7774 | (char *) "self",(char *) "flags", NULL | |
7775 | }; | |
7776 | ||
994141e6 | 7777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7778 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7779 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7780 | arg2 = (int) SWIG_AsInt(obj1); | |
7781 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7782 | { |
7783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7784 | (arg1)->SetFlags(arg2); | |
7785 | ||
7786 | wxPyEndAllowThreads(__tstate); | |
7787 | if (PyErr_Occurred()) SWIG_fail; | |
7788 | } | |
7789 | Py_INCREF(Py_None); resultobj = Py_None; | |
7790 | return resultobj; | |
7791 | fail: | |
7792 | return NULL; | |
7793 | } | |
7794 | ||
7795 | ||
7796 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7797 | PyObject *resultobj; | |
7798 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7799 | int result; | |
7800 | PyObject * obj0 = 0 ; | |
7801 | char *kwnames[] = { | |
7802 | (char *) "self", NULL | |
7803 | }; | |
7804 | ||
7805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7806 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7807 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7808 | { |
7809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7810 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
7811 | ||
7812 | wxPyEndAllowThreads(__tstate); | |
7813 | if (PyErr_Occurred()) SWIG_fail; | |
7814 | } | |
15afbcd0 | 7815 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7816 | return resultobj; |
7817 | fail: | |
7818 | return NULL; | |
7819 | } | |
7820 | ||
7821 | ||
7822 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7823 | PyObject *resultobj; | |
7824 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7825 | wxRect *arg2 = 0 ; | |
7826 | wxRect temp2 ; | |
7827 | PyObject * obj0 = 0 ; | |
7828 | PyObject * obj1 = 0 ; | |
7829 | char *kwnames[] = { | |
7830 | (char *) "self",(char *) "rect", NULL | |
7831 | }; | |
7832 | ||
7833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7834 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7835 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7836 | { |
7837 | arg2 = &temp2; | |
7838 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7839 | } | |
7840 | { | |
7841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7842 | (arg1)->SetRect((wxRect const &)*arg2); | |
7843 | ||
7844 | wxPyEndAllowThreads(__tstate); | |
7845 | if (PyErr_Occurred()) SWIG_fail; | |
7846 | } | |
7847 | Py_INCREF(Py_None); resultobj = Py_None; | |
7848 | return resultobj; | |
7849 | fail: | |
7850 | return NULL; | |
7851 | } | |
7852 | ||
7853 | ||
7854 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7855 | PyObject *resultobj; | |
7856 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7857 | wxRect result; | |
7858 | PyObject * obj0 = 0 ; | |
7859 | char *kwnames[] = { | |
7860 | (char *) "self", NULL | |
7861 | }; | |
7862 | ||
7863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7864 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7865 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7866 | { |
7867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7868 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
7869 | ||
7870 | wxPyEndAllowThreads(__tstate); | |
7871 | if (PyErr_Occurred()) SWIG_fail; | |
7872 | } | |
7873 | { | |
7874 | wxRect * resultptr; | |
7875 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 7876 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
7877 | } |
7878 | return resultobj; | |
7879 | fail: | |
7880 | return NULL; | |
7881 | } | |
7882 | ||
7883 | ||
7884 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) { | |
7885 | PyObject *obj; | |
7886 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7887 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
7888 | Py_INCREF(obj); | |
7889 | return Py_BuildValue((char *)""); | |
7890 | } | |
7891 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7892 | PyObject *resultobj; | |
7893 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 7894 | int arg2 ; |
d14a1e28 RD |
7895 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
7896 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7897 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7898 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7899 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7900 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
7901 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7902 | wxSashLayoutWindow *result; | |
7903 | wxPoint temp3 ; | |
7904 | wxSize temp4 ; | |
e811c8ce | 7905 | bool temp6 = False ; |
d14a1e28 | 7906 | PyObject * obj0 = 0 ; |
994141e6 | 7907 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7908 | PyObject * obj2 = 0 ; |
7909 | PyObject * obj3 = 0 ; | |
994141e6 | 7910 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
7911 | PyObject * obj5 = 0 ; |
7912 | char *kwnames[] = { | |
7913 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7914 | }; | |
7915 | ||
994141e6 | 7916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
7917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
7918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7919 | arg2 = (int) SWIG_AsInt(obj1); | |
7920 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7921 | if (obj2) { |
7922 | { | |
7923 | arg3 = &temp3; | |
7924 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7925 | } | |
7926 | } | |
7927 | if (obj3) { | |
7928 | { | |
7929 | arg4 = &temp4; | |
7930 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7931 | } | |
7932 | } | |
994141e6 | 7933 | if (obj4) { |
15afbcd0 RD |
7934 | arg5 = (long) SWIG_AsLong(obj4); |
7935 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7936 | } |
d14a1e28 RD |
7937 | if (obj5) { |
7938 | { | |
7939 | arg6 = wxString_in_helper(obj5); | |
7940 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 7941 | temp6 = True; |
d14a1e28 RD |
7942 | } |
7943 | } | |
7944 | { | |
7945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7946 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7947 | ||
7948 | wxPyEndAllowThreads(__tstate); | |
7949 | if (PyErr_Occurred()) SWIG_fail; | |
7950 | } | |
15afbcd0 | 7951 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
7952 | { |
7953 | if (temp6) | |
7954 | delete arg6; | |
7955 | } | |
7956 | return resultobj; | |
7957 | fail: | |
7958 | { | |
7959 | if (temp6) | |
7960 | delete arg6; | |
7961 | } | |
7962 | return NULL; | |
7963 | } | |
7964 | ||
7965 | ||
7966 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7967 | PyObject *resultobj; | |
7968 | wxSashLayoutWindow *result; | |
7969 | char *kwnames[] = { | |
7970 | NULL | |
7971 | }; | |
7972 | ||
7973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
7974 | { | |
7975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7976 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
7977 | ||
7978 | wxPyEndAllowThreads(__tstate); | |
7979 | if (PyErr_Occurred()) SWIG_fail; | |
7980 | } | |
15afbcd0 | 7981 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
7982 | return resultobj; |
7983 | fail: | |
7984 | return NULL; | |
7985 | } | |
7986 | ||
7987 | ||
7988 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7989 | PyObject *resultobj; | |
7990 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7991 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 7992 | int arg3 ; |
d14a1e28 RD |
7993 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
7994 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7995 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7996 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7997 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7998 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
7999 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8000 | bool result; | |
8001 | wxPoint temp4 ; | |
8002 | wxSize temp5 ; | |
e811c8ce | 8003 | bool temp7 = False ; |
d14a1e28 RD |
8004 | PyObject * obj0 = 0 ; |
8005 | PyObject * obj1 = 0 ; | |
994141e6 | 8006 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8007 | PyObject * obj3 = 0 ; |
8008 | PyObject * obj4 = 0 ; | |
994141e6 | 8009 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
8010 | PyObject * obj6 = 0 ; |
8011 | char *kwnames[] = { | |
8012 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8013 | }; | |
8014 | ||
994141e6 | 8015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
8016 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8017 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8018 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8019 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8020 | arg3 = (int) SWIG_AsInt(obj2); | |
8021 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8022 | if (obj3) { |
8023 | { | |
8024 | arg4 = &temp4; | |
8025 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8026 | } | |
8027 | } | |
8028 | if (obj4) { | |
8029 | { | |
8030 | arg5 = &temp5; | |
8031 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8032 | } | |
8033 | } | |
994141e6 | 8034 | if (obj5) { |
15afbcd0 RD |
8035 | arg6 = (long) SWIG_AsLong(obj5); |
8036 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8037 | } |
d14a1e28 RD |
8038 | if (obj6) { |
8039 | { | |
8040 | arg7 = wxString_in_helper(obj6); | |
8041 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 8042 | temp7 = True; |
d14a1e28 RD |
8043 | } |
8044 | } | |
8045 | { | |
8046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8047 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8048 | ||
8049 | wxPyEndAllowThreads(__tstate); | |
8050 | if (PyErr_Occurred()) SWIG_fail; | |
8051 | } | |
4f89f6a3 RD |
8052 | { |
8053 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8054 | } | |
d14a1e28 RD |
8055 | { |
8056 | if (temp7) | |
8057 | delete arg7; | |
8058 | } | |
8059 | return resultobj; | |
8060 | fail: | |
8061 | { | |
8062 | if (temp7) | |
8063 | delete arg7; | |
8064 | } | |
8065 | return NULL; | |
8066 | } | |
8067 | ||
8068 | ||
8069 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8070 | PyObject *resultobj; | |
8071 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8072 | int result; | |
8073 | PyObject * obj0 = 0 ; | |
8074 | char *kwnames[] = { | |
8075 | (char *) "self", NULL | |
8076 | }; | |
8077 | ||
8078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8079 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8081 | { |
8082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8083 | result = (int)(arg1)->GetAlignment(); | |
8084 | ||
8085 | wxPyEndAllowThreads(__tstate); | |
8086 | if (PyErr_Occurred()) SWIG_fail; | |
8087 | } | |
15afbcd0 | 8088 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
8089 | return resultobj; |
8090 | fail: | |
8091 | return NULL; | |
8092 | } | |
8093 | ||
8094 | ||
8095 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8096 | PyObject *resultobj; | |
8097 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8098 | int result; | |
8099 | PyObject * obj0 = 0 ; | |
8100 | char *kwnames[] = { | |
8101 | (char *) "self", NULL | |
8102 | }; | |
8103 | ||
8104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8105 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8106 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8107 | { |
8108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8109 | result = (int)(arg1)->GetOrientation(); | |
8110 | ||
8111 | wxPyEndAllowThreads(__tstate); | |
8112 | if (PyErr_Occurred()) SWIG_fail; | |
8113 | } | |
15afbcd0 | 8114 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
8115 | return resultobj; |
8116 | fail: | |
8117 | return NULL; | |
8118 | } | |
8119 | ||
8120 | ||
8121 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8122 | PyObject *resultobj; | |
8123 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8124 | int arg2 ; | |
8125 | PyObject * obj0 = 0 ; | |
994141e6 | 8126 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8127 | char *kwnames[] = { |
8128 | (char *) "self",(char *) "alignment", NULL | |
8129 | }; | |
8130 | ||
994141e6 | 8131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8132 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8133 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8134 | arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
8135 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8136 | { |
8137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8138 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
8139 | ||
8140 | wxPyEndAllowThreads(__tstate); | |
8141 | if (PyErr_Occurred()) SWIG_fail; | |
8142 | } | |
8143 | Py_INCREF(Py_None); resultobj = Py_None; | |
8144 | return resultobj; | |
8145 | fail: | |
8146 | return NULL; | |
8147 | } | |
8148 | ||
8149 | ||
8150 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8151 | PyObject *resultobj; | |
8152 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8153 | wxSize *arg2 = 0 ; | |
8154 | wxSize temp2 ; | |
8155 | PyObject * obj0 = 0 ; | |
8156 | PyObject * obj1 = 0 ; | |
8157 | char *kwnames[] = { | |
8158 | (char *) "self",(char *) "size", NULL | |
8159 | }; | |
8160 | ||
8161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8162 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8163 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8164 | { |
8165 | arg2 = &temp2; | |
8166 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
8167 | } | |
8168 | { | |
8169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8170 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
8171 | ||
8172 | wxPyEndAllowThreads(__tstate); | |
8173 | if (PyErr_Occurred()) SWIG_fail; | |
8174 | } | |
8175 | Py_INCREF(Py_None); resultobj = Py_None; | |
8176 | return resultobj; | |
8177 | fail: | |
8178 | return NULL; | |
8179 | } | |
8180 | ||
8181 | ||
8182 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8183 | PyObject *resultobj; | |
8184 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8185 | int arg2 ; | |
8186 | PyObject * obj0 = 0 ; | |
994141e6 | 8187 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8188 | char *kwnames[] = { |
8189 | (char *) "self",(char *) "orientation", NULL | |
8190 | }; | |
8191 | ||
994141e6 | 8192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8193 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8194 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8195 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
8196 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8197 | { |
8198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8199 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8200 | ||
8201 | wxPyEndAllowThreads(__tstate); | |
8202 | if (PyErr_Occurred()) SWIG_fail; | |
8203 | } | |
8204 | Py_INCREF(Py_None); resultobj = Py_None; | |
8205 | return resultobj; | |
8206 | fail: | |
8207 | return NULL; | |
8208 | } | |
8209 | ||
8210 | ||
8211 | static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) { | |
8212 | PyObject *obj; | |
8213 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8214 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
8215 | Py_INCREF(obj); | |
8216 | return Py_BuildValue((char *)""); | |
8217 | } | |
8218 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8219 | PyObject *resultobj; | |
8220 | wxLayoutAlgorithm *result; | |
8221 | char *kwnames[] = { | |
8222 | NULL | |
8223 | }; | |
8224 | ||
8225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
8226 | { | |
8227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8228 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
8229 | ||
8230 | wxPyEndAllowThreads(__tstate); | |
8231 | if (PyErr_Occurred()) SWIG_fail; | |
8232 | } | |
15afbcd0 | 8233 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); |
d14a1e28 RD |
8234 | return resultobj; |
8235 | fail: | |
8236 | return NULL; | |
8237 | } | |
8238 | ||
8239 | ||
8240 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8241 | PyObject *resultobj; | |
8242 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8243 | PyObject * obj0 = 0 ; | |
8244 | char *kwnames[] = { | |
8245 | (char *) "self", NULL | |
8246 | }; | |
8247 | ||
8248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8249 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8250 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8251 | { |
8252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8253 | delete arg1; | |
8254 | ||
8255 | wxPyEndAllowThreads(__tstate); | |
8256 | if (PyErr_Occurred()) SWIG_fail; | |
8257 | } | |
8258 | Py_INCREF(Py_None); resultobj = Py_None; | |
8259 | return resultobj; | |
8260 | fail: | |
8261 | return NULL; | |
8262 | } | |
8263 | ||
8264 | ||
8265 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8266 | PyObject *resultobj; | |
8267 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8268 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
8269 | wxRect *arg3 = (wxRect *) NULL ; | |
8270 | bool result; | |
8271 | PyObject * obj0 = 0 ; | |
8272 | PyObject * obj1 = 0 ; | |
8273 | PyObject * obj2 = 0 ; | |
8274 | char *kwnames[] = { | |
8275 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
8276 | }; | |
8277 | ||
8278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8279 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8280 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8281 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
8282 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8283 | if (obj2) { |
15afbcd0 RD |
8284 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect, |
8285 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8286 | } |
8287 | { | |
8288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8289 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
8290 | ||
8291 | wxPyEndAllowThreads(__tstate); | |
8292 | if (PyErr_Occurred()) SWIG_fail; | |
8293 | } | |
4f89f6a3 RD |
8294 | { |
8295 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8296 | } | |
d14a1e28 RD |
8297 | return resultobj; |
8298 | fail: | |
8299 | return NULL; | |
8300 | } | |
8301 | ||
8302 | ||
8303 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8304 | PyObject *resultobj; | |
8305 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8306 | wxFrame *arg2 = (wxFrame *) 0 ; | |
8307 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8308 | bool result; | |
8309 | PyObject * obj0 = 0 ; | |
8310 | PyObject * obj1 = 0 ; | |
8311 | PyObject * obj2 = 0 ; | |
8312 | char *kwnames[] = { | |
8313 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
8314 | }; | |
8315 | ||
8316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8317 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8318 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8319 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
8320 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8321 | if (obj2) { |
15afbcd0 RD |
8322 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8323 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8324 | } |
8325 | { | |
8326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8327 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
8328 | ||
8329 | wxPyEndAllowThreads(__tstate); | |
8330 | if (PyErr_Occurred()) SWIG_fail; | |
8331 | } | |
4f89f6a3 RD |
8332 | { |
8333 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8334 | } | |
d14a1e28 RD |
8335 | return resultobj; |
8336 | fail: | |
8337 | return NULL; | |
8338 | } | |
8339 | ||
8340 | ||
8341 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8342 | PyObject *resultobj; | |
8343 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8344 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8345 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8346 | bool result; | |
8347 | PyObject * obj0 = 0 ; | |
8348 | PyObject * obj1 = 0 ; | |
8349 | PyObject * obj2 = 0 ; | |
8350 | char *kwnames[] = { | |
8351 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
8352 | }; | |
8353 | ||
8354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8355 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8356 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8357 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8358 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8359 | if (obj2) { |
15afbcd0 RD |
8360 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8361 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8362 | } |
8363 | { | |
8364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8365 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
8366 | ||
8367 | wxPyEndAllowThreads(__tstate); | |
8368 | if (PyErr_Occurred()) SWIG_fail; | |
8369 | } | |
4f89f6a3 RD |
8370 | { |
8371 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8372 | } | |
d14a1e28 RD |
8373 | return resultobj; |
8374 | fail: | |
8375 | return NULL; | |
8376 | } | |
8377 | ||
8378 | ||
8379 | static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) { | |
8380 | PyObject *obj; | |
8381 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8382 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
8383 | Py_INCREF(obj); | |
8384 | return Py_BuildValue((char *)""); | |
8385 | } | |
8386 | static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8387 | PyObject *resultobj; | |
8388 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8389 | int arg2 = (int) wxBORDER_NONE ; | |
8390 | wxPopupWindow *result; | |
8391 | PyObject * obj0 = 0 ; | |
994141e6 | 8392 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8393 | char *kwnames[] = { |
8394 | (char *) "parent",(char *) "flags", NULL | |
8395 | }; | |
8396 | ||
994141e6 | 8397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8398 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8399 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8400 | if (obj1) { |
15afbcd0 RD |
8401 | arg2 = (int) SWIG_AsInt(obj1); |
8402 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8403 | } |
d14a1e28 RD |
8404 | { |
8405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8406 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
8407 | ||
8408 | wxPyEndAllowThreads(__tstate); | |
8409 | if (PyErr_Occurred()) SWIG_fail; | |
8410 | } | |
15afbcd0 | 8411 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8412 | return resultobj; |
8413 | fail: | |
8414 | return NULL; | |
8415 | } | |
8416 | ||
8417 | ||
8418 | static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8419 | PyObject *resultobj; | |
8420 | wxPopupWindow *result; | |
8421 | char *kwnames[] = { | |
8422 | NULL | |
8423 | }; | |
8424 | ||
8425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
8426 | { | |
8427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8428 | result = (wxPopupWindow *)new wxPopupWindow(); | |
8429 | ||
8430 | wxPyEndAllowThreads(__tstate); | |
8431 | if (PyErr_Occurred()) SWIG_fail; | |
8432 | } | |
15afbcd0 | 8433 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8434 | return resultobj; |
8435 | fail: | |
8436 | return NULL; | |
8437 | } | |
8438 | ||
8439 | ||
8440 | static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8441 | PyObject *resultobj; | |
8442 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8443 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8444 | int arg3 = (int) wxBORDER_NONE ; | |
8445 | bool result; | |
8446 | PyObject * obj0 = 0 ; | |
8447 | PyObject * obj1 = 0 ; | |
994141e6 | 8448 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8449 | char *kwnames[] = { |
8450 | (char *) "self",(char *) "parent",(char *) "flags", NULL | |
8451 | }; | |
8452 | ||
994141e6 | 8453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
8454 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
8455 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8456 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8457 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8458 | if (obj2) { |
15afbcd0 RD |
8459 | arg3 = (int) SWIG_AsInt(obj2); |
8460 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8461 | } |
d14a1e28 RD |
8462 | { |
8463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8464 | result = (bool)(arg1)->Create(arg2,arg3); | |
8465 | ||
8466 | wxPyEndAllowThreads(__tstate); | |
8467 | if (PyErr_Occurred()) SWIG_fail; | |
8468 | } | |
4f89f6a3 RD |
8469 | { |
8470 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8471 | } | |
d14a1e28 RD |
8472 | return resultobj; |
8473 | fail: | |
8474 | return NULL; | |
8475 | } | |
8476 | ||
8477 | ||
8478 | static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8479 | PyObject *resultobj; | |
8480 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8481 | wxPoint *arg2 = 0 ; | |
8482 | wxSize *arg3 = 0 ; | |
8483 | wxPoint temp2 ; | |
8484 | wxSize temp3 ; | |
8485 | PyObject * obj0 = 0 ; | |
8486 | PyObject * obj1 = 0 ; | |
8487 | PyObject * obj2 = 0 ; | |
8488 | char *kwnames[] = { | |
8489 | (char *) "self",(char *) "ptOrigin",(char *) "size", NULL | |
8490 | }; | |
8491 | ||
8492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8493 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
8494 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8495 | { |
8496 | arg2 = &temp2; | |
8497 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
8498 | } | |
8499 | { | |
8500 | arg3 = &temp3; | |
8501 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
8502 | } | |
8503 | { | |
8504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8505 | (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3); | |
8506 | ||
8507 | wxPyEndAllowThreads(__tstate); | |
8508 | if (PyErr_Occurred()) SWIG_fail; | |
8509 | } | |
8510 | Py_INCREF(Py_None); resultobj = Py_None; | |
8511 | return resultobj; | |
8512 | fail: | |
8513 | return NULL; | |
8514 | } | |
8515 | ||
8516 | ||
8517 | static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) { | |
8518 | PyObject *obj; | |
8519 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8520 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
8521 | Py_INCREF(obj); | |
8522 | return Py_BuildValue((char *)""); | |
8523 | } | |
8524 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8525 | PyObject *resultobj; | |
8526 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8527 | int arg2 = (int) wxBORDER_NONE ; | |
8528 | wxPyPopupTransientWindow *result; | |
8529 | PyObject * obj0 = 0 ; | |
994141e6 | 8530 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8531 | char *kwnames[] = { |
8532 | (char *) "parent",(char *) "style", NULL | |
8533 | }; | |
8534 | ||
994141e6 | 8535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8536 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8537 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8538 | if (obj1) { |
15afbcd0 RD |
8539 | arg2 = (int) SWIG_AsInt(obj1); |
8540 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8541 | } |
d14a1e28 RD |
8542 | { |
8543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8544 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
8545 | ||
8546 | wxPyEndAllowThreads(__tstate); | |
8547 | if (PyErr_Occurred()) SWIG_fail; | |
8548 | } | |
15afbcd0 | 8549 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
8550 | return resultobj; |
8551 | fail: | |
8552 | return NULL; | |
8553 | } | |
8554 | ||
8555 | ||
8556 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8557 | PyObject *resultobj; | |
8558 | wxPyPopupTransientWindow *result; | |
8559 | char *kwnames[] = { | |
8560 | NULL | |
8561 | }; | |
8562 | ||
8563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
8564 | { | |
8565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8566 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
8567 | ||
8568 | wxPyEndAllowThreads(__tstate); | |
8569 | if (PyErr_Occurred()) SWIG_fail; | |
8570 | } | |
15afbcd0 | 8571 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
8572 | return resultobj; |
8573 | fail: | |
8574 | return NULL; | |
8575 | } | |
8576 | ||
8577 | ||
8578 | static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8579 | PyObject *resultobj; | |
8580 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8581 | PyObject *arg2 = (PyObject *) 0 ; | |
8582 | PyObject *arg3 = (PyObject *) 0 ; | |
8583 | PyObject * obj0 = 0 ; | |
8584 | PyObject * obj1 = 0 ; | |
8585 | PyObject * obj2 = 0 ; | |
8586 | char *kwnames[] = { | |
8587 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8588 | }; | |
8589 | ||
8590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8591 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8592 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8593 | arg2 = obj1; |
8594 | arg3 = obj2; | |
8595 | { | |
8596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8597 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8598 | ||
8599 | wxPyEndAllowThreads(__tstate); | |
8600 | if (PyErr_Occurred()) SWIG_fail; | |
8601 | } | |
8602 | Py_INCREF(Py_None); resultobj = Py_None; | |
8603 | return resultobj; | |
8604 | fail: | |
8605 | return NULL; | |
8606 | } | |
8607 | ||
8608 | ||
8609 | static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8610 | PyObject *resultobj; | |
8611 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8612 | wxWindow *arg2 = (wxWindow *) NULL ; | |
8613 | PyObject * obj0 = 0 ; | |
8614 | PyObject * obj1 = 0 ; | |
8615 | char *kwnames[] = { | |
8616 | (char *) "self",(char *) "focus", NULL | |
8617 | }; | |
8618 | ||
8619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8620 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8621 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8622 | if (obj1) { |
15afbcd0 RD |
8623 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
8624 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8625 | } |
8626 | { | |
8627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8628 | (arg1)->Popup(arg2); | |
8629 | ||
8630 | wxPyEndAllowThreads(__tstate); | |
8631 | if (PyErr_Occurred()) SWIG_fail; | |
8632 | } | |
8633 | Py_INCREF(Py_None); resultobj = Py_None; | |
8634 | return resultobj; | |
8635 | fail: | |
8636 | return NULL; | |
8637 | } | |
8638 | ||
8639 | ||
8640 | static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8641 | PyObject *resultobj; | |
8642 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8643 | PyObject * obj0 = 0 ; | |
8644 | char *kwnames[] = { | |
8645 | (char *) "self", NULL | |
8646 | }; | |
8647 | ||
8648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8649 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8650 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8651 | { |
8652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8653 | (arg1)->Dismiss(); | |
8654 | ||
8655 | wxPyEndAllowThreads(__tstate); | |
8656 | if (PyErr_Occurred()) SWIG_fail; | |
8657 | } | |
8658 | Py_INCREF(Py_None); resultobj = Py_None; | |
8659 | return resultobj; | |
8660 | fail: | |
8661 | return NULL; | |
8662 | } | |
8663 | ||
8664 | ||
8665 | static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) { | |
8666 | PyObject *obj; | |
8667 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8668 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
8669 | Py_INCREF(obj); | |
8670 | return Py_BuildValue((char *)""); | |
8671 | } | |
8672 | static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8673 | PyObject *resultobj; | |
8674 | wxWindow *arg1 = (wxWindow *) 0 ; | |
fd3f2efe | 8675 | wxString *arg2 = 0 ; |
e811c8ce | 8676 | int arg3 = (int) 100 ; |
d14a1e28 RD |
8677 | wxRect *arg4 = (wxRect *) NULL ; |
8678 | wxTipWindow *result; | |
fd3f2efe | 8679 | bool temp2 = False ; |
d14a1e28 RD |
8680 | PyObject * obj0 = 0 ; |
8681 | PyObject * obj1 = 0 ; | |
994141e6 | 8682 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8683 | PyObject * obj3 = 0 ; |
8684 | char *kwnames[] = { | |
8685 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
8686 | }; | |
8687 | ||
994141e6 | 8688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
8689 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8690 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
fd3f2efe RD |
8691 | { |
8692 | arg2 = wxString_in_helper(obj1); | |
8693 | if (arg2 == NULL) SWIG_fail; | |
8694 | temp2 = True; | |
8695 | } | |
994141e6 | 8696 | if (obj2) { |
15afbcd0 RD |
8697 | arg3 = (int) SWIG_AsInt(obj2); |
8698 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8699 | } |
d14a1e28 | 8700 | if (obj3) { |
15afbcd0 RD |
8701 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect, |
8702 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8703 | } |
8704 | { | |
8705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
fd3f2efe | 8706 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); |
d14a1e28 RD |
8707 | |
8708 | wxPyEndAllowThreads(__tstate); | |
8709 | if (PyErr_Occurred()) SWIG_fail; | |
8710 | } | |
15afbcd0 | 8711 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); |
fd3f2efe RD |
8712 | { |
8713 | if (temp2) | |
8714 | delete arg2; | |
8715 | } | |
d14a1e28 RD |
8716 | return resultobj; |
8717 | fail: | |
fd3f2efe RD |
8718 | { |
8719 | if (temp2) | |
8720 | delete arg2; | |
8721 | } | |
d14a1e28 RD |
8722 | return NULL; |
8723 | } | |
8724 | ||
8725 | ||
8726 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8727 | PyObject *resultobj; | |
8728 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8729 | wxRect *arg2 = 0 ; | |
8730 | wxRect temp2 ; | |
8731 | PyObject * obj0 = 0 ; | |
8732 | PyObject * obj1 = 0 ; | |
8733 | char *kwnames[] = { | |
8734 | (char *) "self",(char *) "rectBound", NULL | |
8735 | }; | |
8736 | ||
8737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8738 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
8739 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8740 | { |
8741 | arg2 = &temp2; | |
8742 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8743 | } | |
8744 | { | |
8745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8746 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
8747 | ||
8748 | wxPyEndAllowThreads(__tstate); | |
8749 | if (PyErr_Occurred()) SWIG_fail; | |
8750 | } | |
8751 | Py_INCREF(Py_None); resultobj = Py_None; | |
8752 | return resultobj; | |
8753 | fail: | |
8754 | return NULL; | |
8755 | } | |
8756 | ||
8757 | ||
8758 | static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8759 | PyObject *resultobj; | |
8760 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8761 | PyObject * obj0 = 0 ; | |
8762 | char *kwnames[] = { | |
8763 | (char *) "self", NULL | |
8764 | }; | |
8765 | ||
8766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8767 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
8768 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8769 | { |
8770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8771 | (arg1)->Close(); | |
8772 | ||
8773 | wxPyEndAllowThreads(__tstate); | |
8774 | if (PyErr_Occurred()) SWIG_fail; | |
8775 | } | |
8776 | Py_INCREF(Py_None); resultobj = Py_None; | |
8777 | return resultobj; | |
8778 | fail: | |
8779 | return NULL; | |
8780 | } | |
8781 | ||
8782 | ||
8783 | static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) { | |
8784 | PyObject *obj; | |
8785 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8786 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
8787 | Py_INCREF(obj); | |
8788 | return Py_BuildValue((char *)""); | |
8789 | } | |
8790 | static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8791 | PyObject *resultobj; | |
8792 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 8793 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
8794 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8795 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8796 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8797 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8798 | long arg5 = (long) 0 ; | |
8799 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
8800 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8801 | wxPyVScrolledWindow *result; | |
8802 | wxPoint temp3 ; | |
8803 | wxSize temp4 ; | |
e811c8ce | 8804 | bool temp6 = False ; |
d14a1e28 | 8805 | PyObject * obj0 = 0 ; |
994141e6 | 8806 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8807 | PyObject * obj2 = 0 ; |
8808 | PyObject * obj3 = 0 ; | |
994141e6 | 8809 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
8810 | PyObject * obj5 = 0 ; |
8811 | char *kwnames[] = { | |
8812 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8813 | }; | |
8814 | ||
994141e6 | 8815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
8816 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8817 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8818 | if (obj1) { |
15afbcd0 RD |
8819 | arg2 = (int) SWIG_AsInt(obj1); |
8820 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8821 | } |
d14a1e28 RD |
8822 | if (obj2) { |
8823 | { | |
8824 | arg3 = &temp3; | |
8825 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8826 | } | |
8827 | } | |
8828 | if (obj3) { | |
8829 | { | |
8830 | arg4 = &temp4; | |
8831 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8832 | } | |
8833 | } | |
994141e6 | 8834 | if (obj4) { |
15afbcd0 RD |
8835 | arg5 = (long) SWIG_AsLong(obj4); |
8836 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8837 | } |
d14a1e28 RD |
8838 | if (obj5) { |
8839 | { | |
8840 | arg6 = wxString_in_helper(obj5); | |
8841 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 8842 | temp6 = True; |
d14a1e28 RD |
8843 | } |
8844 | } | |
8845 | { | |
8846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8847 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8848 | ||
8849 | wxPyEndAllowThreads(__tstate); | |
8850 | if (PyErr_Occurred()) SWIG_fail; | |
8851 | } | |
15afbcd0 | 8852 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
8853 | { |
8854 | if (temp6) | |
8855 | delete arg6; | |
8856 | } | |
8857 | return resultobj; | |
8858 | fail: | |
8859 | { | |
8860 | if (temp6) | |
8861 | delete arg6; | |
8862 | } | |
8863 | return NULL; | |
8864 | } | |
8865 | ||
8866 | ||
8867 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8868 | PyObject *resultobj; | |
8869 | wxPyVScrolledWindow *result; | |
8870 | char *kwnames[] = { | |
8871 | NULL | |
8872 | }; | |
8873 | ||
8874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
8875 | { | |
8876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8877 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
8878 | ||
8879 | wxPyEndAllowThreads(__tstate); | |
8880 | if (PyErr_Occurred()) SWIG_fail; | |
8881 | } | |
15afbcd0 | 8882 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
8883 | return resultobj; |
8884 | fail: | |
8885 | return NULL; | |
8886 | } | |
8887 | ||
8888 | ||
8889 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8890 | PyObject *resultobj; | |
8891 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8892 | PyObject *arg2 = (PyObject *) 0 ; | |
8893 | PyObject *arg3 = (PyObject *) 0 ; | |
8894 | PyObject * obj0 = 0 ; | |
8895 | PyObject * obj1 = 0 ; | |
8896 | PyObject * obj2 = 0 ; | |
8897 | char *kwnames[] = { | |
8898 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8899 | }; | |
8900 | ||
8901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8902 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8903 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8904 | arg2 = obj1; |
8905 | arg3 = obj2; | |
8906 | { | |
8907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8908 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8909 | ||
8910 | wxPyEndAllowThreads(__tstate); | |
8911 | if (PyErr_Occurred()) SWIG_fail; | |
8912 | } | |
8913 | Py_INCREF(Py_None); resultobj = Py_None; | |
8914 | return resultobj; | |
8915 | fail: | |
8916 | return NULL; | |
8917 | } | |
8918 | ||
8919 | ||
8920 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8921 | PyObject *resultobj; | |
8922 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8923 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 8924 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
8925 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8926 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8927 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8928 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8929 | long arg6 = (long) 0 ; | |
8930 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
8931 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8932 | bool result; | |
8933 | wxPoint temp4 ; | |
8934 | wxSize temp5 ; | |
e811c8ce | 8935 | bool temp7 = False ; |
d14a1e28 RD |
8936 | PyObject * obj0 = 0 ; |
8937 | PyObject * obj1 = 0 ; | |
994141e6 | 8938 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8939 | PyObject * obj3 = 0 ; |
8940 | PyObject * obj4 = 0 ; | |
994141e6 | 8941 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
8942 | PyObject * obj6 = 0 ; |
8943 | char *kwnames[] = { | |
8944 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8945 | }; | |
8946 | ||
994141e6 | 8947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
8948 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8949 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8950 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8951 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8952 | if (obj2) { |
15afbcd0 RD |
8953 | arg3 = (int) SWIG_AsInt(obj2); |
8954 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8955 | } |
d14a1e28 RD |
8956 | if (obj3) { |
8957 | { | |
8958 | arg4 = &temp4; | |
8959 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8960 | } | |
8961 | } | |
8962 | if (obj4) { | |
8963 | { | |
8964 | arg5 = &temp5; | |
8965 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8966 | } | |
8967 | } | |
994141e6 | 8968 | if (obj5) { |
15afbcd0 RD |
8969 | arg6 = (long) SWIG_AsLong(obj5); |
8970 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8971 | } |
d14a1e28 RD |
8972 | if (obj6) { |
8973 | { | |
8974 | arg7 = wxString_in_helper(obj6); | |
8975 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 8976 | temp7 = True; |
d14a1e28 RD |
8977 | } |
8978 | } | |
8979 | { | |
8980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8981 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8982 | ||
8983 | wxPyEndAllowThreads(__tstate); | |
8984 | if (PyErr_Occurred()) SWIG_fail; | |
8985 | } | |
4f89f6a3 RD |
8986 | { |
8987 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8988 | } | |
d14a1e28 RD |
8989 | { |
8990 | if (temp7) | |
8991 | delete arg7; | |
8992 | } | |
8993 | return resultobj; | |
8994 | fail: | |
8995 | { | |
8996 | if (temp7) | |
8997 | delete arg7; | |
8998 | } | |
8999 | return NULL; | |
9000 | } | |
9001 | ||
9002 | ||
9003 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9004 | PyObject *resultobj; | |
9005 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9006 | size_t arg2 ; | |
9007 | PyObject * obj0 = 0 ; | |
9008 | PyObject * obj1 = 0 ; | |
9009 | char *kwnames[] = { | |
9010 | (char *) "self",(char *) "count", NULL | |
9011 | }; | |
9012 | ||
9013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9014 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9015 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9016 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9017 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9018 | { |
9019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9020 | (arg1)->SetLineCount(arg2); | |
9021 | ||
9022 | wxPyEndAllowThreads(__tstate); | |
9023 | if (PyErr_Occurred()) SWIG_fail; | |
9024 | } | |
9025 | Py_INCREF(Py_None); resultobj = Py_None; | |
9026 | return resultobj; | |
9027 | fail: | |
9028 | return NULL; | |
9029 | } | |
9030 | ||
9031 | ||
9032 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9033 | PyObject *resultobj; | |
9034 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9035 | size_t arg2 ; | |
9036 | bool result; | |
9037 | PyObject * obj0 = 0 ; | |
9038 | PyObject * obj1 = 0 ; | |
9039 | char *kwnames[] = { | |
9040 | (char *) "self",(char *) "line", NULL | |
9041 | }; | |
9042 | ||
9043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9044 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9045 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9046 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9047 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9048 | { |
9049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9050 | result = (bool)(arg1)->ScrollToLine(arg2); | |
9051 | ||
9052 | wxPyEndAllowThreads(__tstate); | |
9053 | if (PyErr_Occurred()) SWIG_fail; | |
9054 | } | |
4f89f6a3 RD |
9055 | { |
9056 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9057 | } | |
d14a1e28 RD |
9058 | return resultobj; |
9059 | fail: | |
9060 | return NULL; | |
9061 | } | |
9062 | ||
9063 | ||
9064 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9065 | PyObject *resultobj; | |
9066 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9067 | int arg2 ; | |
9068 | bool result; | |
9069 | PyObject * obj0 = 0 ; | |
994141e6 | 9070 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9071 | char *kwnames[] = { |
9072 | (char *) "self",(char *) "lines", NULL | |
9073 | }; | |
9074 | ||
994141e6 | 9075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9076 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9077 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9078 | arg2 = (int) SWIG_AsInt(obj1); | |
9079 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9080 | { |
9081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9082 | result = (bool)(arg1)->ScrollLines(arg2); | |
9083 | ||
9084 | wxPyEndAllowThreads(__tstate); | |
9085 | if (PyErr_Occurred()) SWIG_fail; | |
9086 | } | |
4f89f6a3 RD |
9087 | { |
9088 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9089 | } | |
d14a1e28 RD |
9090 | return resultobj; |
9091 | fail: | |
9092 | return NULL; | |
9093 | } | |
9094 | ||
9095 | ||
9096 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9097 | PyObject *resultobj; | |
9098 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9099 | int arg2 ; | |
9100 | bool result; | |
9101 | PyObject * obj0 = 0 ; | |
994141e6 | 9102 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9103 | char *kwnames[] = { |
9104 | (char *) "self",(char *) "pages", NULL | |
9105 | }; | |
9106 | ||
994141e6 | 9107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9108 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9109 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9110 | arg2 = (int) SWIG_AsInt(obj1); | |
9111 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9112 | { |
9113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9114 | result = (bool)(arg1)->ScrollPages(arg2); | |
9115 | ||
9116 | wxPyEndAllowThreads(__tstate); | |
9117 | if (PyErr_Occurred()) SWIG_fail; | |
9118 | } | |
4f89f6a3 RD |
9119 | { |
9120 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9121 | } | |
d14a1e28 RD |
9122 | return resultobj; |
9123 | fail: | |
9124 | return NULL; | |
9125 | } | |
9126 | ||
9127 | ||
9128 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9129 | PyObject *resultobj; | |
9130 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9131 | size_t arg2 ; | |
9132 | PyObject * obj0 = 0 ; | |
9133 | PyObject * obj1 = 0 ; | |
9134 | char *kwnames[] = { | |
9135 | (char *) "self",(char *) "line", NULL | |
9136 | }; | |
9137 | ||
9138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9139 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9141 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9142 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9143 | { |
9144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9145 | (arg1)->RefreshLine(arg2); | |
9146 | ||
9147 | wxPyEndAllowThreads(__tstate); | |
9148 | if (PyErr_Occurred()) SWIG_fail; | |
9149 | } | |
9150 | Py_INCREF(Py_None); resultobj = Py_None; | |
9151 | return resultobj; | |
9152 | fail: | |
9153 | return NULL; | |
9154 | } | |
9155 | ||
9156 | ||
9157 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9158 | PyObject *resultobj; | |
9159 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9160 | size_t arg2 ; | |
9161 | size_t arg3 ; | |
9162 | PyObject * obj0 = 0 ; | |
9163 | PyObject * obj1 = 0 ; | |
9164 | PyObject * obj2 = 0 ; | |
9165 | char *kwnames[] = { | |
9166 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9167 | }; | |
9168 | ||
9169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9170 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9171 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9172 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9173 | if (PyErr_Occurred()) SWIG_fail; | |
9174 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
9175 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9176 | { |
9177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9178 | (arg1)->RefreshLines(arg2,arg3); | |
9179 | ||
9180 | wxPyEndAllowThreads(__tstate); | |
9181 | if (PyErr_Occurred()) SWIG_fail; | |
9182 | } | |
9183 | Py_INCREF(Py_None); resultobj = Py_None; | |
9184 | return resultobj; | |
9185 | fail: | |
9186 | return NULL; | |
9187 | } | |
9188 | ||
9189 | ||
9190 | static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9191 | PyObject *resultobj; | |
9192 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
e811c8ce RD |
9193 | int arg2 ; |
9194 | int arg3 ; | |
d14a1e28 RD |
9195 | int result; |
9196 | PyObject * obj0 = 0 ; | |
994141e6 RD |
9197 | PyObject * obj1 = 0 ; |
9198 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
9199 | char *kwnames[] = { |
9200 | (char *) "self",(char *) "x",(char *) "y", NULL | |
9201 | }; | |
9202 | ||
994141e6 | 9203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
9204 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9205 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9206 | arg2 = (int) SWIG_AsInt(obj1); | |
9207 | if (PyErr_Occurred()) SWIG_fail; | |
9208 | arg3 = (int) SWIG_AsInt(obj2); | |
9209 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9210 | { |
9211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9212 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
9213 | ||
9214 | wxPyEndAllowThreads(__tstate); | |
9215 | if (PyErr_Occurred()) SWIG_fail; | |
9216 | } | |
15afbcd0 | 9217 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9218 | return resultobj; |
9219 | fail: | |
9220 | return NULL; | |
9221 | } | |
9222 | ||
9223 | ||
9224 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9225 | PyObject *resultobj; | |
9226 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9227 | wxPoint *arg2 = 0 ; | |
9228 | int result; | |
9229 | wxPoint temp2 ; | |
9230 | PyObject * obj0 = 0 ; | |
9231 | PyObject * obj1 = 0 ; | |
9232 | char *kwnames[] = { | |
9233 | (char *) "self",(char *) "pt", NULL | |
9234 | }; | |
9235 | ||
9236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9239 | { |
9240 | arg2 = &temp2; | |
9241 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9242 | } | |
9243 | { | |
9244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9245 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
9246 | ||
9247 | wxPyEndAllowThreads(__tstate); | |
9248 | if (PyErr_Occurred()) SWIG_fail; | |
9249 | } | |
15afbcd0 | 9250 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9251 | return resultobj; |
9252 | fail: | |
9253 | return NULL; | |
9254 | } | |
9255 | ||
9256 | ||
9257 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9258 | PyObject *resultobj; | |
9259 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9260 | PyObject * obj0 = 0 ; | |
9261 | char *kwnames[] = { | |
9262 | (char *) "self", NULL | |
9263 | }; | |
9264 | ||
9265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9266 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9267 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9268 | { |
9269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9270 | (arg1)->RefreshAll(); | |
9271 | ||
9272 | wxPyEndAllowThreads(__tstate); | |
9273 | if (PyErr_Occurred()) SWIG_fail; | |
9274 | } | |
9275 | Py_INCREF(Py_None); resultobj = Py_None; | |
9276 | return resultobj; | |
9277 | fail: | |
9278 | return NULL; | |
9279 | } | |
9280 | ||
9281 | ||
9282 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9283 | PyObject *resultobj; | |
9284 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9285 | size_t result; | |
9286 | PyObject * obj0 = 0 ; | |
9287 | char *kwnames[] = { | |
9288 | (char *) "self", NULL | |
9289 | }; | |
9290 | ||
9291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9292 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9293 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9294 | { |
9295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9296 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
9297 | ||
9298 | wxPyEndAllowThreads(__tstate); | |
9299 | if (PyErr_Occurred()) SWIG_fail; | |
9300 | } | |
15afbcd0 | 9301 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9302 | return resultobj; |
9303 | fail: | |
9304 | return NULL; | |
9305 | } | |
9306 | ||
9307 | ||
9308 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9309 | PyObject *resultobj; | |
9310 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9311 | size_t result; | |
9312 | PyObject * obj0 = 0 ; | |
9313 | char *kwnames[] = { | |
9314 | (char *) "self", NULL | |
9315 | }; | |
9316 | ||
9317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9318 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9319 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9320 | { |
9321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9322 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
9323 | ||
9324 | wxPyEndAllowThreads(__tstate); | |
9325 | if (PyErr_Occurred()) SWIG_fail; | |
9326 | } | |
15afbcd0 | 9327 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9328 | return resultobj; |
9329 | fail: | |
9330 | return NULL; | |
9331 | } | |
9332 | ||
9333 | ||
9334 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9335 | PyObject *resultobj; | |
9336 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9337 | size_t result; | |
9338 | PyObject * obj0 = 0 ; | |
9339 | char *kwnames[] = { | |
9340 | (char *) "self", NULL | |
9341 | }; | |
9342 | ||
9343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9344 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9345 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9346 | { |
9347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9348 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
9349 | ||
9350 | wxPyEndAllowThreads(__tstate); | |
9351 | if (PyErr_Occurred()) SWIG_fail; | |
9352 | } | |
15afbcd0 | 9353 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9354 | return resultobj; |
9355 | fail: | |
9356 | return NULL; | |
9357 | } | |
9358 | ||
9359 | ||
9360 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9361 | PyObject *resultobj; | |
9362 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9363 | size_t arg2 ; | |
9364 | bool result; | |
9365 | PyObject * obj0 = 0 ; | |
9366 | PyObject * obj1 = 0 ; | |
9367 | char *kwnames[] = { | |
9368 | (char *) "self",(char *) "line", NULL | |
9369 | }; | |
9370 | ||
9371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9372 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9373 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9374 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9375 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9376 | { |
9377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9378 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
9379 | ||
9380 | wxPyEndAllowThreads(__tstate); | |
9381 | if (PyErr_Occurred()) SWIG_fail; | |
9382 | } | |
4f89f6a3 RD |
9383 | { |
9384 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9385 | } | |
d14a1e28 RD |
9386 | return resultobj; |
9387 | fail: | |
9388 | return NULL; | |
9389 | } | |
9390 | ||
9391 | ||
9392 | static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
9393 | PyObject *obj; | |
9394 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9395 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
9396 | Py_INCREF(obj); | |
9397 | return Py_BuildValue((char *)""); | |
9398 | } | |
b2dc1044 RD |
9399 | static int _wrap_VListBoxNameStr_set(PyObject *_val) { |
9400 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); | |
9401 | return 1; | |
9402 | } | |
9403 | ||
9404 | ||
9405 | static PyObject *_wrap_VListBoxNameStr_get() { | |
9406 | PyObject *pyobj; | |
9407 | ||
9408 | { | |
9409 | #if wxUSE_UNICODE | |
9410 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9411 | #else | |
9412 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9413 | #endif | |
9414 | } | |
9415 | return pyobj; | |
9416 | } | |
9417 | ||
9418 | ||
d14a1e28 RD |
9419 | static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) { |
9420 | PyObject *resultobj; | |
9421 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 9422 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
9423 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
9424 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9425 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9426 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9427 | long arg5 = (long) 0 ; | |
9428 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
9429 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9430 | wxPyVListBox *result; | |
9431 | wxPoint temp3 ; | |
9432 | wxSize temp4 ; | |
e811c8ce | 9433 | bool temp6 = False ; |
d14a1e28 | 9434 | PyObject * obj0 = 0 ; |
994141e6 | 9435 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9436 | PyObject * obj2 = 0 ; |
9437 | PyObject * obj3 = 0 ; | |
994141e6 | 9438 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
9439 | PyObject * obj5 = 0 ; |
9440 | char *kwnames[] = { | |
9441 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9442 | }; | |
9443 | ||
994141e6 | 9444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
9445 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9446 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9447 | if (obj1) { |
15afbcd0 RD |
9448 | arg2 = (int) SWIG_AsInt(obj1); |
9449 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9450 | } |
d14a1e28 RD |
9451 | if (obj2) { |
9452 | { | |
9453 | arg3 = &temp3; | |
9454 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9455 | } | |
9456 | } | |
9457 | if (obj3) { | |
9458 | { | |
9459 | arg4 = &temp4; | |
9460 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9461 | } | |
9462 | } | |
994141e6 | 9463 | if (obj4) { |
15afbcd0 RD |
9464 | arg5 = (long) SWIG_AsLong(obj4); |
9465 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9466 | } |
d14a1e28 RD |
9467 | if (obj5) { |
9468 | { | |
9469 | arg6 = wxString_in_helper(obj5); | |
9470 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 9471 | temp6 = True; |
d14a1e28 RD |
9472 | } |
9473 | } | |
9474 | { | |
9475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9476 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9477 | ||
9478 | wxPyEndAllowThreads(__tstate); | |
9479 | if (PyErr_Occurred()) SWIG_fail; | |
9480 | } | |
15afbcd0 | 9481 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
9482 | { |
9483 | if (temp6) | |
9484 | delete arg6; | |
9485 | } | |
9486 | return resultobj; | |
9487 | fail: | |
9488 | { | |
9489 | if (temp6) | |
9490 | delete arg6; | |
9491 | } | |
9492 | return NULL; | |
9493 | } | |
9494 | ||
9495 | ||
9496 | static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9497 | PyObject *resultobj; | |
9498 | wxPyVListBox *result; | |
9499 | char *kwnames[] = { | |
9500 | NULL | |
9501 | }; | |
9502 | ||
9503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
9504 | { | |
9505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9506 | result = (wxPyVListBox *)new wxPyVListBox(); | |
9507 | ||
9508 | wxPyEndAllowThreads(__tstate); | |
9509 | if (PyErr_Occurred()) SWIG_fail; | |
9510 | } | |
15afbcd0 | 9511 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
9512 | return resultobj; |
9513 | fail: | |
9514 | return NULL; | |
9515 | } | |
9516 | ||
9517 | ||
9518 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9519 | PyObject *resultobj; | |
9520 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9521 | PyObject *arg2 = (PyObject *) 0 ; | |
9522 | PyObject *arg3 = (PyObject *) 0 ; | |
9523 | PyObject * obj0 = 0 ; | |
9524 | PyObject * obj1 = 0 ; | |
9525 | PyObject * obj2 = 0 ; | |
9526 | char *kwnames[] = { | |
9527 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9528 | }; | |
9529 | ||
9530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9533 | arg2 = obj1; |
9534 | arg3 = obj2; | |
9535 | { | |
9536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9537 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9538 | ||
9539 | wxPyEndAllowThreads(__tstate); | |
9540 | if (PyErr_Occurred()) SWIG_fail; | |
9541 | } | |
9542 | Py_INCREF(Py_None); resultobj = Py_None; | |
9543 | return resultobj; | |
9544 | fail: | |
9545 | return NULL; | |
9546 | } | |
9547 | ||
9548 | ||
9549 | static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9550 | PyObject *resultobj; | |
9551 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9552 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 9553 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
9554 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
9555 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9556 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9557 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9558 | long arg6 = (long) 0 ; | |
9559 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
9560 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9561 | bool result; | |
9562 | wxPoint temp4 ; | |
9563 | wxSize temp5 ; | |
e811c8ce | 9564 | bool temp7 = False ; |
d14a1e28 RD |
9565 | PyObject * obj0 = 0 ; |
9566 | PyObject * obj1 = 0 ; | |
994141e6 | 9567 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9568 | PyObject * obj3 = 0 ; |
9569 | PyObject * obj4 = 0 ; | |
994141e6 | 9570 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
9571 | PyObject * obj6 = 0 ; |
9572 | char *kwnames[] = { | |
9573 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9574 | }; | |
9575 | ||
994141e6 | 9576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
9577 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9578 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9579 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
9580 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9581 | if (obj2) { |
15afbcd0 RD |
9582 | arg3 = (int) SWIG_AsInt(obj2); |
9583 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9584 | } |
d14a1e28 RD |
9585 | if (obj3) { |
9586 | { | |
9587 | arg4 = &temp4; | |
9588 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9589 | } | |
9590 | } | |
9591 | if (obj4) { | |
9592 | { | |
9593 | arg5 = &temp5; | |
9594 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9595 | } | |
9596 | } | |
994141e6 | 9597 | if (obj5) { |
15afbcd0 RD |
9598 | arg6 = (long) SWIG_AsLong(obj5); |
9599 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9600 | } |
d14a1e28 RD |
9601 | if (obj6) { |
9602 | { | |
9603 | arg7 = wxString_in_helper(obj6); | |
9604 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 9605 | temp7 = True; |
d14a1e28 RD |
9606 | } |
9607 | } | |
9608 | { | |
9609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9610 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9611 | ||
9612 | wxPyEndAllowThreads(__tstate); | |
9613 | if (PyErr_Occurred()) SWIG_fail; | |
9614 | } | |
4f89f6a3 RD |
9615 | { |
9616 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9617 | } | |
d14a1e28 RD |
9618 | { |
9619 | if (temp7) | |
9620 | delete arg7; | |
9621 | } | |
9622 | return resultobj; | |
9623 | fail: | |
9624 | { | |
9625 | if (temp7) | |
9626 | delete arg7; | |
9627 | } | |
9628 | return NULL; | |
9629 | } | |
9630 | ||
9631 | ||
9632 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9633 | PyObject *resultobj; | |
9634 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9635 | size_t result; | |
9636 | PyObject * obj0 = 0 ; | |
9637 | char *kwnames[] = { | |
9638 | (char *) "self", NULL | |
9639 | }; | |
9640 | ||
9641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9642 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9643 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9644 | { |
9645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9646 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
9647 | ||
9648 | wxPyEndAllowThreads(__tstate); | |
9649 | if (PyErr_Occurred()) SWIG_fail; | |
9650 | } | |
15afbcd0 | 9651 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9652 | return resultobj; |
9653 | fail: | |
9654 | return NULL; | |
9655 | } | |
9656 | ||
9657 | ||
9658 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9659 | PyObject *resultobj; | |
9660 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9661 | bool result; | |
9662 | PyObject * obj0 = 0 ; | |
9663 | char *kwnames[] = { | |
9664 | (char *) "self", NULL | |
9665 | }; | |
9666 | ||
9667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9668 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9669 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9670 | { |
9671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9672 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
9673 | ||
9674 | wxPyEndAllowThreads(__tstate); | |
9675 | if (PyErr_Occurred()) SWIG_fail; | |
9676 | } | |
4f89f6a3 RD |
9677 | { |
9678 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9679 | } | |
d14a1e28 RD |
9680 | return resultobj; |
9681 | fail: | |
9682 | return NULL; | |
9683 | } | |
9684 | ||
9685 | ||
9686 | static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9687 | PyObject *resultobj; | |
9688 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9689 | int result; | |
9690 | PyObject * obj0 = 0 ; | |
9691 | char *kwnames[] = { | |
9692 | (char *) "self", NULL | |
9693 | }; | |
9694 | ||
9695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9696 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9697 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9698 | { |
9699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9700 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
9701 | ||
9702 | wxPyEndAllowThreads(__tstate); | |
9703 | if (PyErr_Occurred()) SWIG_fail; | |
9704 | } | |
15afbcd0 | 9705 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9706 | return resultobj; |
9707 | fail: | |
9708 | return NULL; | |
9709 | } | |
9710 | ||
9711 | ||
9712 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9713 | PyObject *resultobj; | |
9714 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9715 | size_t arg2 ; | |
9716 | bool result; | |
9717 | PyObject * obj0 = 0 ; | |
9718 | PyObject * obj1 = 0 ; | |
9719 | char *kwnames[] = { | |
9720 | (char *) "self",(char *) "item", NULL | |
9721 | }; | |
9722 | ||
9723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9724 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9725 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9726 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9727 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9728 | { |
9729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9730 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
9731 | ||
9732 | wxPyEndAllowThreads(__tstate); | |
9733 | if (PyErr_Occurred()) SWIG_fail; | |
9734 | } | |
4f89f6a3 RD |
9735 | { |
9736 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9737 | } | |
d14a1e28 RD |
9738 | return resultobj; |
9739 | fail: | |
9740 | return NULL; | |
9741 | } | |
9742 | ||
9743 | ||
9744 | static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9745 | PyObject *resultobj; | |
9746 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9747 | size_t arg2 ; | |
9748 | bool result; | |
9749 | PyObject * obj0 = 0 ; | |
9750 | PyObject * obj1 = 0 ; | |
9751 | char *kwnames[] = { | |
9752 | (char *) "self",(char *) "item", NULL | |
9753 | }; | |
9754 | ||
9755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9756 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9757 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9758 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9759 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9760 | { |
9761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9762 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
9763 | ||
9764 | wxPyEndAllowThreads(__tstate); | |
9765 | if (PyErr_Occurred()) SWIG_fail; | |
9766 | } | |
4f89f6a3 RD |
9767 | { |
9768 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9769 | } | |
d14a1e28 RD |
9770 | return resultobj; |
9771 | fail: | |
9772 | return NULL; | |
9773 | } | |
9774 | ||
9775 | ||
9776 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9777 | PyObject *resultobj; | |
9778 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9779 | size_t result; | |
9780 | PyObject * obj0 = 0 ; | |
9781 | char *kwnames[] = { | |
9782 | (char *) "self", NULL | |
9783 | }; | |
9784 | ||
9785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9786 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9787 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9788 | { |
9789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9790 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
9791 | ||
9792 | wxPyEndAllowThreads(__tstate); | |
9793 | if (PyErr_Occurred()) SWIG_fail; | |
9794 | } | |
15afbcd0 | 9795 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9796 | return resultobj; |
9797 | fail: | |
9798 | return NULL; | |
9799 | } | |
9800 | ||
9801 | ||
9802 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9803 | PyObject *resultobj; | |
9804 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9805 | unsigned long *arg2 = 0 ; | |
9806 | int result; | |
9807 | PyObject * obj0 = 0 ; | |
9808 | PyObject * obj1 = 0 ; | |
9809 | char *kwnames[] = { | |
9810 | (char *) "self",(char *) "cookie", NULL | |
9811 | }; | |
9812 | ||
9813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9814 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9815 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9816 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long, | |
9817 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
9818 | SWIG_fail; | |
d14a1e28 | 9819 | if (arg2 == NULL) { |
15afbcd0 RD |
9820 | PyErr_SetString(PyExc_TypeError,"null reference"); |
9821 | SWIG_fail; | |
d14a1e28 RD |
9822 | } |
9823 | { | |
9824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9825 | result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2); | |
9826 | ||
9827 | wxPyEndAllowThreads(__tstate); | |
9828 | if (PyErr_Occurred()) SWIG_fail; | |
9829 | } | |
15afbcd0 | 9830 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9831 | return resultobj; |
9832 | fail: | |
9833 | return NULL; | |
9834 | } | |
9835 | ||
9836 | ||
9837 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9838 | PyObject *resultobj; | |
9839 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9840 | unsigned long *arg2 = 0 ; | |
9841 | int result; | |
9842 | PyObject * obj0 = 0 ; | |
9843 | PyObject * obj1 = 0 ; | |
9844 | char *kwnames[] = { | |
9845 | (char *) "self",(char *) "cookie", NULL | |
9846 | }; | |
9847 | ||
9848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9849 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9850 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9851 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long, | |
9852 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
9853 | SWIG_fail; | |
d14a1e28 | 9854 | if (arg2 == NULL) { |
15afbcd0 RD |
9855 | PyErr_SetString(PyExc_TypeError,"null reference"); |
9856 | SWIG_fail; | |
d14a1e28 RD |
9857 | } |
9858 | { | |
9859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9860 | result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2); | |
9861 | ||
9862 | wxPyEndAllowThreads(__tstate); | |
9863 | if (PyErr_Occurred()) SWIG_fail; | |
9864 | } | |
15afbcd0 | 9865 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9866 | return resultobj; |
9867 | fail: | |
9868 | return NULL; | |
9869 | } | |
9870 | ||
9871 | ||
9872 | static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9873 | PyObject *resultobj; | |
9874 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9875 | wxPoint result; | |
9876 | PyObject * obj0 = 0 ; | |
9877 | char *kwnames[] = { | |
9878 | (char *) "self", NULL | |
9879 | }; | |
9880 | ||
9881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9882 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9883 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9884 | { |
9885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9886 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
9887 | ||
9888 | wxPyEndAllowThreads(__tstate); | |
9889 | if (PyErr_Occurred()) SWIG_fail; | |
9890 | } | |
9891 | { | |
9892 | wxPoint * resultptr; | |
9893 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 9894 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
9895 | } |
9896 | return resultobj; | |
9897 | fail: | |
9898 | return NULL; | |
9899 | } | |
9900 | ||
9901 | ||
9902 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9903 | PyObject *resultobj; | |
9904 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9905 | wxColour *result; | |
9906 | PyObject * obj0 = 0 ; | |
9907 | char *kwnames[] = { | |
9908 | (char *) "self", NULL | |
9909 | }; | |
9910 | ||
9911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9912 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9913 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9914 | { |
9915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9916 | { | |
9917 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
9918 | result = (wxColour *) &_result_ref; | |
9919 | } | |
9920 | ||
9921 | wxPyEndAllowThreads(__tstate); | |
9922 | if (PyErr_Occurred()) SWIG_fail; | |
9923 | } | |
15afbcd0 | 9924 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
9925 | return resultobj; |
9926 | fail: | |
9927 | return NULL; | |
9928 | } | |
9929 | ||
9930 | ||
9931 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9932 | PyObject *resultobj; | |
9933 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9934 | size_t arg2 ; | |
9935 | PyObject * obj0 = 0 ; | |
9936 | PyObject * obj1 = 0 ; | |
9937 | char *kwnames[] = { | |
9938 | (char *) "self",(char *) "count", NULL | |
9939 | }; | |
9940 | ||
9941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9942 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9943 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9944 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9945 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9946 | { |
9947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9948 | (arg1)->SetItemCount(arg2); | |
9949 | ||
9950 | wxPyEndAllowThreads(__tstate); | |
9951 | if (PyErr_Occurred()) SWIG_fail; | |
9952 | } | |
9953 | Py_INCREF(Py_None); resultobj = Py_None; | |
9954 | return resultobj; | |
9955 | fail: | |
9956 | return NULL; | |
9957 | } | |
9958 | ||
9959 | ||
9960 | static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9961 | PyObject *resultobj; | |
9962 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9963 | PyObject * obj0 = 0 ; | |
9964 | char *kwnames[] = { | |
9965 | (char *) "self", NULL | |
9966 | }; | |
9967 | ||
9968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9969 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9970 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9971 | { |
9972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9973 | (arg1)->Clear(); | |
9974 | ||
9975 | wxPyEndAllowThreads(__tstate); | |
9976 | if (PyErr_Occurred()) SWIG_fail; | |
9977 | } | |
9978 | Py_INCREF(Py_None); resultobj = Py_None; | |
9979 | return resultobj; | |
9980 | fail: | |
9981 | return NULL; | |
9982 | } | |
9983 | ||
9984 | ||
9985 | static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9986 | PyObject *resultobj; | |
9987 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9988 | int arg2 ; | |
9989 | PyObject * obj0 = 0 ; | |
994141e6 | 9990 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9991 | char *kwnames[] = { |
9992 | (char *) "self",(char *) "selection", NULL | |
9993 | }; | |
9994 | ||
994141e6 | 9995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9998 | arg2 = (int) SWIG_AsInt(obj1); | |
9999 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10000 | { |
10001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10002 | (arg1)->SetSelection(arg2); | |
10003 | ||
10004 | wxPyEndAllowThreads(__tstate); | |
10005 | if (PyErr_Occurred()) SWIG_fail; | |
10006 | } | |
10007 | Py_INCREF(Py_None); resultobj = Py_None; | |
10008 | return resultobj; | |
10009 | fail: | |
10010 | return NULL; | |
10011 | } | |
10012 | ||
10013 | ||
10014 | static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10015 | PyObject *resultobj; | |
10016 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10017 | size_t arg2 ; | |
e811c8ce | 10018 | bool arg3 = (bool) True ; |
d14a1e28 RD |
10019 | bool result; |
10020 | PyObject * obj0 = 0 ; | |
10021 | PyObject * obj1 = 0 ; | |
10022 | PyObject * obj2 = 0 ; | |
10023 | char *kwnames[] = { | |
10024 | (char *) "self",(char *) "item",(char *) "select", NULL | |
10025 | }; | |
10026 | ||
10027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10028 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10029 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10030 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10031 | if (PyErr_Occurred()) SWIG_fail; | |
a41e16b6 | 10032 | if (obj2) { |
15afbcd0 RD |
10033 | arg3 = (bool) SWIG_AsBool(obj2); |
10034 | if (PyErr_Occurred()) SWIG_fail; | |
a41e16b6 | 10035 | } |
d14a1e28 RD |
10036 | { |
10037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10038 | result = (bool)(arg1)->Select(arg2,arg3); | |
10039 | ||
10040 | wxPyEndAllowThreads(__tstate); | |
10041 | if (PyErr_Occurred()) SWIG_fail; | |
10042 | } | |
4f89f6a3 RD |
10043 | { |
10044 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10045 | } | |
d14a1e28 RD |
10046 | return resultobj; |
10047 | fail: | |
10048 | return NULL; | |
10049 | } | |
10050 | ||
10051 | ||
10052 | static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10053 | PyObject *resultobj; | |
10054 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10055 | size_t arg2 ; | |
10056 | size_t arg3 ; | |
10057 | bool result; | |
10058 | PyObject * obj0 = 0 ; | |
10059 | PyObject * obj1 = 0 ; | |
10060 | PyObject * obj2 = 0 ; | |
15afbcd0 RD |
10061 | char *kwnames[] = { |
10062 | (char *) "self",(char *) "from",(char *) "to", NULL | |
10063 | }; | |
10064 | ||
10065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10066 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10067 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10068 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10069 | if (PyErr_Occurred()) SWIG_fail; | |
10070 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
10071 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10072 | { |
10073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10074 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
10075 | ||
10076 | wxPyEndAllowThreads(__tstate); | |
10077 | if (PyErr_Occurred()) SWIG_fail; | |
10078 | } | |
4f89f6a3 RD |
10079 | { |
10080 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10081 | } | |
d14a1e28 RD |
10082 | return resultobj; |
10083 | fail: | |
10084 | return NULL; | |
10085 | } | |
10086 | ||
10087 | ||
10088 | static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10089 | PyObject *resultobj; | |
10090 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10091 | size_t arg2 ; | |
10092 | PyObject * obj0 = 0 ; | |
10093 | PyObject * obj1 = 0 ; | |
10094 | char *kwnames[] = { | |
10095 | (char *) "self",(char *) "item", NULL | |
10096 | }; | |
10097 | ||
10098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10099 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10100 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10101 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10102 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10103 | { |
10104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10105 | (arg1)->Toggle(arg2); | |
10106 | ||
10107 | wxPyEndAllowThreads(__tstate); | |
10108 | if (PyErr_Occurred()) SWIG_fail; | |
10109 | } | |
10110 | Py_INCREF(Py_None); resultobj = Py_None; | |
10111 | return resultobj; | |
10112 | fail: | |
10113 | return NULL; | |
10114 | } | |
10115 | ||
10116 | ||
10117 | static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10118 | PyObject *resultobj; | |
10119 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10120 | bool result; | |
10121 | PyObject * obj0 = 0 ; | |
10122 | char *kwnames[] = { | |
10123 | (char *) "self", NULL | |
10124 | }; | |
10125 | ||
10126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10127 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10128 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10129 | { |
10130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10131 | result = (bool)(arg1)->SelectAll(); | |
10132 | ||
10133 | wxPyEndAllowThreads(__tstate); | |
10134 | if (PyErr_Occurred()) SWIG_fail; | |
10135 | } | |
4f89f6a3 RD |
10136 | { |
10137 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10138 | } | |
d14a1e28 RD |
10139 | return resultobj; |
10140 | fail: | |
10141 | return NULL; | |
10142 | } | |
10143 | ||
10144 | ||
10145 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10146 | PyObject *resultobj; | |
10147 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10148 | bool result; | |
10149 | PyObject * obj0 = 0 ; | |
10150 | char *kwnames[] = { | |
10151 | (char *) "self", NULL | |
10152 | }; | |
10153 | ||
10154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10155 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10156 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10157 | { |
10158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10159 | result = (bool)(arg1)->DeselectAll(); | |
10160 | ||
10161 | wxPyEndAllowThreads(__tstate); | |
10162 | if (PyErr_Occurred()) SWIG_fail; | |
10163 | } | |
4f89f6a3 RD |
10164 | { |
10165 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10166 | } | |
d14a1e28 RD |
10167 | return resultobj; |
10168 | fail: | |
10169 | return NULL; | |
10170 | } | |
10171 | ||
10172 | ||
10173 | static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10174 | PyObject *resultobj; | |
10175 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10176 | wxPoint *arg2 = 0 ; | |
10177 | wxPoint temp2 ; | |
10178 | PyObject * obj0 = 0 ; | |
10179 | PyObject * obj1 = 0 ; | |
10180 | char *kwnames[] = { | |
10181 | (char *) "self",(char *) "pt", NULL | |
10182 | }; | |
10183 | ||
10184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10185 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10186 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10187 | { |
10188 | arg2 = &temp2; | |
10189 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10190 | } | |
10191 | { | |
10192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10193 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
10194 | ||
10195 | wxPyEndAllowThreads(__tstate); | |
10196 | if (PyErr_Occurred()) SWIG_fail; | |
10197 | } | |
10198 | Py_INCREF(Py_None); resultobj = Py_None; | |
10199 | return resultobj; | |
10200 | fail: | |
10201 | return NULL; | |
10202 | } | |
10203 | ||
10204 | ||
10205 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10206 | PyObject *resultobj; | |
10207 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
e811c8ce RD |
10208 | int arg2 ; |
10209 | int arg3 ; | |
d14a1e28 | 10210 | PyObject * obj0 = 0 ; |
994141e6 RD |
10211 | PyObject * obj1 = 0 ; |
10212 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
10213 | char *kwnames[] = { |
10214 | (char *) "self",(char *) "x",(char *) "y", NULL | |
10215 | }; | |
10216 | ||
994141e6 | 10217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
10218 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10219 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10220 | arg2 = (int) SWIG_AsInt(obj1); | |
10221 | if (PyErr_Occurred()) SWIG_fail; | |
10222 | arg3 = (int) SWIG_AsInt(obj2); | |
10223 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10224 | { |
10225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10226 | (arg1)->SetMargins(arg2,arg3); | |
10227 | ||
10228 | wxPyEndAllowThreads(__tstate); | |
10229 | if (PyErr_Occurred()) SWIG_fail; | |
10230 | } | |
10231 | Py_INCREF(Py_None); resultobj = Py_None; | |
10232 | return resultobj; | |
10233 | fail: | |
10234 | return NULL; | |
10235 | } | |
10236 | ||
10237 | ||
10238 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10239 | PyObject *resultobj; | |
10240 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10241 | wxColour *arg2 = 0 ; | |
10242 | wxColour temp2 ; | |
10243 | PyObject * obj0 = 0 ; | |
10244 | PyObject * obj1 = 0 ; | |
10245 | char *kwnames[] = { | |
10246 | (char *) "self",(char *) "col", NULL | |
10247 | }; | |
10248 | ||
10249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10250 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10251 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10252 | { |
10253 | arg2 = &temp2; | |
10254 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10255 | } | |
10256 | { | |
10257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10258 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
10259 | ||
10260 | wxPyEndAllowThreads(__tstate); | |
10261 | if (PyErr_Occurred()) SWIG_fail; | |
10262 | } | |
10263 | Py_INCREF(Py_None); resultobj = Py_None; | |
10264 | return resultobj; | |
10265 | fail: | |
10266 | return NULL; | |
10267 | } | |
10268 | ||
10269 | ||
10270 | static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) { | |
10271 | PyObject *obj; | |
10272 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10273 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
10274 | Py_INCREF(obj); | |
10275 | return Py_BuildValue((char *)""); | |
10276 | } | |
10277 | static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10278 | PyObject *resultobj; | |
10279 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 10280 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
10281 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10282 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10283 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10284 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10285 | long arg5 = (long) 0 ; | |
10286 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
10287 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10288 | wxPyHtmlListBox *result; | |
10289 | wxPoint temp3 ; | |
10290 | wxSize temp4 ; | |
e811c8ce | 10291 | bool temp6 = False ; |
d14a1e28 | 10292 | PyObject * obj0 = 0 ; |
994141e6 | 10293 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10294 | PyObject * obj2 = 0 ; |
10295 | PyObject * obj3 = 0 ; | |
994141e6 | 10296 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
10297 | PyObject * obj5 = 0 ; |
10298 | char *kwnames[] = { | |
10299 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10300 | }; | |
10301 | ||
994141e6 | 10302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
10303 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
10304 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10305 | if (obj1) { |
15afbcd0 RD |
10306 | arg2 = (int) SWIG_AsInt(obj1); |
10307 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10308 | } |
d14a1e28 RD |
10309 | if (obj2) { |
10310 | { | |
10311 | arg3 = &temp3; | |
10312 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10313 | } | |
10314 | } | |
10315 | if (obj3) { | |
10316 | { | |
10317 | arg4 = &temp4; | |
10318 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10319 | } | |
10320 | } | |
994141e6 | 10321 | if (obj4) { |
15afbcd0 RD |
10322 | arg5 = (long) SWIG_AsLong(obj4); |
10323 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10324 | } |
d14a1e28 RD |
10325 | if (obj5) { |
10326 | { | |
10327 | arg6 = wxString_in_helper(obj5); | |
10328 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 10329 | temp6 = True; |
d14a1e28 RD |
10330 | } |
10331 | } | |
10332 | { | |
10333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10334 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10335 | ||
10336 | wxPyEndAllowThreads(__tstate); | |
10337 | if (PyErr_Occurred()) SWIG_fail; | |
10338 | } | |
15afbcd0 | 10339 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10340 | { |
10341 | if (temp6) | |
10342 | delete arg6; | |
10343 | } | |
10344 | return resultobj; | |
10345 | fail: | |
10346 | { | |
10347 | if (temp6) | |
10348 | delete arg6; | |
10349 | } | |
10350 | return NULL; | |
10351 | } | |
10352 | ||
10353 | ||
10354 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10355 | PyObject *resultobj; | |
10356 | wxPyHtmlListBox *result; | |
10357 | char *kwnames[] = { | |
10358 | NULL | |
10359 | }; | |
10360 | ||
10361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
10362 | { | |
10363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10364 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
10365 | ||
10366 | wxPyEndAllowThreads(__tstate); | |
10367 | if (PyErr_Occurred()) SWIG_fail; | |
10368 | } | |
15afbcd0 | 10369 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10370 | return resultobj; |
10371 | fail: | |
10372 | return NULL; | |
10373 | } | |
10374 | ||
10375 | ||
10376 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10377 | PyObject *resultobj; | |
10378 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10379 | PyObject *arg2 = (PyObject *) 0 ; | |
10380 | PyObject *arg3 = (PyObject *) 0 ; | |
10381 | PyObject * obj0 = 0 ; | |
10382 | PyObject * obj1 = 0 ; | |
10383 | PyObject * obj2 = 0 ; | |
10384 | char *kwnames[] = { | |
10385 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10386 | }; | |
10387 | ||
10388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10389 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10390 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10391 | arg2 = obj1; |
10392 | arg3 = obj2; | |
10393 | { | |
10394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10395 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10396 | ||
10397 | wxPyEndAllowThreads(__tstate); | |
10398 | if (PyErr_Occurred()) SWIG_fail; | |
10399 | } | |
10400 | Py_INCREF(Py_None); resultobj = Py_None; | |
10401 | return resultobj; | |
10402 | fail: | |
10403 | return NULL; | |
10404 | } | |
10405 | ||
10406 | ||
10407 | static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10408 | PyObject *resultobj; | |
10409 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10410 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 10411 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
10412 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10413 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10414 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10415 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10416 | long arg6 = (long) 0 ; | |
10417 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
10418 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10419 | bool result; | |
10420 | wxPoint temp4 ; | |
10421 | wxSize temp5 ; | |
e811c8ce | 10422 | bool temp7 = False ; |
d14a1e28 RD |
10423 | PyObject * obj0 = 0 ; |
10424 | PyObject * obj1 = 0 ; | |
994141e6 | 10425 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10426 | PyObject * obj3 = 0 ; |
10427 | PyObject * obj4 = 0 ; | |
994141e6 | 10428 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
10429 | PyObject * obj6 = 0 ; |
10430 | char *kwnames[] = { | |
10431 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10432 | }; | |
10433 | ||
994141e6 | 10434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
10435 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10436 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10437 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
10438 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10439 | if (obj2) { |
15afbcd0 RD |
10440 | arg3 = (int) SWIG_AsInt(obj2); |
10441 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10442 | } |
d14a1e28 RD |
10443 | if (obj3) { |
10444 | { | |
10445 | arg4 = &temp4; | |
10446 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10447 | } | |
10448 | } | |
10449 | if (obj4) { | |
10450 | { | |
10451 | arg5 = &temp5; | |
10452 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10453 | } | |
10454 | } | |
994141e6 | 10455 | if (obj5) { |
15afbcd0 RD |
10456 | arg6 = (long) SWIG_AsLong(obj5); |
10457 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10458 | } |
d14a1e28 RD |
10459 | if (obj6) { |
10460 | { | |
10461 | arg7 = wxString_in_helper(obj6); | |
10462 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 10463 | temp7 = True; |
d14a1e28 RD |
10464 | } |
10465 | } | |
10466 | { | |
10467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10468 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10469 | ||
10470 | wxPyEndAllowThreads(__tstate); | |
10471 | if (PyErr_Occurred()) SWIG_fail; | |
10472 | } | |
4f89f6a3 RD |
10473 | { |
10474 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10475 | } | |
d14a1e28 RD |
10476 | { |
10477 | if (temp7) | |
10478 | delete arg7; | |
10479 | } | |
10480 | return resultobj; | |
10481 | fail: | |
10482 | { | |
10483 | if (temp7) | |
10484 | delete arg7; | |
10485 | } | |
10486 | return NULL; | |
10487 | } | |
10488 | ||
10489 | ||
10490 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10491 | PyObject *resultobj; | |
10492 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10493 | PyObject * obj0 = 0 ; | |
10494 | char *kwnames[] = { | |
10495 | (char *) "self", NULL | |
10496 | }; | |
10497 | ||
10498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10499 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10501 | { |
10502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10503 | (arg1)->RefreshAll(); | |
10504 | ||
10505 | wxPyEndAllowThreads(__tstate); | |
10506 | if (PyErr_Occurred()) SWIG_fail; | |
10507 | } | |
10508 | Py_INCREF(Py_None); resultobj = Py_None; | |
10509 | return resultobj; | |
10510 | fail: | |
10511 | return NULL; | |
10512 | } | |
10513 | ||
10514 | ||
10515 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10516 | PyObject *resultobj; | |
10517 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10518 | size_t arg2 ; | |
10519 | PyObject * obj0 = 0 ; | |
10520 | PyObject * obj1 = 0 ; | |
10521 | char *kwnames[] = { | |
10522 | (char *) "self",(char *) "count", NULL | |
10523 | }; | |
10524 | ||
10525 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10526 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10527 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10528 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10529 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10530 | { |
10531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10532 | (arg1)->SetItemCount(arg2); | |
10533 | ||
10534 | wxPyEndAllowThreads(__tstate); | |
10535 | if (PyErr_Occurred()) SWIG_fail; | |
10536 | } | |
10537 | Py_INCREF(Py_None); resultobj = Py_None; | |
10538 | return resultobj; | |
10539 | fail: | |
10540 | return NULL; | |
10541 | } | |
10542 | ||
10543 | ||
10544 | static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) { | |
10545 | PyObject *obj; | |
10546 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10547 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
10548 | Py_INCREF(obj); | |
10549 | return Py_BuildValue((char *)""); | |
10550 | } | |
10551 | static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10552 | PyObject *resultobj; | |
10553 | wxTaskBarIcon *result; | |
10554 | char *kwnames[] = { | |
10555 | NULL | |
10556 | }; | |
10557 | ||
10558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
10559 | { | |
10560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10561 | result = (wxTaskBarIcon *)new wxTaskBarIcon(); | |
10562 | ||
10563 | wxPyEndAllowThreads(__tstate); | |
10564 | if (PyErr_Occurred()) SWIG_fail; | |
10565 | } | |
15afbcd0 | 10566 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1); |
d14a1e28 RD |
10567 | return resultobj; |
10568 | fail: | |
10569 | return NULL; | |
10570 | } | |
10571 | ||
10572 | ||
10573 | static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10574 | PyObject *resultobj; | |
10575 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10576 | PyObject * obj0 = 0 ; | |
10577 | char *kwnames[] = { | |
10578 | (char *) "self", NULL | |
10579 | }; | |
10580 | ||
10581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10582 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10583 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10584 | { |
10585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10586 | delete arg1; | |
10587 | ||
10588 | wxPyEndAllowThreads(__tstate); | |
10589 | if (PyErr_Occurred()) SWIG_fail; | |
10590 | } | |
10591 | Py_INCREF(Py_None); resultobj = Py_None; | |
10592 | return resultobj; | |
10593 | fail: | |
10594 | return NULL; | |
10595 | } | |
10596 | ||
10597 | ||
74a57fcd RD |
10598 | static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { |
10599 | PyObject *resultobj; | |
10600 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10601 | PyObject * obj0 = 0 ; | |
10602 | char *kwnames[] = { | |
10603 | (char *) "self", NULL | |
10604 | }; | |
10605 | ||
10606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail; | |
10607 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, | |
10608 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10609 | { | |
10610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10611 | wxTaskBarIcon_Destroy(arg1); | |
10612 | ||
10613 | wxPyEndAllowThreads(__tstate); | |
10614 | if (PyErr_Occurred()) SWIG_fail; | |
10615 | } | |
10616 | Py_INCREF(Py_None); resultobj = Py_None; | |
10617 | return resultobj; | |
10618 | fail: | |
10619 | return NULL; | |
10620 | } | |
10621 | ||
10622 | ||
d14a1e28 RD |
10623 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) { |
10624 | PyObject *resultobj; | |
10625 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10626 | bool result; | |
10627 | PyObject * obj0 = 0 ; | |
10628 | char *kwnames[] = { | |
10629 | (char *) "self", NULL | |
10630 | }; | |
10631 | ||
10632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10633 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10634 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10635 | { |
10636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10637 | result = (bool)((wxTaskBarIcon const *)arg1)->IsOk(); | |
10638 | ||
10639 | wxPyEndAllowThreads(__tstate); | |
10640 | if (PyErr_Occurred()) SWIG_fail; | |
10641 | } | |
4f89f6a3 RD |
10642 | { |
10643 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10644 | } | |
d14a1e28 RD |
10645 | return resultobj; |
10646 | fail: | |
10647 | return NULL; | |
10648 | } | |
10649 | ||
10650 | ||
10651 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10652 | PyObject *resultobj; | |
10653 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10654 | bool result; | |
10655 | PyObject * obj0 = 0 ; | |
10656 | char *kwnames[] = { | |
10657 | (char *) "self", NULL | |
10658 | }; | |
10659 | ||
10660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10661 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10662 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10663 | { |
10664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10665 | result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled(); | |
10666 | ||
10667 | wxPyEndAllowThreads(__tstate); | |
10668 | if (PyErr_Occurred()) SWIG_fail; | |
10669 | } | |
4f89f6a3 RD |
10670 | { |
10671 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10672 | } | |
d14a1e28 RD |
10673 | return resultobj; |
10674 | fail: | |
10675 | return NULL; | |
10676 | } | |
10677 | ||
10678 | ||
10679 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10680 | PyObject *resultobj; | |
10681 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10682 | wxIcon *arg2 = 0 ; | |
10683 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10684 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10685 | bool result; | |
e811c8ce | 10686 | bool temp3 = False ; |
d14a1e28 RD |
10687 | PyObject * obj0 = 0 ; |
10688 | PyObject * obj1 = 0 ; | |
10689 | PyObject * obj2 = 0 ; | |
10690 | char *kwnames[] = { | |
10691 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
10692 | }; | |
10693 | ||
10694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10695 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10697 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
10698 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
10699 | SWIG_fail; | |
d14a1e28 | 10700 | if (arg2 == NULL) { |
15afbcd0 RD |
10701 | PyErr_SetString(PyExc_TypeError,"null reference"); |
10702 | SWIG_fail; | |
d14a1e28 RD |
10703 | } |
10704 | if (obj2) { | |
10705 | { | |
10706 | arg3 = wxString_in_helper(obj2); | |
10707 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 10708 | temp3 = True; |
d14a1e28 RD |
10709 | } |
10710 | } | |
10711 | { | |
10712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10713 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
10714 | ||
10715 | wxPyEndAllowThreads(__tstate); | |
10716 | if (PyErr_Occurred()) SWIG_fail; | |
10717 | } | |
4f89f6a3 RD |
10718 | { |
10719 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10720 | } | |
d14a1e28 RD |
10721 | { |
10722 | if (temp3) | |
10723 | delete arg3; | |
10724 | } | |
10725 | return resultobj; | |
10726 | fail: | |
10727 | { | |
10728 | if (temp3) | |
10729 | delete arg3; | |
10730 | } | |
10731 | return NULL; | |
10732 | } | |
10733 | ||
10734 | ||
10735 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10736 | PyObject *resultobj; | |
10737 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10738 | bool result; | |
10739 | PyObject * obj0 = 0 ; | |
10740 | char *kwnames[] = { | |
10741 | (char *) "self", NULL | |
10742 | }; | |
10743 | ||
10744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10745 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10746 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10747 | { |
10748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10749 | result = (bool)(arg1)->RemoveIcon(); | |
10750 | ||
10751 | wxPyEndAllowThreads(__tstate); | |
10752 | if (PyErr_Occurred()) SWIG_fail; | |
10753 | } | |
4f89f6a3 RD |
10754 | { |
10755 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10756 | } | |
d14a1e28 RD |
10757 | return resultobj; |
10758 | fail: | |
10759 | return NULL; | |
10760 | } | |
10761 | ||
10762 | ||
10763 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10764 | PyObject *resultobj; | |
10765 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10766 | wxMenu *arg2 = (wxMenu *) 0 ; | |
10767 | bool result; | |
10768 | PyObject * obj0 = 0 ; | |
10769 | PyObject * obj1 = 0 ; | |
10770 | char *kwnames[] = { | |
10771 | (char *) "self",(char *) "menu", NULL | |
10772 | }; | |
10773 | ||
10774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10775 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10776 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10777 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, | |
10778 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10779 | { |
10780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10781 | result = (bool)(arg1)->PopupMenu(arg2); | |
10782 | ||
10783 | wxPyEndAllowThreads(__tstate); | |
10784 | if (PyErr_Occurred()) SWIG_fail; | |
10785 | } | |
4f89f6a3 RD |
10786 | { |
10787 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10788 | } | |
d14a1e28 RD |
10789 | return resultobj; |
10790 | fail: | |
10791 | return NULL; | |
10792 | } | |
10793 | ||
10794 | ||
10795 | static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) { | |
10796 | PyObject *obj; | |
10797 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10798 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj); | |
10799 | Py_INCREF(obj); | |
10800 | return Py_BuildValue((char *)""); | |
10801 | } | |
10802 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10803 | PyObject *resultobj; | |
10804 | wxEventType arg1 ; | |
10805 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
10806 | wxTaskBarIconEvent *result; | |
994141e6 | 10807 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
10808 | PyObject * obj1 = 0 ; |
10809 | char *kwnames[] = { | |
10810 | (char *) "evtType",(char *) "tbIcon", NULL | |
10811 | }; | |
10812 | ||
994141e6 | 10813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10814 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
10815 | if (PyErr_Occurred()) SWIG_fail; | |
10816 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon, | |
10817 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10818 | { |
10819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10820 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
10821 | ||
10822 | wxPyEndAllowThreads(__tstate); | |
10823 | if (PyErr_Occurred()) SWIG_fail; | |
10824 | } | |
15afbcd0 | 10825 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); |
d14a1e28 RD |
10826 | return resultobj; |
10827 | fail: | |
10828 | return NULL; | |
10829 | } | |
10830 | ||
10831 | ||
10832 | static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) { | |
10833 | PyObject *obj; | |
10834 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10835 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
10836 | Py_INCREF(obj); | |
10837 | return Py_BuildValue((char *)""); | |
10838 | } | |
b2dc1044 RD |
10839 | static int _wrap_FileSelectorPromptStr_set(PyObject *_val) { |
10840 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); | |
10841 | return 1; | |
10842 | } | |
10843 | ||
10844 | ||
10845 | static PyObject *_wrap_FileSelectorPromptStr_get() { | |
10846 | PyObject *pyobj; | |
10847 | ||
10848 | { | |
10849 | #if wxUSE_UNICODE | |
10850 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10851 | #else | |
10852 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10853 | #endif | |
10854 | } | |
10855 | return pyobj; | |
10856 | } | |
10857 | ||
10858 | ||
10859 | static int _wrap_DirSelectorPromptStr_set(PyObject *_val) { | |
10860 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); | |
10861 | return 1; | |
10862 | } | |
10863 | ||
10864 | ||
10865 | static PyObject *_wrap_DirSelectorPromptStr_get() { | |
10866 | PyObject *pyobj; | |
10867 | ||
10868 | { | |
10869 | #if wxUSE_UNICODE | |
10870 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10871 | #else | |
10872 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10873 | #endif | |
10874 | } | |
10875 | return pyobj; | |
10876 | } | |
10877 | ||
10878 | ||
10879 | static int _wrap_DirDialogNameStr_set(PyObject *_val) { | |
10880 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); | |
10881 | return 1; | |
10882 | } | |
10883 | ||
10884 | ||
10885 | static PyObject *_wrap_DirDialogNameStr_get() { | |
10886 | PyObject *pyobj; | |
10887 | ||
10888 | { | |
10889 | #if wxUSE_UNICODE | |
10890 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10891 | #else | |
10892 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10893 | #endif | |
10894 | } | |
10895 | return pyobj; | |
10896 | } | |
10897 | ||
10898 | ||
10899 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) { | |
10900 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); | |
10901 | return 1; | |
10902 | } | |
10903 | ||
10904 | ||
10905 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() { | |
10906 | PyObject *pyobj; | |
10907 | ||
10908 | { | |
10909 | #if wxUSE_UNICODE | |
10910 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10911 | #else | |
10912 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10913 | #endif | |
10914 | } | |
10915 | return pyobj; | |
10916 | } | |
10917 | ||
10918 | ||
10919 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) { | |
10920 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); | |
10921 | return 1; | |
10922 | } | |
10923 | ||
10924 | ||
10925 | static PyObject *_wrap_GetTextFromUserPromptStr_get() { | |
10926 | PyObject *pyobj; | |
10927 | ||
10928 | { | |
10929 | #if wxUSE_UNICODE | |
10930 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10931 | #else | |
10932 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10933 | #endif | |
10934 | } | |
10935 | return pyobj; | |
10936 | } | |
10937 | ||
10938 | ||
10939 | static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) { | |
10940 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); | |
10941 | return 1; | |
10942 | } | |
10943 | ||
10944 | ||
10945 | static PyObject *_wrap_MessageBoxCaptionStr_get() { | |
10946 | PyObject *pyobj; | |
10947 | ||
10948 | { | |
10949 | #if wxUSE_UNICODE | |
10950 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10951 | #else | |
10952 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10953 | #endif | |
10954 | } | |
10955 | return pyobj; | |
10956 | } | |
10957 | ||
10958 | ||
d14a1e28 RD |
10959 | static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { |
10960 | PyObject *resultobj; | |
10961 | wxColourData *result; | |
10962 | char *kwnames[] = { | |
10963 | NULL | |
10964 | }; | |
10965 | ||
10966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
10967 | { | |
10968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10969 | result = (wxColourData *)new wxColourData(); | |
10970 | ||
10971 | wxPyEndAllowThreads(__tstate); | |
10972 | if (PyErr_Occurred()) SWIG_fail; | |
10973 | } | |
15afbcd0 | 10974 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); |
d14a1e28 RD |
10975 | return resultobj; |
10976 | fail: | |
10977 | return NULL; | |
10978 | } | |
10979 | ||
10980 | ||
10981 | static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10982 | PyObject *resultobj; | |
10983 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10984 | PyObject * obj0 = 0 ; | |
10985 | char *kwnames[] = { | |
10986 | (char *) "self", NULL | |
10987 | }; | |
10988 | ||
10989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10990 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10991 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10992 | { |
10993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10994 | delete arg1; | |
10995 | ||
10996 | wxPyEndAllowThreads(__tstate); | |
10997 | if (PyErr_Occurred()) SWIG_fail; | |
10998 | } | |
10999 | Py_INCREF(Py_None); resultobj = Py_None; | |
11000 | return resultobj; | |
11001 | fail: | |
11002 | return NULL; | |
11003 | } | |
11004 | ||
11005 | ||
11006 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11007 | PyObject *resultobj; | |
11008 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11009 | bool result; | |
11010 | PyObject * obj0 = 0 ; | |
11011 | char *kwnames[] = { | |
11012 | (char *) "self", NULL | |
11013 | }; | |
11014 | ||
11015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11016 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11017 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11018 | { |
11019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11020 | result = (bool)(arg1)->GetChooseFull(); | |
11021 | ||
11022 | wxPyEndAllowThreads(__tstate); | |
11023 | if (PyErr_Occurred()) SWIG_fail; | |
11024 | } | |
4f89f6a3 RD |
11025 | { |
11026 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11027 | } | |
d14a1e28 RD |
11028 | return resultobj; |
11029 | fail: | |
11030 | return NULL; | |
11031 | } | |
11032 | ||
11033 | ||
11034 | static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11035 | PyObject *resultobj; | |
11036 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11037 | wxColour result; | |
11038 | PyObject * obj0 = 0 ; | |
11039 | char *kwnames[] = { | |
11040 | (char *) "self", NULL | |
11041 | }; | |
11042 | ||
11043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11044 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11045 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11046 | { |
11047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11048 | result = (arg1)->GetColour(); | |
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_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11065 | PyObject *resultobj; | |
11066 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11067 | int arg2 ; | |
11068 | wxColour result; | |
11069 | PyObject * obj0 = 0 ; | |
994141e6 | 11070 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11071 | char *kwnames[] = { |
11072 | (char *) "self",(char *) "i", NULL | |
11073 | }; | |
11074 | ||
994141e6 | 11075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11076 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11077 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11078 | arg2 = (int) SWIG_AsInt(obj1); | |
11079 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11080 | { |
11081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11082 | result = (arg1)->GetCustomColour(arg2); | |
11083 | ||
11084 | wxPyEndAllowThreads(__tstate); | |
11085 | if (PyErr_Occurred()) SWIG_fail; | |
11086 | } | |
11087 | { | |
11088 | wxColour * resultptr; | |
11089 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 11090 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
11091 | } |
11092 | return resultobj; | |
11093 | fail: | |
11094 | return NULL; | |
11095 | } | |
11096 | ||
11097 | ||
11098 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11099 | PyObject *resultobj; | |
11100 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11101 | int arg2 ; | |
11102 | PyObject * obj0 = 0 ; | |
994141e6 | 11103 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11104 | char *kwnames[] = { |
11105 | (char *) "self",(char *) "flag", NULL | |
11106 | }; | |
11107 | ||
994141e6 | 11108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11109 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11110 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11111 | arg2 = (int) SWIG_AsInt(obj1); | |
11112 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11113 | { |
11114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11115 | (arg1)->SetChooseFull(arg2); | |
11116 | ||
11117 | wxPyEndAllowThreads(__tstate); | |
11118 | if (PyErr_Occurred()) SWIG_fail; | |
11119 | } | |
11120 | Py_INCREF(Py_None); resultobj = Py_None; | |
11121 | return resultobj; | |
11122 | fail: | |
11123 | return NULL; | |
11124 | } | |
11125 | ||
11126 | ||
11127 | static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11128 | PyObject *resultobj; | |
11129 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11130 | wxColour *arg2 = 0 ; | |
11131 | wxColour temp2 ; | |
11132 | PyObject * obj0 = 0 ; | |
11133 | PyObject * obj1 = 0 ; | |
11134 | char *kwnames[] = { | |
11135 | (char *) "self",(char *) "colour", NULL | |
11136 | }; | |
11137 | ||
11138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11139 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11141 | { |
11142 | arg2 = &temp2; | |
11143 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
11144 | } | |
11145 | { | |
11146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11147 | (arg1)->SetColour((wxColour const &)*arg2); | |
11148 | ||
11149 | wxPyEndAllowThreads(__tstate); | |
11150 | if (PyErr_Occurred()) SWIG_fail; | |
11151 | } | |
11152 | Py_INCREF(Py_None); resultobj = Py_None; | |
11153 | return resultobj; | |
11154 | fail: | |
11155 | return NULL; | |
11156 | } | |
11157 | ||
11158 | ||
11159 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11160 | PyObject *resultobj; | |
11161 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11162 | int arg2 ; | |
11163 | wxColour *arg3 = 0 ; | |
11164 | wxColour temp3 ; | |
11165 | PyObject * obj0 = 0 ; | |
994141e6 | 11166 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11167 | PyObject * obj2 = 0 ; |
11168 | char *kwnames[] = { | |
11169 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
11170 | }; | |
11171 | ||
994141e6 | 11172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
11173 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11174 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11175 | arg2 = (int) SWIG_AsInt(obj1); | |
11176 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11177 | { |
11178 | arg3 = &temp3; | |
11179 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11180 | } | |
11181 | { | |
11182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11183 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
11184 | ||
11185 | wxPyEndAllowThreads(__tstate); | |
11186 | if (PyErr_Occurred()) SWIG_fail; | |
11187 | } | |
11188 | Py_INCREF(Py_None); resultobj = Py_None; | |
11189 | return resultobj; | |
11190 | fail: | |
11191 | return NULL; | |
11192 | } | |
11193 | ||
11194 | ||
11195 | static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) { | |
11196 | PyObject *obj; | |
11197 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11198 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
11199 | Py_INCREF(obj); | |
11200 | return Py_BuildValue((char *)""); | |
11201 | } | |
11202 | static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11203 | PyObject *resultobj; | |
11204 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11205 | wxColourData *arg2 = (wxColourData *) NULL ; | |
11206 | wxColourDialog *result; | |
11207 | PyObject * obj0 = 0 ; | |
11208 | PyObject * obj1 = 0 ; | |
11209 | char *kwnames[] = { | |
11210 | (char *) "parent",(char *) "data", NULL | |
11211 | }; | |
11212 | ||
11213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11214 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11215 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 11216 | if (obj1) { |
15afbcd0 RD |
11217 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData, |
11218 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11219 | } |
11220 | { | |
11221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11222 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
11223 | ||
11224 | wxPyEndAllowThreads(__tstate); | |
11225 | if (PyErr_Occurred()) SWIG_fail; | |
11226 | } | |
15afbcd0 | 11227 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); |
d14a1e28 RD |
11228 | return resultobj; |
11229 | fail: | |
11230 | return NULL; | |
11231 | } | |
11232 | ||
11233 | ||
11234 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11235 | PyObject *resultobj; | |
11236 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
11237 | wxColourData *result; | |
11238 | PyObject * obj0 = 0 ; | |
11239 | char *kwnames[] = { | |
11240 | (char *) "self", NULL | |
11241 | }; | |
11242 | ||
11243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11244 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog, |
11245 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11246 | { |
11247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11248 | { | |
11249 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
11250 | result = (wxColourData *) &_result_ref; | |
11251 | } | |
11252 | ||
11253 | wxPyEndAllowThreads(__tstate); | |
11254 | if (PyErr_Occurred()) SWIG_fail; | |
11255 | } | |
15afbcd0 | 11256 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); |
d14a1e28 RD |
11257 | return resultobj; |
11258 | fail: | |
11259 | return NULL; | |
11260 | } | |
11261 | ||
11262 | ||
d14a1e28 RD |
11263 | static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) { |
11264 | PyObject *obj; | |
11265 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11266 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
11267 | Py_INCREF(obj); | |
11268 | return Py_BuildValue((char *)""); | |
11269 | } | |
11270 | static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11271 | PyObject *resultobj; | |
11272 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11273 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
11274 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11275 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11276 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11277 | long arg4 = (long) 0 ; | |
11278 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
11279 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
11280 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
11281 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
11282 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
11283 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11284 | wxDirDialog *result; | |
e811c8ce RD |
11285 | bool temp2 = False ; |
11286 | bool temp3 = False ; | |
d14a1e28 RD |
11287 | wxPoint temp5 ; |
11288 | wxSize temp6 ; | |
e811c8ce | 11289 | bool temp7 = False ; |
d14a1e28 RD |
11290 | PyObject * obj0 = 0 ; |
11291 | PyObject * obj1 = 0 ; | |
11292 | PyObject * obj2 = 0 ; | |
994141e6 | 11293 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
11294 | PyObject * obj4 = 0 ; |
11295 | PyObject * obj5 = 0 ; | |
11296 | PyObject * obj6 = 0 ; | |
11297 | char *kwnames[] = { | |
11298 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
11299 | }; | |
11300 | ||
994141e6 | 11301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
11302 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11303 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11304 | if (obj1) { |
11305 | { | |
11306 | arg2 = wxString_in_helper(obj1); | |
11307 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11308 | temp2 = True; |
d14a1e28 RD |
11309 | } |
11310 | } | |
11311 | if (obj2) { | |
11312 | { | |
11313 | arg3 = wxString_in_helper(obj2); | |
11314 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 11315 | temp3 = True; |
d14a1e28 RD |
11316 | } |
11317 | } | |
994141e6 | 11318 | if (obj3) { |
15afbcd0 RD |
11319 | arg4 = (long) SWIG_AsLong(obj3); |
11320 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 11321 | } |
d14a1e28 RD |
11322 | if (obj4) { |
11323 | { | |
11324 | arg5 = &temp5; | |
11325 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
11326 | } | |
11327 | } | |
11328 | if (obj5) { | |
11329 | { | |
11330 | arg6 = &temp6; | |
11331 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
11332 | } | |
11333 | } | |
11334 | if (obj6) { | |
11335 | { | |
11336 | arg7 = wxString_in_helper(obj6); | |
11337 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 11338 | temp7 = True; |
d14a1e28 RD |
11339 | } |
11340 | } | |
11341 | { | |
11342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11343 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
11344 | ||
11345 | wxPyEndAllowThreads(__tstate); | |
11346 | if (PyErr_Occurred()) SWIG_fail; | |
11347 | } | |
15afbcd0 | 11348 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); |
d14a1e28 RD |
11349 | { |
11350 | if (temp2) | |
11351 | delete arg2; | |
11352 | } | |
11353 | { | |
11354 | if (temp3) | |
11355 | delete arg3; | |
11356 | } | |
11357 | { | |
11358 | if (temp7) | |
11359 | delete arg7; | |
11360 | } | |
11361 | return resultobj; | |
11362 | fail: | |
11363 | { | |
11364 | if (temp2) | |
11365 | delete arg2; | |
11366 | } | |
11367 | { | |
11368 | if (temp3) | |
11369 | delete arg3; | |
11370 | } | |
11371 | { | |
11372 | if (temp7) | |
11373 | delete arg7; | |
11374 | } | |
11375 | return NULL; | |
11376 | } | |
11377 | ||
11378 | ||
11379 | static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11380 | PyObject *resultobj; | |
11381 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11382 | wxString result; | |
11383 | PyObject * obj0 = 0 ; | |
11384 | char *kwnames[] = { | |
11385 | (char *) "self", NULL | |
11386 | }; | |
11387 | ||
11388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11389 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11390 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11391 | { |
11392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11393 | result = (arg1)->GetPath(); | |
11394 | ||
11395 | wxPyEndAllowThreads(__tstate); | |
11396 | if (PyErr_Occurred()) SWIG_fail; | |
11397 | } | |
11398 | { | |
11399 | #if wxUSE_UNICODE | |
11400 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11401 | #else | |
11402 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11403 | #endif | |
11404 | } | |
11405 | return resultobj; | |
11406 | fail: | |
11407 | return NULL; | |
11408 | } | |
11409 | ||
11410 | ||
11411 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11412 | PyObject *resultobj; | |
11413 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11414 | wxString result; | |
11415 | PyObject * obj0 = 0 ; | |
11416 | char *kwnames[] = { | |
11417 | (char *) "self", NULL | |
11418 | }; | |
11419 | ||
11420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11421 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11422 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11423 | { |
11424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11425 | result = (arg1)->GetMessage(); | |
11426 | ||
11427 | wxPyEndAllowThreads(__tstate); | |
11428 | if (PyErr_Occurred()) SWIG_fail; | |
11429 | } | |
11430 | { | |
11431 | #if wxUSE_UNICODE | |
11432 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11433 | #else | |
11434 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11435 | #endif | |
11436 | } | |
11437 | return resultobj; | |
11438 | fail: | |
11439 | return NULL; | |
11440 | } | |
11441 | ||
11442 | ||
11443 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11444 | PyObject *resultobj; | |
11445 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11446 | long result; | |
11447 | PyObject * obj0 = 0 ; | |
11448 | char *kwnames[] = { | |
11449 | (char *) "self", NULL | |
11450 | }; | |
11451 | ||
11452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11455 | { |
11456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11457 | result = (long)(arg1)->GetStyle(); | |
11458 | ||
11459 | wxPyEndAllowThreads(__tstate); | |
11460 | if (PyErr_Occurred()) SWIG_fail; | |
11461 | } | |
15afbcd0 | 11462 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
11463 | return resultobj; |
11464 | fail: | |
11465 | return NULL; | |
11466 | } | |
11467 | ||
11468 | ||
11469 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11470 | PyObject *resultobj; | |
11471 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11472 | wxString *arg2 = 0 ; | |
e811c8ce | 11473 | bool temp2 = False ; |
d14a1e28 RD |
11474 | PyObject * obj0 = 0 ; |
11475 | PyObject * obj1 = 0 ; | |
11476 | char *kwnames[] = { | |
11477 | (char *) "self",(char *) "message", NULL | |
11478 | }; | |
11479 | ||
11480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11481 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11482 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11483 | { |
11484 | arg2 = wxString_in_helper(obj1); | |
11485 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11486 | temp2 = True; |
d14a1e28 RD |
11487 | } |
11488 | { | |
11489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11490 | (arg1)->SetMessage((wxString const &)*arg2); | |
11491 | ||
11492 | wxPyEndAllowThreads(__tstate); | |
11493 | if (PyErr_Occurred()) SWIG_fail; | |
11494 | } | |
11495 | Py_INCREF(Py_None); resultobj = Py_None; | |
11496 | { | |
11497 | if (temp2) | |
11498 | delete arg2; | |
11499 | } | |
11500 | return resultobj; | |
11501 | fail: | |
11502 | { | |
11503 | if (temp2) | |
11504 | delete arg2; | |
11505 | } | |
11506 | return NULL; | |
11507 | } | |
11508 | ||
11509 | ||
11510 | static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11511 | PyObject *resultobj; | |
11512 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11513 | wxString *arg2 = 0 ; | |
e811c8ce | 11514 | bool temp2 = False ; |
d14a1e28 RD |
11515 | PyObject * obj0 = 0 ; |
11516 | PyObject * obj1 = 0 ; | |
11517 | char *kwnames[] = { | |
11518 | (char *) "self",(char *) "path", NULL | |
11519 | }; | |
11520 | ||
11521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11522 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11523 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11524 | { |
11525 | arg2 = wxString_in_helper(obj1); | |
11526 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11527 | temp2 = True; |
d14a1e28 RD |
11528 | } |
11529 | { | |
11530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11531 | (arg1)->SetPath((wxString const &)*arg2); | |
11532 | ||
11533 | wxPyEndAllowThreads(__tstate); | |
11534 | if (PyErr_Occurred()) SWIG_fail; | |
11535 | } | |
11536 | Py_INCREF(Py_None); resultobj = Py_None; | |
11537 | { | |
11538 | if (temp2) | |
11539 | delete arg2; | |
11540 | } | |
11541 | return resultobj; | |
11542 | fail: | |
11543 | { | |
11544 | if (temp2) | |
11545 | delete arg2; | |
11546 | } | |
11547 | return NULL; | |
11548 | } | |
11549 | ||
11550 | ||
d14a1e28 RD |
11551 | static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) { |
11552 | PyObject *obj; | |
11553 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11554 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
11555 | Py_INCREF(obj); | |
11556 | return Py_BuildValue((char *)""); | |
11557 | } | |
11558 | static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11559 | PyObject *resultobj; | |
11560 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11561 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
11562 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11563 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11564 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11565 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11566 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11567 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
11568 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
11569 | long arg6 = (long) 0 ; | |
11570 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11571 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11572 | wxFileDialog *result; | |
e811c8ce RD |
11573 | bool temp2 = False ; |
11574 | bool temp3 = False ; | |
11575 | bool temp4 = False ; | |
11576 | bool temp5 = False ; | |
d14a1e28 RD |
11577 | wxPoint temp7 ; |
11578 | PyObject * obj0 = 0 ; | |
11579 | PyObject * obj1 = 0 ; | |
11580 | PyObject * obj2 = 0 ; | |
11581 | PyObject * obj3 = 0 ; | |
11582 | PyObject * obj4 = 0 ; | |
994141e6 | 11583 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
11584 | PyObject * obj6 = 0 ; |
11585 | char *kwnames[] = { | |
11586 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
11587 | }; | |
11588 | ||
994141e6 | 11589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
11590 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11591 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11592 | if (obj1) { |
11593 | { | |
11594 | arg2 = wxString_in_helper(obj1); | |
11595 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11596 | temp2 = True; |
d14a1e28 RD |
11597 | } |
11598 | } | |
11599 | if (obj2) { | |
11600 | { | |
11601 | arg3 = wxString_in_helper(obj2); | |
11602 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 11603 | temp3 = True; |
d14a1e28 RD |
11604 | } |
11605 | } | |
11606 | if (obj3) { | |
11607 | { | |
11608 | arg4 = wxString_in_helper(obj3); | |
11609 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 11610 | temp4 = True; |
d14a1e28 RD |
11611 | } |
11612 | } | |
11613 | if (obj4) { | |
11614 | { | |
11615 | arg5 = wxString_in_helper(obj4); | |
11616 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 11617 | temp5 = True; |
d14a1e28 RD |
11618 | } |
11619 | } | |
994141e6 | 11620 | if (obj5) { |
15afbcd0 RD |
11621 | arg6 = (long) SWIG_AsLong(obj5); |
11622 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 11623 | } |
d14a1e28 RD |
11624 | if (obj6) { |
11625 | { | |
11626 | arg7 = &temp7; | |
11627 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
11628 | } | |
11629 | } | |
11630 | { | |
11631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11632 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
11633 | ||
11634 | wxPyEndAllowThreads(__tstate); | |
11635 | if (PyErr_Occurred()) SWIG_fail; | |
11636 | } | |
15afbcd0 | 11637 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); |
d14a1e28 RD |
11638 | { |
11639 | if (temp2) | |
11640 | delete arg2; | |
11641 | } | |
11642 | { | |
11643 | if (temp3) | |
11644 | delete arg3; | |
11645 | } | |
11646 | { | |
11647 | if (temp4) | |
11648 | delete arg4; | |
11649 | } | |
11650 | { | |
11651 | if (temp5) | |
11652 | delete arg5; | |
11653 | } | |
11654 | return resultobj; | |
11655 | fail: | |
11656 | { | |
11657 | if (temp2) | |
11658 | delete arg2; | |
11659 | } | |
11660 | { | |
11661 | if (temp3) | |
11662 | delete arg3; | |
11663 | } | |
11664 | { | |
11665 | if (temp4) | |
11666 | delete arg4; | |
11667 | } | |
11668 | { | |
11669 | if (temp5) | |
11670 | delete arg5; | |
11671 | } | |
11672 | return NULL; | |
11673 | } | |
11674 | ||
11675 | ||
11676 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11677 | PyObject *resultobj; | |
11678 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11679 | wxString *arg2 = 0 ; | |
e811c8ce | 11680 | bool temp2 = False ; |
d14a1e28 RD |
11681 | PyObject * obj0 = 0 ; |
11682 | PyObject * obj1 = 0 ; | |
11683 | char *kwnames[] = { | |
11684 | (char *) "self",(char *) "message", NULL | |
11685 | }; | |
11686 | ||
11687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11688 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11690 | { |
11691 | arg2 = wxString_in_helper(obj1); | |
11692 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11693 | temp2 = True; |
d14a1e28 RD |
11694 | } |
11695 | { | |
11696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11697 | (arg1)->SetMessage((wxString const &)*arg2); | |
11698 | ||
11699 | wxPyEndAllowThreads(__tstate); | |
11700 | if (PyErr_Occurred()) SWIG_fail; | |
11701 | } | |
11702 | Py_INCREF(Py_None); resultobj = Py_None; | |
11703 | { | |
11704 | if (temp2) | |
11705 | delete arg2; | |
11706 | } | |
11707 | return resultobj; | |
11708 | fail: | |
11709 | { | |
11710 | if (temp2) | |
11711 | delete arg2; | |
11712 | } | |
11713 | return NULL; | |
11714 | } | |
11715 | ||
11716 | ||
11717 | static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11718 | PyObject *resultobj; | |
11719 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11720 | wxString *arg2 = 0 ; | |
e811c8ce | 11721 | bool temp2 = False ; |
d14a1e28 RD |
11722 | PyObject * obj0 = 0 ; |
11723 | PyObject * obj1 = 0 ; | |
11724 | char *kwnames[] = { | |
11725 | (char *) "self",(char *) "path", NULL | |
11726 | }; | |
11727 | ||
11728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11729 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11730 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11731 | { |
11732 | arg2 = wxString_in_helper(obj1); | |
11733 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11734 | temp2 = True; |
d14a1e28 RD |
11735 | } |
11736 | { | |
11737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11738 | (arg1)->SetPath((wxString const &)*arg2); | |
11739 | ||
11740 | wxPyEndAllowThreads(__tstate); | |
11741 | if (PyErr_Occurred()) SWIG_fail; | |
11742 | } | |
11743 | Py_INCREF(Py_None); resultobj = Py_None; | |
11744 | { | |
11745 | if (temp2) | |
11746 | delete arg2; | |
11747 | } | |
11748 | return resultobj; | |
11749 | fail: | |
11750 | { | |
11751 | if (temp2) | |
11752 | delete arg2; | |
11753 | } | |
11754 | return NULL; | |
11755 | } | |
11756 | ||
11757 | ||
11758 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11759 | PyObject *resultobj; | |
11760 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11761 | wxString *arg2 = 0 ; | |
e811c8ce | 11762 | bool temp2 = False ; |
d14a1e28 RD |
11763 | PyObject * obj0 = 0 ; |
11764 | PyObject * obj1 = 0 ; | |
11765 | char *kwnames[] = { | |
11766 | (char *) "self",(char *) "dir", NULL | |
11767 | }; | |
11768 | ||
11769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11770 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11771 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11772 | { |
11773 | arg2 = wxString_in_helper(obj1); | |
11774 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11775 | temp2 = True; |
d14a1e28 RD |
11776 | } |
11777 | { | |
11778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11779 | (arg1)->SetDirectory((wxString const &)*arg2); | |
11780 | ||
11781 | wxPyEndAllowThreads(__tstate); | |
11782 | if (PyErr_Occurred()) SWIG_fail; | |
11783 | } | |
11784 | Py_INCREF(Py_None); resultobj = Py_None; | |
11785 | { | |
11786 | if (temp2) | |
11787 | delete arg2; | |
11788 | } | |
11789 | return resultobj; | |
11790 | fail: | |
11791 | { | |
11792 | if (temp2) | |
11793 | delete arg2; | |
11794 | } | |
11795 | return NULL; | |
11796 | } | |
11797 | ||
11798 | ||
11799 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11800 | PyObject *resultobj; | |
11801 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11802 | wxString *arg2 = 0 ; | |
e811c8ce | 11803 | bool temp2 = False ; |
d14a1e28 RD |
11804 | PyObject * obj0 = 0 ; |
11805 | PyObject * obj1 = 0 ; | |
11806 | char *kwnames[] = { | |
11807 | (char *) "self",(char *) "name", NULL | |
11808 | }; | |
11809 | ||
11810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11811 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11812 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11813 | { |
11814 | arg2 = wxString_in_helper(obj1); | |
11815 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11816 | temp2 = True; |
d14a1e28 RD |
11817 | } |
11818 | { | |
11819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11820 | (arg1)->SetFilename((wxString const &)*arg2); | |
11821 | ||
11822 | wxPyEndAllowThreads(__tstate); | |
11823 | if (PyErr_Occurred()) SWIG_fail; | |
11824 | } | |
11825 | Py_INCREF(Py_None); resultobj = Py_None; | |
11826 | { | |
11827 | if (temp2) | |
11828 | delete arg2; | |
11829 | } | |
11830 | return resultobj; | |
11831 | fail: | |
11832 | { | |
11833 | if (temp2) | |
11834 | delete arg2; | |
11835 | } | |
11836 | return NULL; | |
11837 | } | |
11838 | ||
11839 | ||
11840 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11841 | PyObject *resultobj; | |
11842 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11843 | wxString *arg2 = 0 ; | |
e811c8ce | 11844 | bool temp2 = False ; |
d14a1e28 RD |
11845 | PyObject * obj0 = 0 ; |
11846 | PyObject * obj1 = 0 ; | |
11847 | char *kwnames[] = { | |
11848 | (char *) "self",(char *) "wildCard", NULL | |
11849 | }; | |
11850 | ||
11851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11852 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11853 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11854 | { |
11855 | arg2 = wxString_in_helper(obj1); | |
11856 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11857 | temp2 = True; |
d14a1e28 RD |
11858 | } |
11859 | { | |
11860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11861 | (arg1)->SetWildcard((wxString const &)*arg2); | |
11862 | ||
11863 | wxPyEndAllowThreads(__tstate); | |
11864 | if (PyErr_Occurred()) SWIG_fail; | |
11865 | } | |
11866 | Py_INCREF(Py_None); resultobj = Py_None; | |
11867 | { | |
11868 | if (temp2) | |
11869 | delete arg2; | |
11870 | } | |
11871 | return resultobj; | |
11872 | fail: | |
11873 | { | |
11874 | if (temp2) | |
11875 | delete arg2; | |
11876 | } | |
11877 | return NULL; | |
11878 | } | |
11879 | ||
11880 | ||
11881 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11882 | PyObject *resultobj; | |
11883 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11884 | long arg2 ; | |
11885 | PyObject * obj0 = 0 ; | |
994141e6 | 11886 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11887 | char *kwnames[] = { |
11888 | (char *) "self",(char *) "style", NULL | |
11889 | }; | |
11890 | ||
994141e6 | 11891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11892 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11893 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11894 | arg2 = (long) SWIG_AsLong(obj1); | |
11895 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11896 | { |
11897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11898 | (arg1)->SetStyle(arg2); | |
11899 | ||
11900 | wxPyEndAllowThreads(__tstate); | |
11901 | if (PyErr_Occurred()) SWIG_fail; | |
11902 | } | |
11903 | Py_INCREF(Py_None); resultobj = Py_None; | |
11904 | return resultobj; | |
11905 | fail: | |
11906 | return NULL; | |
11907 | } | |
11908 | ||
11909 | ||
11910 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11911 | PyObject *resultobj; | |
11912 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11913 | int arg2 ; | |
11914 | PyObject * obj0 = 0 ; | |
994141e6 | 11915 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11916 | char *kwnames[] = { |
11917 | (char *) "self",(char *) "filterIndex", NULL | |
11918 | }; | |
11919 | ||
994141e6 | 11920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11921 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11922 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11923 | arg2 = (int) SWIG_AsInt(obj1); | |
11924 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11925 | { |
11926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11927 | (arg1)->SetFilterIndex(arg2); | |
11928 | ||
11929 | wxPyEndAllowThreads(__tstate); | |
11930 | if (PyErr_Occurred()) SWIG_fail; | |
11931 | } | |
11932 | Py_INCREF(Py_None); resultobj = Py_None; | |
11933 | return resultobj; | |
11934 | fail: | |
11935 | return NULL; | |
11936 | } | |
11937 | ||
11938 | ||
11939 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11940 | PyObject *resultobj; | |
11941 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11942 | wxString result; | |
11943 | PyObject * obj0 = 0 ; | |
11944 | char *kwnames[] = { | |
11945 | (char *) "self", NULL | |
11946 | }; | |
11947 | ||
11948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11949 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11950 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11951 | { |
11952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11953 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
11954 | ||
11955 | wxPyEndAllowThreads(__tstate); | |
11956 | if (PyErr_Occurred()) SWIG_fail; | |
11957 | } | |
11958 | { | |
11959 | #if wxUSE_UNICODE | |
11960 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11961 | #else | |
11962 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11963 | #endif | |
11964 | } | |
11965 | return resultobj; | |
11966 | fail: | |
11967 | return NULL; | |
11968 | } | |
11969 | ||
11970 | ||
11971 | static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11972 | PyObject *resultobj; | |
11973 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11974 | wxString result; | |
11975 | PyObject * obj0 = 0 ; | |
11976 | char *kwnames[] = { | |
11977 | (char *) "self", NULL | |
11978 | }; | |
11979 | ||
11980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11983 | { |
11984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11985 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
11986 | ||
11987 | wxPyEndAllowThreads(__tstate); | |
11988 | if (PyErr_Occurred()) SWIG_fail; | |
11989 | } | |
11990 | { | |
11991 | #if wxUSE_UNICODE | |
11992 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11993 | #else | |
11994 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11995 | #endif | |
11996 | } | |
11997 | return resultobj; | |
11998 | fail: | |
11999 | return NULL; | |
12000 | } | |
12001 | ||
12002 | ||
12003 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12004 | PyObject *resultobj; | |
12005 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12006 | wxString result; | |
12007 | PyObject * obj0 = 0 ; | |
12008 | char *kwnames[] = { | |
12009 | (char *) "self", NULL | |
12010 | }; | |
12011 | ||
12012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12013 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12014 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12015 | { |
12016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12017 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
12018 | ||
12019 | wxPyEndAllowThreads(__tstate); | |
12020 | if (PyErr_Occurred()) SWIG_fail; | |
12021 | } | |
12022 | { | |
12023 | #if wxUSE_UNICODE | |
12024 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12025 | #else | |
12026 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12027 | #endif | |
12028 | } | |
12029 | return resultobj; | |
12030 | fail: | |
12031 | return NULL; | |
12032 | } | |
12033 | ||
12034 | ||
12035 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12036 | PyObject *resultobj; | |
12037 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12038 | wxString result; | |
12039 | PyObject * obj0 = 0 ; | |
12040 | char *kwnames[] = { | |
12041 | (char *) "self", NULL | |
12042 | }; | |
12043 | ||
12044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12045 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12046 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12047 | { |
12048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12049 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
12050 | ||
12051 | wxPyEndAllowThreads(__tstate); | |
12052 | if (PyErr_Occurred()) SWIG_fail; | |
12053 | } | |
12054 | { | |
12055 | #if wxUSE_UNICODE | |
12056 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12057 | #else | |
12058 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12059 | #endif | |
12060 | } | |
12061 | return resultobj; | |
12062 | fail: | |
12063 | return NULL; | |
12064 | } | |
12065 | ||
12066 | ||
12067 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12068 | PyObject *resultobj; | |
12069 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12070 | wxString result; | |
12071 | PyObject * obj0 = 0 ; | |
12072 | char *kwnames[] = { | |
12073 | (char *) "self", NULL | |
12074 | }; | |
12075 | ||
12076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12077 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12078 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12079 | { |
12080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12081 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
12082 | ||
12083 | wxPyEndAllowThreads(__tstate); | |
12084 | if (PyErr_Occurred()) SWIG_fail; | |
12085 | } | |
12086 | { | |
12087 | #if wxUSE_UNICODE | |
12088 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12089 | #else | |
12090 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12091 | #endif | |
12092 | } | |
12093 | return resultobj; | |
12094 | fail: | |
12095 | return NULL; | |
12096 | } | |
12097 | ||
12098 | ||
12099 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12100 | PyObject *resultobj; | |
12101 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12102 | long result; | |
12103 | PyObject * obj0 = 0 ; | |
12104 | char *kwnames[] = { | |
12105 | (char *) "self", NULL | |
12106 | }; | |
12107 | ||
12108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12109 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12110 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12111 | { |
12112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12113 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
12114 | ||
12115 | wxPyEndAllowThreads(__tstate); | |
12116 | if (PyErr_Occurred()) SWIG_fail; | |
12117 | } | |
15afbcd0 | 12118 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
12119 | return resultobj; |
12120 | fail: | |
12121 | return NULL; | |
12122 | } | |
12123 | ||
12124 | ||
12125 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12126 | PyObject *resultobj; | |
12127 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12128 | int result; | |
12129 | PyObject * obj0 = 0 ; | |
12130 | char *kwnames[] = { | |
12131 | (char *) "self", NULL | |
12132 | }; | |
12133 | ||
12134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12135 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12136 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12137 | { |
12138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12139 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
12140 | ||
12141 | wxPyEndAllowThreads(__tstate); | |
12142 | if (PyErr_Occurred()) SWIG_fail; | |
12143 | } | |
15afbcd0 | 12144 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
12145 | return resultobj; |
12146 | fail: | |
12147 | return NULL; | |
12148 | } | |
12149 | ||
12150 | ||
12151 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12152 | PyObject *resultobj; | |
12153 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12154 | PyObject *result; | |
12155 | PyObject * obj0 = 0 ; | |
12156 | char *kwnames[] = { | |
12157 | (char *) "self", NULL | |
12158 | }; | |
12159 | ||
12160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12161 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12162 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12163 | { |
12164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12165 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
12166 | ||
12167 | wxPyEndAllowThreads(__tstate); | |
12168 | if (PyErr_Occurred()) SWIG_fail; | |
12169 | } | |
12170 | resultobj = result; | |
12171 | return resultobj; | |
12172 | fail: | |
12173 | return NULL; | |
12174 | } | |
12175 | ||
12176 | ||
12177 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12178 | PyObject *resultobj; | |
12179 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12180 | PyObject *result; | |
12181 | PyObject * obj0 = 0 ; | |
12182 | char *kwnames[] = { | |
12183 | (char *) "self", NULL | |
12184 | }; | |
12185 | ||
12186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12187 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12188 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12189 | { |
12190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12191 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
12192 | ||
12193 | wxPyEndAllowThreads(__tstate); | |
12194 | if (PyErr_Occurred()) SWIG_fail; | |
12195 | } | |
12196 | resultobj = result; | |
12197 | return resultobj; | |
12198 | fail: | |
12199 | return NULL; | |
12200 | } | |
12201 | ||
12202 | ||
12203 | static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) { | |
12204 | PyObject *obj; | |
12205 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12206 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
12207 | Py_INCREF(obj); | |
12208 | return Py_BuildValue((char *)""); | |
12209 | } | |
12210 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12211 | PyObject *resultobj; | |
12212 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12213 | wxString *arg2 = 0 ; | |
12214 | wxString *arg3 = 0 ; | |
4d5c3d91 | 12215 | int arg4 = (int) 0 ; |
d14a1e28 RD |
12216 | wxString *arg5 = (wxString *) 0 ; |
12217 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12218 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12219 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12220 | wxMultiChoiceDialog *result; | |
e811c8ce RD |
12221 | bool temp2 = False ; |
12222 | bool temp3 = False ; | |
4d5c3d91 | 12223 | wxPoint temp6 ; |
d14a1e28 RD |
12224 | PyObject * obj0 = 0 ; |
12225 | PyObject * obj1 = 0 ; | |
12226 | PyObject * obj2 = 0 ; | |
994141e6 | 12227 | PyObject * obj3 = 0 ; |
d14a1e28 | 12228 | PyObject * obj4 = 0 ; |
994141e6 | 12229 | PyObject * obj5 = 0 ; |
d14a1e28 | 12230 | char *kwnames[] = { |
4d5c3d91 | 12231 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL |
d14a1e28 RD |
12232 | }; |
12233 | ||
4d5c3d91 | 12234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12235 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12236 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12237 | { |
12238 | arg2 = wxString_in_helper(obj1); | |
12239 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12240 | temp2 = True; |
d14a1e28 RD |
12241 | } |
12242 | { | |
12243 | arg3 = wxString_in_helper(obj2); | |
12244 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12245 | temp3 = True; |
d14a1e28 | 12246 | } |
4d5c3d91 RD |
12247 | if (obj3) { |
12248 | { | |
12249 | arg4 = PyList_Size(obj3); | |
12250 | arg5 = wxString_LIST_helper(obj3); | |
12251 | if (arg5 == NULL) SWIG_fail; | |
12252 | } | |
7eae615b | 12253 | } |
4d5c3d91 | 12254 | if (obj4) { |
15afbcd0 RD |
12255 | arg6 = (long) SWIG_AsLong(obj4); |
12256 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12257 | } |
4d5c3d91 | 12258 | if (obj5) { |
d14a1e28 | 12259 | { |
4d5c3d91 RD |
12260 | arg7 = &temp6; |
12261 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
d14a1e28 RD |
12262 | } |
12263 | } | |
12264 | { | |
12265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12266 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12267 | ||
12268 | wxPyEndAllowThreads(__tstate); | |
12269 | if (PyErr_Occurred()) SWIG_fail; | |
12270 | } | |
15afbcd0 | 12271 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); |
d14a1e28 RD |
12272 | { |
12273 | if (temp2) | |
12274 | delete arg2; | |
12275 | } | |
12276 | { | |
12277 | if (temp3) | |
12278 | delete arg3; | |
12279 | } | |
7eae615b | 12280 | { |
4d5c3d91 | 12281 | if (arg5) delete [] arg5; |
7eae615b | 12282 | } |
d14a1e28 RD |
12283 | return resultobj; |
12284 | fail: | |
12285 | { | |
12286 | if (temp2) | |
12287 | delete arg2; | |
12288 | } | |
12289 | { | |
12290 | if (temp3) | |
12291 | delete arg3; | |
12292 | } | |
7eae615b | 12293 | { |
4d5c3d91 | 12294 | if (arg5) delete [] arg5; |
7eae615b | 12295 | } |
d14a1e28 RD |
12296 | return NULL; |
12297 | } | |
12298 | ||
12299 | ||
12300 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12301 | PyObject *resultobj; | |
12302 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12303 | wxArrayInt *arg2 = 0 ; | |
3adfb63b | 12304 | bool temp2 = False ; |
d14a1e28 RD |
12305 | PyObject * obj0 = 0 ; |
12306 | PyObject * obj1 = 0 ; | |
12307 | char *kwnames[] = { | |
12308 | (char *) "self",(char *) "selections", NULL | |
12309 | }; | |
12310 | ||
12311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12312 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
12313 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12314 | { |
12315 | if (! PySequence_Check(obj1)) { | |
12316 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
12317 | SWIG_fail; | |
12318 | } | |
12319 | arg2 = new wxArrayInt; | |
3adfb63b | 12320 | temp2 = True; |
d14a1e28 RD |
12321 | int i, len=PySequence_Length(obj1); |
12322 | for (i=0; i<len; i++) { | |
12323 | PyObject* item = PySequence_GetItem(obj1, i); | |
12324 | PyObject* number = PyNumber_Int(item); | |
12325 | arg2->Add(PyInt_AS_LONG(number)); | |
12326 | Py_DECREF(item); | |
12327 | Py_DECREF(number); | |
12328 | } | |
12329 | } | |
12330 | { | |
12331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12332 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
12333 | ||
12334 | wxPyEndAllowThreads(__tstate); | |
12335 | if (PyErr_Occurred()) SWIG_fail; | |
12336 | } | |
12337 | Py_INCREF(Py_None); resultobj = Py_None; | |
12338 | { | |
3adfb63b | 12339 | if (temp2) delete arg2; |
d14a1e28 RD |
12340 | } |
12341 | return resultobj; | |
12342 | fail: | |
12343 | { | |
3adfb63b | 12344 | if (temp2) delete arg2; |
d14a1e28 RD |
12345 | } |
12346 | return NULL; | |
12347 | } | |
12348 | ||
12349 | ||
12350 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12351 | PyObject *resultobj; | |
12352 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12353 | PyObject *result; | |
12354 | PyObject * obj0 = 0 ; | |
12355 | char *kwnames[] = { | |
12356 | (char *) "self", NULL | |
12357 | }; | |
12358 | ||
12359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12360 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
12361 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12362 | { |
12363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12364 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
12365 | ||
12366 | wxPyEndAllowThreads(__tstate); | |
12367 | if (PyErr_Occurred()) SWIG_fail; | |
12368 | } | |
12369 | resultobj = result; | |
12370 | return resultobj; | |
12371 | fail: | |
12372 | return NULL; | |
12373 | } | |
12374 | ||
12375 | ||
12376 | static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) { | |
12377 | PyObject *obj; | |
12378 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12379 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
12380 | Py_INCREF(obj); | |
12381 | return Py_BuildValue((char *)""); | |
12382 | } | |
12383 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12384 | PyObject *resultobj; | |
12385 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12386 | wxString *arg2 = 0 ; | |
12387 | wxString *arg3 = 0 ; | |
12388 | int arg4 ; | |
12389 | wxString *arg5 = (wxString *) 0 ; | |
12390 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12391 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12392 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12393 | wxSingleChoiceDialog *result; | |
e811c8ce RD |
12394 | bool temp2 = False ; |
12395 | bool temp3 = False ; | |
d14a1e28 RD |
12396 | wxPoint temp6 ; |
12397 | PyObject * obj0 = 0 ; | |
12398 | PyObject * obj1 = 0 ; | |
12399 | PyObject * obj2 = 0 ; | |
12400 | PyObject * obj3 = 0 ; | |
994141e6 | 12401 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12402 | PyObject * obj5 = 0 ; |
12403 | char *kwnames[] = { | |
12404 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
12405 | }; | |
12406 | ||
994141e6 | 12407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12408 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12409 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12410 | { |
12411 | arg2 = wxString_in_helper(obj1); | |
12412 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12413 | temp2 = True; |
d14a1e28 RD |
12414 | } |
12415 | { | |
12416 | arg3 = wxString_in_helper(obj2); | |
12417 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12418 | temp3 = True; |
d14a1e28 RD |
12419 | } |
12420 | { | |
12421 | arg4 = PyList_Size(obj3); | |
12422 | arg5 = wxString_LIST_helper(obj3); | |
12423 | if (arg5 == NULL) SWIG_fail; | |
12424 | } | |
994141e6 | 12425 | if (obj4) { |
15afbcd0 RD |
12426 | arg6 = (long) SWIG_AsLong(obj4); |
12427 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12428 | } |
d14a1e28 RD |
12429 | if (obj5) { |
12430 | { | |
12431 | arg7 = &temp6; | |
12432 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
12433 | } | |
12434 | } | |
12435 | { | |
12436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12437 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12438 | ||
12439 | wxPyEndAllowThreads(__tstate); | |
12440 | if (PyErr_Occurred()) SWIG_fail; | |
12441 | } | |
15afbcd0 | 12442 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); |
d14a1e28 RD |
12443 | { |
12444 | if (temp2) | |
12445 | delete arg2; | |
12446 | } | |
12447 | { | |
12448 | if (temp3) | |
12449 | delete arg3; | |
12450 | } | |
12451 | { | |
12452 | if (arg5) delete [] arg5; | |
12453 | } | |
12454 | return resultobj; | |
12455 | fail: | |
12456 | { | |
12457 | if (temp2) | |
12458 | delete arg2; | |
12459 | } | |
12460 | { | |
12461 | if (temp3) | |
12462 | delete arg3; | |
12463 | } | |
12464 | { | |
12465 | if (arg5) delete [] arg5; | |
12466 | } | |
12467 | return NULL; | |
12468 | } | |
12469 | ||
12470 | ||
12471 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12472 | PyObject *resultobj; | |
12473 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12474 | int result; | |
12475 | PyObject * obj0 = 0 ; | |
12476 | char *kwnames[] = { | |
12477 | (char *) "self", NULL | |
12478 | }; | |
12479 | ||
12480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12481 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12482 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12483 | { |
12484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12485 | result = (int)(arg1)->GetSelection(); | |
12486 | ||
12487 | wxPyEndAllowThreads(__tstate); | |
12488 | if (PyErr_Occurred()) SWIG_fail; | |
12489 | } | |
15afbcd0 | 12490 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
12491 | return resultobj; |
12492 | fail: | |
12493 | return NULL; | |
12494 | } | |
12495 | ||
12496 | ||
12497 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12498 | PyObject *resultobj; | |
12499 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12500 | wxString result; | |
12501 | PyObject * obj0 = 0 ; | |
12502 | char *kwnames[] = { | |
12503 | (char *) "self", NULL | |
12504 | }; | |
12505 | ||
12506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12507 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12508 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12509 | { |
12510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12511 | result = (arg1)->GetStringSelection(); | |
12512 | ||
12513 | wxPyEndAllowThreads(__tstate); | |
12514 | if (PyErr_Occurred()) SWIG_fail; | |
12515 | } | |
12516 | { | |
12517 | #if wxUSE_UNICODE | |
12518 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12519 | #else | |
12520 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12521 | #endif | |
12522 | } | |
12523 | return resultobj; | |
12524 | fail: | |
12525 | return NULL; | |
12526 | } | |
12527 | ||
12528 | ||
12529 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12530 | PyObject *resultobj; | |
12531 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12532 | int arg2 ; | |
12533 | PyObject * obj0 = 0 ; | |
994141e6 | 12534 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12535 | char *kwnames[] = { |
12536 | (char *) "self",(char *) "sel", NULL | |
12537 | }; | |
12538 | ||
994141e6 | 12539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12540 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12541 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12542 | arg2 = (int) SWIG_AsInt(obj1); | |
12543 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12544 | { |
12545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12546 | (arg1)->SetSelection(arg2); | |
12547 | ||
12548 | wxPyEndAllowThreads(__tstate); | |
12549 | if (PyErr_Occurred()) SWIG_fail; | |
12550 | } | |
12551 | Py_INCREF(Py_None); resultobj = Py_None; | |
12552 | return resultobj; | |
12553 | fail: | |
12554 | return NULL; | |
12555 | } | |
12556 | ||
12557 | ||
d14a1e28 RD |
12558 | static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) { |
12559 | PyObject *obj; | |
12560 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12561 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
12562 | Py_INCREF(obj); | |
12563 | return Py_BuildValue((char *)""); | |
12564 | } | |
12565 | static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12566 | PyObject *resultobj; | |
12567 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12568 | wxString *arg2 = 0 ; | |
12569 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
12570 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12571 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12572 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12573 | long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
12574 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
12575 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
12576 | wxTextEntryDialog *result; | |
e811c8ce RD |
12577 | bool temp2 = False ; |
12578 | bool temp3 = False ; | |
12579 | bool temp4 = False ; | |
d14a1e28 RD |
12580 | wxPoint temp6 ; |
12581 | PyObject * obj0 = 0 ; | |
12582 | PyObject * obj1 = 0 ; | |
12583 | PyObject * obj2 = 0 ; | |
12584 | PyObject * obj3 = 0 ; | |
994141e6 | 12585 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12586 | PyObject * obj5 = 0 ; |
12587 | char *kwnames[] = { | |
12588 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
12589 | }; | |
12590 | ||
994141e6 | 12591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12592 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12593 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12594 | { |
12595 | arg2 = wxString_in_helper(obj1); | |
12596 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12597 | temp2 = True; |
d14a1e28 RD |
12598 | } |
12599 | if (obj2) { | |
12600 | { | |
12601 | arg3 = wxString_in_helper(obj2); | |
12602 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12603 | temp3 = True; |
d14a1e28 RD |
12604 | } |
12605 | } | |
12606 | if (obj3) { | |
12607 | { | |
12608 | arg4 = wxString_in_helper(obj3); | |
12609 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 12610 | temp4 = True; |
d14a1e28 RD |
12611 | } |
12612 | } | |
994141e6 | 12613 | if (obj4) { |
15afbcd0 RD |
12614 | arg5 = (long) SWIG_AsLong(obj4); |
12615 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12616 | } |
d14a1e28 RD |
12617 | if (obj5) { |
12618 | { | |
12619 | arg6 = &temp6; | |
12620 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
12621 | } | |
12622 | } | |
12623 | { | |
12624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12625 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
12626 | ||
12627 | wxPyEndAllowThreads(__tstate); | |
12628 | if (PyErr_Occurred()) SWIG_fail; | |
12629 | } | |
15afbcd0 | 12630 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); |
d14a1e28 RD |
12631 | { |
12632 | if (temp2) | |
12633 | delete arg2; | |
12634 | } | |
12635 | { | |
12636 | if (temp3) | |
12637 | delete arg3; | |
12638 | } | |
12639 | { | |
12640 | if (temp4) | |
12641 | delete arg4; | |
12642 | } | |
12643 | return resultobj; | |
12644 | fail: | |
12645 | { | |
12646 | if (temp2) | |
12647 | delete arg2; | |
12648 | } | |
12649 | { | |
12650 | if (temp3) | |
12651 | delete arg3; | |
12652 | } | |
12653 | { | |
12654 | if (temp4) | |
12655 | delete arg4; | |
12656 | } | |
12657 | return NULL; | |
12658 | } | |
12659 | ||
12660 | ||
12661 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12662 | PyObject *resultobj; | |
12663 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12664 | wxString result; | |
12665 | PyObject * obj0 = 0 ; | |
12666 | char *kwnames[] = { | |
12667 | (char *) "self", NULL | |
12668 | }; | |
12669 | ||
12670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) 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 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12675 | result = (arg1)->GetValue(); | |
12676 | ||
12677 | wxPyEndAllowThreads(__tstate); | |
12678 | if (PyErr_Occurred()) SWIG_fail; | |
12679 | } | |
12680 | { | |
12681 | #if wxUSE_UNICODE | |
12682 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12683 | #else | |
12684 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12685 | #endif | |
12686 | } | |
12687 | return resultobj; | |
12688 | fail: | |
12689 | return NULL; | |
12690 | } | |
12691 | ||
12692 | ||
12693 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12694 | PyObject *resultobj; | |
12695 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12696 | wxString *arg2 = 0 ; | |
e811c8ce | 12697 | bool temp2 = False ; |
d14a1e28 RD |
12698 | PyObject * obj0 = 0 ; |
12699 | PyObject * obj1 = 0 ; | |
12700 | char *kwnames[] = { | |
12701 | (char *) "self",(char *) "value", NULL | |
12702 | }; | |
12703 | ||
12704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12705 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
12706 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12707 | { |
12708 | arg2 = wxString_in_helper(obj1); | |
12709 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12710 | temp2 = True; |
d14a1e28 RD |
12711 | } |
12712 | { | |
12713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12714 | (arg1)->SetValue((wxString const &)*arg2); | |
12715 | ||
12716 | wxPyEndAllowThreads(__tstate); | |
12717 | if (PyErr_Occurred()) SWIG_fail; | |
12718 | } | |
12719 | Py_INCREF(Py_None); resultobj = Py_None; | |
12720 | { | |
12721 | if (temp2) | |
12722 | delete arg2; | |
12723 | } | |
12724 | return resultobj; | |
12725 | fail: | |
12726 | { | |
12727 | if (temp2) | |
12728 | delete arg2; | |
12729 | } | |
12730 | return NULL; | |
12731 | } | |
12732 | ||
12733 | ||
d14a1e28 RD |
12734 | static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) { |
12735 | PyObject *obj; | |
12736 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12737 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
12738 | Py_INCREF(obj); | |
12739 | return Py_BuildValue((char *)""); | |
12740 | } | |
12741 | static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12742 | PyObject *resultobj; | |
12743 | wxFontData *result; | |
12744 | char *kwnames[] = { | |
12745 | NULL | |
12746 | }; | |
12747 | ||
12748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
12749 | { | |
12750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12751 | result = (wxFontData *)new wxFontData(); | |
12752 | ||
12753 | wxPyEndAllowThreads(__tstate); | |
12754 | if (PyErr_Occurred()) SWIG_fail; | |
12755 | } | |
15afbcd0 | 12756 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); |
d14a1e28 RD |
12757 | return resultobj; |
12758 | fail: | |
12759 | return NULL; | |
12760 | } | |
12761 | ||
12762 | ||
12763 | static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12764 | PyObject *resultobj; | |
12765 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12766 | PyObject * obj0 = 0 ; | |
12767 | char *kwnames[] = { | |
12768 | (char *) "self", NULL | |
12769 | }; | |
12770 | ||
12771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12772 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12773 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12774 | { |
12775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12776 | delete arg1; | |
12777 | ||
12778 | wxPyEndAllowThreads(__tstate); | |
12779 | if (PyErr_Occurred()) SWIG_fail; | |
12780 | } | |
12781 | Py_INCREF(Py_None); resultobj = Py_None; | |
12782 | return resultobj; | |
12783 | fail: | |
12784 | return NULL; | |
12785 | } | |
12786 | ||
12787 | ||
12788 | static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12789 | PyObject *resultobj; | |
12790 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12791 | bool arg2 ; | |
12792 | PyObject * obj0 = 0 ; | |
12793 | PyObject * obj1 = 0 ; | |
12794 | char *kwnames[] = { | |
12795 | (char *) "self",(char *) "enable", NULL | |
12796 | }; | |
12797 | ||
12798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12799 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12800 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12801 | arg2 = (bool) SWIG_AsBool(obj1); | |
12802 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12803 | { |
12804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12805 | (arg1)->EnableEffects(arg2); | |
12806 | ||
12807 | wxPyEndAllowThreads(__tstate); | |
12808 | if (PyErr_Occurred()) SWIG_fail; | |
12809 | } | |
12810 | Py_INCREF(Py_None); resultobj = Py_None; | |
12811 | return resultobj; | |
12812 | fail: | |
12813 | return NULL; | |
12814 | } | |
12815 | ||
12816 | ||
12817 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12818 | PyObject *resultobj; | |
12819 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12820 | bool result; | |
12821 | PyObject * obj0 = 0 ; | |
12822 | char *kwnames[] = { | |
12823 | (char *) "self", NULL | |
12824 | }; | |
12825 | ||
12826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12827 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12828 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12829 | { |
12830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12831 | result = (bool)(arg1)->GetAllowSymbols(); | |
12832 | ||
12833 | wxPyEndAllowThreads(__tstate); | |
12834 | if (PyErr_Occurred()) SWIG_fail; | |
12835 | } | |
4f89f6a3 RD |
12836 | { |
12837 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12838 | } | |
d14a1e28 RD |
12839 | return resultobj; |
12840 | fail: | |
12841 | return NULL; | |
12842 | } | |
12843 | ||
12844 | ||
12845 | static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12846 | PyObject *resultobj; | |
12847 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12848 | wxColour result; | |
12849 | PyObject * obj0 = 0 ; | |
12850 | char *kwnames[] = { | |
12851 | (char *) "self", NULL | |
12852 | }; | |
12853 | ||
12854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12855 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12856 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12857 | { |
12858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12859 | result = (arg1)->GetColour(); | |
12860 | ||
12861 | wxPyEndAllowThreads(__tstate); | |
12862 | if (PyErr_Occurred()) SWIG_fail; | |
12863 | } | |
12864 | { | |
12865 | wxColour * resultptr; | |
12866 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 12867 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
12868 | } |
12869 | return resultobj; | |
12870 | fail: | |
12871 | return NULL; | |
12872 | } | |
12873 | ||
12874 | ||
12875 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12876 | PyObject *resultobj; | |
12877 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12878 | wxFont result; | |
12879 | PyObject * obj0 = 0 ; | |
12880 | char *kwnames[] = { | |
12881 | (char *) "self", NULL | |
12882 | }; | |
12883 | ||
12884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12885 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12886 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12887 | { |
12888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12889 | result = (arg1)->GetChosenFont(); | |
12890 | ||
12891 | wxPyEndAllowThreads(__tstate); | |
12892 | if (PyErr_Occurred()) SWIG_fail; | |
12893 | } | |
12894 | { | |
12895 | wxFont * resultptr; | |
12896 | resultptr = new wxFont((wxFont &) result); | |
15afbcd0 | 12897 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
12898 | } |
12899 | return resultobj; | |
12900 | fail: | |
12901 | return NULL; | |
12902 | } | |
12903 | ||
12904 | ||
12905 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12906 | PyObject *resultobj; | |
12907 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12908 | bool result; | |
12909 | PyObject * obj0 = 0 ; | |
12910 | char *kwnames[] = { | |
12911 | (char *) "self", NULL | |
12912 | }; | |
12913 | ||
12914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12915 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12916 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12917 | { |
12918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12919 | result = (bool)(arg1)->GetEnableEffects(); | |
12920 | ||
12921 | wxPyEndAllowThreads(__tstate); | |
12922 | if (PyErr_Occurred()) SWIG_fail; | |
12923 | } | |
4f89f6a3 RD |
12924 | { |
12925 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12926 | } | |
d14a1e28 RD |
12927 | return resultobj; |
12928 | fail: | |
12929 | return NULL; | |
12930 | } | |
12931 | ||
12932 | ||
12933 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12934 | PyObject *resultobj; | |
12935 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12936 | wxFont result; | |
12937 | PyObject * obj0 = 0 ; | |
12938 | char *kwnames[] = { | |
12939 | (char *) "self", NULL | |
12940 | }; | |
12941 | ||
12942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12945 | { |
12946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12947 | result = (arg1)->GetInitialFont(); | |
12948 | ||
12949 | wxPyEndAllowThreads(__tstate); | |
12950 | if (PyErr_Occurred()) SWIG_fail; | |
12951 | } | |
12952 | { | |
12953 | wxFont * resultptr; | |
12954 | resultptr = new wxFont((wxFont &) result); | |
15afbcd0 | 12955 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
12956 | } |
12957 | return resultobj; | |
12958 | fail: | |
12959 | return NULL; | |
12960 | } | |
12961 | ||
12962 | ||
12963 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12964 | PyObject *resultobj; | |
12965 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12966 | bool result; | |
12967 | PyObject * obj0 = 0 ; | |
12968 | char *kwnames[] = { | |
12969 | (char *) "self", NULL | |
12970 | }; | |
12971 | ||
12972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12973 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12974 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12975 | { |
12976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12977 | result = (bool)(arg1)->GetShowHelp(); | |
12978 | ||
12979 | wxPyEndAllowThreads(__tstate); | |
12980 | if (PyErr_Occurred()) SWIG_fail; | |
12981 | } | |
4f89f6a3 RD |
12982 | { |
12983 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12984 | } | |
d14a1e28 RD |
12985 | return resultobj; |
12986 | fail: | |
12987 | return NULL; | |
12988 | } | |
12989 | ||
12990 | ||
12991 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12992 | PyObject *resultobj; | |
12993 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12994 | bool arg2 ; | |
12995 | PyObject * obj0 = 0 ; | |
12996 | PyObject * obj1 = 0 ; | |
12997 | char *kwnames[] = { | |
12998 | (char *) "self",(char *) "allowSymbols", NULL | |
12999 | }; | |
13000 | ||
13001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13002 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13003 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13004 | arg2 = (bool) SWIG_AsBool(obj1); | |
13005 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13006 | { |
13007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13008 | (arg1)->SetAllowSymbols(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_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13021 | PyObject *resultobj; | |
13022 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13023 | wxFont *arg2 = 0 ; | |
13024 | PyObject * obj0 = 0 ; | |
13025 | PyObject * obj1 = 0 ; | |
13026 | char *kwnames[] = { | |
13027 | (char *) "self",(char *) "font", NULL | |
13028 | }; | |
13029 | ||
13030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13031 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13032 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13033 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
13034 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13035 | SWIG_fail; | |
d14a1e28 | 13036 | if (arg2 == NULL) { |
15afbcd0 RD |
13037 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13038 | SWIG_fail; | |
d14a1e28 RD |
13039 | } |
13040 | { | |
13041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13042 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
13043 | ||
13044 | wxPyEndAllowThreads(__tstate); | |
13045 | if (PyErr_Occurred()) SWIG_fail; | |
13046 | } | |
13047 | Py_INCREF(Py_None); resultobj = Py_None; | |
13048 | return resultobj; | |
13049 | fail: | |
13050 | return NULL; | |
13051 | } | |
13052 | ||
13053 | ||
13054 | static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13055 | PyObject *resultobj; | |
13056 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13057 | wxColour *arg2 = 0 ; | |
13058 | wxColour temp2 ; | |
13059 | PyObject * obj0 = 0 ; | |
13060 | PyObject * obj1 = 0 ; | |
13061 | char *kwnames[] = { | |
13062 | (char *) "self",(char *) "colour", NULL | |
13063 | }; | |
13064 | ||
13065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13066 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13067 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13068 | { |
13069 | arg2 = &temp2; | |
13070 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
13071 | } | |
13072 | { | |
13073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13074 | (arg1)->SetColour((wxColour 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_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13087 | PyObject *resultobj; | |
13088 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13089 | wxFont *arg2 = 0 ; | |
13090 | PyObject * obj0 = 0 ; | |
13091 | PyObject * obj1 = 0 ; | |
13092 | char *kwnames[] = { | |
13093 | (char *) "self",(char *) "font", NULL | |
13094 | }; | |
13095 | ||
13096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13097 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13098 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13099 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
13100 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13101 | SWIG_fail; | |
d14a1e28 | 13102 | if (arg2 == NULL) { |
15afbcd0 RD |
13103 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13104 | SWIG_fail; | |
d14a1e28 RD |
13105 | } |
13106 | { | |
13107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13108 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
13109 | ||
13110 | wxPyEndAllowThreads(__tstate); | |
13111 | if (PyErr_Occurred()) SWIG_fail; | |
13112 | } | |
13113 | Py_INCREF(Py_None); resultobj = Py_None; | |
13114 | return resultobj; | |
13115 | fail: | |
13116 | return NULL; | |
13117 | } | |
13118 | ||
13119 | ||
13120 | static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13121 | PyObject *resultobj; | |
13122 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13123 | int arg2 ; | |
13124 | int arg3 ; | |
13125 | PyObject * obj0 = 0 ; | |
994141e6 RD |
13126 | PyObject * obj1 = 0 ; |
13127 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
13128 | char *kwnames[] = { |
13129 | (char *) "self",(char *) "min",(char *) "max", NULL | |
13130 | }; | |
13131 | ||
994141e6 | 13132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
13133 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13134 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13135 | arg2 = (int) SWIG_AsInt(obj1); | |
13136 | if (PyErr_Occurred()) SWIG_fail; | |
13137 | arg3 = (int) SWIG_AsInt(obj2); | |
13138 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13139 | { |
13140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13141 | (arg1)->SetRange(arg2,arg3); | |
13142 | ||
13143 | wxPyEndAllowThreads(__tstate); | |
13144 | if (PyErr_Occurred()) SWIG_fail; | |
13145 | } | |
13146 | Py_INCREF(Py_None); resultobj = Py_None; | |
13147 | return resultobj; | |
13148 | fail: | |
13149 | return NULL; | |
13150 | } | |
13151 | ||
13152 | ||
13153 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13154 | PyObject *resultobj; | |
13155 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13156 | bool arg2 ; | |
13157 | PyObject * obj0 = 0 ; | |
13158 | PyObject * obj1 = 0 ; | |
13159 | char *kwnames[] = { | |
13160 | (char *) "self",(char *) "showHelp", NULL | |
13161 | }; | |
13162 | ||
13163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13164 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13165 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13166 | arg2 = (bool) SWIG_AsBool(obj1); | |
13167 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13168 | { |
13169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13170 | (arg1)->SetShowHelp(arg2); | |
13171 | ||
13172 | wxPyEndAllowThreads(__tstate); | |
13173 | if (PyErr_Occurred()) SWIG_fail; | |
13174 | } | |
13175 | Py_INCREF(Py_None); resultobj = Py_None; | |
13176 | return resultobj; | |
13177 | fail: | |
13178 | return NULL; | |
13179 | } | |
13180 | ||
13181 | ||
13182 | static PyObject * FontData_swigregister(PyObject *self, PyObject *args) { | |
13183 | PyObject *obj; | |
13184 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13185 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
13186 | Py_INCREF(obj); | |
13187 | return Py_BuildValue((char *)""); | |
13188 | } | |
15afbcd0 | 13189 | static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 13190 | PyObject *resultobj; |
e498079e RD |
13191 | wxWindow *arg1 = (wxWindow *) 0 ; |
13192 | wxFontData *arg2 = 0 ; | |
13193 | wxFontDialog *result; | |
d14a1e28 | 13194 | PyObject * obj0 = 0 ; |
e498079e | 13195 | PyObject * obj1 = 0 ; |
15afbcd0 RD |
13196 | char *kwnames[] = { |
13197 | (char *) "parent",(char *) "data", NULL | |
13198 | }; | |
d14a1e28 | 13199 | |
15afbcd0 RD |
13200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; |
13201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
13202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13203 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData, | |
13204 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13205 | SWIG_fail; | |
e498079e | 13206 | if (arg2 == NULL) { |
15afbcd0 RD |
13207 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13208 | SWIG_fail; | |
e498079e | 13209 | } |
d14a1e28 RD |
13210 | { |
13211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e498079e | 13212 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); |
d14a1e28 RD |
13213 | |
13214 | wxPyEndAllowThreads(__tstate); | |
13215 | if (PyErr_Occurred()) SWIG_fail; | |
13216 | } | |
15afbcd0 | 13217 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); |
d14a1e28 RD |
13218 | return resultobj; |
13219 | fail: | |
13220 | return NULL; | |
13221 | } | |
13222 | ||
13223 | ||
e498079e | 13224 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13225 | PyObject *resultobj; |
13226 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
e498079e | 13227 | wxFontData *result; |
d14a1e28 RD |
13228 | PyObject * obj0 = 0 ; |
13229 | char *kwnames[] = { | |
13230 | (char *) "self", NULL | |
13231 | }; | |
13232 | ||
e498079e | 13233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
13234 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog, |
13235 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13236 | { |
13237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e498079e RD |
13238 | { |
13239 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
13240 | result = (wxFontData *) &_result_ref; | |
13241 | } | |
d14a1e28 RD |
13242 | |
13243 | wxPyEndAllowThreads(__tstate); | |
13244 | if (PyErr_Occurred()) SWIG_fail; | |
13245 | } | |
15afbcd0 | 13246 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); |
d14a1e28 RD |
13247 | return resultobj; |
13248 | fail: | |
13249 | return NULL; | |
13250 | } | |
13251 | ||
13252 | ||
13253 | static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) { | |
13254 | PyObject *obj; | |
13255 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13256 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
13257 | Py_INCREF(obj); | |
13258 | return Py_BuildValue((char *)""); | |
13259 | } | |
13260 | static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13261 | PyObject *resultobj; | |
13262 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13263 | wxString *arg2 = 0 ; | |
13264 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
13265 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13266 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
13267 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13268 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13269 | wxMessageDialog *result; | |
e811c8ce RD |
13270 | bool temp2 = False ; |
13271 | bool temp3 = False ; | |
d14a1e28 RD |
13272 | wxPoint temp5 ; |
13273 | PyObject * obj0 = 0 ; | |
13274 | PyObject * obj1 = 0 ; | |
13275 | PyObject * obj2 = 0 ; | |
994141e6 | 13276 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13277 | PyObject * obj4 = 0 ; |
13278 | char *kwnames[] = { | |
13279 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
13280 | }; | |
13281 | ||
994141e6 | 13282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
13283 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
13284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13285 | { |
13286 | arg2 = wxString_in_helper(obj1); | |
13287 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13288 | temp2 = True; |
d14a1e28 RD |
13289 | } |
13290 | if (obj2) { | |
13291 | { | |
13292 | arg3 = wxString_in_helper(obj2); | |
13293 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 13294 | temp3 = True; |
d14a1e28 RD |
13295 | } |
13296 | } | |
994141e6 | 13297 | if (obj3) { |
15afbcd0 RD |
13298 | arg4 = (long) SWIG_AsLong(obj3); |
13299 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13300 | } |
d14a1e28 RD |
13301 | if (obj4) { |
13302 | { | |
13303 | arg5 = &temp5; | |
13304 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13305 | } | |
13306 | } | |
13307 | { | |
13308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13309 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
13310 | ||
13311 | wxPyEndAllowThreads(__tstate); | |
13312 | if (PyErr_Occurred()) SWIG_fail; | |
13313 | } | |
15afbcd0 | 13314 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); |
d14a1e28 RD |
13315 | { |
13316 | if (temp2) | |
13317 | delete arg2; | |
13318 | } | |
13319 | { | |
13320 | if (temp3) | |
13321 | delete arg3; | |
13322 | } | |
13323 | return resultobj; | |
13324 | fail: | |
13325 | { | |
13326 | if (temp2) | |
13327 | delete arg2; | |
13328 | } | |
13329 | { | |
13330 | if (temp3) | |
13331 | delete arg3; | |
13332 | } | |
13333 | return NULL; | |
13334 | } | |
13335 | ||
13336 | ||
d14a1e28 RD |
13337 | static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) { |
13338 | PyObject *obj; | |
13339 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13340 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
13341 | Py_INCREF(obj); | |
13342 | return Py_BuildValue((char *)""); | |
13343 | } | |
13344 | static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13345 | PyObject *resultobj; | |
13346 | wxString *arg1 = 0 ; | |
13347 | wxString *arg2 = 0 ; | |
13348 | int arg3 = (int) 100 ; | |
13349 | wxWindow *arg4 = (wxWindow *) NULL ; | |
13350 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
13351 | wxProgressDialog *result; | |
e811c8ce RD |
13352 | bool temp1 = False ; |
13353 | bool temp2 = False ; | |
d14a1e28 RD |
13354 | PyObject * obj0 = 0 ; |
13355 | PyObject * obj1 = 0 ; | |
994141e6 | 13356 | PyObject * obj2 = 0 ; |
d14a1e28 | 13357 | PyObject * obj3 = 0 ; |
994141e6 | 13358 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13359 | char *kwnames[] = { |
13360 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
13361 | }; | |
13362 | ||
994141e6 | 13363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
13364 | { |
13365 | arg1 = wxString_in_helper(obj0); | |
13366 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 13367 | temp1 = True; |
d14a1e28 RD |
13368 | } |
13369 | { | |
13370 | arg2 = wxString_in_helper(obj1); | |
13371 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13372 | temp2 = True; |
d14a1e28 | 13373 | } |
994141e6 | 13374 | if (obj2) { |
15afbcd0 RD |
13375 | arg3 = (int) SWIG_AsInt(obj2); |
13376 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13377 | } |
d14a1e28 | 13378 | if (obj3) { |
15afbcd0 RD |
13379 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, |
13380 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 13381 | } |
994141e6 | 13382 | if (obj4) { |
15afbcd0 RD |
13383 | arg5 = (int) SWIG_AsInt(obj4); |
13384 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13385 | } |
d14a1e28 RD |
13386 | { |
13387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13388 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
13389 | ||
13390 | wxPyEndAllowThreads(__tstate); | |
13391 | if (PyErr_Occurred()) SWIG_fail; | |
13392 | } | |
15afbcd0 | 13393 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); |
d14a1e28 RD |
13394 | { |
13395 | if (temp1) | |
13396 | delete arg1; | |
13397 | } | |
13398 | { | |
13399 | if (temp2) | |
13400 | delete arg2; | |
13401 | } | |
13402 | return resultobj; | |
13403 | fail: | |
13404 | { | |
13405 | if (temp1) | |
13406 | delete arg1; | |
13407 | } | |
13408 | { | |
13409 | if (temp2) | |
13410 | delete arg2; | |
13411 | } | |
13412 | return NULL; | |
13413 | } | |
13414 | ||
13415 | ||
13416 | static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13417 | PyObject *resultobj; | |
13418 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13419 | int arg2 ; | |
13420 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13421 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13422 | bool result; | |
e811c8ce | 13423 | bool temp3 = False ; |
d14a1e28 | 13424 | PyObject * obj0 = 0 ; |
994141e6 | 13425 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13426 | PyObject * obj2 = 0 ; |
13427 | char *kwnames[] = { | |
13428 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
13429 | }; | |
13430 | ||
994141e6 | 13431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
13432 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
13433 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13434 | arg2 = (int) SWIG_AsInt(obj1); | |
13435 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13436 | if (obj2) { |
13437 | { | |
13438 | arg3 = wxString_in_helper(obj2); | |
13439 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 13440 | temp3 = True; |
d14a1e28 RD |
13441 | } |
13442 | } | |
13443 | { | |
13444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13445 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
13446 | ||
13447 | wxPyEndAllowThreads(__tstate); | |
13448 | if (PyErr_Occurred()) SWIG_fail; | |
13449 | } | |
4f89f6a3 RD |
13450 | { |
13451 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13452 | } | |
d14a1e28 RD |
13453 | { |
13454 | if (temp3) | |
13455 | delete arg3; | |
13456 | } | |
13457 | return resultobj; | |
13458 | fail: | |
13459 | { | |
13460 | if (temp3) | |
13461 | delete arg3; | |
13462 | } | |
13463 | return NULL; | |
13464 | } | |
13465 | ||
13466 | ||
13467 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13468 | PyObject *resultobj; | |
13469 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13470 | PyObject * obj0 = 0 ; | |
13471 | char *kwnames[] = { | |
13472 | (char *) "self", NULL | |
13473 | }; | |
13474 | ||
13475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13476 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
13477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13478 | { |
13479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13480 | (arg1)->Resume(); | |
13481 | ||
13482 | wxPyEndAllowThreads(__tstate); | |
13483 | if (PyErr_Occurred()) SWIG_fail; | |
13484 | } | |
13485 | Py_INCREF(Py_None); resultobj = Py_None; | |
13486 | return resultobj; | |
13487 | fail: | |
13488 | return NULL; | |
13489 | } | |
13490 | ||
13491 | ||
13492 | static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) { | |
13493 | PyObject *obj; | |
13494 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13495 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
13496 | Py_INCREF(obj); | |
13497 | return Py_BuildValue((char *)""); | |
13498 | } | |
13499 | static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13500 | PyObject *resultobj; | |
13501 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
13502 | int arg2 = (int) 0 ; | |
13503 | wxFindDialogEvent *result; | |
994141e6 RD |
13504 | PyObject * obj0 = 0 ; |
13505 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
13506 | char *kwnames[] = { |
13507 | (char *) "commandType",(char *) "id", NULL | |
13508 | }; | |
13509 | ||
994141e6 RD |
13510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; |
13511 | if (obj0) { | |
15afbcd0 RD |
13512 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
13513 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
13514 | } |
13515 | if (obj1) { | |
15afbcd0 RD |
13516 | arg2 = (int) SWIG_AsInt(obj1); |
13517 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13518 | } |
d14a1e28 RD |
13519 | { |
13520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13521 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
13522 | ||
13523 | wxPyEndAllowThreads(__tstate); | |
13524 | if (PyErr_Occurred()) SWIG_fail; | |
13525 | } | |
15afbcd0 | 13526 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); |
d14a1e28 RD |
13527 | return resultobj; |
13528 | fail: | |
13529 | return NULL; | |
13530 | } | |
13531 | ||
13532 | ||
13533 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13534 | PyObject *resultobj; | |
13535 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13536 | int result; | |
13537 | PyObject * obj0 = 0 ; | |
13538 | char *kwnames[] = { | |
13539 | (char *) "self", NULL | |
13540 | }; | |
13541 | ||
13542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13543 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13544 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13545 | { |
13546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13547 | result = (int)(arg1)->GetFlags(); | |
13548 | ||
13549 | wxPyEndAllowThreads(__tstate); | |
13550 | if (PyErr_Occurred()) SWIG_fail; | |
13551 | } | |
15afbcd0 | 13552 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13553 | return resultobj; |
13554 | fail: | |
13555 | return NULL; | |
13556 | } | |
13557 | ||
13558 | ||
13559 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13560 | PyObject *resultobj; | |
13561 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
cc6dd355 | 13562 | wxString *result; |
d14a1e28 RD |
13563 | PyObject * obj0 = 0 ; |
13564 | char *kwnames[] = { | |
13565 | (char *) "self", NULL | |
13566 | }; | |
13567 | ||
13568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13569 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13570 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13571 | { |
13572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
cc6dd355 RD |
13573 | { |
13574 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13575 | result = (wxString *) &_result_ref; | |
13576 | } | |
d14a1e28 RD |
13577 | |
13578 | wxPyEndAllowThreads(__tstate); | |
13579 | if (PyErr_Occurred()) SWIG_fail; | |
13580 | } | |
13581 | { | |
13582 | #if wxUSE_UNICODE | |
cc6dd355 | 13583 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); |
d14a1e28 | 13584 | #else |
cc6dd355 | 13585 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); |
d14a1e28 RD |
13586 | #endif |
13587 | } | |
13588 | return resultobj; | |
13589 | fail: | |
13590 | return NULL; | |
13591 | } | |
13592 | ||
13593 | ||
13594 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13595 | PyObject *resultobj; | |
13596 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13597 | wxString *result; | |
13598 | PyObject * obj0 = 0 ; | |
13599 | char *kwnames[] = { | |
13600 | (char *) "self", NULL | |
13601 | }; | |
13602 | ||
13603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13604 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13605 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13606 | { |
13607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13608 | { | |
13609 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13610 | result = (wxString *) &_result_ref; | |
13611 | } | |
13612 | ||
13613 | wxPyEndAllowThreads(__tstate); | |
13614 | if (PyErr_Occurred()) SWIG_fail; | |
13615 | } | |
cc6dd355 RD |
13616 | { |
13617 | #if wxUSE_UNICODE | |
13618 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13619 | #else | |
13620 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13621 | #endif | |
13622 | } | |
d14a1e28 RD |
13623 | return resultobj; |
13624 | fail: | |
13625 | return NULL; | |
13626 | } | |
13627 | ||
13628 | ||
13629 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13630 | PyObject *resultobj; | |
13631 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13632 | wxFindReplaceDialog *result; | |
13633 | PyObject * obj0 = 0 ; | |
13634 | char *kwnames[] = { | |
13635 | (char *) "self", NULL | |
13636 | }; | |
13637 | ||
13638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13639 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13640 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13641 | { |
13642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13643 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
13644 | ||
13645 | wxPyEndAllowThreads(__tstate); | |
13646 | if (PyErr_Occurred()) SWIG_fail; | |
13647 | } | |
15afbcd0 | 13648 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); |
d14a1e28 RD |
13649 | return resultobj; |
13650 | fail: | |
13651 | return NULL; | |
13652 | } | |
13653 | ||
13654 | ||
13655 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13656 | PyObject *resultobj; | |
13657 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13658 | int arg2 ; | |
13659 | PyObject * obj0 = 0 ; | |
994141e6 | 13660 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13661 | char *kwnames[] = { |
13662 | (char *) "self",(char *) "flags", NULL | |
13663 | }; | |
13664 | ||
994141e6 | 13665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13666 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13667 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13668 | arg2 = (int) SWIG_AsInt(obj1); | |
13669 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13670 | { |
13671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13672 | (arg1)->SetFlags(arg2); | |
13673 | ||
13674 | wxPyEndAllowThreads(__tstate); | |
13675 | if (PyErr_Occurred()) SWIG_fail; | |
13676 | } | |
13677 | Py_INCREF(Py_None); resultobj = Py_None; | |
13678 | return resultobj; | |
13679 | fail: | |
13680 | return NULL; | |
13681 | } | |
13682 | ||
13683 | ||
13684 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13685 | PyObject *resultobj; | |
13686 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13687 | wxString *arg2 = 0 ; | |
e811c8ce | 13688 | bool temp2 = False ; |
d14a1e28 RD |
13689 | PyObject * obj0 = 0 ; |
13690 | PyObject * obj1 = 0 ; | |
13691 | char *kwnames[] = { | |
13692 | (char *) "self",(char *) "str", NULL | |
13693 | }; | |
13694 | ||
13695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13696 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13697 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13698 | { |
13699 | arg2 = wxString_in_helper(obj1); | |
13700 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13701 | temp2 = True; |
d14a1e28 RD |
13702 | } |
13703 | { | |
13704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13705 | (arg1)->SetFindString((wxString const &)*arg2); | |
13706 | ||
13707 | wxPyEndAllowThreads(__tstate); | |
13708 | if (PyErr_Occurred()) SWIG_fail; | |
13709 | } | |
13710 | Py_INCREF(Py_None); resultobj = Py_None; | |
13711 | { | |
13712 | if (temp2) | |
13713 | delete arg2; | |
13714 | } | |
13715 | return resultobj; | |
13716 | fail: | |
13717 | { | |
13718 | if (temp2) | |
13719 | delete arg2; | |
13720 | } | |
13721 | return NULL; | |
13722 | } | |
13723 | ||
13724 | ||
13725 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13726 | PyObject *resultobj; | |
13727 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13728 | wxString *arg2 = 0 ; | |
e811c8ce | 13729 | bool temp2 = False ; |
d14a1e28 RD |
13730 | PyObject * obj0 = 0 ; |
13731 | PyObject * obj1 = 0 ; | |
13732 | char *kwnames[] = { | |
13733 | (char *) "self",(char *) "str", NULL | |
13734 | }; | |
13735 | ||
13736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13737 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13738 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13739 | { |
13740 | arg2 = wxString_in_helper(obj1); | |
13741 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13742 | temp2 = True; |
d14a1e28 RD |
13743 | } |
13744 | { | |
13745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13746 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
13747 | ||
13748 | wxPyEndAllowThreads(__tstate); | |
13749 | if (PyErr_Occurred()) SWIG_fail; | |
13750 | } | |
13751 | Py_INCREF(Py_None); resultobj = Py_None; | |
13752 | { | |
13753 | if (temp2) | |
13754 | delete arg2; | |
13755 | } | |
13756 | return resultobj; | |
13757 | fail: | |
13758 | { | |
13759 | if (temp2) | |
13760 | delete arg2; | |
13761 | } | |
13762 | return NULL; | |
13763 | } | |
13764 | ||
13765 | ||
13766 | static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) { | |
13767 | PyObject *obj; | |
13768 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13769 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
13770 | Py_INCREF(obj); | |
13771 | return Py_BuildValue((char *)""); | |
13772 | } | |
13773 | static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13774 | PyObject *resultobj; | |
13775 | int arg1 = (int) 0 ; | |
13776 | wxFindReplaceData *result; | |
994141e6 | 13777 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
13778 | char *kwnames[] = { |
13779 | (char *) "flags", NULL | |
13780 | }; | |
13781 | ||
994141e6 RD |
13782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; |
13783 | if (obj0) { | |
15afbcd0 RD |
13784 | arg1 = (int) SWIG_AsInt(obj0); |
13785 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13786 | } |
d14a1e28 RD |
13787 | { |
13788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13789 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
13790 | ||
13791 | wxPyEndAllowThreads(__tstate); | |
13792 | if (PyErr_Occurred()) SWIG_fail; | |
13793 | } | |
15afbcd0 | 13794 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); |
d14a1e28 RD |
13795 | return resultobj; |
13796 | fail: | |
13797 | return NULL; | |
13798 | } | |
13799 | ||
13800 | ||
13801 | static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13802 | PyObject *resultobj; | |
13803 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13804 | PyObject * obj0 = 0 ; | |
13805 | char *kwnames[] = { | |
13806 | (char *) "self", NULL | |
13807 | }; | |
13808 | ||
13809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13810 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13811 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13812 | { |
13813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13814 | delete arg1; | |
13815 | ||
13816 | wxPyEndAllowThreads(__tstate); | |
13817 | if (PyErr_Occurred()) SWIG_fail; | |
13818 | } | |
13819 | Py_INCREF(Py_None); resultobj = Py_None; | |
13820 | return resultobj; | |
13821 | fail: | |
13822 | return NULL; | |
13823 | } | |
13824 | ||
13825 | ||
13826 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13827 | PyObject *resultobj; | |
13828 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13829 | wxString *result; | |
13830 | PyObject * obj0 = 0 ; | |
13831 | char *kwnames[] = { | |
13832 | (char *) "self", NULL | |
13833 | }; | |
13834 | ||
13835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13836 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13837 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13838 | { |
13839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13840 | { | |
13841 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13842 | result = (wxString *) &_result_ref; | |
13843 | } | |
13844 | ||
13845 | wxPyEndAllowThreads(__tstate); | |
13846 | if (PyErr_Occurred()) SWIG_fail; | |
13847 | } | |
cc6dd355 RD |
13848 | { |
13849 | #if wxUSE_UNICODE | |
13850 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13851 | #else | |
13852 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13853 | #endif | |
13854 | } | |
d14a1e28 RD |
13855 | return resultobj; |
13856 | fail: | |
13857 | return NULL; | |
13858 | } | |
13859 | ||
13860 | ||
13861 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13862 | PyObject *resultobj; | |
13863 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13864 | wxString *result; | |
13865 | PyObject * obj0 = 0 ; | |
13866 | char *kwnames[] = { | |
13867 | (char *) "self", NULL | |
13868 | }; | |
13869 | ||
13870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13871 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13872 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13873 | { |
13874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13875 | { | |
13876 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13877 | result = (wxString *) &_result_ref; | |
13878 | } | |
13879 | ||
13880 | wxPyEndAllowThreads(__tstate); | |
13881 | if (PyErr_Occurred()) SWIG_fail; | |
13882 | } | |
cc6dd355 RD |
13883 | { |
13884 | #if wxUSE_UNICODE | |
13885 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13886 | #else | |
13887 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13888 | #endif | |
13889 | } | |
d14a1e28 RD |
13890 | return resultobj; |
13891 | fail: | |
13892 | return NULL; | |
13893 | } | |
13894 | ||
13895 | ||
13896 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13897 | PyObject *resultobj; | |
13898 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13899 | int result; | |
13900 | PyObject * obj0 = 0 ; | |
13901 | char *kwnames[] = { | |
13902 | (char *) "self", NULL | |
13903 | }; | |
13904 | ||
13905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13906 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13907 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13908 | { |
13909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13910 | result = (int)(arg1)->GetFlags(); | |
13911 | ||
13912 | wxPyEndAllowThreads(__tstate); | |
13913 | if (PyErr_Occurred()) SWIG_fail; | |
13914 | } | |
15afbcd0 | 13915 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13916 | return resultobj; |
13917 | fail: | |
13918 | return NULL; | |
13919 | } | |
13920 | ||
13921 | ||
13922 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13923 | PyObject *resultobj; | |
13924 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13925 | int arg2 ; | |
13926 | PyObject * obj0 = 0 ; | |
994141e6 | 13927 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13928 | char *kwnames[] = { |
13929 | (char *) "self",(char *) "flags", NULL | |
13930 | }; | |
13931 | ||
994141e6 | 13932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13933 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13934 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13935 | arg2 = (int) SWIG_AsInt(obj1); | |
13936 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13937 | { |
13938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13939 | (arg1)->SetFlags(arg2); | |
13940 | ||
13941 | wxPyEndAllowThreads(__tstate); | |
13942 | if (PyErr_Occurred()) SWIG_fail; | |
13943 | } | |
13944 | Py_INCREF(Py_None); resultobj = Py_None; | |
13945 | return resultobj; | |
13946 | fail: | |
13947 | return NULL; | |
13948 | } | |
13949 | ||
13950 | ||
13951 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13952 | PyObject *resultobj; | |
13953 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13954 | wxString *arg2 = 0 ; | |
e811c8ce | 13955 | bool temp2 = False ; |
d14a1e28 RD |
13956 | PyObject * obj0 = 0 ; |
13957 | PyObject * obj1 = 0 ; | |
13958 | char *kwnames[] = { | |
13959 | (char *) "self",(char *) "str", NULL | |
13960 | }; | |
13961 | ||
13962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13963 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13965 | { |
13966 | arg2 = wxString_in_helper(obj1); | |
13967 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13968 | temp2 = True; |
d14a1e28 RD |
13969 | } |
13970 | { | |
13971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13972 | (arg1)->SetFindString((wxString const &)*arg2); | |
13973 | ||
13974 | wxPyEndAllowThreads(__tstate); | |
13975 | if (PyErr_Occurred()) SWIG_fail; | |
13976 | } | |
13977 | Py_INCREF(Py_None); resultobj = Py_None; | |
13978 | { | |
13979 | if (temp2) | |
13980 | delete arg2; | |
13981 | } | |
13982 | return resultobj; | |
13983 | fail: | |
13984 | { | |
13985 | if (temp2) | |
13986 | delete arg2; | |
13987 | } | |
13988 | return NULL; | |
13989 | } | |
13990 | ||
13991 | ||
13992 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13993 | PyObject *resultobj; | |
13994 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13995 | wxString *arg2 = 0 ; | |
e811c8ce | 13996 | bool temp2 = False ; |
d14a1e28 RD |
13997 | PyObject * obj0 = 0 ; |
13998 | PyObject * obj1 = 0 ; | |
13999 | char *kwnames[] = { | |
14000 | (char *) "self",(char *) "str", NULL | |
14001 | }; | |
14002 | ||
14003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14004 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14005 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14006 | { |
14007 | arg2 = wxString_in_helper(obj1); | |
14008 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 14009 | temp2 = True; |
d14a1e28 RD |
14010 | } |
14011 | { | |
14012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14013 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
14014 | ||
14015 | wxPyEndAllowThreads(__tstate); | |
14016 | if (PyErr_Occurred()) SWIG_fail; | |
14017 | } | |
14018 | Py_INCREF(Py_None); resultobj = Py_None; | |
14019 | { | |
14020 | if (temp2) | |
14021 | delete arg2; | |
14022 | } | |
14023 | return resultobj; | |
14024 | fail: | |
14025 | { | |
14026 | if (temp2) | |
14027 | delete arg2; | |
14028 | } | |
14029 | return NULL; | |
14030 | } | |
14031 | ||
14032 | ||
14033 | static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) { | |
14034 | PyObject *obj; | |
14035 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14036 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
14037 | Py_INCREF(obj); | |
14038 | return Py_BuildValue((char *)""); | |
14039 | } | |
14040 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14041 | PyObject *resultobj; | |
14042 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14043 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14044 | wxString *arg3 = 0 ; | |
14045 | int arg4 = (int) 0 ; | |
14046 | wxFindReplaceDialog *result; | |
e811c8ce | 14047 | bool temp3 = False ; |
d14a1e28 RD |
14048 | PyObject * obj0 = 0 ; |
14049 | PyObject * obj1 = 0 ; | |
14050 | PyObject * obj2 = 0 ; | |
994141e6 | 14051 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
14052 | char *kwnames[] = { |
14053 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14054 | }; | |
14055 | ||
994141e6 | 14056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
14057 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14058 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14059 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
14060 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14061 | { |
14062 | arg3 = wxString_in_helper(obj2); | |
14063 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 14064 | temp3 = True; |
d14a1e28 | 14065 | } |
994141e6 | 14066 | if (obj3) { |
15afbcd0 RD |
14067 | arg4 = (int) SWIG_AsInt(obj3); |
14068 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14069 | } |
d14a1e28 RD |
14070 | { |
14071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14072 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
14073 | ||
14074 | wxPyEndAllowThreads(__tstate); | |
14075 | if (PyErr_Occurred()) SWIG_fail; | |
14076 | } | |
15afbcd0 | 14077 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
14078 | { |
14079 | if (temp3) | |
14080 | delete arg3; | |
14081 | } | |
14082 | return resultobj; | |
14083 | fail: | |
14084 | { | |
14085 | if (temp3) | |
14086 | delete arg3; | |
14087 | } | |
14088 | return NULL; | |
14089 | } | |
14090 | ||
14091 | ||
14092 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14093 | PyObject *resultobj; | |
14094 | wxFindReplaceDialog *result; | |
14095 | char *kwnames[] = { | |
14096 | NULL | |
14097 | }; | |
14098 | ||
14099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
14100 | { | |
14101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14102 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
14103 | ||
14104 | wxPyEndAllowThreads(__tstate); | |
14105 | if (PyErr_Occurred()) SWIG_fail; | |
14106 | } | |
15afbcd0 | 14107 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
14108 | return resultobj; |
14109 | fail: | |
14110 | return NULL; | |
14111 | } | |
14112 | ||
14113 | ||
14114 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14115 | PyObject *resultobj; | |
14116 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14117 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14118 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
14119 | wxString *arg4 = 0 ; | |
14120 | int arg5 = (int) 0 ; | |
14121 | bool result; | |
e811c8ce | 14122 | bool temp4 = False ; |
d14a1e28 RD |
14123 | PyObject * obj0 = 0 ; |
14124 | PyObject * obj1 = 0 ; | |
14125 | PyObject * obj2 = 0 ; | |
14126 | PyObject * obj3 = 0 ; | |
994141e6 | 14127 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
14128 | char *kwnames[] = { |
14129 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14130 | }; | |
14131 | ||
994141e6 | 14132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
14133 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14134 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14135 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14136 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14137 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData, | |
14138 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14139 | { |
14140 | arg4 = wxString_in_helper(obj3); | |
14141 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 14142 | temp4 = True; |
d14a1e28 | 14143 | } |
994141e6 | 14144 | if (obj4) { |
15afbcd0 RD |
14145 | arg5 = (int) SWIG_AsInt(obj4); |
14146 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14147 | } |
d14a1e28 RD |
14148 | { |
14149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14150 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
14151 | ||
14152 | wxPyEndAllowThreads(__tstate); | |
14153 | if (PyErr_Occurred()) SWIG_fail; | |
14154 | } | |
4f89f6a3 RD |
14155 | { |
14156 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14157 | } | |
d14a1e28 RD |
14158 | { |
14159 | if (temp4) | |
14160 | delete arg4; | |
14161 | } | |
14162 | return resultobj; | |
14163 | fail: | |
14164 | { | |
14165 | if (temp4) | |
14166 | delete arg4; | |
14167 | } | |
14168 | return NULL; | |
14169 | } | |
14170 | ||
14171 | ||
14172 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14173 | PyObject *resultobj; | |
14174 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14175 | wxFindReplaceData *result; | |
14176 | PyObject * obj0 = 0 ; | |
14177 | char *kwnames[] = { | |
14178 | (char *) "self", NULL | |
14179 | }; | |
14180 | ||
14181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14182 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14183 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14184 | { |
14185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14186 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
14187 | ||
14188 | wxPyEndAllowThreads(__tstate); | |
14189 | if (PyErr_Occurred()) SWIG_fail; | |
14190 | } | |
15afbcd0 | 14191 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); |
d14a1e28 RD |
14192 | return resultobj; |
14193 | fail: | |
14194 | return NULL; | |
14195 | } | |
14196 | ||
14197 | ||
14198 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14199 | PyObject *resultobj; | |
14200 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14201 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14202 | PyObject * obj0 = 0 ; | |
14203 | PyObject * obj1 = 0 ; | |
14204 | char *kwnames[] = { | |
14205 | (char *) "self",(char *) "data", NULL | |
14206 | }; | |
14207 | ||
14208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14209 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14210 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14211 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
14212 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14213 | { |
14214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14215 | (arg1)->SetData(arg2); | |
14216 | ||
14217 | wxPyEndAllowThreads(__tstate); | |
14218 | if (PyErr_Occurred()) SWIG_fail; | |
14219 | } | |
14220 | Py_INCREF(Py_None); resultobj = Py_None; | |
14221 | return resultobj; | |
14222 | fail: | |
14223 | return NULL; | |
14224 | } | |
14225 | ||
14226 | ||
14227 | static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) { | |
14228 | PyObject *obj; | |
14229 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14230 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
14231 | Py_INCREF(obj); | |
14232 | return Py_BuildValue((char *)""); | |
14233 | } | |
14234 | static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14235 | PyObject *resultobj; | |
14236 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 14237 | int arg2 ; |
d14a1e28 RD |
14238 | wxString *arg3 = 0 ; |
14239 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14240 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14241 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14242 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14243 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14244 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14245 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14246 | wxMDIParentFrame *result; | |
e811c8ce | 14247 | bool temp3 = False ; |
d14a1e28 RD |
14248 | wxPoint temp4 ; |
14249 | wxSize temp5 ; | |
e811c8ce | 14250 | bool temp7 = False ; |
d14a1e28 | 14251 | PyObject * obj0 = 0 ; |
994141e6 | 14252 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14253 | PyObject * obj2 = 0 ; |
14254 | PyObject * obj3 = 0 ; | |
14255 | PyObject * obj4 = 0 ; | |
994141e6 | 14256 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14257 | PyObject * obj6 = 0 ; |
14258 | char *kwnames[] = { | |
14259 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14260 | }; | |
14261 | ||
994141e6 | 14262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
14263 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14264 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14265 | arg2 = (int const) SWIG_AsInt(obj1); | |
14266 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14267 | { |
14268 | arg3 = wxString_in_helper(obj2); | |
14269 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 14270 | temp3 = True; |
d14a1e28 RD |
14271 | } |
14272 | if (obj3) { | |
14273 | { | |
14274 | arg4 = &temp4; | |
14275 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14276 | } | |
14277 | } | |
14278 | if (obj4) { | |
14279 | { | |
14280 | arg5 = &temp5; | |
14281 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14282 | } | |
14283 | } | |
994141e6 | 14284 | if (obj5) { |
15afbcd0 RD |
14285 | arg6 = (long) SWIG_AsLong(obj5); |
14286 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14287 | } |
d14a1e28 RD |
14288 | if (obj6) { |
14289 | { | |
14290 | arg7 = wxString_in_helper(obj6); | |
14291 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 14292 | temp7 = True; |
d14a1e28 RD |
14293 | } |
14294 | } | |
14295 | { | |
14296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14297 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14298 | ||
14299 | wxPyEndAllowThreads(__tstate); | |
14300 | if (PyErr_Occurred()) SWIG_fail; | |
14301 | } | |
15afbcd0 | 14302 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
14303 | { |
14304 | if (temp3) | |
14305 | delete arg3; | |
14306 | } | |
14307 | { | |
14308 | if (temp7) | |
14309 | delete arg7; | |
14310 | } | |
14311 | return resultobj; | |
14312 | fail: | |
14313 | { | |
14314 | if (temp3) | |
14315 | delete arg3; | |
14316 | } | |
14317 | { | |
14318 | if (temp7) | |
14319 | delete arg7; | |
14320 | } | |
14321 | return NULL; | |
14322 | } | |
14323 | ||
14324 | ||
14325 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14326 | PyObject *resultobj; | |
14327 | wxMDIParentFrame *result; | |
14328 | char *kwnames[] = { | |
14329 | NULL | |
14330 | }; | |
14331 | ||
14332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
14333 | { | |
14334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14335 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
14336 | ||
14337 | wxPyEndAllowThreads(__tstate); | |
14338 | if (PyErr_Occurred()) SWIG_fail; | |
14339 | } | |
15afbcd0 | 14340 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
14341 | return resultobj; |
14342 | fail: | |
14343 | return NULL; | |
14344 | } | |
14345 | ||
14346 | ||
14347 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14348 | PyObject *resultobj; | |
14349 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14350 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 14351 | int arg3 ; |
d14a1e28 RD |
14352 | wxString *arg4 = 0 ; |
14353 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14354 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14355 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14356 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14357 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14358 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14359 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14360 | bool result; | |
e811c8ce | 14361 | bool temp4 = False ; |
d14a1e28 RD |
14362 | wxPoint temp5 ; |
14363 | wxSize temp6 ; | |
e811c8ce | 14364 | bool temp8 = False ; |
d14a1e28 RD |
14365 | PyObject * obj0 = 0 ; |
14366 | PyObject * obj1 = 0 ; | |
994141e6 | 14367 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14368 | PyObject * obj3 = 0 ; |
14369 | PyObject * obj4 = 0 ; | |
14370 | PyObject * obj5 = 0 ; | |
994141e6 | 14371 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14372 | PyObject * obj7 = 0 ; |
14373 | char *kwnames[] = { | |
14374 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14375 | }; | |
14376 | ||
994141e6 | 14377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
14378 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14379 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14380 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14382 | arg3 = (int const) SWIG_AsInt(obj2); | |
14383 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14384 | { |
14385 | arg4 = wxString_in_helper(obj3); | |
14386 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 14387 | temp4 = True; |
d14a1e28 RD |
14388 | } |
14389 | if (obj4) { | |
14390 | { | |
14391 | arg5 = &temp5; | |
14392 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14393 | } | |
14394 | } | |
14395 | if (obj5) { | |
14396 | { | |
14397 | arg6 = &temp6; | |
14398 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14399 | } | |
14400 | } | |
994141e6 | 14401 | if (obj6) { |
15afbcd0 RD |
14402 | arg7 = (long) SWIG_AsLong(obj6); |
14403 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14404 | } |
d14a1e28 RD |
14405 | if (obj7) { |
14406 | { | |
14407 | arg8 = wxString_in_helper(obj7); | |
14408 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 14409 | temp8 = True; |
d14a1e28 RD |
14410 | } |
14411 | } | |
14412 | { | |
14413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14414 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14415 | ||
14416 | wxPyEndAllowThreads(__tstate); | |
14417 | if (PyErr_Occurred()) SWIG_fail; | |
14418 | } | |
4f89f6a3 RD |
14419 | { |
14420 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14421 | } | |
d14a1e28 RD |
14422 | { |
14423 | if (temp4) | |
14424 | delete arg4; | |
14425 | } | |
14426 | { | |
14427 | if (temp8) | |
14428 | delete arg8; | |
14429 | } | |
14430 | return resultobj; | |
14431 | fail: | |
14432 | { | |
14433 | if (temp4) | |
14434 | delete arg4; | |
14435 | } | |
14436 | { | |
14437 | if (temp8) | |
14438 | delete arg8; | |
14439 | } | |
14440 | return NULL; | |
14441 | } | |
14442 | ||
14443 | ||
14444 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14445 | PyObject *resultobj; | |
14446 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14447 | PyObject * obj0 = 0 ; | |
14448 | char *kwnames[] = { | |
14449 | (char *) "self", NULL | |
14450 | }; | |
14451 | ||
14452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14455 | { |
14456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14457 | (arg1)->ActivateNext(); | |
14458 | ||
14459 | wxPyEndAllowThreads(__tstate); | |
14460 | if (PyErr_Occurred()) SWIG_fail; | |
14461 | } | |
14462 | Py_INCREF(Py_None); resultobj = Py_None; | |
14463 | return resultobj; | |
14464 | fail: | |
14465 | return NULL; | |
14466 | } | |
14467 | ||
14468 | ||
14469 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14470 | PyObject *resultobj; | |
14471 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14472 | PyObject * obj0 = 0 ; | |
14473 | char *kwnames[] = { | |
14474 | (char *) "self", NULL | |
14475 | }; | |
14476 | ||
14477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14478 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14479 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14480 | { |
14481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14482 | (arg1)->ActivatePrevious(); | |
14483 | ||
14484 | wxPyEndAllowThreads(__tstate); | |
14485 | if (PyErr_Occurred()) SWIG_fail; | |
14486 | } | |
14487 | Py_INCREF(Py_None); resultobj = Py_None; | |
14488 | return resultobj; | |
14489 | fail: | |
14490 | return NULL; | |
14491 | } | |
14492 | ||
14493 | ||
14494 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14495 | PyObject *resultobj; | |
14496 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14497 | PyObject * obj0 = 0 ; | |
14498 | char *kwnames[] = { | |
14499 | (char *) "self", NULL | |
14500 | }; | |
14501 | ||
14502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14505 | { |
14506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14507 | (arg1)->ArrangeIcons(); | |
14508 | ||
14509 | wxPyEndAllowThreads(__tstate); | |
14510 | if (PyErr_Occurred()) SWIG_fail; | |
14511 | } | |
14512 | Py_INCREF(Py_None); resultobj = Py_None; | |
14513 | return resultobj; | |
14514 | fail: | |
14515 | return NULL; | |
14516 | } | |
14517 | ||
14518 | ||
14519 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14520 | PyObject *resultobj; | |
14521 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14522 | PyObject * obj0 = 0 ; | |
14523 | char *kwnames[] = { | |
14524 | (char *) "self", NULL | |
14525 | }; | |
14526 | ||
14527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14528 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14529 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14530 | { |
14531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14532 | (arg1)->Cascade(); | |
14533 | ||
14534 | wxPyEndAllowThreads(__tstate); | |
14535 | if (PyErr_Occurred()) SWIG_fail; | |
14536 | } | |
14537 | Py_INCREF(Py_None); resultobj = Py_None; | |
14538 | return resultobj; | |
14539 | fail: | |
14540 | return NULL; | |
14541 | } | |
14542 | ||
14543 | ||
14544 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14545 | PyObject *resultobj; | |
14546 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14547 | wxMDIChildFrame *result; | |
14548 | PyObject * obj0 = 0 ; | |
14549 | char *kwnames[] = { | |
14550 | (char *) "self", NULL | |
14551 | }; | |
14552 | ||
14553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14554 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14555 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14556 | { |
14557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14558 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
14559 | ||
14560 | wxPyEndAllowThreads(__tstate); | |
14561 | if (PyErr_Occurred()) SWIG_fail; | |
14562 | } | |
14563 | { | |
14564 | resultobj = wxPyMake_wxObject(result); | |
14565 | } | |
14566 | return resultobj; | |
14567 | fail: | |
14568 | return NULL; | |
14569 | } | |
14570 | ||
14571 | ||
14572 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14573 | PyObject *resultobj; | |
14574 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14575 | wxMDIClientWindow *result; | |
14576 | PyObject * obj0 = 0 ; | |
14577 | char *kwnames[] = { | |
14578 | (char *) "self", NULL | |
14579 | }; | |
14580 | ||
14581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14582 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14583 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14584 | { |
14585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14586 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
14587 | ||
14588 | wxPyEndAllowThreads(__tstate); | |
14589 | if (PyErr_Occurred()) SWIG_fail; | |
14590 | } | |
14591 | { | |
14592 | resultobj = wxPyMake_wxObject(result); | |
14593 | } | |
14594 | return resultobj; | |
14595 | fail: | |
14596 | return NULL; | |
14597 | } | |
14598 | ||
14599 | ||
14600 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14601 | PyObject *resultobj; | |
14602 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14603 | wxWindow *result; | |
14604 | PyObject * obj0 = 0 ; | |
14605 | char *kwnames[] = { | |
14606 | (char *) "self", NULL | |
14607 | }; | |
14608 | ||
14609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14610 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14611 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14612 | { |
14613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14614 | result = (wxWindow *)(arg1)->GetToolBar(); | |
14615 | ||
14616 | wxPyEndAllowThreads(__tstate); | |
14617 | if (PyErr_Occurred()) SWIG_fail; | |
14618 | } | |
14619 | { | |
14620 | resultobj = wxPyMake_wxObject(result); | |
14621 | } | |
14622 | return resultobj; | |
14623 | fail: | |
14624 | return NULL; | |
14625 | } | |
14626 | ||
14627 | ||
14628 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14629 | PyObject *resultobj; | |
14630 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14631 | PyObject * obj0 = 0 ; | |
14632 | char *kwnames[] = { | |
14633 | (char *) "self", NULL | |
14634 | }; | |
14635 | ||
14636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14637 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14639 | { |
14640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14641 | (arg1)->Tile(); | |
14642 | ||
14643 | wxPyEndAllowThreads(__tstate); | |
14644 | if (PyErr_Occurred()) SWIG_fail; | |
14645 | } | |
14646 | Py_INCREF(Py_None); resultobj = Py_None; | |
14647 | return resultobj; | |
14648 | fail: | |
14649 | return NULL; | |
14650 | } | |
14651 | ||
14652 | ||
14653 | static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) { | |
14654 | PyObject *obj; | |
14655 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14656 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
14657 | Py_INCREF(obj); | |
14658 | return Py_BuildValue((char *)""); | |
14659 | } | |
14660 | static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14661 | PyObject *resultobj; | |
14662 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
e811c8ce | 14663 | int arg2 ; |
d14a1e28 RD |
14664 | wxString *arg3 = 0 ; |
14665 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14666 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14667 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14668 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14669 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
14670 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14671 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14672 | wxMDIChildFrame *result; | |
e811c8ce | 14673 | bool temp3 = False ; |
d14a1e28 RD |
14674 | wxPoint temp4 ; |
14675 | wxSize temp5 ; | |
e811c8ce | 14676 | bool temp7 = False ; |
d14a1e28 | 14677 | PyObject * obj0 = 0 ; |
994141e6 | 14678 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14679 | PyObject * obj2 = 0 ; |
14680 | PyObject * obj3 = 0 ; | |
14681 | PyObject * obj4 = 0 ; | |
994141e6 | 14682 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14683 | PyObject * obj6 = 0 ; |
14684 | char *kwnames[] = { | |
14685 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14686 | }; | |
14687 | ||
994141e6 | 14688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
14689 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14690 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14691 | arg2 = (int const) SWIG_AsInt(obj1); | |
14692 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14693 | { |
14694 | arg3 = wxString_in_helper(obj2); | |
14695 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 14696 | temp3 = True; |
d14a1e28 RD |
14697 | } |
14698 | if (obj3) { | |
14699 | { | |
14700 | arg4 = &temp4; | |
14701 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14702 | } | |
14703 | } | |
14704 | if (obj4) { | |
14705 | { | |
14706 | arg5 = &temp5; | |
14707 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14708 | } | |
14709 | } | |
994141e6 | 14710 | if (obj5) { |
15afbcd0 RD |
14711 | arg6 = (long) SWIG_AsLong(obj5); |
14712 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14713 | } |
d14a1e28 RD |
14714 | if (obj6) { |
14715 | { | |
14716 | arg7 = wxString_in_helper(obj6); | |
14717 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 14718 | temp7 = True; |
d14a1e28 RD |
14719 | } |
14720 | } | |
14721 | { | |
14722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14723 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14724 | ||
14725 | wxPyEndAllowThreads(__tstate); | |
14726 | if (PyErr_Occurred()) SWIG_fail; | |
14727 | } | |
14728 | { | |
14729 | resultobj = wxPyMake_wxObject(result); | |
14730 | } | |
14731 | { | |
14732 | if (temp3) | |
14733 | delete arg3; | |
14734 | } | |
14735 | { | |
14736 | if (temp7) | |
14737 | delete arg7; | |
14738 | } | |
14739 | return resultobj; | |
14740 | fail: | |
14741 | { | |
14742 | if (temp3) | |
14743 | delete arg3; | |
14744 | } | |
14745 | { | |
14746 | if (temp7) | |
14747 | delete arg7; | |
14748 | } | |
14749 | return NULL; | |
14750 | } | |
14751 | ||
14752 | ||
14753 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14754 | PyObject *resultobj; | |
14755 | wxMDIChildFrame *result; | |
14756 | char *kwnames[] = { | |
14757 | NULL | |
14758 | }; | |
14759 | ||
14760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
14761 | { | |
14762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14763 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
14764 | ||
14765 | wxPyEndAllowThreads(__tstate); | |
14766 | if (PyErr_Occurred()) SWIG_fail; | |
14767 | } | |
14768 | { | |
14769 | resultobj = wxPyMake_wxObject(result); | |
14770 | } | |
14771 | return resultobj; | |
14772 | fail: | |
14773 | return NULL; | |
14774 | } | |
14775 | ||
14776 | ||
14777 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14778 | PyObject *resultobj; | |
14779 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14780 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
e811c8ce | 14781 | int arg3 ; |
d14a1e28 RD |
14782 | wxString *arg4 = 0 ; |
14783 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14784 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14785 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14786 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14787 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
14788 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14789 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14790 | bool result; | |
e811c8ce | 14791 | bool temp4 = False ; |
d14a1e28 RD |
14792 | wxPoint temp5 ; |
14793 | wxSize temp6 ; | |
e811c8ce | 14794 | bool temp8 = False ; |
d14a1e28 RD |
14795 | PyObject * obj0 = 0 ; |
14796 | PyObject * obj1 = 0 ; | |
994141e6 | 14797 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14798 | PyObject * obj3 = 0 ; |
14799 | PyObject * obj4 = 0 ; | |
14800 | PyObject * obj5 = 0 ; | |
994141e6 | 14801 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14802 | PyObject * obj7 = 0 ; |
14803 | char *kwnames[] = { | |
14804 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14805 | }; | |
14806 | ||
994141e6 | 14807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
14808 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14809 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14810 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
14811 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14812 | arg3 = (int const) SWIG_AsInt(obj2); | |
14813 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14814 | { |
14815 | arg4 = wxString_in_helper(obj3); | |
14816 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 14817 | temp4 = True; |
d14a1e28 RD |
14818 | } |
14819 | if (obj4) { | |
14820 | { | |
14821 | arg5 = &temp5; | |
14822 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14823 | } | |
14824 | } | |
14825 | if (obj5) { | |
14826 | { | |
14827 | arg6 = &temp6; | |
14828 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14829 | } | |
14830 | } | |
994141e6 | 14831 | if (obj6) { |
15afbcd0 RD |
14832 | arg7 = (long) SWIG_AsLong(obj6); |
14833 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14834 | } |
d14a1e28 RD |
14835 | if (obj7) { |
14836 | { | |
14837 | arg8 = wxString_in_helper(obj7); | |
14838 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 14839 | temp8 = True; |
d14a1e28 RD |
14840 | } |
14841 | } | |
14842 | { | |
14843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14844 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14845 | ||
14846 | wxPyEndAllowThreads(__tstate); | |
14847 | if (PyErr_Occurred()) SWIG_fail; | |
14848 | } | |
4f89f6a3 RD |
14849 | { |
14850 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14851 | } | |
d14a1e28 RD |
14852 | { |
14853 | if (temp4) | |
14854 | delete arg4; | |
14855 | } | |
14856 | { | |
14857 | if (temp8) | |
14858 | delete arg8; | |
14859 | } | |
14860 | return resultobj; | |
14861 | fail: | |
14862 | { | |
14863 | if (temp4) | |
14864 | delete arg4; | |
14865 | } | |
14866 | { | |
14867 | if (temp8) | |
14868 | delete arg8; | |
14869 | } | |
14870 | return NULL; | |
14871 | } | |
14872 | ||
14873 | ||
14874 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14875 | PyObject *resultobj; | |
14876 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14877 | PyObject * obj0 = 0 ; | |
14878 | char *kwnames[] = { | |
14879 | (char *) "self", NULL | |
14880 | }; | |
14881 | ||
14882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14883 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14885 | { |
14886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14887 | (arg1)->Activate(); | |
14888 | ||
14889 | wxPyEndAllowThreads(__tstate); | |
14890 | if (PyErr_Occurred()) SWIG_fail; | |
14891 | } | |
14892 | Py_INCREF(Py_None); resultobj = Py_None; | |
14893 | return resultobj; | |
14894 | fail: | |
14895 | return NULL; | |
14896 | } | |
14897 | ||
14898 | ||
14899 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14900 | PyObject *resultobj; | |
14901 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14902 | bool arg2 ; | |
14903 | PyObject * obj0 = 0 ; | |
14904 | PyObject * obj1 = 0 ; | |
14905 | char *kwnames[] = { | |
14906 | (char *) "self",(char *) "maximize", NULL | |
14907 | }; | |
14908 | ||
14909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14910 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14911 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14912 | arg2 = (bool) SWIG_AsBool(obj1); | |
14913 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14914 | { |
14915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14916 | (arg1)->Maximize(arg2); | |
14917 | ||
14918 | wxPyEndAllowThreads(__tstate); | |
14919 | if (PyErr_Occurred()) SWIG_fail; | |
14920 | } | |
14921 | Py_INCREF(Py_None); resultobj = Py_None; | |
14922 | return resultobj; | |
14923 | fail: | |
14924 | return NULL; | |
14925 | } | |
14926 | ||
14927 | ||
14928 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14929 | PyObject *resultobj; | |
14930 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14931 | PyObject * obj0 = 0 ; | |
14932 | char *kwnames[] = { | |
14933 | (char *) "self", NULL | |
14934 | }; | |
14935 | ||
14936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14937 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14938 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14939 | { |
14940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14941 | (arg1)->Restore(); | |
14942 | ||
14943 | wxPyEndAllowThreads(__tstate); | |
14944 | if (PyErr_Occurred()) SWIG_fail; | |
14945 | } | |
14946 | Py_INCREF(Py_None); resultobj = Py_None; | |
14947 | return resultobj; | |
14948 | fail: | |
14949 | return NULL; | |
14950 | } | |
14951 | ||
14952 | ||
14953 | static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) { | |
14954 | PyObject *obj; | |
14955 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14956 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
14957 | Py_INCREF(obj); | |
14958 | return Py_BuildValue((char *)""); | |
14959 | } | |
14960 | static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14961 | PyObject *resultobj; | |
14962 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14963 | long arg2 = (long) 0 ; | |
14964 | wxMDIClientWindow *result; | |
14965 | PyObject * obj0 = 0 ; | |
994141e6 | 14966 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14967 | char *kwnames[] = { |
14968 | (char *) "parent",(char *) "style", NULL | |
14969 | }; | |
14970 | ||
994141e6 | 14971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
14972 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14973 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 14974 | if (obj1) { |
15afbcd0 RD |
14975 | arg2 = (long) SWIG_AsLong(obj1); |
14976 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14977 | } |
d14a1e28 RD |
14978 | { |
14979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14980 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
14981 | ||
14982 | wxPyEndAllowThreads(__tstate); | |
14983 | if (PyErr_Occurred()) SWIG_fail; | |
14984 | } | |
14985 | { | |
14986 | resultobj = wxPyMake_wxObject(result); | |
14987 | } | |
14988 | return resultobj; | |
14989 | fail: | |
14990 | return NULL; | |
14991 | } | |
14992 | ||
14993 | ||
14994 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14995 | PyObject *resultobj; | |
14996 | wxMDIClientWindow *result; | |
14997 | char *kwnames[] = { | |
14998 | NULL | |
14999 | }; | |
15000 | ||
15001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
15002 | { | |
15003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15004 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
15005 | ||
15006 | wxPyEndAllowThreads(__tstate); | |
15007 | if (PyErr_Occurred()) SWIG_fail; | |
15008 | } | |
15009 | { | |
15010 | resultobj = wxPyMake_wxObject(result); | |
15011 | } | |
15012 | return resultobj; | |
15013 | fail: | |
15014 | return NULL; | |
15015 | } | |
15016 | ||
15017 | ||
15018 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15019 | PyObject *resultobj; | |
15020 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
15021 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
15022 | long arg3 = (long) 0 ; | |
15023 | bool result; | |
15024 | PyObject * obj0 = 0 ; | |
15025 | PyObject * obj1 = 0 ; | |
994141e6 | 15026 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
15027 | char *kwnames[] = { |
15028 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
15029 | }; | |
15030 | ||
994141e6 | 15031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
15032 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow, |
15033 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15034 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
15035 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 15036 | if (obj2) { |
15afbcd0 RD |
15037 | arg3 = (long) SWIG_AsLong(obj2); |
15038 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15039 | } |
d14a1e28 RD |
15040 | { |
15041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15042 | result = (bool)(arg1)->Create(arg2,arg3); | |
15043 | ||
15044 | wxPyEndAllowThreads(__tstate); | |
15045 | if (PyErr_Occurred()) SWIG_fail; | |
15046 | } | |
4f89f6a3 RD |
15047 | { |
15048 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15049 | } | |
d14a1e28 RD |
15050 | return resultobj; |
15051 | fail: | |
15052 | return NULL; | |
15053 | } | |
15054 | ||
15055 | ||
15056 | static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) { | |
15057 | PyObject *obj; | |
15058 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15059 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
15060 | Py_INCREF(obj); | |
15061 | return Py_BuildValue((char *)""); | |
15062 | } | |
15063 | static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15064 | PyObject *resultobj; | |
15065 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 15066 | int arg2 ; |
d14a1e28 RD |
15067 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15068 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15069 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15070 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15071 | long arg5 = (long) 0 ; | |
15072 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15073 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15074 | wxPyWindow *result; | |
15075 | wxPoint temp3 ; | |
15076 | wxSize temp4 ; | |
e811c8ce | 15077 | bool temp6 = False ; |
d14a1e28 | 15078 | PyObject * obj0 = 0 ; |
994141e6 | 15079 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15080 | PyObject * obj2 = 0 ; |
15081 | PyObject * obj3 = 0 ; | |
994141e6 | 15082 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15083 | PyObject * obj5 = 0 ; |
15084 | char *kwnames[] = { | |
15085 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15086 | }; | |
15087 | ||
994141e6 | 15088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15089 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15090 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15091 | arg2 = (int const) SWIG_AsInt(obj1); | |
15092 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15093 | if (obj2) { |
15094 | { | |
15095 | arg3 = &temp3; | |
15096 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15097 | } | |
15098 | } | |
15099 | if (obj3) { | |
15100 | { | |
15101 | arg4 = &temp4; | |
15102 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15103 | } | |
15104 | } | |
994141e6 | 15105 | if (obj4) { |
15afbcd0 RD |
15106 | arg5 = (long) SWIG_AsLong(obj4); |
15107 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15108 | } |
d14a1e28 RD |
15109 | if (obj5) { |
15110 | { | |
15111 | arg6 = wxString_in_helper(obj5); | |
15112 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 15113 | temp6 = True; |
d14a1e28 RD |
15114 | } |
15115 | } | |
15116 | { | |
15117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15118 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15119 | ||
15120 | wxPyEndAllowThreads(__tstate); | |
15121 | if (PyErr_Occurred()) SWIG_fail; | |
15122 | } | |
15afbcd0 | 15123 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); |
d14a1e28 RD |
15124 | { |
15125 | if (temp6) | |
15126 | delete arg6; | |
15127 | } | |
15128 | return resultobj; | |
15129 | fail: | |
15130 | { | |
15131 | if (temp6) | |
15132 | delete arg6; | |
15133 | } | |
15134 | return NULL; | |
15135 | } | |
15136 | ||
15137 | ||
1cb4a8aa RD |
15138 | static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
15139 | PyObject *resultobj; | |
15140 | wxPyWindow *result; | |
15141 | char *kwnames[] = { | |
15142 | NULL | |
15143 | }; | |
15144 | ||
15145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail; | |
15146 | { | |
15147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15148 | result = (wxPyWindow *)new wxPyWindow(); | |
15149 | ||
15150 | wxPyEndAllowThreads(__tstate); | |
15151 | if (PyErr_Occurred()) SWIG_fail; | |
15152 | } | |
15153 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
15154 | return resultobj; | |
15155 | fail: | |
15156 | return NULL; | |
15157 | } | |
15158 | ||
15159 | ||
d14a1e28 RD |
15160 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
15161 | PyObject *resultobj; | |
15162 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15163 | PyObject *arg2 = (PyObject *) 0 ; | |
15164 | PyObject *arg3 = (PyObject *) 0 ; | |
15165 | PyObject * obj0 = 0 ; | |
15166 | PyObject * obj1 = 0 ; | |
15167 | PyObject * obj2 = 0 ; | |
15168 | char *kwnames[] = { | |
15169 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15170 | }; | |
15171 | ||
15172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
15173 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15174 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15175 | arg2 = obj1; |
15176 | arg3 = obj2; | |
15177 | { | |
15178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15179 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15180 | ||
15181 | wxPyEndAllowThreads(__tstate); | |
15182 | if (PyErr_Occurred()) SWIG_fail; | |
15183 | } | |
15184 | Py_INCREF(Py_None); resultobj = Py_None; | |
15185 | return resultobj; | |
15186 | fail: | |
15187 | return NULL; | |
15188 | } | |
15189 | ||
15190 | ||
15191 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15192 | PyObject *resultobj; | |
15193 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15194 | int arg2 ; | |
15195 | int arg3 ; | |
15196 | int arg4 ; | |
15197 | int arg5 ; | |
15198 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15199 | PyObject * obj1 = 0 ; |
15200 | PyObject * obj2 = 0 ; | |
15201 | PyObject * obj3 = 0 ; | |
15202 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
15203 | char *kwnames[] = { |
15204 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15205 | }; | |
15206 | ||
994141e6 | 15207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
15208 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15209 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15210 | arg2 = (int) SWIG_AsInt(obj1); | |
15211 | if (PyErr_Occurred()) SWIG_fail; | |
15212 | arg3 = (int) SWIG_AsInt(obj2); | |
15213 | if (PyErr_Occurred()) SWIG_fail; | |
15214 | arg4 = (int) SWIG_AsInt(obj3); | |
15215 | if (PyErr_Occurred()) SWIG_fail; | |
15216 | arg5 = (int) SWIG_AsInt(obj4); | |
15217 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15218 | { |
15219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15220 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15221 | ||
15222 | wxPyEndAllowThreads(__tstate); | |
15223 | if (PyErr_Occurred()) SWIG_fail; | |
15224 | } | |
15225 | Py_INCREF(Py_None); resultobj = Py_None; | |
15226 | return resultobj; | |
15227 | fail: | |
15228 | return NULL; | |
15229 | } | |
15230 | ||
15231 | ||
15232 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15233 | PyObject *resultobj; | |
15234 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15235 | int arg2 ; | |
15236 | int arg3 ; | |
15237 | int arg4 ; | |
15238 | int arg5 ; | |
15239 | int arg6 = (int) wxSIZE_AUTO ; | |
15240 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15241 | PyObject * obj1 = 0 ; |
15242 | PyObject * obj2 = 0 ; | |
15243 | PyObject * obj3 = 0 ; | |
15244 | PyObject * obj4 = 0 ; | |
15245 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
15246 | char *kwnames[] = { |
15247 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15248 | }; | |
15249 | ||
994141e6 | 15250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15251 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15252 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15253 | arg2 = (int) SWIG_AsInt(obj1); | |
15254 | if (PyErr_Occurred()) SWIG_fail; | |
15255 | arg3 = (int) SWIG_AsInt(obj2); | |
15256 | if (PyErr_Occurred()) SWIG_fail; | |
15257 | arg4 = (int) SWIG_AsInt(obj3); | |
15258 | if (PyErr_Occurred()) SWIG_fail; | |
15259 | arg5 = (int) SWIG_AsInt(obj4); | |
15260 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15261 | if (obj5) { |
15afbcd0 RD |
15262 | arg6 = (int) SWIG_AsInt(obj5); |
15263 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15264 | } |
d14a1e28 RD |
15265 | { |
15266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15267 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15268 | ||
15269 | wxPyEndAllowThreads(__tstate); | |
15270 | if (PyErr_Occurred()) SWIG_fail; | |
15271 | } | |
15272 | Py_INCREF(Py_None); resultobj = Py_None; | |
15273 | return resultobj; | |
15274 | fail: | |
15275 | return NULL; | |
15276 | } | |
15277 | ||
15278 | ||
15279 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15280 | PyObject *resultobj; | |
15281 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15282 | int arg2 ; | |
15283 | int arg3 ; | |
15284 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15285 | PyObject * obj1 = 0 ; |
15286 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15287 | char *kwnames[] = { |
15288 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15289 | }; | |
15290 | ||
994141e6 | 15291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
15292 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15293 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15294 | arg2 = (int) SWIG_AsInt(obj1); | |
15295 | if (PyErr_Occurred()) SWIG_fail; | |
15296 | arg3 = (int) SWIG_AsInt(obj2); | |
15297 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15298 | { |
15299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15300 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15301 | ||
15302 | wxPyEndAllowThreads(__tstate); | |
15303 | if (PyErr_Occurred()) SWIG_fail; | |
15304 | } | |
15305 | Py_INCREF(Py_None); resultobj = Py_None; | |
15306 | return resultobj; | |
15307 | fail: | |
15308 | return NULL; | |
15309 | } | |
15310 | ||
15311 | ||
15312 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15313 | PyObject *resultobj; | |
15314 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15315 | int arg2 ; | |
15316 | int arg3 ; | |
15317 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15318 | PyObject * obj1 = 0 ; |
15319 | PyObject * obj2 = 0 ; | |
d14a1e28 | 15320 | char *kwnames[] = { |
15afbcd0 RD |
15321 | (char *) "self",(char *) "x",(char *) "y", NULL |
15322 | }; | |
15323 | ||
15324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15325 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15326 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15327 | arg2 = (int) SWIG_AsInt(obj1); | |
15328 | if (PyErr_Occurred()) SWIG_fail; | |
15329 | arg3 = (int) SWIG_AsInt(obj2); | |
15330 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15331 | { |
15332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15333 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
15334 | ||
15335 | wxPyEndAllowThreads(__tstate); | |
15336 | if (PyErr_Occurred()) SWIG_fail; | |
15337 | } | |
15338 | Py_INCREF(Py_None); resultobj = Py_None; | |
15339 | return resultobj; | |
15340 | fail: | |
15341 | return NULL; | |
15342 | } | |
15343 | ||
15344 | ||
15345 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15346 | PyObject *resultobj; | |
15347 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15348 | int *arg2 = (int *) 0 ; | |
15349 | int *arg3 = (int *) 0 ; | |
15350 | int temp2 ; | |
15351 | int temp3 ; | |
15352 | PyObject * obj0 = 0 ; | |
15353 | char *kwnames[] = { | |
15354 | (char *) "self", NULL | |
15355 | }; | |
15356 | ||
15357 | arg2 = &temp2; | |
15358 | arg3 = &temp3; | |
15359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15360 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15361 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15362 | { |
15363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15364 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
15365 | ||
15366 | wxPyEndAllowThreads(__tstate); | |
15367 | if (PyErr_Occurred()) SWIG_fail; | |
15368 | } | |
15369 | Py_INCREF(Py_None); resultobj = Py_None; | |
15370 | { | |
15371 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15372 | resultobj = t_output_helper(resultobj,o); | |
15373 | } | |
15374 | { | |
15375 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15376 | resultobj = t_output_helper(resultobj,o); | |
15377 | } | |
15378 | return resultobj; | |
15379 | fail: | |
15380 | return NULL; | |
15381 | } | |
15382 | ||
15383 | ||
15384 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15385 | PyObject *resultobj; | |
15386 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15387 | int *arg2 = (int *) 0 ; | |
15388 | int *arg3 = (int *) 0 ; | |
15389 | int temp2 ; | |
15390 | int temp3 ; | |
15391 | PyObject * obj0 = 0 ; | |
15392 | char *kwnames[] = { | |
15393 | (char *) "self", NULL | |
15394 | }; | |
15395 | ||
15396 | arg2 = &temp2; | |
15397 | arg3 = &temp3; | |
15398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15399 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15401 | { |
15402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15403 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
15404 | ||
15405 | wxPyEndAllowThreads(__tstate); | |
15406 | if (PyErr_Occurred()) SWIG_fail; | |
15407 | } | |
15408 | Py_INCREF(Py_None); resultobj = Py_None; | |
15409 | { | |
15410 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15411 | resultobj = t_output_helper(resultobj,o); | |
15412 | } | |
15413 | { | |
15414 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15415 | resultobj = t_output_helper(resultobj,o); | |
15416 | } | |
15417 | return resultobj; | |
15418 | fail: | |
15419 | return NULL; | |
15420 | } | |
15421 | ||
15422 | ||
15423 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15424 | PyObject *resultobj; | |
15425 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15426 | int *arg2 = (int *) 0 ; | |
15427 | int *arg3 = (int *) 0 ; | |
15428 | int temp2 ; | |
15429 | int temp3 ; | |
15430 | PyObject * obj0 = 0 ; | |
15431 | char *kwnames[] = { | |
15432 | (char *) "self", NULL | |
15433 | }; | |
15434 | ||
15435 | arg2 = &temp2; | |
15436 | arg3 = &temp3; | |
15437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",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 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
15443 | ||
15444 | wxPyEndAllowThreads(__tstate); | |
15445 | if (PyErr_Occurred()) SWIG_fail; | |
15446 | } | |
15447 | Py_INCREF(Py_None); resultobj = Py_None; | |
15448 | { | |
15449 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15450 | resultobj = t_output_helper(resultobj,o); | |
15451 | } | |
15452 | { | |
15453 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15454 | resultobj = t_output_helper(resultobj,o); | |
15455 | } | |
15456 | return resultobj; | |
15457 | fail: | |
15458 | return NULL; | |
15459 | } | |
15460 | ||
15461 | ||
15462 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15463 | PyObject *resultobj; | |
15464 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15465 | wxSize result; | |
15466 | PyObject * obj0 = 0 ; | |
15467 | char *kwnames[] = { | |
15468 | (char *) "self", NULL | |
15469 | }; | |
15470 | ||
15471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15472 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15473 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15474 | { |
15475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15476 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
15477 | ||
15478 | wxPyEndAllowThreads(__tstate); | |
15479 | if (PyErr_Occurred()) SWIG_fail; | |
15480 | } | |
15481 | { | |
15482 | wxSize * resultptr; | |
15483 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15484 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15485 | } |
15486 | return resultobj; | |
15487 | fail: | |
15488 | return NULL; | |
15489 | } | |
15490 | ||
15491 | ||
15492 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15493 | PyObject *resultobj; | |
15494 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15495 | wxSize result; | |
15496 | PyObject * obj0 = 0 ; | |
15497 | char *kwnames[] = { | |
15498 | (char *) "self", NULL | |
15499 | }; | |
15500 | ||
15501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15502 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15503 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15504 | { |
15505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15506 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
15507 | ||
15508 | wxPyEndAllowThreads(__tstate); | |
15509 | if (PyErr_Occurred()) SWIG_fail; | |
15510 | } | |
15511 | { | |
15512 | wxSize * resultptr; | |
15513 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15514 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15515 | } |
15516 | return resultobj; | |
15517 | fail: | |
15518 | return NULL; | |
15519 | } | |
15520 | ||
15521 | ||
15522 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15523 | PyObject *resultobj; | |
15524 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15525 | PyObject * obj0 = 0 ; | |
15526 | char *kwnames[] = { | |
15527 | (char *) "self", NULL | |
15528 | }; | |
15529 | ||
15530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15533 | { |
15534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15535 | (arg1)->base_InitDialog(); | |
15536 | ||
15537 | wxPyEndAllowThreads(__tstate); | |
15538 | if (PyErr_Occurred()) SWIG_fail; | |
15539 | } | |
15540 | Py_INCREF(Py_None); resultobj = Py_None; | |
15541 | return resultobj; | |
15542 | fail: | |
15543 | return NULL; | |
15544 | } | |
15545 | ||
15546 | ||
15547 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15548 | PyObject *resultobj; | |
15549 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15550 | bool result; | |
15551 | PyObject * obj0 = 0 ; | |
15552 | char *kwnames[] = { | |
15553 | (char *) "self", NULL | |
15554 | }; | |
15555 | ||
15556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15557 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15558 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15559 | { |
15560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15561 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
15562 | ||
15563 | wxPyEndAllowThreads(__tstate); | |
15564 | if (PyErr_Occurred()) SWIG_fail; | |
15565 | } | |
4f89f6a3 RD |
15566 | { |
15567 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15568 | } | |
d14a1e28 RD |
15569 | return resultobj; |
15570 | fail: | |
15571 | return NULL; | |
15572 | } | |
15573 | ||
15574 | ||
15575 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15576 | PyObject *resultobj; | |
15577 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15578 | bool result; | |
15579 | PyObject * obj0 = 0 ; | |
15580 | char *kwnames[] = { | |
15581 | (char *) "self", NULL | |
15582 | }; | |
15583 | ||
15584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15585 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15586 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15587 | { |
15588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15589 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
15590 | ||
15591 | wxPyEndAllowThreads(__tstate); | |
15592 | if (PyErr_Occurred()) SWIG_fail; | |
15593 | } | |
4f89f6a3 RD |
15594 | { |
15595 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15596 | } | |
d14a1e28 RD |
15597 | return resultobj; |
15598 | fail: | |
15599 | return NULL; | |
15600 | } | |
15601 | ||
15602 | ||
15603 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15604 | PyObject *resultobj; | |
15605 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15606 | bool result; | |
15607 | PyObject * obj0 = 0 ; | |
15608 | char *kwnames[] = { | |
15609 | (char *) "self", NULL | |
15610 | }; | |
15611 | ||
15612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15613 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15615 | { |
15616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15617 | result = (bool)(arg1)->base_Validate(); | |
15618 | ||
15619 | wxPyEndAllowThreads(__tstate); | |
15620 | if (PyErr_Occurred()) SWIG_fail; | |
15621 | } | |
4f89f6a3 RD |
15622 | { |
15623 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15624 | } | |
d14a1e28 RD |
15625 | return resultobj; |
15626 | fail: | |
15627 | return NULL; | |
15628 | } | |
15629 | ||
15630 | ||
15631 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15632 | PyObject *resultobj; | |
15633 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15634 | bool result; | |
15635 | PyObject * obj0 = 0 ; | |
15636 | char *kwnames[] = { | |
15637 | (char *) "self", NULL | |
15638 | }; | |
15639 | ||
15640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15641 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15643 | { |
15644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15645 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
15646 | ||
15647 | wxPyEndAllowThreads(__tstate); | |
15648 | if (PyErr_Occurred()) SWIG_fail; | |
15649 | } | |
4f89f6a3 RD |
15650 | { |
15651 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15652 | } | |
d14a1e28 RD |
15653 | return resultobj; |
15654 | fail: | |
15655 | return NULL; | |
15656 | } | |
15657 | ||
15658 | ||
15659 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15660 | PyObject *resultobj; | |
15661 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15662 | bool result; | |
15663 | PyObject * obj0 = 0 ; | |
15664 | char *kwnames[] = { | |
15665 | (char *) "self", NULL | |
15666 | }; | |
15667 | ||
15668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15669 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15670 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15671 | { |
15672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15673 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
15674 | ||
15675 | wxPyEndAllowThreads(__tstate); | |
15676 | if (PyErr_Occurred()) SWIG_fail; | |
15677 | } | |
4f89f6a3 RD |
15678 | { |
15679 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15680 | } | |
d14a1e28 RD |
15681 | return resultobj; |
15682 | fail: | |
15683 | return NULL; | |
15684 | } | |
15685 | ||
15686 | ||
15687 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15688 | PyObject *resultobj; | |
15689 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15690 | wxSize result; | |
15691 | PyObject * obj0 = 0 ; | |
15692 | char *kwnames[] = { | |
15693 | (char *) "self", NULL | |
15694 | }; | |
15695 | ||
15696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15697 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15698 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15699 | { |
15700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15701 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
15702 | ||
15703 | wxPyEndAllowThreads(__tstate); | |
15704 | if (PyErr_Occurred()) SWIG_fail; | |
15705 | } | |
15706 | { | |
15707 | wxSize * resultptr; | |
15708 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15709 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15710 | } |
15711 | return resultobj; | |
15712 | fail: | |
15713 | return NULL; | |
15714 | } | |
15715 | ||
15716 | ||
15717 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15718 | PyObject *resultobj; | |
15719 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15720 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15721 | PyObject * obj0 = 0 ; | |
15722 | PyObject * obj1 = 0 ; | |
15723 | char *kwnames[] = { | |
15724 | (char *) "self",(char *) "child", NULL | |
15725 | }; | |
15726 | ||
15727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
15728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15730 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15731 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15732 | { |
15733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15734 | (arg1)->base_AddChild(arg2); | |
15735 | ||
15736 | wxPyEndAllowThreads(__tstate); | |
15737 | if (PyErr_Occurred()) SWIG_fail; | |
15738 | } | |
15739 | Py_INCREF(Py_None); resultobj = Py_None; | |
15740 | return resultobj; | |
15741 | fail: | |
15742 | return NULL; | |
15743 | } | |
15744 | ||
15745 | ||
15746 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15747 | PyObject *resultobj; | |
15748 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15749 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15750 | PyObject * obj0 = 0 ; | |
15751 | PyObject * obj1 = 0 ; | |
15752 | char *kwnames[] = { | |
15753 | (char *) "self",(char *) "child", NULL | |
15754 | }; | |
15755 | ||
15756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
15757 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15758 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15759 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15760 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15761 | { |
15762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15763 | (arg1)->base_RemoveChild(arg2); | |
15764 | ||
15765 | wxPyEndAllowThreads(__tstate); | |
15766 | if (PyErr_Occurred()) SWIG_fail; | |
15767 | } | |
15768 | Py_INCREF(Py_None); resultobj = Py_None; | |
15769 | return resultobj; | |
15770 | fail: | |
15771 | return NULL; | |
15772 | } | |
15773 | ||
15774 | ||
1cb4a8aa RD |
15775 | static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) { |
15776 | PyObject *resultobj; | |
15777 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15778 | bool result; | |
15779 | PyObject * obj0 = 0 ; | |
15780 | char *kwnames[] = { | |
15781 | (char *) "self", NULL | |
15782 | }; | |
15783 | ||
15784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
15785 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15786 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15787 | { | |
15788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15789 | result = (bool)(arg1)->base_ShouldInheritColours(); | |
15790 | ||
15791 | wxPyEndAllowThreads(__tstate); | |
15792 | if (PyErr_Occurred()) SWIG_fail; | |
15793 | } | |
15794 | { | |
15795 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15796 | } | |
15797 | return resultobj; | |
15798 | fail: | |
15799 | return NULL; | |
15800 | } | |
15801 | ||
15802 | ||
15803 | static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15804 | PyObject *resultobj; | |
15805 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15806 | wxColour *arg2 = 0 ; | |
15807 | wxColour temp2 ; | |
15808 | PyObject * obj0 = 0 ; | |
15809 | PyObject * obj1 = 0 ; | |
15810 | char *kwnames[] = { | |
15811 | (char *) "self",(char *) "c", NULL | |
15812 | }; | |
15813 | ||
15814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
15815 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15816 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15817 | { | |
15818 | arg2 = &temp2; | |
15819 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
15820 | } | |
15821 | { | |
15822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15823 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
15824 | ||
15825 | wxPyEndAllowThreads(__tstate); | |
15826 | if (PyErr_Occurred()) SWIG_fail; | |
15827 | } | |
15828 | Py_INCREF(Py_None); resultobj = Py_None; | |
15829 | return resultobj; | |
15830 | fail: | |
15831 | return NULL; | |
15832 | } | |
15833 | ||
15834 | ||
d14a1e28 RD |
15835 | static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) { |
15836 | PyObject *obj; | |
15837 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15838 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
15839 | Py_INCREF(obj); | |
15840 | return Py_BuildValue((char *)""); | |
15841 | } | |
15842 | static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15843 | PyObject *resultobj; | |
15844 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 15845 | int arg2 ; |
d14a1e28 RD |
15846 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15847 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15848 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15849 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15850 | long arg5 = (long) 0 ; | |
15851 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15852 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15853 | wxPyPanel *result; | |
15854 | wxPoint temp3 ; | |
15855 | wxSize temp4 ; | |
e811c8ce | 15856 | bool temp6 = False ; |
d14a1e28 | 15857 | PyObject * obj0 = 0 ; |
994141e6 | 15858 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15859 | PyObject * obj2 = 0 ; |
15860 | PyObject * obj3 = 0 ; | |
994141e6 | 15861 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15862 | PyObject * obj5 = 0 ; |
15863 | char *kwnames[] = { | |
15864 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15865 | }; | |
15866 | ||
994141e6 | 15867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15868 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15869 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15870 | arg2 = (int const) SWIG_AsInt(obj1); | |
15871 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15872 | if (obj2) { |
15873 | { | |
15874 | arg3 = &temp3; | |
15875 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15876 | } | |
15877 | } | |
15878 | if (obj3) { | |
15879 | { | |
15880 | arg4 = &temp4; | |
15881 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15882 | } | |
15883 | } | |
994141e6 | 15884 | if (obj4) { |
15afbcd0 RD |
15885 | arg5 = (long) SWIG_AsLong(obj4); |
15886 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15887 | } |
d14a1e28 RD |
15888 | if (obj5) { |
15889 | { | |
15890 | arg6 = wxString_in_helper(obj5); | |
15891 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 15892 | temp6 = True; |
d14a1e28 RD |
15893 | } |
15894 | } | |
15895 | { | |
15896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15897 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15898 | ||
15899 | wxPyEndAllowThreads(__tstate); | |
15900 | if (PyErr_Occurred()) SWIG_fail; | |
15901 | } | |
15afbcd0 | 15902 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); |
d14a1e28 RD |
15903 | { |
15904 | if (temp6) | |
15905 | delete arg6; | |
15906 | } | |
15907 | return resultobj; | |
15908 | fail: | |
15909 | { | |
15910 | if (temp6) | |
15911 | delete arg6; | |
15912 | } | |
15913 | return NULL; | |
15914 | } | |
15915 | ||
15916 | ||
1cb4a8aa RD |
15917 | static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { |
15918 | PyObject *resultobj; | |
15919 | wxPyPanel *result; | |
15920 | char *kwnames[] = { | |
15921 | NULL | |
15922 | }; | |
15923 | ||
15924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail; | |
15925 | { | |
15926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15927 | result = (wxPyPanel *)new wxPyPanel(); | |
15928 | ||
15929 | wxPyEndAllowThreads(__tstate); | |
15930 | if (PyErr_Occurred()) SWIG_fail; | |
15931 | } | |
15932 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
15933 | return resultobj; | |
15934 | fail: | |
15935 | return NULL; | |
15936 | } | |
15937 | ||
15938 | ||
d14a1e28 RD |
15939 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
15940 | PyObject *resultobj; | |
15941 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15942 | PyObject *arg2 = (PyObject *) 0 ; | |
15943 | PyObject *arg3 = (PyObject *) 0 ; | |
15944 | PyObject * obj0 = 0 ; | |
15945 | PyObject * obj1 = 0 ; | |
15946 | PyObject * obj2 = 0 ; | |
15947 | char *kwnames[] = { | |
15948 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15949 | }; | |
15950 | ||
15951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
15952 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15953 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15954 | arg2 = obj1; |
15955 | arg3 = obj2; | |
15956 | { | |
15957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15958 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15959 | ||
15960 | wxPyEndAllowThreads(__tstate); | |
15961 | if (PyErr_Occurred()) SWIG_fail; | |
15962 | } | |
15963 | Py_INCREF(Py_None); resultobj = Py_None; | |
15964 | return resultobj; | |
15965 | fail: | |
15966 | return NULL; | |
15967 | } | |
15968 | ||
15969 | ||
15970 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15971 | PyObject *resultobj; | |
15972 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15973 | int arg2 ; | |
15974 | int arg3 ; | |
15975 | int arg4 ; | |
15976 | int arg5 ; | |
15977 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15978 | PyObject * obj1 = 0 ; |
15979 | PyObject * obj2 = 0 ; | |
15980 | PyObject * obj3 = 0 ; | |
15981 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
15982 | char *kwnames[] = { |
15983 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15984 | }; | |
15985 | ||
994141e6 | 15986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
15987 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15989 | arg2 = (int) SWIG_AsInt(obj1); | |
15990 | if (PyErr_Occurred()) SWIG_fail; | |
15991 | arg3 = (int) SWIG_AsInt(obj2); | |
15992 | if (PyErr_Occurred()) SWIG_fail; | |
15993 | arg4 = (int) SWIG_AsInt(obj3); | |
15994 | if (PyErr_Occurred()) SWIG_fail; | |
15995 | arg5 = (int) SWIG_AsInt(obj4); | |
15996 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15997 | { |
15998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15999 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
16000 | ||
16001 | wxPyEndAllowThreads(__tstate); | |
16002 | if (PyErr_Occurred()) SWIG_fail; | |
16003 | } | |
16004 | Py_INCREF(Py_None); resultobj = Py_None; | |
16005 | return resultobj; | |
16006 | fail: | |
16007 | return NULL; | |
16008 | } | |
16009 | ||
16010 | ||
16011 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16012 | PyObject *resultobj; | |
16013 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16014 | int arg2 ; | |
16015 | int arg3 ; | |
16016 | int arg4 ; | |
16017 | int arg5 ; | |
16018 | int arg6 = (int) wxSIZE_AUTO ; | |
16019 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16020 | PyObject * obj1 = 0 ; |
16021 | PyObject * obj2 = 0 ; | |
16022 | PyObject * obj3 = 0 ; | |
16023 | PyObject * obj4 = 0 ; | |
16024 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
16025 | char *kwnames[] = { |
16026 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
16027 | }; | |
16028 | ||
994141e6 | 16029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
16030 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16031 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16032 | arg2 = (int) SWIG_AsInt(obj1); | |
16033 | if (PyErr_Occurred()) SWIG_fail; | |
16034 | arg3 = (int) SWIG_AsInt(obj2); | |
16035 | if (PyErr_Occurred()) SWIG_fail; | |
16036 | arg4 = (int) SWIG_AsInt(obj3); | |
16037 | if (PyErr_Occurred()) SWIG_fail; | |
16038 | arg5 = (int) SWIG_AsInt(obj4); | |
16039 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 16040 | if (obj5) { |
15afbcd0 RD |
16041 | arg6 = (int) SWIG_AsInt(obj5); |
16042 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 16043 | } |
d14a1e28 RD |
16044 | { |
16045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16046 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
16047 | ||
16048 | wxPyEndAllowThreads(__tstate); | |
16049 | if (PyErr_Occurred()) SWIG_fail; | |
16050 | } | |
16051 | Py_INCREF(Py_None); resultobj = Py_None; | |
16052 | return resultobj; | |
16053 | fail: | |
16054 | return NULL; | |
16055 | } | |
16056 | ||
16057 | ||
16058 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16059 | PyObject *resultobj; | |
16060 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16061 | int arg2 ; | |
16062 | int arg3 ; | |
16063 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16064 | PyObject * obj1 = 0 ; |
16065 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
16066 | char *kwnames[] = { |
16067 | (char *) "self",(char *) "width",(char *) "height", NULL | |
16068 | }; | |
16069 | ||
994141e6 | 16070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
16071 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16072 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16073 | arg2 = (int) SWIG_AsInt(obj1); | |
16074 | if (PyErr_Occurred()) SWIG_fail; | |
16075 | arg3 = (int) SWIG_AsInt(obj2); | |
16076 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16077 | { |
16078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16079 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
16080 | ||
16081 | wxPyEndAllowThreads(__tstate); | |
16082 | if (PyErr_Occurred()) SWIG_fail; | |
16083 | } | |
16084 | Py_INCREF(Py_None); resultobj = Py_None; | |
16085 | return resultobj; | |
16086 | fail: | |
16087 | return NULL; | |
16088 | } | |
16089 | ||
16090 | ||
16091 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16092 | PyObject *resultobj; | |
16093 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16094 | int arg2 ; | |
16095 | int arg3 ; | |
16096 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16097 | PyObject * obj1 = 0 ; |
16098 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
16099 | char *kwnames[] = { |
16100 | (char *) "self",(char *) "x",(char *) "y", NULL | |
16101 | }; | |
16102 | ||
994141e6 | 16103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
16104 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16105 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16106 | arg2 = (int) SWIG_AsInt(obj1); | |
16107 | if (PyErr_Occurred()) SWIG_fail; | |
16108 | arg3 = (int) SWIG_AsInt(obj2); | |
16109 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16110 | { |
16111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16112 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
16113 | ||
16114 | wxPyEndAllowThreads(__tstate); | |
16115 | if (PyErr_Occurred()) SWIG_fail; | |
16116 | } | |
16117 | Py_INCREF(Py_None); resultobj = Py_None; | |
16118 | return resultobj; | |
16119 | fail: | |
16120 | return NULL; | |
16121 | } | |
16122 | ||
16123 | ||
16124 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16125 | PyObject *resultobj; | |
16126 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16127 | int *arg2 = (int *) 0 ; | |
16128 | int *arg3 = (int *) 0 ; | |
16129 | int temp2 ; | |
16130 | int temp3 ; | |
16131 | PyObject * obj0 = 0 ; | |
16132 | char *kwnames[] = { | |
16133 | (char *) "self", NULL | |
16134 | }; | |
16135 | ||
16136 | arg2 = &temp2; | |
16137 | arg3 = &temp3; | |
16138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16139 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16141 | { |
16142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16143 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
16144 | ||
16145 | wxPyEndAllowThreads(__tstate); | |
16146 | if (PyErr_Occurred()) SWIG_fail; | |
16147 | } | |
16148 | Py_INCREF(Py_None); resultobj = Py_None; | |
16149 | { | |
16150 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16151 | resultobj = t_output_helper(resultobj,o); | |
16152 | } | |
16153 | { | |
16154 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16155 | resultobj = t_output_helper(resultobj,o); | |
16156 | } | |
16157 | return resultobj; | |
16158 | fail: | |
16159 | return NULL; | |
16160 | } | |
16161 | ||
16162 | ||
16163 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16164 | PyObject *resultobj; | |
16165 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16166 | int *arg2 = (int *) 0 ; | |
16167 | int *arg3 = (int *) 0 ; | |
16168 | int temp2 ; | |
16169 | int temp3 ; | |
16170 | PyObject * obj0 = 0 ; | |
16171 | char *kwnames[] = { | |
16172 | (char *) "self", NULL | |
16173 | }; | |
16174 | ||
16175 | arg2 = &temp2; | |
16176 | arg3 = &temp3; | |
16177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16178 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16179 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16180 | { |
16181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16182 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
16183 | ||
16184 | wxPyEndAllowThreads(__tstate); | |
16185 | if (PyErr_Occurred()) SWIG_fail; | |
16186 | } | |
16187 | Py_INCREF(Py_None); resultobj = Py_None; | |
16188 | { | |
16189 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16190 | resultobj = t_output_helper(resultobj,o); | |
16191 | } | |
16192 | { | |
16193 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16194 | resultobj = t_output_helper(resultobj,o); | |
16195 | } | |
16196 | return resultobj; | |
16197 | fail: | |
16198 | return NULL; | |
16199 | } | |
16200 | ||
16201 | ||
16202 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16203 | PyObject *resultobj; | |
16204 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16205 | int *arg2 = (int *) 0 ; | |
16206 | int *arg3 = (int *) 0 ; | |
16207 | int temp2 ; | |
16208 | int temp3 ; | |
16209 | PyObject * obj0 = 0 ; | |
16210 | char *kwnames[] = { | |
16211 | (char *) "self", NULL | |
16212 | }; | |
16213 | ||
16214 | arg2 = &temp2; | |
16215 | arg3 = &temp3; | |
16216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",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 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
16222 | ||
16223 | wxPyEndAllowThreads(__tstate); | |
16224 | if (PyErr_Occurred()) SWIG_fail; | |
16225 | } | |
16226 | Py_INCREF(Py_None); resultobj = Py_None; | |
16227 | { | |
16228 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16229 | resultobj = t_output_helper(resultobj,o); | |
16230 | } | |
16231 | { | |
16232 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16233 | resultobj = t_output_helper(resultobj,o); | |
16234 | } | |
16235 | return resultobj; | |
16236 | fail: | |
16237 | return NULL; | |
16238 | } | |
16239 | ||
16240 | ||
16241 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16242 | PyObject *resultobj; | |
16243 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16244 | wxSize result; | |
16245 | PyObject * obj0 = 0 ; | |
16246 | char *kwnames[] = { | |
16247 | (char *) "self", NULL | |
16248 | }; | |
16249 | ||
16250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16251 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16252 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16253 | { |
16254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16255 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
16256 | ||
16257 | wxPyEndAllowThreads(__tstate); | |
16258 | if (PyErr_Occurred()) SWIG_fail; | |
16259 | } | |
16260 | { | |
16261 | wxSize * resultptr; | |
16262 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16263 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16264 | } |
16265 | return resultobj; | |
16266 | fail: | |
16267 | return NULL; | |
16268 | } | |
16269 | ||
16270 | ||
16271 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16272 | PyObject *resultobj; | |
16273 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16274 | wxSize result; | |
16275 | PyObject * obj0 = 0 ; | |
16276 | char *kwnames[] = { | |
16277 | (char *) "self", NULL | |
16278 | }; | |
16279 | ||
16280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16281 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16282 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16283 | { |
16284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16285 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
16286 | ||
16287 | wxPyEndAllowThreads(__tstate); | |
16288 | if (PyErr_Occurred()) SWIG_fail; | |
16289 | } | |
16290 | { | |
16291 | wxSize * resultptr; | |
16292 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16293 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16294 | } |
16295 | return resultobj; | |
16296 | fail: | |
16297 | return NULL; | |
16298 | } | |
16299 | ||
16300 | ||
16301 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16302 | PyObject *resultobj; | |
16303 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16304 | PyObject * obj0 = 0 ; | |
16305 | char *kwnames[] = { | |
16306 | (char *) "self", NULL | |
16307 | }; | |
16308 | ||
16309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16310 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16311 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16312 | { |
16313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16314 | (arg1)->base_InitDialog(); | |
16315 | ||
16316 | wxPyEndAllowThreads(__tstate); | |
16317 | if (PyErr_Occurred()) SWIG_fail; | |
16318 | } | |
16319 | Py_INCREF(Py_None); resultobj = Py_None; | |
16320 | return resultobj; | |
16321 | fail: | |
16322 | return NULL; | |
16323 | } | |
16324 | ||
16325 | ||
16326 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16327 | PyObject *resultobj; | |
16328 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16329 | bool result; | |
16330 | PyObject * obj0 = 0 ; | |
16331 | char *kwnames[] = { | |
16332 | (char *) "self", NULL | |
16333 | }; | |
16334 | ||
16335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16336 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16337 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16338 | { |
16339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16340 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
16341 | ||
16342 | wxPyEndAllowThreads(__tstate); | |
16343 | if (PyErr_Occurred()) SWIG_fail; | |
16344 | } | |
4f89f6a3 RD |
16345 | { |
16346 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16347 | } | |
d14a1e28 RD |
16348 | return resultobj; |
16349 | fail: | |
16350 | return NULL; | |
16351 | } | |
16352 | ||
16353 | ||
16354 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16355 | PyObject *resultobj; | |
16356 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16357 | bool result; | |
16358 | PyObject * obj0 = 0 ; | |
16359 | char *kwnames[] = { | |
16360 | (char *) "self", NULL | |
16361 | }; | |
16362 | ||
16363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16364 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16365 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16366 | { |
16367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16368 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
16369 | ||
16370 | wxPyEndAllowThreads(__tstate); | |
16371 | if (PyErr_Occurred()) SWIG_fail; | |
16372 | } | |
4f89f6a3 RD |
16373 | { |
16374 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16375 | } | |
d14a1e28 RD |
16376 | return resultobj; |
16377 | fail: | |
16378 | return NULL; | |
16379 | } | |
16380 | ||
16381 | ||
16382 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16383 | PyObject *resultobj; | |
16384 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16385 | bool result; | |
16386 | PyObject * obj0 = 0 ; | |
16387 | char *kwnames[] = { | |
16388 | (char *) "self", NULL | |
16389 | }; | |
16390 | ||
16391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16392 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16393 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16394 | { |
16395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16396 | result = (bool)(arg1)->base_Validate(); | |
16397 | ||
16398 | wxPyEndAllowThreads(__tstate); | |
16399 | if (PyErr_Occurred()) SWIG_fail; | |
16400 | } | |
4f89f6a3 RD |
16401 | { |
16402 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16403 | } | |
d14a1e28 RD |
16404 | return resultobj; |
16405 | fail: | |
16406 | return NULL; | |
16407 | } | |
16408 | ||
16409 | ||
16410 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16411 | PyObject *resultobj; | |
16412 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16413 | bool result; | |
16414 | PyObject * obj0 = 0 ; | |
16415 | char *kwnames[] = { | |
16416 | (char *) "self", NULL | |
16417 | }; | |
16418 | ||
16419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16420 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16421 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16422 | { |
16423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16424 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
16425 | ||
16426 | wxPyEndAllowThreads(__tstate); | |
16427 | if (PyErr_Occurred()) SWIG_fail; | |
16428 | } | |
4f89f6a3 RD |
16429 | { |
16430 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16431 | } | |
d14a1e28 RD |
16432 | return resultobj; |
16433 | fail: | |
16434 | return NULL; | |
16435 | } | |
16436 | ||
16437 | ||
16438 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16439 | PyObject *resultobj; | |
16440 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16441 | bool result; | |
16442 | PyObject * obj0 = 0 ; | |
16443 | char *kwnames[] = { | |
16444 | (char *) "self", NULL | |
16445 | }; | |
16446 | ||
16447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16448 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16450 | { |
16451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16452 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
16453 | ||
16454 | wxPyEndAllowThreads(__tstate); | |
16455 | if (PyErr_Occurred()) SWIG_fail; | |
16456 | } | |
4f89f6a3 RD |
16457 | { |
16458 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16459 | } | |
d14a1e28 RD |
16460 | return resultobj; |
16461 | fail: | |
16462 | return NULL; | |
16463 | } | |
16464 | ||
16465 | ||
16466 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16467 | PyObject *resultobj; | |
16468 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16469 | wxSize result; | |
16470 | PyObject * obj0 = 0 ; | |
16471 | char *kwnames[] = { | |
16472 | (char *) "self", NULL | |
16473 | }; | |
16474 | ||
16475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16476 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16478 | { |
16479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16480 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
16481 | ||
16482 | wxPyEndAllowThreads(__tstate); | |
16483 | if (PyErr_Occurred()) SWIG_fail; | |
16484 | } | |
16485 | { | |
16486 | wxSize * resultptr; | |
16487 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16488 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16489 | } |
16490 | return resultobj; | |
16491 | fail: | |
16492 | return NULL; | |
16493 | } | |
16494 | ||
16495 | ||
16496 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16497 | PyObject *resultobj; | |
16498 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16499 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16500 | PyObject * obj0 = 0 ; | |
16501 | PyObject * obj1 = 0 ; | |
16502 | char *kwnames[] = { | |
16503 | (char *) "self",(char *) "child", NULL | |
16504 | }; | |
16505 | ||
16506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16507 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16508 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16509 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16510 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16511 | { |
16512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16513 | (arg1)->base_AddChild(arg2); | |
16514 | ||
16515 | wxPyEndAllowThreads(__tstate); | |
16516 | if (PyErr_Occurred()) SWIG_fail; | |
16517 | } | |
16518 | Py_INCREF(Py_None); resultobj = Py_None; | |
16519 | return resultobj; | |
16520 | fail: | |
16521 | return NULL; | |
16522 | } | |
16523 | ||
16524 | ||
16525 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16526 | PyObject *resultobj; | |
16527 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16528 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16529 | PyObject * obj0 = 0 ; | |
16530 | PyObject * obj1 = 0 ; | |
16531 | char *kwnames[] = { | |
16532 | (char *) "self",(char *) "child", NULL | |
16533 | }; | |
16534 | ||
16535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16536 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16537 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16538 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16539 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16540 | { |
16541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16542 | (arg1)->base_RemoveChild(arg2); | |
16543 | ||
16544 | wxPyEndAllowThreads(__tstate); | |
16545 | if (PyErr_Occurred()) SWIG_fail; | |
16546 | } | |
16547 | Py_INCREF(Py_None); resultobj = Py_None; | |
16548 | return resultobj; | |
16549 | fail: | |
16550 | return NULL; | |
16551 | } | |
16552 | ||
16553 | ||
1cb4a8aa | 16554 | static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 16555 | PyObject *resultobj; |
1cb4a8aa RD |
16556 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
16557 | bool result; | |
16558 | PyObject * obj0 = 0 ; | |
d14a1e28 | 16559 | char *kwnames[] = { |
1cb4a8aa | 16560 | (char *) "self", NULL |
d14a1e28 RD |
16561 | }; |
16562 | ||
1cb4a8aa RD |
16563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail; |
16564 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16565 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16566 | { |
16567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1cb4a8aa | 16568 | result = (bool)(arg1)->base_ShouldInheritColours(); |
d14a1e28 RD |
16569 | |
16570 | wxPyEndAllowThreads(__tstate); | |
16571 | if (PyErr_Occurred()) SWIG_fail; | |
16572 | } | |
1cb4a8aa RD |
16573 | { |
16574 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16575 | } | |
d14a1e28 RD |
16576 | return resultobj; |
16577 | fail: | |
16578 | return NULL; | |
16579 | } | |
16580 | ||
16581 | ||
1cb4a8aa | 16582 | static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 16583 | PyObject *resultobj; |
1cb4a8aa RD |
16584 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
16585 | wxColour *arg2 = 0 ; | |
16586 | wxColour temp2 ; | |
d14a1e28 | 16587 | PyObject * obj0 = 0 ; |
1cb4a8aa | 16588 | PyObject * obj1 = 0 ; |
d14a1e28 | 16589 | char *kwnames[] = { |
1cb4a8aa | 16590 | (char *) "self",(char *) "c", NULL |
d14a1e28 RD |
16591 | }; |
16592 | ||
1cb4a8aa RD |
16593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; |
16594 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
15afbcd0 | 16595 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
1cb4a8aa RD |
16596 | { |
16597 | arg2 = &temp2; | |
16598 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
16599 | } | |
d14a1e28 RD |
16600 | { |
16601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1cb4a8aa | 16602 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); |
d14a1e28 RD |
16603 | |
16604 | wxPyEndAllowThreads(__tstate); | |
16605 | if (PyErr_Occurred()) SWIG_fail; | |
16606 | } | |
16607 | Py_INCREF(Py_None); resultobj = Py_None; | |
16608 | return resultobj; | |
16609 | fail: | |
16610 | return NULL; | |
16611 | } | |
16612 | ||
16613 | ||
1cb4a8aa RD |
16614 | static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) { |
16615 | PyObject *obj; | |
16616 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16617 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
16618 | Py_INCREF(obj); | |
16619 | return Py_BuildValue((char *)""); | |
16620 | } | |
16621 | static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
d14a1e28 | 16622 | PyObject *resultobj; |
1cb4a8aa RD |
16623 | wxWindow *arg1 = (wxWindow *) 0 ; |
16624 | int arg2 ; | |
16625 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
16626 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
16627 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
16628 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
16629 | long arg5 = (long) 0 ; | |
16630 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
16631 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
16632 | wxPyScrolledWindow *result; | |
16633 | wxPoint temp3 ; | |
16634 | wxSize temp4 ; | |
16635 | bool temp6 = False ; | |
d14a1e28 | 16636 | PyObject * obj0 = 0 ; |
1cb4a8aa RD |
16637 | PyObject * obj1 = 0 ; |
16638 | PyObject * obj2 = 0 ; | |
16639 | PyObject * obj3 = 0 ; | |
16640 | PyObject * obj4 = 0 ; | |
16641 | PyObject * obj5 = 0 ; | |
d14a1e28 | 16642 | char *kwnames[] = { |
1cb4a8aa | 16643 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
16644 | }; |
16645 | ||
1cb4a8aa RD |
16646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
16647 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
15afbcd0 | 16648 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
1cb4a8aa RD |
16649 | arg2 = (int const) SWIG_AsInt(obj1); |
16650 | if (PyErr_Occurred()) SWIG_fail; | |
16651 | if (obj2) { | |
16652 | { | |
16653 | arg3 = &temp3; | |
16654 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
16655 | } | |
16656 | } | |
16657 | if (obj3) { | |
16658 | { | |
16659 | arg4 = &temp4; | |
16660 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
16661 | } | |
16662 | } | |
16663 | if (obj4) { | |
16664 | arg5 = (long) SWIG_AsLong(obj4); | |
16665 | if (PyErr_Occurred()) SWIG_fail; | |
16666 | } | |
16667 | if (obj5) { | |
16668 | { | |
16669 | arg6 = wxString_in_helper(obj5); | |
16670 | if (arg6 == NULL) SWIG_fail; | |
16671 | temp6 = True; | |
16672 | } | |
16673 | } | |
16674 | { | |
16675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16676 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
16677 | ||
16678 | wxPyEndAllowThreads(__tstate); | |
16679 | if (PyErr_Occurred()) SWIG_fail; | |
16680 | } | |
16681 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
16682 | { | |
16683 | if (temp6) | |
16684 | delete arg6; | |
16685 | } | |
16686 | return resultobj; | |
16687 | fail: | |
16688 | { | |
16689 | if (temp6) | |
16690 | delete arg6; | |
16691 | } | |
16692 | return NULL; | |
16693 | } | |
16694 | ||
16695 | ||
16696 | static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16697 | PyObject *resultobj; | |
16698 | wxPyScrolledWindow *result; | |
16699 | char *kwnames[] = { | |
16700 | NULL | |
16701 | }; | |
16702 | ||
16703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail; | |
16704 | { | |
16705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16706 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(); | |
16707 | ||
16708 | wxPyEndAllowThreads(__tstate); | |
16709 | if (PyErr_Occurred()) SWIG_fail; | |
16710 | } | |
16711 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
16712 | return resultobj; | |
16713 | fail: | |
16714 | return NULL; | |
16715 | } | |
16716 | ||
16717 | ||
16718 | static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16719 | PyObject *resultobj; | |
16720 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16721 | PyObject *arg2 = (PyObject *) 0 ; | |
16722 | PyObject *arg3 = (PyObject *) 0 ; | |
16723 | PyObject * obj0 = 0 ; | |
16724 | PyObject * obj1 = 0 ; | |
16725 | PyObject * obj2 = 0 ; | |
16726 | char *kwnames[] = { | |
16727 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
16728 | }; | |
16729 | ||
16730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
16731 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16732 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16733 | arg2 = obj1; | |
16734 | arg3 = obj2; | |
16735 | { | |
16736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16737 | (arg1)->_setCallbackInfo(arg2,arg3); | |
16738 | ||
16739 | wxPyEndAllowThreads(__tstate); | |
16740 | if (PyErr_Occurred()) SWIG_fail; | |
16741 | } | |
16742 | Py_INCREF(Py_None); resultobj = Py_None; | |
16743 | return resultobj; | |
16744 | fail: | |
16745 | return NULL; | |
16746 | } | |
16747 | ||
16748 | ||
16749 | static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16750 | PyObject *resultobj; | |
16751 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16752 | int arg2 ; | |
16753 | int arg3 ; | |
16754 | int arg4 ; | |
16755 | int arg5 ; | |
16756 | PyObject * obj0 = 0 ; | |
16757 | PyObject * obj1 = 0 ; | |
16758 | PyObject * obj2 = 0 ; | |
16759 | PyObject * obj3 = 0 ; | |
16760 | PyObject * obj4 = 0 ; | |
16761 | char *kwnames[] = { | |
16762 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
16763 | }; | |
16764 | ||
16765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
16766 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16767 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16768 | arg2 = (int) SWIG_AsInt(obj1); | |
16769 | if (PyErr_Occurred()) SWIG_fail; | |
16770 | arg3 = (int) SWIG_AsInt(obj2); | |
16771 | if (PyErr_Occurred()) SWIG_fail; | |
16772 | arg4 = (int) SWIG_AsInt(obj3); | |
16773 | if (PyErr_Occurred()) SWIG_fail; | |
16774 | arg5 = (int) SWIG_AsInt(obj4); | |
16775 | if (PyErr_Occurred()) SWIG_fail; | |
16776 | { | |
16777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16778 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
16779 | ||
16780 | wxPyEndAllowThreads(__tstate); | |
16781 | if (PyErr_Occurred()) SWIG_fail; | |
16782 | } | |
16783 | Py_INCREF(Py_None); resultobj = Py_None; | |
16784 | return resultobj; | |
16785 | fail: | |
16786 | return NULL; | |
16787 | } | |
16788 | ||
16789 | ||
16790 | static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16791 | PyObject *resultobj; | |
16792 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16793 | int arg2 ; | |
16794 | int arg3 ; | |
16795 | int arg4 ; | |
16796 | int arg5 ; | |
16797 | int arg6 = (int) wxSIZE_AUTO ; | |
16798 | PyObject * obj0 = 0 ; | |
16799 | PyObject * obj1 = 0 ; | |
16800 | PyObject * obj2 = 0 ; | |
16801 | PyObject * obj3 = 0 ; | |
16802 | PyObject * obj4 = 0 ; | |
16803 | PyObject * obj5 = 0 ; | |
16804 | char *kwnames[] = { | |
16805 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
16806 | }; | |
16807 | ||
16808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
16809 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16810 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16811 | arg2 = (int) SWIG_AsInt(obj1); | |
16812 | if (PyErr_Occurred()) SWIG_fail; | |
16813 | arg3 = (int) SWIG_AsInt(obj2); | |
16814 | if (PyErr_Occurred()) SWIG_fail; | |
16815 | arg4 = (int) SWIG_AsInt(obj3); | |
16816 | if (PyErr_Occurred()) SWIG_fail; | |
16817 | arg5 = (int) SWIG_AsInt(obj4); | |
16818 | if (PyErr_Occurred()) SWIG_fail; | |
16819 | if (obj5) { | |
16820 | arg6 = (int) SWIG_AsInt(obj5); | |
16821 | if (PyErr_Occurred()) SWIG_fail; | |
16822 | } | |
16823 | { | |
16824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16825 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
16826 | ||
16827 | wxPyEndAllowThreads(__tstate); | |
16828 | if (PyErr_Occurred()) SWIG_fail; | |
16829 | } | |
16830 | Py_INCREF(Py_None); resultobj = Py_None; | |
16831 | return resultobj; | |
16832 | fail: | |
16833 | return NULL; | |
16834 | } | |
16835 | ||
16836 | ||
16837 | static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16838 | PyObject *resultobj; | |
16839 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16840 | int arg2 ; | |
16841 | int arg3 ; | |
16842 | PyObject * obj0 = 0 ; | |
16843 | PyObject * obj1 = 0 ; | |
16844 | PyObject * obj2 = 0 ; | |
16845 | char *kwnames[] = { | |
16846 | (char *) "self",(char *) "width",(char *) "height", NULL | |
16847 | }; | |
16848 | ||
16849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
16850 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16851 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16852 | arg2 = (int) SWIG_AsInt(obj1); | |
16853 | if (PyErr_Occurred()) SWIG_fail; | |
16854 | arg3 = (int) SWIG_AsInt(obj2); | |
16855 | if (PyErr_Occurred()) SWIG_fail; | |
16856 | { | |
16857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16858 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
16859 | ||
16860 | wxPyEndAllowThreads(__tstate); | |
16861 | if (PyErr_Occurred()) SWIG_fail; | |
16862 | } | |
16863 | Py_INCREF(Py_None); resultobj = Py_None; | |
16864 | return resultobj; | |
16865 | fail: | |
16866 | return NULL; | |
16867 | } | |
16868 | ||
16869 | ||
16870 | static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16871 | PyObject *resultobj; | |
16872 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16873 | int arg2 ; | |
16874 | int arg3 ; | |
16875 | PyObject * obj0 = 0 ; | |
16876 | PyObject * obj1 = 0 ; | |
16877 | PyObject * obj2 = 0 ; | |
16878 | char *kwnames[] = { | |
16879 | (char *) "self",(char *) "x",(char *) "y", NULL | |
16880 | }; | |
16881 | ||
16882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
16883 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16885 | arg2 = (int) SWIG_AsInt(obj1); | |
16886 | if (PyErr_Occurred()) SWIG_fail; | |
16887 | arg3 = (int) SWIG_AsInt(obj2); | |
16888 | if (PyErr_Occurred()) SWIG_fail; | |
16889 | { | |
16890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16891 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
16892 | ||
16893 | wxPyEndAllowThreads(__tstate); | |
16894 | if (PyErr_Occurred()) SWIG_fail; | |
16895 | } | |
16896 | Py_INCREF(Py_None); resultobj = Py_None; | |
16897 | return resultobj; | |
16898 | fail: | |
16899 | return NULL; | |
16900 | } | |
16901 | ||
16902 | ||
16903 | static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16904 | PyObject *resultobj; | |
16905 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16906 | int *arg2 = (int *) 0 ; | |
16907 | int *arg3 = (int *) 0 ; | |
16908 | int temp2 ; | |
16909 | int temp3 ; | |
16910 | PyObject * obj0 = 0 ; | |
16911 | char *kwnames[] = { | |
16912 | (char *) "self", NULL | |
16913 | }; | |
16914 | ||
16915 | arg2 = &temp2; | |
16916 | arg3 = &temp3; | |
16917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
16918 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16919 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16920 | { | |
16921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16922 | ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
16923 | ||
16924 | wxPyEndAllowThreads(__tstate); | |
16925 | if (PyErr_Occurred()) SWIG_fail; | |
16926 | } | |
16927 | Py_INCREF(Py_None); resultobj = Py_None; | |
16928 | { | |
16929 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16930 | resultobj = t_output_helper(resultobj,o); | |
16931 | } | |
16932 | { | |
16933 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16934 | resultobj = t_output_helper(resultobj,o); | |
16935 | } | |
16936 | return resultobj; | |
16937 | fail: | |
16938 | return NULL; | |
16939 | } | |
16940 | ||
16941 | ||
16942 | static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16943 | PyObject *resultobj; | |
16944 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16945 | int *arg2 = (int *) 0 ; | |
16946 | int *arg3 = (int *) 0 ; | |
16947 | int temp2 ; | |
16948 | int temp3 ; | |
16949 | PyObject * obj0 = 0 ; | |
16950 | char *kwnames[] = { | |
16951 | (char *) "self", NULL | |
16952 | }; | |
16953 | ||
16954 | arg2 = &temp2; | |
16955 | arg3 = &temp3; | |
16956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
16957 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
16958 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16959 | { | |
16960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16961 | ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
16962 | ||
16963 | wxPyEndAllowThreads(__tstate); | |
16964 | if (PyErr_Occurred()) SWIG_fail; | |
16965 | } | |
16966 | Py_INCREF(Py_None); resultobj = Py_None; | |
16967 | { | |
16968 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16969 | resultobj = t_output_helper(resultobj,o); | |
16970 | } | |
16971 | { | |
16972 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16973 | resultobj = t_output_helper(resultobj,o); | |
16974 | } | |
16975 | return resultobj; | |
16976 | fail: | |
16977 | return NULL; | |
16978 | } | |
16979 | ||
16980 | ||
16981 | static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16982 | PyObject *resultobj; | |
16983 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
16984 | int *arg2 = (int *) 0 ; | |
16985 | int *arg3 = (int *) 0 ; | |
16986 | int temp2 ; | |
16987 | int temp3 ; | |
16988 | PyObject * obj0 = 0 ; | |
16989 | char *kwnames[] = { | |
16990 | (char *) "self", NULL | |
16991 | }; | |
16992 | ||
16993 | arg2 = &temp2; | |
16994 | arg3 = &temp3; | |
16995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",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 | ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
17001 | ||
17002 | wxPyEndAllowThreads(__tstate); | |
17003 | if (PyErr_Occurred()) SWIG_fail; | |
17004 | } | |
17005 | Py_INCREF(Py_None); resultobj = Py_None; | |
17006 | { | |
17007 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
17008 | resultobj = t_output_helper(resultobj,o); | |
17009 | } | |
17010 | { | |
17011 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
17012 | resultobj = t_output_helper(resultobj,o); | |
17013 | } | |
17014 | return resultobj; | |
17015 | fail: | |
17016 | return NULL; | |
17017 | } | |
17018 | ||
17019 | ||
17020 | static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17021 | PyObject *resultobj; | |
17022 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17023 | wxSize result; | |
17024 | PyObject * obj0 = 0 ; | |
17025 | char *kwnames[] = { | |
17026 | (char *) "self", NULL | |
17027 | }; | |
17028 | ||
17029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
17030 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17031 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17032 | { | |
17033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17034 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize(); | |
17035 | ||
17036 | wxPyEndAllowThreads(__tstate); | |
17037 | if (PyErr_Occurred()) SWIG_fail; | |
17038 | } | |
17039 | { | |
17040 | wxSize * resultptr; | |
17041 | resultptr = new wxSize((wxSize &) result); | |
17042 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17043 | } | |
17044 | return resultobj; | |
17045 | fail: | |
17046 | return NULL; | |
17047 | } | |
17048 | ||
17049 | ||
17050 | static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17051 | PyObject *resultobj; | |
17052 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17053 | wxSize result; | |
17054 | PyObject * obj0 = 0 ; | |
17055 | char *kwnames[] = { | |
17056 | (char *) "self", NULL | |
17057 | }; | |
17058 | ||
17059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
17060 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17061 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17062 | { | |
17063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17064 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize(); | |
17065 | ||
17066 | wxPyEndAllowThreads(__tstate); | |
17067 | if (PyErr_Occurred()) SWIG_fail; | |
17068 | } | |
17069 | { | |
17070 | wxSize * resultptr; | |
17071 | resultptr = new wxSize((wxSize &) result); | |
17072 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17073 | } | |
17074 | return resultobj; | |
17075 | fail: | |
17076 | return NULL; | |
17077 | } | |
17078 | ||
17079 | ||
17080 | static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17081 | PyObject *resultobj; | |
17082 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17083 | PyObject * obj0 = 0 ; | |
17084 | char *kwnames[] = { | |
17085 | (char *) "self", NULL | |
17086 | }; | |
17087 | ||
17088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
17089 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17090 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17091 | { | |
17092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17093 | (arg1)->base_InitDialog(); | |
17094 | ||
17095 | wxPyEndAllowThreads(__tstate); | |
17096 | if (PyErr_Occurred()) SWIG_fail; | |
17097 | } | |
17098 | Py_INCREF(Py_None); resultobj = Py_None; | |
17099 | return resultobj; | |
17100 | fail: | |
17101 | return NULL; | |
17102 | } | |
17103 | ||
17104 | ||
17105 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17106 | PyObject *resultobj; | |
17107 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17108 | bool result; | |
17109 | PyObject * obj0 = 0 ; | |
17110 | char *kwnames[] = { | |
17111 | (char *) "self", NULL | |
17112 | }; | |
17113 | ||
17114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
17115 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17116 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17117 | { | |
17118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17119 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
17120 | ||
17121 | wxPyEndAllowThreads(__tstate); | |
17122 | if (PyErr_Occurred()) SWIG_fail; | |
17123 | } | |
17124 | { | |
17125 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17126 | } | |
17127 | return resultobj; | |
17128 | fail: | |
17129 | return NULL; | |
17130 | } | |
17131 | ||
17132 | ||
17133 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17134 | PyObject *resultobj; | |
17135 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17136 | bool result; | |
17137 | PyObject * obj0 = 0 ; | |
17138 | char *kwnames[] = { | |
17139 | (char *) "self", NULL | |
17140 | }; | |
17141 | ||
17142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
17143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17145 | { | |
17146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17147 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
17148 | ||
17149 | wxPyEndAllowThreads(__tstate); | |
17150 | if (PyErr_Occurred()) SWIG_fail; | |
17151 | } | |
17152 | { | |
17153 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17154 | } | |
17155 | return resultobj; | |
17156 | fail: | |
17157 | return NULL; | |
17158 | } | |
17159 | ||
17160 | ||
17161 | static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17162 | PyObject *resultobj; | |
17163 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17164 | bool result; | |
17165 | PyObject * obj0 = 0 ; | |
17166 | char *kwnames[] = { | |
17167 | (char *) "self", NULL | |
17168 | }; | |
17169 | ||
17170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail; | |
17171 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17172 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17173 | { | |
17174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17175 | result = (bool)(arg1)->base_Validate(); | |
17176 | ||
17177 | wxPyEndAllowThreads(__tstate); | |
17178 | if (PyErr_Occurred()) SWIG_fail; | |
17179 | } | |
17180 | { | |
17181 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17182 | } | |
17183 | return resultobj; | |
17184 | fail: | |
17185 | return NULL; | |
17186 | } | |
17187 | ||
17188 | ||
17189 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17190 | PyObject *resultobj; | |
17191 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17192 | bool result; | |
17193 | PyObject * obj0 = 0 ; | |
17194 | char *kwnames[] = { | |
17195 | (char *) "self", NULL | |
17196 | }; | |
17197 | ||
17198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
17199 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17200 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17201 | { | |
17202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17203 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus(); | |
17204 | ||
17205 | wxPyEndAllowThreads(__tstate); | |
17206 | if (PyErr_Occurred()) SWIG_fail; | |
17207 | } | |
17208 | { | |
17209 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17210 | } | |
17211 | return resultobj; | |
17212 | fail: | |
17213 | return NULL; | |
17214 | } | |
17215 | ||
17216 | ||
17217 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17218 | PyObject *resultobj; | |
17219 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17220 | bool result; | |
17221 | PyObject * obj0 = 0 ; | |
17222 | char *kwnames[] = { | |
17223 | (char *) "self", NULL | |
17224 | }; | |
17225 | ||
17226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
17227 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17228 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17229 | { | |
17230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17231 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
17232 | ||
17233 | wxPyEndAllowThreads(__tstate); | |
17234 | if (PyErr_Occurred()) SWIG_fail; | |
17235 | } | |
17236 | { | |
17237 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17238 | } | |
17239 | return resultobj; | |
17240 | fail: | |
17241 | return NULL; | |
17242 | } | |
17243 | ||
17244 | ||
17245 | static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17246 | PyObject *resultobj; | |
17247 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17248 | wxSize result; | |
17249 | PyObject * obj0 = 0 ; | |
17250 | char *kwnames[] = { | |
17251 | (char *) "self", NULL | |
17252 | }; | |
17253 | ||
17254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
17255 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17256 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17257 | { | |
17258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17259 | result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize(); | |
17260 | ||
17261 | wxPyEndAllowThreads(__tstate); | |
17262 | if (PyErr_Occurred()) SWIG_fail; | |
17263 | } | |
17264 | { | |
17265 | wxSize * resultptr; | |
17266 | resultptr = new wxSize((wxSize &) result); | |
17267 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17268 | } | |
17269 | return resultobj; | |
17270 | fail: | |
17271 | return NULL; | |
17272 | } | |
17273 | ||
17274 | ||
17275 | static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17276 | PyObject *resultobj; | |
17277 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17278 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17279 | PyObject * obj0 = 0 ; | |
17280 | PyObject * obj1 = 0 ; | |
17281 | char *kwnames[] = { | |
17282 | (char *) "self",(char *) "child", NULL | |
17283 | }; | |
17284 | ||
17285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
17286 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17287 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17288 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17289 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17290 | { | |
17291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17292 | (arg1)->base_AddChild(arg2); | |
17293 | ||
17294 | wxPyEndAllowThreads(__tstate); | |
17295 | if (PyErr_Occurred()) SWIG_fail; | |
17296 | } | |
17297 | Py_INCREF(Py_None); resultobj = Py_None; | |
17298 | return resultobj; | |
17299 | fail: | |
17300 | return NULL; | |
17301 | } | |
17302 | ||
17303 | ||
17304 | static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17305 | PyObject *resultobj; | |
17306 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17307 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17308 | PyObject * obj0 = 0 ; | |
17309 | PyObject * obj1 = 0 ; | |
17310 | char *kwnames[] = { | |
17311 | (char *) "self",(char *) "child", NULL | |
17312 | }; | |
17313 | ||
17314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
17315 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17316 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17317 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17318 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17319 | { | |
17320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17321 | (arg1)->base_RemoveChild(arg2); | |
17322 | ||
17323 | wxPyEndAllowThreads(__tstate); | |
17324 | if (PyErr_Occurred()) SWIG_fail; | |
17325 | } | |
17326 | Py_INCREF(Py_None); resultobj = Py_None; | |
17327 | return resultobj; | |
17328 | fail: | |
17329 | return NULL; | |
17330 | } | |
17331 | ||
17332 | ||
17333 | static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17334 | PyObject *resultobj; | |
17335 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17336 | bool result; | |
17337 | PyObject * obj0 = 0 ; | |
17338 | char *kwnames[] = { | |
17339 | (char *) "self", NULL | |
17340 | }; | |
17341 | ||
17342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
17343 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17344 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17345 | { | |
17346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17347 | result = (bool)(arg1)->base_ShouldInheritColours(); | |
17348 | ||
17349 | wxPyEndAllowThreads(__tstate); | |
17350 | if (PyErr_Occurred()) SWIG_fail; | |
17351 | } | |
17352 | { | |
17353 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17354 | } | |
17355 | return resultobj; | |
17356 | fail: | |
17357 | return NULL; | |
17358 | } | |
17359 | ||
17360 | ||
17361 | static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17362 | PyObject *resultobj; | |
17363 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17364 | wxColour *arg2 = 0 ; | |
17365 | wxColour temp2 ; | |
17366 | PyObject * obj0 = 0 ; | |
17367 | PyObject * obj1 = 0 ; | |
17368 | char *kwnames[] = { | |
17369 | (char *) "self",(char *) "c", NULL | |
17370 | }; | |
17371 | ||
17372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
17373 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17374 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17375 | { | |
17376 | arg2 = &temp2; | |
17377 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
17378 | } | |
17379 | { | |
17380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17381 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
17382 | ||
17383 | wxPyEndAllowThreads(__tstate); | |
17384 | if (PyErr_Occurred()) SWIG_fail; | |
17385 | } | |
17386 | Py_INCREF(Py_None); resultobj = Py_None; | |
17387 | return resultobj; | |
17388 | fail: | |
17389 | return NULL; | |
17390 | } | |
17391 | ||
17392 | ||
17393 | static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
17394 | PyObject *obj; | |
17395 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17396 | SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj); | |
17397 | Py_INCREF(obj); | |
17398 | return Py_BuildValue((char *)""); | |
17399 | } | |
17400 | static int _wrap_PrintoutTitleStr_set(PyObject *_val) { | |
17401 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); | |
17402 | return 1; | |
17403 | } | |
17404 | ||
17405 | ||
17406 | static PyObject *_wrap_PrintoutTitleStr_get() { | |
17407 | PyObject *pyobj; | |
17408 | ||
17409 | { | |
17410 | #if wxUSE_UNICODE | |
17411 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
17412 | #else | |
17413 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
17414 | #endif | |
17415 | } | |
17416 | return pyobj; | |
17417 | } | |
17418 | ||
17419 | ||
17420 | static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) { | |
17421 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); | |
17422 | return 1; | |
17423 | } | |
17424 | ||
17425 | ||
17426 | static PyObject *_wrap_PreviewCanvasNameStr_get() { | |
17427 | PyObject *pyobj; | |
17428 | ||
17429 | { | |
17430 | #if wxUSE_UNICODE | |
17431 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
17432 | #else | |
17433 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
17434 | #endif | |
17435 | } | |
17436 | return pyobj; | |
17437 | } | |
17438 | ||
17439 | ||
17440 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17441 | PyObject *resultobj; | |
17442 | wxPrintData *result; | |
17443 | char *kwnames[] = { | |
17444 | NULL | |
17445 | }; | |
17446 | ||
17447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail; | |
17448 | { | |
17449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17450 | result = (wxPrintData *)new wxPrintData(); | |
17451 | ||
17452 | wxPyEndAllowThreads(__tstate); | |
17453 | if (PyErr_Occurred()) SWIG_fail; | |
17454 | } | |
17455 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
17456 | return resultobj; | |
17457 | fail: | |
17458 | return NULL; | |
17459 | } | |
17460 | ||
17461 | ||
17462 | static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17463 | PyObject *resultobj; | |
17464 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17465 | PyObject * obj0 = 0 ; | |
17466 | char *kwnames[] = { | |
17467 | (char *) "self", NULL | |
17468 | }; | |
17469 | ||
17470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
17471 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
17472 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17473 | { | |
17474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17475 | delete arg1; | |
17476 | ||
17477 | wxPyEndAllowThreads(__tstate); | |
17478 | if (PyErr_Occurred()) SWIG_fail; | |
17479 | } | |
17480 | Py_INCREF(Py_None); resultobj = Py_None; | |
17481 | return resultobj; | |
17482 | fail: | |
17483 | return NULL; | |
17484 | } | |
17485 | ||
17486 | ||
17487 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17488 | PyObject *resultobj; | |
17489 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17490 | int result; | |
17491 | PyObject * obj0 = 0 ; | |
17492 | char *kwnames[] = { | |
17493 | (char *) "self", NULL | |
17494 | }; | |
17495 | ||
17496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
17497 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
17498 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17499 | { | |
17500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17501 | result = (int)(arg1)->GetNoCopies(); | |
17502 | ||
17503 | wxPyEndAllowThreads(__tstate); | |
17504 | if (PyErr_Occurred()) SWIG_fail; | |
17505 | } | |
17506 | resultobj = SWIG_FromInt((int)result); | |
17507 | return resultobj; | |
17508 | fail: | |
d14a1e28 RD |
17509 | return NULL; |
17510 | } | |
17511 | ||
17512 | ||
17513 | static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17514 | PyObject *resultobj; | |
17515 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17516 | bool result; | |
17517 | PyObject * obj0 = 0 ; | |
17518 | char *kwnames[] = { | |
17519 | (char *) "self", NULL | |
17520 | }; | |
17521 | ||
17522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17523 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17524 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17525 | { |
17526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17527 | result = (bool)(arg1)->GetCollate(); | |
17528 | ||
17529 | wxPyEndAllowThreads(__tstate); | |
17530 | if (PyErr_Occurred()) SWIG_fail; | |
17531 | } | |
4f89f6a3 RD |
17532 | { |
17533 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17534 | } | |
d14a1e28 RD |
17535 | return resultobj; |
17536 | fail: | |
17537 | return NULL; | |
17538 | } | |
17539 | ||
17540 | ||
17541 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17542 | PyObject *resultobj; | |
17543 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17544 | int result; | |
17545 | PyObject * obj0 = 0 ; | |
17546 | char *kwnames[] = { | |
17547 | (char *) "self", NULL | |
17548 | }; | |
17549 | ||
17550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17551 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17552 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17553 | { |
17554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17555 | result = (int)(arg1)->GetOrientation(); | |
17556 | ||
17557 | wxPyEndAllowThreads(__tstate); | |
17558 | if (PyErr_Occurred()) SWIG_fail; | |
17559 | } | |
15afbcd0 | 17560 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
17561 | return resultobj; |
17562 | fail: | |
17563 | return NULL; | |
17564 | } | |
17565 | ||
17566 | ||
17567 | static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17568 | PyObject *resultobj; | |
17569 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17570 | bool result; | |
17571 | PyObject * obj0 = 0 ; | |
17572 | char *kwnames[] = { | |
17573 | (char *) "self", NULL | |
17574 | }; | |
17575 | ||
17576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17577 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17578 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17579 | { |
17580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17581 | result = (bool)(arg1)->Ok(); | |
17582 | ||
17583 | wxPyEndAllowThreads(__tstate); | |
17584 | if (PyErr_Occurred()) SWIG_fail; | |
17585 | } | |
4f89f6a3 RD |
17586 | { |
17587 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17588 | } | |
d14a1e28 RD |
17589 | return resultobj; |
17590 | fail: | |
17591 | return NULL; | |
17592 | } | |
17593 | ||
17594 | ||
17595 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17596 | PyObject *resultobj; | |
17597 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17598 | wxString *result; | |
17599 | PyObject * obj0 = 0 ; | |
17600 | char *kwnames[] = { | |
17601 | (char *) "self", NULL | |
17602 | }; | |
17603 | ||
17604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17605 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17606 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17607 | { |
17608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17609 | { | |
17610 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
17611 | result = (wxString *) &_result_ref; | |
17612 | } | |
17613 | ||
17614 | wxPyEndAllowThreads(__tstate); | |
17615 | if (PyErr_Occurred()) SWIG_fail; | |
17616 | } | |
cc6dd355 RD |
17617 | { |
17618 | #if wxUSE_UNICODE | |
17619 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17620 | #else | |
17621 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17622 | #endif | |
17623 | } | |
d14a1e28 RD |
17624 | return resultobj; |
17625 | fail: | |
17626 | return NULL; | |
17627 | } | |
17628 | ||
17629 | ||
17630 | static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17631 | PyObject *resultobj; | |
17632 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17633 | bool result; | |
17634 | PyObject * obj0 = 0 ; | |
17635 | char *kwnames[] = { | |
17636 | (char *) "self", NULL | |
17637 | }; | |
17638 | ||
17639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17642 | { |
17643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17644 | result = (bool)(arg1)->GetColour(); | |
17645 | ||
17646 | wxPyEndAllowThreads(__tstate); | |
17647 | if (PyErr_Occurred()) SWIG_fail; | |
17648 | } | |
4f89f6a3 RD |
17649 | { |
17650 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17651 | } | |
d14a1e28 RD |
17652 | return resultobj; |
17653 | fail: | |
17654 | return NULL; | |
17655 | } | |
17656 | ||
17657 | ||
17658 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17659 | PyObject *resultobj; | |
17660 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17661 | int result; | |
17662 | PyObject * obj0 = 0 ; | |
17663 | char *kwnames[] = { | |
17664 | (char *) "self", NULL | |
17665 | }; | |
17666 | ||
17667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17668 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17669 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17670 | { |
17671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17672 | result = (int)(arg1)->GetDuplex(); | |
17673 | ||
17674 | wxPyEndAllowThreads(__tstate); | |
17675 | if (PyErr_Occurred()) SWIG_fail; | |
17676 | } | |
15afbcd0 | 17677 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
17678 | return resultobj; |
17679 | fail: | |
17680 | return NULL; | |
17681 | } | |
17682 | ||
17683 | ||
17684 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17685 | PyObject *resultobj; | |
17686 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17687 | int result; | |
17688 | PyObject * obj0 = 0 ; | |
17689 | char *kwnames[] = { | |
17690 | (char *) "self", NULL | |
17691 | }; | |
17692 | ||
17693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17694 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17695 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17696 | { |
17697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17698 | result = (int)(arg1)->GetPaperId(); | |
17699 | ||
17700 | wxPyEndAllowThreads(__tstate); | |
17701 | if (PyErr_Occurred()) SWIG_fail; | |
17702 | } | |
15afbcd0 | 17703 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
17704 | return resultobj; |
17705 | fail: | |
17706 | return NULL; | |
17707 | } | |
17708 | ||
17709 | ||
17710 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17711 | PyObject *resultobj; | |
17712 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17713 | wxSize *result; | |
17714 | PyObject * obj0 = 0 ; | |
17715 | char *kwnames[] = { | |
17716 | (char *) "self", NULL | |
17717 | }; | |
17718 | ||
17719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17720 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17721 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17722 | { |
17723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17724 | { | |
17725 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
17726 | result = (wxSize *) &_result_ref; | |
17727 | } | |
17728 | ||
17729 | wxPyEndAllowThreads(__tstate); | |
17730 | if (PyErr_Occurred()) SWIG_fail; | |
17731 | } | |
15afbcd0 | 17732 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); |
d14a1e28 RD |
17733 | return resultobj; |
17734 | fail: | |
17735 | return NULL; | |
17736 | } | |
17737 | ||
17738 | ||
17739 | static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17740 | PyObject *resultobj; | |
17741 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 17742 | int result; |
d14a1e28 RD |
17743 | PyObject * obj0 = 0 ; |
17744 | char *kwnames[] = { | |
17745 | (char *) "self", NULL | |
17746 | }; | |
17747 | ||
17748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17749 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17750 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17751 | { |
17752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b2dc1044 | 17753 | result = (int)(arg1)->GetQuality(); |
d14a1e28 RD |
17754 | |
17755 | wxPyEndAllowThreads(__tstate); | |
17756 | if (PyErr_Occurred()) SWIG_fail; | |
17757 | } | |
15afbcd0 | 17758 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
17759 | return resultobj; |
17760 | fail: | |
17761 | return NULL; | |
17762 | } | |
17763 | ||
17764 | ||
17765 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17766 | PyObject *resultobj; | |
17767 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17768 | int arg2 ; | |
17769 | PyObject * obj0 = 0 ; | |
994141e6 | 17770 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17771 | char *kwnames[] = { |
17772 | (char *) "self",(char *) "v", NULL | |
17773 | }; | |
17774 | ||
994141e6 | 17775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17778 | arg2 = (int) SWIG_AsInt(obj1); | |
17779 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17780 | { |
17781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17782 | (arg1)->SetNoCopies(arg2); | |
17783 | ||
17784 | wxPyEndAllowThreads(__tstate); | |
17785 | if (PyErr_Occurred()) SWIG_fail; | |
17786 | } | |
17787 | Py_INCREF(Py_None); resultobj = Py_None; | |
17788 | return resultobj; | |
17789 | fail: | |
17790 | return NULL; | |
17791 | } | |
17792 | ||
17793 | ||
17794 | static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17795 | PyObject *resultobj; | |
17796 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17797 | bool arg2 ; | |
17798 | PyObject * obj0 = 0 ; | |
17799 | PyObject * obj1 = 0 ; | |
17800 | char *kwnames[] = { | |
17801 | (char *) "self",(char *) "flag", NULL | |
17802 | }; | |
17803 | ||
17804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17805 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17806 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17807 | arg2 = (bool) SWIG_AsBool(obj1); | |
17808 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17809 | { |
17810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17811 | (arg1)->SetCollate(arg2); | |
17812 | ||
17813 | wxPyEndAllowThreads(__tstate); | |
17814 | if (PyErr_Occurred()) SWIG_fail; | |
17815 | } | |
17816 | Py_INCREF(Py_None); resultobj = Py_None; | |
17817 | return resultobj; | |
17818 | fail: | |
17819 | return NULL; | |
17820 | } | |
17821 | ||
17822 | ||
17823 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17824 | PyObject *resultobj; | |
17825 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17826 | int arg2 ; | |
17827 | PyObject * obj0 = 0 ; | |
994141e6 | 17828 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17829 | char *kwnames[] = { |
17830 | (char *) "self",(char *) "orient", NULL | |
17831 | }; | |
17832 | ||
994141e6 | 17833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17834 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17835 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17836 | arg2 = (int) SWIG_AsInt(obj1); | |
17837 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17838 | { |
17839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17840 | (arg1)->SetOrientation(arg2); | |
17841 | ||
17842 | wxPyEndAllowThreads(__tstate); | |
17843 | if (PyErr_Occurred()) SWIG_fail; | |
17844 | } | |
17845 | Py_INCREF(Py_None); resultobj = Py_None; | |
17846 | return resultobj; | |
17847 | fail: | |
17848 | return NULL; | |
17849 | } | |
17850 | ||
17851 | ||
17852 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17853 | PyObject *resultobj; | |
17854 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17855 | wxString *arg2 = 0 ; | |
e811c8ce | 17856 | bool temp2 = False ; |
d14a1e28 RD |
17857 | PyObject * obj0 = 0 ; |
17858 | PyObject * obj1 = 0 ; | |
17859 | char *kwnames[] = { | |
17860 | (char *) "self",(char *) "name", NULL | |
17861 | }; | |
17862 | ||
17863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17864 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17865 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17866 | { |
17867 | arg2 = wxString_in_helper(obj1); | |
17868 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17869 | temp2 = True; |
d14a1e28 RD |
17870 | } |
17871 | { | |
17872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17873 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
17874 | ||
17875 | wxPyEndAllowThreads(__tstate); | |
17876 | if (PyErr_Occurred()) SWIG_fail; | |
17877 | } | |
17878 | Py_INCREF(Py_None); resultobj = Py_None; | |
17879 | { | |
17880 | if (temp2) | |
17881 | delete arg2; | |
17882 | } | |
17883 | return resultobj; | |
17884 | fail: | |
17885 | { | |
17886 | if (temp2) | |
17887 | delete arg2; | |
17888 | } | |
17889 | return NULL; | |
17890 | } | |
17891 | ||
17892 | ||
17893 | static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17894 | PyObject *resultobj; | |
17895 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17896 | bool arg2 ; | |
17897 | PyObject * obj0 = 0 ; | |
17898 | PyObject * obj1 = 0 ; | |
17899 | char *kwnames[] = { | |
17900 | (char *) "self",(char *) "colour", NULL | |
17901 | }; | |
17902 | ||
17903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17904 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17905 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17906 | arg2 = (bool) SWIG_AsBool(obj1); | |
17907 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17908 | { |
17909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17910 | (arg1)->SetColour(arg2); | |
17911 | ||
17912 | wxPyEndAllowThreads(__tstate); | |
17913 | if (PyErr_Occurred()) SWIG_fail; | |
17914 | } | |
17915 | Py_INCREF(Py_None); resultobj = Py_None; | |
17916 | return resultobj; | |
17917 | fail: | |
17918 | return NULL; | |
17919 | } | |
17920 | ||
17921 | ||
17922 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17923 | PyObject *resultobj; | |
17924 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17925 | int arg2 ; | |
17926 | PyObject * obj0 = 0 ; | |
994141e6 | 17927 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17928 | char *kwnames[] = { |
17929 | (char *) "self",(char *) "duplex", NULL | |
17930 | }; | |
17931 | ||
994141e6 | 17932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17933 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17934 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17935 | arg2 = (wxDuplexMode) SWIG_AsInt(obj1); | |
17936 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17937 | { |
17938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17939 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
17940 | ||
17941 | wxPyEndAllowThreads(__tstate); | |
17942 | if (PyErr_Occurred()) SWIG_fail; | |
17943 | } | |
17944 | Py_INCREF(Py_None); resultobj = Py_None; | |
17945 | return resultobj; | |
17946 | fail: | |
17947 | return NULL; | |
17948 | } | |
17949 | ||
17950 | ||
17951 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17952 | PyObject *resultobj; | |
17953 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17954 | int arg2 ; | |
17955 | PyObject * obj0 = 0 ; | |
994141e6 | 17956 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17957 | char *kwnames[] = { |
17958 | (char *) "self",(char *) "sizeId", NULL | |
17959 | }; | |
17960 | ||
994141e6 | 17961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17962 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17963 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17964 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
17965 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17966 | { |
17967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17968 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
17969 | ||
17970 | wxPyEndAllowThreads(__tstate); | |
17971 | if (PyErr_Occurred()) SWIG_fail; | |
17972 | } | |
17973 | Py_INCREF(Py_None); resultobj = Py_None; | |
17974 | return resultobj; | |
17975 | fail: | |
17976 | return NULL; | |
17977 | } | |
17978 | ||
17979 | ||
17980 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17981 | PyObject *resultobj; | |
17982 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17983 | wxSize *arg2 = 0 ; | |
17984 | wxSize temp2 ; | |
17985 | PyObject * obj0 = 0 ; | |
17986 | PyObject * obj1 = 0 ; | |
17987 | char *kwnames[] = { | |
17988 | (char *) "self",(char *) "sz", NULL | |
17989 | }; | |
17990 | ||
17991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17992 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17993 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17994 | { |
17995 | arg2 = &temp2; | |
17996 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
17997 | } | |
17998 | { | |
17999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18000 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
18001 | ||
18002 | wxPyEndAllowThreads(__tstate); | |
18003 | if (PyErr_Occurred()) SWIG_fail; | |
18004 | } | |
18005 | Py_INCREF(Py_None); resultobj = Py_None; | |
18006 | return resultobj; | |
18007 | fail: | |
18008 | return NULL; | |
18009 | } | |
18010 | ||
18011 | ||
18012 | static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18013 | PyObject *resultobj; | |
18014 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 18015 | int arg2 ; |
d14a1e28 | 18016 | PyObject * obj0 = 0 ; |
994141e6 | 18017 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18018 | char *kwnames[] = { |
18019 | (char *) "self",(char *) "quality", NULL | |
18020 | }; | |
18021 | ||
994141e6 | 18022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18023 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18024 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18025 | arg2 = (int) SWIG_AsInt(obj1); | |
18026 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18027 | { |
18028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18029 | (arg1)->SetQuality(arg2); | |
18030 | ||
18031 | wxPyEndAllowThreads(__tstate); | |
18032 | if (PyErr_Occurred()) SWIG_fail; | |
18033 | } | |
18034 | Py_INCREF(Py_None); resultobj = Py_None; | |
18035 | return resultobj; | |
18036 | fail: | |
18037 | return NULL; | |
18038 | } | |
18039 | ||
18040 | ||
18041 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18042 | PyObject *resultobj; | |
18043 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18044 | wxString *result; | |
18045 | PyObject * obj0 = 0 ; | |
18046 | char *kwnames[] = { | |
18047 | (char *) "self", NULL | |
18048 | }; | |
18049 | ||
18050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18051 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18053 | { |
18054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18055 | { | |
18056 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); | |
18057 | result = (wxString *) &_result_ref; | |
18058 | } | |
18059 | ||
18060 | wxPyEndAllowThreads(__tstate); | |
18061 | if (PyErr_Occurred()) SWIG_fail; | |
18062 | } | |
cc6dd355 RD |
18063 | { |
18064 | #if wxUSE_UNICODE | |
18065 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18066 | #else | |
18067 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18068 | #endif | |
18069 | } | |
d14a1e28 RD |
18070 | return resultobj; |
18071 | fail: | |
18072 | return NULL; | |
18073 | } | |
18074 | ||
18075 | ||
18076 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18077 | PyObject *resultobj; | |
18078 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18079 | wxString *result; | |
18080 | PyObject * obj0 = 0 ; | |
18081 | char *kwnames[] = { | |
18082 | (char *) "self", NULL | |
18083 | }; | |
18084 | ||
18085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18086 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18087 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18088 | { |
18089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18090 | { | |
18091 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); | |
18092 | result = (wxString *) &_result_ref; | |
18093 | } | |
18094 | ||
18095 | wxPyEndAllowThreads(__tstate); | |
18096 | if (PyErr_Occurred()) SWIG_fail; | |
18097 | } | |
cc6dd355 RD |
18098 | { |
18099 | #if wxUSE_UNICODE | |
18100 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18101 | #else | |
18102 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18103 | #endif | |
18104 | } | |
d14a1e28 RD |
18105 | return resultobj; |
18106 | fail: | |
18107 | return NULL; | |
18108 | } | |
18109 | ||
18110 | ||
18111 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18112 | PyObject *resultobj; | |
18113 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18114 | wxString *result; | |
18115 | PyObject * obj0 = 0 ; | |
18116 | char *kwnames[] = { | |
18117 | (char *) "self", NULL | |
18118 | }; | |
18119 | ||
18120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18121 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18122 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18123 | { |
18124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18125 | { | |
18126 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); | |
18127 | result = (wxString *) &_result_ref; | |
18128 | } | |
18129 | ||
18130 | wxPyEndAllowThreads(__tstate); | |
18131 | if (PyErr_Occurred()) SWIG_fail; | |
18132 | } | |
cc6dd355 RD |
18133 | { |
18134 | #if wxUSE_UNICODE | |
18135 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18136 | #else | |
18137 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18138 | #endif | |
18139 | } | |
d14a1e28 RD |
18140 | return resultobj; |
18141 | fail: | |
18142 | return NULL; | |
18143 | } | |
18144 | ||
18145 | ||
18146 | static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18147 | PyObject *resultobj; | |
18148 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18149 | wxString *result; | |
18150 | PyObject * obj0 = 0 ; | |
18151 | char *kwnames[] = { | |
18152 | (char *) "self", NULL | |
18153 | }; | |
18154 | ||
18155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18156 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18157 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18158 | { |
18159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18160 | { | |
18161 | wxString const &_result_ref = (arg1)->GetFilename(); | |
18162 | result = (wxString *) &_result_ref; | |
18163 | } | |
18164 | ||
18165 | wxPyEndAllowThreads(__tstate); | |
18166 | if (PyErr_Occurred()) SWIG_fail; | |
18167 | } | |
cc6dd355 RD |
18168 | { |
18169 | #if wxUSE_UNICODE | |
18170 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18171 | #else | |
18172 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18173 | #endif | |
18174 | } | |
d14a1e28 RD |
18175 | return resultobj; |
18176 | fail: | |
18177 | return NULL; | |
18178 | } | |
18179 | ||
18180 | ||
18181 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18182 | PyObject *resultobj; | |
18183 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18184 | wxString *result; | |
18185 | PyObject * obj0 = 0 ; | |
18186 | char *kwnames[] = { | |
18187 | (char *) "self", NULL | |
18188 | }; | |
18189 | ||
18190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18191 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18192 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18193 | { |
18194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18195 | { | |
18196 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
18197 | result = (wxString *) &_result_ref; | |
18198 | } | |
18199 | ||
18200 | wxPyEndAllowThreads(__tstate); | |
18201 | if (PyErr_Occurred()) SWIG_fail; | |
18202 | } | |
cc6dd355 RD |
18203 | { |
18204 | #if wxUSE_UNICODE | |
18205 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18206 | #else | |
18207 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18208 | #endif | |
18209 | } | |
d14a1e28 RD |
18210 | return resultobj; |
18211 | fail: | |
18212 | return NULL; | |
18213 | } | |
18214 | ||
18215 | ||
18216 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18217 | PyObject *resultobj; | |
18218 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18219 | double result; | |
18220 | PyObject * obj0 = 0 ; | |
18221 | char *kwnames[] = { | |
18222 | (char *) "self", NULL | |
18223 | }; | |
18224 | ||
18225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18226 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18227 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18228 | { |
18229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18230 | result = (double)(arg1)->GetPrinterScaleX(); | |
18231 | ||
18232 | wxPyEndAllowThreads(__tstate); | |
18233 | if (PyErr_Occurred()) SWIG_fail; | |
18234 | } | |
15afbcd0 | 18235 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
18236 | return resultobj; |
18237 | fail: | |
18238 | return NULL; | |
18239 | } | |
18240 | ||
18241 | ||
18242 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18243 | PyObject *resultobj; | |
18244 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18245 | double result; | |
18246 | PyObject * obj0 = 0 ; | |
18247 | char *kwnames[] = { | |
18248 | (char *) "self", NULL | |
18249 | }; | |
18250 | ||
18251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18252 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18253 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18254 | { |
18255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18256 | result = (double)(arg1)->GetPrinterScaleY(); | |
18257 | ||
18258 | wxPyEndAllowThreads(__tstate); | |
18259 | if (PyErr_Occurred()) SWIG_fail; | |
18260 | } | |
15afbcd0 | 18261 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
18262 | return resultobj; |
18263 | fail: | |
18264 | return NULL; | |
18265 | } | |
18266 | ||
18267 | ||
18268 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18269 | PyObject *resultobj; | |
18270 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18271 | long result; | |
18272 | PyObject * obj0 = 0 ; | |
18273 | char *kwnames[] = { | |
18274 | (char *) "self", NULL | |
18275 | }; | |
18276 | ||
18277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18278 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18280 | { |
18281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18282 | result = (long)(arg1)->GetPrinterTranslateX(); | |
18283 | ||
18284 | wxPyEndAllowThreads(__tstate); | |
18285 | if (PyErr_Occurred()) SWIG_fail; | |
18286 | } | |
15afbcd0 | 18287 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
18288 | return resultobj; |
18289 | fail: | |
18290 | return NULL; | |
18291 | } | |
18292 | ||
18293 | ||
18294 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18295 | PyObject *resultobj; | |
18296 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18297 | long result; | |
18298 | PyObject * obj0 = 0 ; | |
18299 | char *kwnames[] = { | |
18300 | (char *) "self", NULL | |
18301 | }; | |
18302 | ||
18303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18304 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18305 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18306 | { |
18307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18308 | result = (long)(arg1)->GetPrinterTranslateY(); | |
18309 | ||
18310 | wxPyEndAllowThreads(__tstate); | |
18311 | if (PyErr_Occurred()) SWIG_fail; | |
18312 | } | |
15afbcd0 | 18313 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
18314 | return resultobj; |
18315 | fail: | |
18316 | return NULL; | |
18317 | } | |
18318 | ||
18319 | ||
18320 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18321 | PyObject *resultobj; | |
18322 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18323 | int result; | |
18324 | PyObject * obj0 = 0 ; | |
18325 | char *kwnames[] = { | |
18326 | (char *) "self", NULL | |
18327 | }; | |
18328 | ||
18329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18330 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18331 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18332 | { |
18333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18334 | result = (int)(arg1)->GetPrintMode(); | |
18335 | ||
18336 | wxPyEndAllowThreads(__tstate); | |
18337 | if (PyErr_Occurred()) SWIG_fail; | |
18338 | } | |
15afbcd0 | 18339 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18340 | return resultobj; |
18341 | fail: | |
18342 | return NULL; | |
18343 | } | |
18344 | ||
18345 | ||
18346 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18347 | PyObject *resultobj; | |
18348 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18349 | wxString *arg2 = 0 ; | |
e811c8ce | 18350 | bool temp2 = False ; |
d14a1e28 RD |
18351 | PyObject * obj0 = 0 ; |
18352 | PyObject * obj1 = 0 ; | |
18353 | char *kwnames[] = { | |
18354 | (char *) "self",(char *) "command", NULL | |
18355 | }; | |
18356 | ||
18357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18358 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18359 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18360 | { |
18361 | arg2 = wxString_in_helper(obj1); | |
18362 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 18363 | temp2 = True; |
d14a1e28 RD |
18364 | } |
18365 | { | |
18366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18367 | (arg1)->SetPrinterCommand((wxString const &)*arg2); | |
18368 | ||
18369 | wxPyEndAllowThreads(__tstate); | |
18370 | if (PyErr_Occurred()) SWIG_fail; | |
18371 | } | |
18372 | Py_INCREF(Py_None); resultobj = Py_None; | |
18373 | { | |
18374 | if (temp2) | |
18375 | delete arg2; | |
18376 | } | |
18377 | return resultobj; | |
18378 | fail: | |
18379 | { | |
18380 | if (temp2) | |
18381 | delete arg2; | |
18382 | } | |
18383 | return NULL; | |
18384 | } | |
18385 | ||
18386 | ||
18387 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18388 | PyObject *resultobj; | |
18389 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18390 | wxString *arg2 = 0 ; | |
e811c8ce | 18391 | bool temp2 = False ; |
d14a1e28 RD |
18392 | PyObject * obj0 = 0 ; |
18393 | PyObject * obj1 = 0 ; | |
18394 | char *kwnames[] = { | |
18395 | (char *) "self",(char *) "options", NULL | |
18396 | }; | |
18397 | ||
18398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18399 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18401 | { |
18402 | arg2 = wxString_in_helper(obj1); | |
18403 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 18404 | temp2 = True; |
d14a1e28 RD |
18405 | } |
18406 | { | |
18407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18408 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
18409 | ||
18410 | wxPyEndAllowThreads(__tstate); | |
18411 | if (PyErr_Occurred()) SWIG_fail; | |
18412 | } | |
18413 | Py_INCREF(Py_None); resultobj = Py_None; | |
18414 | { | |
18415 | if (temp2) | |
18416 | delete arg2; | |
18417 | } | |
18418 | return resultobj; | |
18419 | fail: | |
18420 | { | |
18421 | if (temp2) | |
18422 | delete arg2; | |
18423 | } | |
18424 | return NULL; | |
18425 | } | |
18426 | ||
18427 | ||
18428 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18429 | PyObject *resultobj; | |
18430 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18431 | wxString *arg2 = 0 ; | |
e811c8ce | 18432 | bool temp2 = False ; |
d14a1e28 RD |
18433 | PyObject * obj0 = 0 ; |
18434 | PyObject * obj1 = 0 ; | |
18435 | char *kwnames[] = { | |
18436 | (char *) "self",(char *) "command", NULL | |
18437 | }; | |
18438 | ||
18439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18440 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18441 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18442 | { |
18443 | arg2 = wxString_in_helper(obj1); | |
18444 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 18445 | temp2 = True; |
d14a1e28 RD |
18446 | } |
18447 | { | |
18448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18449 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
18450 | ||
18451 | wxPyEndAllowThreads(__tstate); | |
18452 | if (PyErr_Occurred()) SWIG_fail; | |
18453 | } | |
18454 | Py_INCREF(Py_None); resultobj = Py_None; | |
18455 | { | |
18456 | if (temp2) | |
18457 | delete arg2; | |
18458 | } | |
18459 | return resultobj; | |
18460 | fail: | |
18461 | { | |
18462 | if (temp2) | |
18463 | delete arg2; | |
18464 | } | |
18465 | return NULL; | |
18466 | } | |
18467 | ||
18468 | ||
18469 | static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18470 | PyObject *resultobj; | |
18471 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18472 | wxString *arg2 = 0 ; | |
e811c8ce | 18473 | bool temp2 = False ; |
d14a1e28 RD |
18474 | PyObject * obj0 = 0 ; |
18475 | PyObject * obj1 = 0 ; | |
18476 | char *kwnames[] = { | |
18477 | (char *) "self",(char *) "filename", NULL | |
18478 | }; | |
18479 | ||
18480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18481 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18482 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18483 | { |
18484 | arg2 = wxString_in_helper(obj1); | |
18485 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 18486 | temp2 = True; |
d14a1e28 RD |
18487 | } |
18488 | { | |
18489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18490 | (arg1)->SetFilename((wxString const &)*arg2); | |
18491 | ||
18492 | wxPyEndAllowThreads(__tstate); | |
18493 | if (PyErr_Occurred()) SWIG_fail; | |
18494 | } | |
18495 | Py_INCREF(Py_None); resultobj = Py_None; | |
18496 | { | |
18497 | if (temp2) | |
18498 | delete arg2; | |
18499 | } | |
18500 | return resultobj; | |
18501 | fail: | |
18502 | { | |
18503 | if (temp2) | |
18504 | delete arg2; | |
18505 | } | |
18506 | return NULL; | |
18507 | } | |
18508 | ||
18509 | ||
18510 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18511 | PyObject *resultobj; | |
18512 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18513 | wxString *arg2 = 0 ; | |
e811c8ce | 18514 | bool temp2 = False ; |
d14a1e28 RD |
18515 | PyObject * obj0 = 0 ; |
18516 | PyObject * obj1 = 0 ; | |
18517 | char *kwnames[] = { | |
18518 | (char *) "self",(char *) "path", NULL | |
18519 | }; | |
18520 | ||
18521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18522 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18523 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18524 | { |
18525 | arg2 = wxString_in_helper(obj1); | |
18526 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 18527 | temp2 = True; |
d14a1e28 RD |
18528 | } |
18529 | { | |
18530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18531 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
18532 | ||
18533 | wxPyEndAllowThreads(__tstate); | |
18534 | if (PyErr_Occurred()) SWIG_fail; | |
18535 | } | |
18536 | Py_INCREF(Py_None); resultobj = Py_None; | |
18537 | { | |
18538 | if (temp2) | |
18539 | delete arg2; | |
18540 | } | |
18541 | return resultobj; | |
18542 | fail: | |
18543 | { | |
18544 | if (temp2) | |
18545 | delete arg2; | |
18546 | } | |
18547 | return NULL; | |
18548 | } | |
18549 | ||
18550 | ||
18551 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18552 | PyObject *resultobj; | |
18553 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18554 | double arg2 ; | |
18555 | PyObject * obj0 = 0 ; | |
994141e6 | 18556 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18557 | char *kwnames[] = { |
18558 | (char *) "self",(char *) "x", NULL | |
18559 | }; | |
18560 | ||
994141e6 | 18561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18562 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18563 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18564 | arg2 = (double) SWIG_AsDouble(obj1); | |
18565 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18566 | { |
18567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18568 | (arg1)->SetPrinterScaleX(arg2); | |
18569 | ||
18570 | wxPyEndAllowThreads(__tstate); | |
18571 | if (PyErr_Occurred()) SWIG_fail; | |
18572 | } | |
18573 | Py_INCREF(Py_None); resultobj = Py_None; | |
18574 | return resultobj; | |
18575 | fail: | |
18576 | return NULL; | |
18577 | } | |
18578 | ||
18579 | ||
18580 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18581 | PyObject *resultobj; | |
18582 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18583 | double arg2 ; | |
18584 | PyObject * obj0 = 0 ; | |
994141e6 | 18585 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18586 | char *kwnames[] = { |
18587 | (char *) "self",(char *) "y", NULL | |
18588 | }; | |
18589 | ||
994141e6 | 18590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18591 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18592 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18593 | arg2 = (double) SWIG_AsDouble(obj1); | |
18594 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18595 | { |
18596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18597 | (arg1)->SetPrinterScaleY(arg2); | |
18598 | ||
18599 | wxPyEndAllowThreads(__tstate); | |
18600 | if (PyErr_Occurred()) SWIG_fail; | |
18601 | } | |
18602 | Py_INCREF(Py_None); resultobj = Py_None; | |
18603 | return resultobj; | |
18604 | fail: | |
18605 | return NULL; | |
18606 | } | |
18607 | ||
18608 | ||
18609 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18610 | PyObject *resultobj; | |
18611 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18612 | double arg2 ; | |
18613 | double arg3 ; | |
18614 | PyObject * obj0 = 0 ; | |
994141e6 RD |
18615 | PyObject * obj1 = 0 ; |
18616 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
18617 | char *kwnames[] = { |
18618 | (char *) "self",(char *) "x",(char *) "y", NULL | |
18619 | }; | |
18620 | ||
994141e6 | 18621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
18622 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18623 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18624 | arg2 = (double) SWIG_AsDouble(obj1); | |
18625 | if (PyErr_Occurred()) SWIG_fail; | |
18626 | arg3 = (double) SWIG_AsDouble(obj2); | |
18627 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18628 | { |
18629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18630 | (arg1)->SetPrinterScaling(arg2,arg3); | |
18631 | ||
18632 | wxPyEndAllowThreads(__tstate); | |
18633 | if (PyErr_Occurred()) SWIG_fail; | |
18634 | } | |
18635 | Py_INCREF(Py_None); resultobj = Py_None; | |
18636 | return resultobj; | |
18637 | fail: | |
18638 | return NULL; | |
18639 | } | |
18640 | ||
18641 | ||
18642 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18643 | PyObject *resultobj; | |
18644 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18645 | long arg2 ; | |
18646 | PyObject * obj0 = 0 ; | |
994141e6 | 18647 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18648 | char *kwnames[] = { |
18649 | (char *) "self",(char *) "x", NULL | |
18650 | }; | |
18651 | ||
994141e6 | 18652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18653 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18654 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18655 | arg2 = (long) SWIG_AsLong(obj1); | |
18656 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18657 | { |
18658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18659 | (arg1)->SetPrinterTranslateX(arg2); | |
18660 | ||
18661 | wxPyEndAllowThreads(__tstate); | |
18662 | if (PyErr_Occurred()) SWIG_fail; | |
18663 | } | |
18664 | Py_INCREF(Py_None); resultobj = Py_None; | |
18665 | return resultobj; | |
18666 | fail: | |
18667 | return NULL; | |
18668 | } | |
18669 | ||
18670 | ||
18671 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18672 | PyObject *resultobj; | |
18673 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18674 | long arg2 ; | |
18675 | PyObject * obj0 = 0 ; | |
994141e6 | 18676 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18677 | char *kwnames[] = { |
18678 | (char *) "self",(char *) "y", NULL | |
18679 | }; | |
18680 | ||
994141e6 | 18681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18682 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18683 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18684 | arg2 = (long) SWIG_AsLong(obj1); | |
18685 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18686 | { |
18687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18688 | (arg1)->SetPrinterTranslateY(arg2); | |
18689 | ||
18690 | wxPyEndAllowThreads(__tstate); | |
18691 | if (PyErr_Occurred()) SWIG_fail; | |
18692 | } | |
18693 | Py_INCREF(Py_None); resultobj = Py_None; | |
18694 | return resultobj; | |
18695 | fail: | |
18696 | return NULL; | |
18697 | } | |
18698 | ||
18699 | ||
18700 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18701 | PyObject *resultobj; | |
18702 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18703 | long arg2 ; | |
18704 | long arg3 ; | |
18705 | PyObject * obj0 = 0 ; | |
994141e6 RD |
18706 | PyObject * obj1 = 0 ; |
18707 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
18708 | char *kwnames[] = { |
18709 | (char *) "self",(char *) "x",(char *) "y", NULL | |
18710 | }; | |
18711 | ||
994141e6 | 18712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
18713 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18714 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18715 | arg2 = (long) SWIG_AsLong(obj1); | |
18716 | if (PyErr_Occurred()) SWIG_fail; | |
18717 | arg3 = (long) SWIG_AsLong(obj2); | |
18718 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18719 | { |
18720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18721 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
18722 | ||
18723 | wxPyEndAllowThreads(__tstate); | |
18724 | if (PyErr_Occurred()) SWIG_fail; | |
18725 | } | |
18726 | Py_INCREF(Py_None); resultobj = Py_None; | |
18727 | return resultobj; | |
18728 | fail: | |
18729 | return NULL; | |
18730 | } | |
18731 | ||
18732 | ||
18733 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18734 | PyObject *resultobj; | |
18735 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18736 | int arg2 ; | |
18737 | PyObject * obj0 = 0 ; | |
994141e6 | 18738 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18739 | char *kwnames[] = { |
18740 | (char *) "self",(char *) "printMode", NULL | |
18741 | }; | |
18742 | ||
994141e6 | 18743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18746 | arg2 = (wxPrintMode) SWIG_AsInt(obj1); | |
18747 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18748 | { |
18749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18750 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
18751 | ||
18752 | wxPyEndAllowThreads(__tstate); | |
18753 | if (PyErr_Occurred()) SWIG_fail; | |
18754 | } | |
18755 | Py_INCREF(Py_None); resultobj = Py_None; | |
18756 | return resultobj; | |
18757 | fail: | |
18758 | return NULL; | |
18759 | } | |
18760 | ||
18761 | ||
db914595 RD |
18762 | static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { |
18763 | PyObject *resultobj; | |
18764 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18765 | wxOutputStream *result; | |
18766 | PyObject * obj0 = 0 ; | |
18767 | char *kwnames[] = { | |
18768 | (char *) "self", NULL | |
18769 | }; | |
18770 | ||
18771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18772 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18773 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
18774 | { |
18775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18776 | result = (wxOutputStream *)(arg1)->GetOutputStream(); | |
18777 | ||
18778 | wxPyEndAllowThreads(__tstate); | |
18779 | if (PyErr_Occurred()) SWIG_fail; | |
18780 | } | |
15afbcd0 | 18781 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0); |
db914595 RD |
18782 | return resultobj; |
18783 | fail: | |
18784 | return NULL; | |
18785 | } | |
18786 | ||
18787 | ||
18788 | static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18789 | PyObject *resultobj; | |
18790 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18791 | wxOutputStream *arg2 = (wxOutputStream *) 0 ; | |
18792 | PyObject * obj0 = 0 ; | |
18793 | PyObject * obj1 = 0 ; | |
18794 | char *kwnames[] = { | |
18795 | (char *) "self",(char *) "outputstream", NULL | |
18796 | }; | |
18797 | ||
18798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18799 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18800 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18801 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream, | |
18802 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
18803 | { |
18804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18805 | (arg1)->SetOutputStream(arg2); | |
18806 | ||
18807 | wxPyEndAllowThreads(__tstate); | |
18808 | if (PyErr_Occurred()) SWIG_fail; | |
18809 | } | |
18810 | Py_INCREF(Py_None); resultobj = Py_None; | |
18811 | return resultobj; | |
18812 | fail: | |
18813 | return NULL; | |
18814 | } | |
18815 | ||
18816 | ||
d14a1e28 RD |
18817 | static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) { |
18818 | PyObject *obj; | |
18819 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18820 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
18821 | Py_INCREF(obj); | |
18822 | return Py_BuildValue((char *)""); | |
18823 | } | |
18824 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18825 | PyObject *resultobj; | |
18826 | wxPageSetupDialogData *result; | |
18827 | char *kwnames[] = { | |
18828 | NULL | |
18829 | }; | |
18830 | ||
18831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail; | |
18832 | { | |
18833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18834 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
18835 | ||
18836 | wxPyEndAllowThreads(__tstate); | |
18837 | if (PyErr_Occurred()) SWIG_fail; | |
18838 | } | |
15afbcd0 | 18839 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); |
d14a1e28 RD |
18840 | return resultobj; |
18841 | fail: | |
18842 | return NULL; | |
18843 | } | |
18844 | ||
18845 | ||
18846 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18847 | PyObject *resultobj; | |
18848 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18849 | PyObject * obj0 = 0 ; | |
18850 | char *kwnames[] = { | |
18851 | (char *) "self", NULL | |
18852 | }; | |
18853 | ||
18854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18855 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18856 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18857 | { |
18858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18859 | delete arg1; | |
18860 | ||
18861 | wxPyEndAllowThreads(__tstate); | |
18862 | if (PyErr_Occurred()) SWIG_fail; | |
18863 | } | |
18864 | Py_INCREF(Py_None); resultobj = Py_None; | |
18865 | return resultobj; | |
18866 | fail: | |
18867 | return NULL; | |
18868 | } | |
18869 | ||
18870 | ||
18871 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18872 | PyObject *resultobj; | |
18873 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18874 | bool arg2 ; | |
18875 | PyObject * obj0 = 0 ; | |
18876 | PyObject * obj1 = 0 ; | |
18877 | char *kwnames[] = { | |
18878 | (char *) "self",(char *) "flag", NULL | |
18879 | }; | |
18880 | ||
18881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18882 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18883 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18884 | arg2 = (bool) SWIG_AsBool(obj1); | |
18885 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18886 | { |
18887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18888 | (arg1)->EnableHelp(arg2); | |
18889 | ||
18890 | wxPyEndAllowThreads(__tstate); | |
18891 | if (PyErr_Occurred()) SWIG_fail; | |
18892 | } | |
18893 | Py_INCREF(Py_None); resultobj = Py_None; | |
18894 | return resultobj; | |
18895 | fail: | |
18896 | return NULL; | |
18897 | } | |
18898 | ||
18899 | ||
18900 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18901 | PyObject *resultobj; | |
18902 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18903 | bool arg2 ; | |
18904 | PyObject * obj0 = 0 ; | |
18905 | PyObject * obj1 = 0 ; | |
18906 | char *kwnames[] = { | |
18907 | (char *) "self",(char *) "flag", NULL | |
18908 | }; | |
18909 | ||
18910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18911 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18912 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18913 | arg2 = (bool) SWIG_AsBool(obj1); | |
18914 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18915 | { |
18916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18917 | (arg1)->EnableMargins(arg2); | |
18918 | ||
18919 | wxPyEndAllowThreads(__tstate); | |
18920 | if (PyErr_Occurred()) SWIG_fail; | |
18921 | } | |
18922 | Py_INCREF(Py_None); resultobj = Py_None; | |
18923 | return resultobj; | |
18924 | fail: | |
18925 | return NULL; | |
18926 | } | |
18927 | ||
18928 | ||
18929 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18930 | PyObject *resultobj; | |
18931 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18932 | bool arg2 ; | |
18933 | PyObject * obj0 = 0 ; | |
18934 | PyObject * obj1 = 0 ; | |
18935 | char *kwnames[] = { | |
18936 | (char *) "self",(char *) "flag", NULL | |
18937 | }; | |
18938 | ||
18939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18940 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18941 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18942 | arg2 = (bool) SWIG_AsBool(obj1); | |
18943 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18944 | { |
18945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18946 | (arg1)->EnableOrientation(arg2); | |
18947 | ||
18948 | wxPyEndAllowThreads(__tstate); | |
18949 | if (PyErr_Occurred()) SWIG_fail; | |
18950 | } | |
18951 | Py_INCREF(Py_None); resultobj = Py_None; | |
18952 | return resultobj; | |
18953 | fail: | |
18954 | return NULL; | |
18955 | } | |
18956 | ||
18957 | ||
18958 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18959 | PyObject *resultobj; | |
18960 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18961 | bool arg2 ; | |
18962 | PyObject * obj0 = 0 ; | |
18963 | PyObject * obj1 = 0 ; | |
18964 | char *kwnames[] = { | |
18965 | (char *) "self",(char *) "flag", NULL | |
18966 | }; | |
18967 | ||
18968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18969 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18970 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18971 | arg2 = (bool) SWIG_AsBool(obj1); | |
18972 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18973 | { |
18974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18975 | (arg1)->EnablePaper(arg2); | |
18976 | ||
18977 | wxPyEndAllowThreads(__tstate); | |
18978 | if (PyErr_Occurred()) SWIG_fail; | |
18979 | } | |
18980 | Py_INCREF(Py_None); resultobj = Py_None; | |
18981 | return resultobj; | |
18982 | fail: | |
18983 | return NULL; | |
18984 | } | |
18985 | ||
18986 | ||
18987 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18988 | PyObject *resultobj; | |
18989 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18990 | bool arg2 ; | |
18991 | PyObject * obj0 = 0 ; | |
18992 | PyObject * obj1 = 0 ; | |
18993 | char *kwnames[] = { | |
18994 | (char *) "self",(char *) "flag", NULL | |
18995 | }; | |
18996 | ||
18997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18998 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18999 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19000 | arg2 = (bool) SWIG_AsBool(obj1); | |
19001 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19002 | { |
19003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19004 | (arg1)->EnablePrinter(arg2); | |
19005 | ||
19006 | wxPyEndAllowThreads(__tstate); | |
19007 | if (PyErr_Occurred()) SWIG_fail; | |
19008 | } | |
19009 | Py_INCREF(Py_None); resultobj = Py_None; | |
19010 | return resultobj; | |
19011 | fail: | |
19012 | return NULL; | |
19013 | } | |
19014 | ||
19015 | ||
19016 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19017 | PyObject *resultobj; | |
19018 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19019 | bool result; | |
19020 | PyObject * obj0 = 0 ; | |
19021 | char *kwnames[] = { | |
19022 | (char *) "self", NULL | |
19023 | }; | |
19024 | ||
19025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19026 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19027 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19028 | { |
19029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19030 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
19031 | ||
19032 | wxPyEndAllowThreads(__tstate); | |
19033 | if (PyErr_Occurred()) SWIG_fail; | |
19034 | } | |
4f89f6a3 RD |
19035 | { |
19036 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19037 | } | |
d14a1e28 RD |
19038 | return resultobj; |
19039 | fail: | |
19040 | return NULL; | |
19041 | } | |
19042 | ||
19043 | ||
19044 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19045 | PyObject *resultobj; | |
19046 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19047 | bool result; | |
19048 | PyObject * obj0 = 0 ; | |
19049 | char *kwnames[] = { | |
19050 | (char *) "self", NULL | |
19051 | }; | |
19052 | ||
19053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19054 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19055 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19056 | { |
19057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19058 | result = (bool)(arg1)->GetEnableMargins(); | |
19059 | ||
19060 | wxPyEndAllowThreads(__tstate); | |
19061 | if (PyErr_Occurred()) SWIG_fail; | |
19062 | } | |
4f89f6a3 RD |
19063 | { |
19064 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19065 | } | |
d14a1e28 RD |
19066 | return resultobj; |
19067 | fail: | |
19068 | return NULL; | |
19069 | } | |
19070 | ||
19071 | ||
19072 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19073 | PyObject *resultobj; | |
19074 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19075 | bool result; | |
19076 | PyObject * obj0 = 0 ; | |
19077 | char *kwnames[] = { | |
19078 | (char *) "self", NULL | |
19079 | }; | |
19080 | ||
19081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19082 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19083 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19084 | { |
19085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19086 | result = (bool)(arg1)->GetEnableOrientation(); | |
19087 | ||
19088 | wxPyEndAllowThreads(__tstate); | |
19089 | if (PyErr_Occurred()) SWIG_fail; | |
19090 | } | |
4f89f6a3 RD |
19091 | { |
19092 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19093 | } | |
d14a1e28 RD |
19094 | return resultobj; |
19095 | fail: | |
19096 | return NULL; | |
19097 | } | |
19098 | ||
19099 | ||
19100 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19101 | PyObject *resultobj; | |
19102 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19103 | bool result; | |
19104 | PyObject * obj0 = 0 ; | |
19105 | char *kwnames[] = { | |
19106 | (char *) "self", NULL | |
19107 | }; | |
19108 | ||
19109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19110 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19111 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19112 | { |
19113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19114 | result = (bool)(arg1)->GetEnablePaper(); | |
19115 | ||
19116 | wxPyEndAllowThreads(__tstate); | |
19117 | if (PyErr_Occurred()) SWIG_fail; | |
19118 | } | |
4f89f6a3 RD |
19119 | { |
19120 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19121 | } | |
d14a1e28 RD |
19122 | return resultobj; |
19123 | fail: | |
19124 | return NULL; | |
19125 | } | |
19126 | ||
19127 | ||
19128 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19129 | PyObject *resultobj; | |
19130 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19131 | bool result; | |
19132 | PyObject * obj0 = 0 ; | |
19133 | char *kwnames[] = { | |
19134 | (char *) "self", NULL | |
19135 | }; | |
19136 | ||
19137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19138 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19139 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19140 | { |
19141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19142 | result = (bool)(arg1)->GetEnablePrinter(); | |
19143 | ||
19144 | wxPyEndAllowThreads(__tstate); | |
19145 | if (PyErr_Occurred()) SWIG_fail; | |
19146 | } | |
4f89f6a3 RD |
19147 | { |
19148 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19149 | } | |
d14a1e28 RD |
19150 | return resultobj; |
19151 | fail: | |
19152 | return NULL; | |
19153 | } | |
19154 | ||
19155 | ||
19156 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19157 | PyObject *resultobj; | |
19158 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19159 | bool result; | |
19160 | PyObject * obj0 = 0 ; | |
19161 | char *kwnames[] = { | |
19162 | (char *) "self", NULL | |
19163 | }; | |
19164 | ||
19165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19166 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19167 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19168 | { |
19169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19170 | result = (bool)(arg1)->GetEnableHelp(); | |
19171 | ||
19172 | wxPyEndAllowThreads(__tstate); | |
19173 | if (PyErr_Occurred()) SWIG_fail; | |
19174 | } | |
4f89f6a3 RD |
19175 | { |
19176 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19177 | } | |
d14a1e28 RD |
19178 | return resultobj; |
19179 | fail: | |
19180 | return NULL; | |
19181 | } | |
19182 | ||
19183 | ||
19184 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19185 | PyObject *resultobj; | |
19186 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19187 | bool result; | |
19188 | PyObject * obj0 = 0 ; | |
19189 | char *kwnames[] = { | |
19190 | (char *) "self", NULL | |
19191 | }; | |
19192 | ||
19193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19194 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19195 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19196 | { |
19197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19198 | result = (bool)(arg1)->GetDefaultInfo(); | |
19199 | ||
19200 | wxPyEndAllowThreads(__tstate); | |
19201 | if (PyErr_Occurred()) SWIG_fail; | |
19202 | } | |
4f89f6a3 RD |
19203 | { |
19204 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19205 | } | |
d14a1e28 RD |
19206 | return resultobj; |
19207 | fail: | |
19208 | return NULL; | |
19209 | } | |
19210 | ||
19211 | ||
19212 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19213 | PyObject *resultobj; | |
19214 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19215 | wxPoint result; | |
19216 | PyObject * obj0 = 0 ; | |
19217 | char *kwnames[] = { | |
19218 | (char *) "self", NULL | |
19219 | }; | |
19220 | ||
19221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19222 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19223 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19224 | { |
19225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19226 | result = (arg1)->GetMarginTopLeft(); | |
19227 | ||
19228 | wxPyEndAllowThreads(__tstate); | |
19229 | if (PyErr_Occurred()) SWIG_fail; | |
19230 | } | |
19231 | { | |
19232 | wxPoint * resultptr; | |
19233 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 19234 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
19235 | } |
19236 | return resultobj; | |
19237 | fail: | |
19238 | return NULL; | |
19239 | } | |
19240 | ||
19241 | ||
19242 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19243 | PyObject *resultobj; | |
19244 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19245 | wxPoint result; | |
19246 | PyObject * obj0 = 0 ; | |
19247 | char *kwnames[] = { | |
19248 | (char *) "self", NULL | |
19249 | }; | |
19250 | ||
19251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19252 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19253 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19254 | { |
19255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19256 | result = (arg1)->GetMarginBottomRight(); | |
19257 | ||
19258 | wxPyEndAllowThreads(__tstate); | |
19259 | if (PyErr_Occurred()) SWIG_fail; | |
19260 | } | |
19261 | { | |
19262 | wxPoint * resultptr; | |
19263 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 19264 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
19265 | } |
19266 | return resultobj; | |
19267 | fail: | |
19268 | return NULL; | |
19269 | } | |
19270 | ||
19271 | ||
19272 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19273 | PyObject *resultobj; | |
19274 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19275 | wxPoint result; | |
19276 | PyObject * obj0 = 0 ; | |
19277 | char *kwnames[] = { | |
19278 | (char *) "self", NULL | |
19279 | }; | |
19280 | ||
19281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19282 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19283 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19284 | { |
19285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19286 | result = (arg1)->GetMinMarginTopLeft(); | |
19287 | ||
19288 | wxPyEndAllowThreads(__tstate); | |
19289 | if (PyErr_Occurred()) SWIG_fail; | |
19290 | } | |
19291 | { | |
19292 | wxPoint * resultptr; | |
19293 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 19294 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
19295 | } |
19296 | return resultobj; | |
19297 | fail: | |
19298 | return NULL; | |
19299 | } | |
19300 | ||
19301 | ||
19302 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19303 | PyObject *resultobj; | |
19304 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19305 | wxPoint result; | |
19306 | PyObject * obj0 = 0 ; | |
19307 | char *kwnames[] = { | |
19308 | (char *) "self", NULL | |
19309 | }; | |
19310 | ||
19311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19312 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19313 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19314 | { |
19315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19316 | result = (arg1)->GetMinMarginBottomRight(); | |
19317 | ||
19318 | wxPyEndAllowThreads(__tstate); | |
19319 | if (PyErr_Occurred()) SWIG_fail; | |
19320 | } | |
19321 | { | |
19322 | wxPoint * resultptr; | |
19323 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 19324 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
19325 | } |
19326 | return resultobj; | |
19327 | fail: | |
19328 | return NULL; | |
19329 | } | |
19330 | ||
19331 | ||
19332 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19333 | PyObject *resultobj; | |
19334 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19335 | int result; | |
19336 | PyObject * obj0 = 0 ; | |
19337 | char *kwnames[] = { | |
19338 | (char *) "self", NULL | |
19339 | }; | |
19340 | ||
19341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19342 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19343 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19344 | { |
19345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19346 | result = (int)(arg1)->GetPaperId(); | |
19347 | ||
19348 | wxPyEndAllowThreads(__tstate); | |
19349 | if (PyErr_Occurred()) SWIG_fail; | |
19350 | } | |
15afbcd0 | 19351 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19352 | return resultobj; |
19353 | fail: | |
19354 | return NULL; | |
19355 | } | |
19356 | ||
19357 | ||
19358 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19359 | PyObject *resultobj; | |
19360 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19361 | wxSize result; | |
19362 | PyObject * obj0 = 0 ; | |
19363 | char *kwnames[] = { | |
19364 | (char *) "self", NULL | |
19365 | }; | |
19366 | ||
19367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19368 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19369 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19370 | { |
19371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19372 | result = (arg1)->GetPaperSize(); | |
19373 | ||
19374 | wxPyEndAllowThreads(__tstate); | |
19375 | if (PyErr_Occurred()) SWIG_fail; | |
19376 | } | |
19377 | { | |
19378 | wxSize * resultptr; | |
19379 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 19380 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
19381 | } |
19382 | return resultobj; | |
19383 | fail: | |
19384 | return NULL; | |
19385 | } | |
19386 | ||
19387 | ||
19388 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19389 | PyObject *resultobj; | |
19390 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19391 | wxPrintData *result; | |
19392 | PyObject * obj0 = 0 ; | |
19393 | char *kwnames[] = { | |
19394 | (char *) "self", NULL | |
19395 | }; | |
19396 | ||
19397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19398 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19399 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19400 | { |
19401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19402 | { | |
19403 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
19404 | result = (wxPrintData *) &_result_ref; | |
19405 | } | |
19406 | ||
19407 | wxPyEndAllowThreads(__tstate); | |
19408 | if (PyErr_Occurred()) SWIG_fail; | |
19409 | } | |
15afbcd0 | 19410 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
19411 | return resultobj; |
19412 | fail: | |
19413 | return NULL; | |
19414 | } | |
19415 | ||
19416 | ||
19417 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19418 | PyObject *resultobj; | |
19419 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19420 | bool result; | |
19421 | PyObject * obj0 = 0 ; | |
19422 | char *kwnames[] = { | |
19423 | (char *) "self", NULL | |
19424 | }; | |
19425 | ||
19426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19427 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19428 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19429 | { |
19430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19431 | result = (bool)(arg1)->Ok(); | |
19432 | ||
19433 | wxPyEndAllowThreads(__tstate); | |
19434 | if (PyErr_Occurred()) SWIG_fail; | |
19435 | } | |
4f89f6a3 RD |
19436 | { |
19437 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19438 | } | |
d14a1e28 RD |
19439 | return resultobj; |
19440 | fail: | |
19441 | return NULL; | |
19442 | } | |
19443 | ||
19444 | ||
19445 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19446 | PyObject *resultobj; | |
19447 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19448 | bool arg2 ; | |
19449 | PyObject * obj0 = 0 ; | |
19450 | PyObject * obj1 = 0 ; | |
19451 | char *kwnames[] = { | |
19452 | (char *) "self",(char *) "flag", NULL | |
19453 | }; | |
19454 | ||
19455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19456 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19457 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19458 | arg2 = (bool) SWIG_AsBool(obj1); | |
19459 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19460 | { |
19461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19462 | (arg1)->SetDefaultInfo(arg2); | |
19463 | ||
19464 | wxPyEndAllowThreads(__tstate); | |
19465 | if (PyErr_Occurred()) SWIG_fail; | |
19466 | } | |
19467 | Py_INCREF(Py_None); resultobj = Py_None; | |
19468 | return resultobj; | |
19469 | fail: | |
19470 | return NULL; | |
19471 | } | |
19472 | ||
19473 | ||
19474 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19475 | PyObject *resultobj; | |
19476 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19477 | bool arg2 ; | |
19478 | PyObject * obj0 = 0 ; | |
19479 | PyObject * obj1 = 0 ; | |
19480 | char *kwnames[] = { | |
19481 | (char *) "self",(char *) "flag", NULL | |
19482 | }; | |
19483 | ||
19484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19485 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19486 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19487 | arg2 = (bool) SWIG_AsBool(obj1); | |
19488 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19489 | { |
19490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19491 | (arg1)->SetDefaultMinMargins(arg2); | |
19492 | ||
19493 | wxPyEndAllowThreads(__tstate); | |
19494 | if (PyErr_Occurred()) SWIG_fail; | |
19495 | } | |
19496 | Py_INCREF(Py_None); resultobj = Py_None; | |
19497 | return resultobj; | |
19498 | fail: | |
19499 | return NULL; | |
19500 | } | |
19501 | ||
19502 | ||
19503 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19504 | PyObject *resultobj; | |
19505 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19506 | wxPoint *arg2 = 0 ; | |
19507 | wxPoint temp2 ; | |
19508 | PyObject * obj0 = 0 ; | |
19509 | PyObject * obj1 = 0 ; | |
19510 | char *kwnames[] = { | |
19511 | (char *) "self",(char *) "pt", NULL | |
19512 | }; | |
19513 | ||
19514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19515 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19516 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19517 | { |
19518 | arg2 = &temp2; | |
19519 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
19520 | } | |
19521 | { | |
19522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19523 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
19524 | ||
19525 | wxPyEndAllowThreads(__tstate); | |
19526 | if (PyErr_Occurred()) SWIG_fail; | |
19527 | } | |
19528 | Py_INCREF(Py_None); resultobj = Py_None; | |
19529 | return resultobj; | |
19530 | fail: | |
19531 | return NULL; | |
19532 | } | |
19533 | ||
19534 | ||
19535 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19536 | PyObject *resultobj; | |
19537 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19538 | wxPoint *arg2 = 0 ; | |
19539 | wxPoint temp2 ; | |
19540 | PyObject * obj0 = 0 ; | |
19541 | PyObject * obj1 = 0 ; | |
19542 | char *kwnames[] = { | |
19543 | (char *) "self",(char *) "pt", NULL | |
19544 | }; | |
19545 | ||
19546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19549 | { |
19550 | arg2 = &temp2; | |
19551 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
19552 | } | |
19553 | { | |
19554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19555 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
19556 | ||
19557 | wxPyEndAllowThreads(__tstate); | |
19558 | if (PyErr_Occurred()) SWIG_fail; | |
19559 | } | |
19560 | Py_INCREF(Py_None); resultobj = Py_None; | |
19561 | return resultobj; | |
19562 | fail: | |
19563 | return NULL; | |
19564 | } | |
19565 | ||
19566 | ||
19567 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19568 | PyObject *resultobj; | |
19569 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19570 | wxPoint *arg2 = 0 ; | |
19571 | wxPoint temp2 ; | |
19572 | PyObject * obj0 = 0 ; | |
19573 | PyObject * obj1 = 0 ; | |
19574 | char *kwnames[] = { | |
19575 | (char *) "self",(char *) "pt", NULL | |
19576 | }; | |
19577 | ||
19578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19579 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19580 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19581 | { |
19582 | arg2 = &temp2; | |
19583 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
19584 | } | |
19585 | { | |
19586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19587 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
19588 | ||
19589 | wxPyEndAllowThreads(__tstate); | |
19590 | if (PyErr_Occurred()) SWIG_fail; | |
19591 | } | |
19592 | Py_INCREF(Py_None); resultobj = Py_None; | |
19593 | return resultobj; | |
19594 | fail: | |
19595 | return NULL; | |
19596 | } | |
19597 | ||
19598 | ||
19599 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19600 | PyObject *resultobj; | |
19601 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19602 | wxPoint *arg2 = 0 ; | |
19603 | wxPoint temp2 ; | |
19604 | PyObject * obj0 = 0 ; | |
19605 | PyObject * obj1 = 0 ; | |
19606 | char *kwnames[] = { | |
19607 | (char *) "self",(char *) "pt", NULL | |
19608 | }; | |
19609 | ||
19610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19611 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19612 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19613 | { |
19614 | arg2 = &temp2; | |
19615 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
19616 | } | |
19617 | { | |
19618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19619 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
19620 | ||
19621 | wxPyEndAllowThreads(__tstate); | |
19622 | if (PyErr_Occurred()) SWIG_fail; | |
19623 | } | |
19624 | Py_INCREF(Py_None); resultobj = Py_None; | |
19625 | return resultobj; | |
19626 | fail: | |
19627 | return NULL; | |
19628 | } | |
19629 | ||
19630 | ||
19631 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19632 | PyObject *resultobj; | |
19633 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19634 | int arg2 ; | |
19635 | PyObject * obj0 = 0 ; | |
994141e6 | 19636 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19637 | char *kwnames[] = { |
19638 | (char *) "self",(char *) "id", NULL | |
19639 | }; | |
19640 | ||
994141e6 | 19641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19642 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19643 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19644 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
19645 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19646 | { |
19647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19648 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
19649 | ||
19650 | wxPyEndAllowThreads(__tstate); | |
19651 | if (PyErr_Occurred()) SWIG_fail; | |
19652 | } | |
19653 | Py_INCREF(Py_None); resultobj = Py_None; | |
19654 | return resultobj; | |
19655 | fail: | |
19656 | return NULL; | |
19657 | } | |
19658 | ||
19659 | ||
19660 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19661 | PyObject *resultobj; | |
19662 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19663 | wxSize *arg2 = 0 ; | |
19664 | wxSize temp2 ; | |
19665 | PyObject * obj0 = 0 ; | |
19666 | PyObject * obj1 = 0 ; | |
19667 | char *kwnames[] = { | |
19668 | (char *) "self",(char *) "size", NULL | |
19669 | }; | |
19670 | ||
19671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19672 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19673 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19674 | { |
19675 | arg2 = &temp2; | |
19676 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
19677 | } | |
19678 | { | |
19679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19680 | (arg1)->SetPaperSize((wxSize 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 *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19693 | PyObject *resultobj; | |
19694 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19695 | wxPrintData *arg2 = 0 ; | |
19696 | PyObject * obj0 = 0 ; | |
19697 | PyObject * obj1 = 0 ; | |
19698 | char *kwnames[] = { | |
19699 | (char *) "self",(char *) "printData", NULL | |
19700 | }; | |
19701 | ||
19702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19703 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19705 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
19706 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
19707 | SWIG_fail; | |
d14a1e28 | 19708 | if (arg2 == NULL) { |
15afbcd0 RD |
19709 | PyErr_SetString(PyExc_TypeError,"null reference"); |
19710 | SWIG_fail; | |
d14a1e28 RD |
19711 | } |
19712 | { | |
19713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19714 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
19715 | ||
19716 | wxPyEndAllowThreads(__tstate); | |
19717 | if (PyErr_Occurred()) SWIG_fail; | |
19718 | } | |
19719 | Py_INCREF(Py_None); resultobj = Py_None; | |
19720 | return resultobj; | |
19721 | fail: | |
19722 | return NULL; | |
19723 | } | |
19724 | ||
19725 | ||
19726 | static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) { | |
19727 | PyObject *obj; | |
19728 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19729 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
19730 | Py_INCREF(obj); | |
19731 | return Py_BuildValue((char *)""); | |
19732 | } | |
19733 | static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19734 | PyObject *resultobj; | |
19735 | wxWindow *arg1 = (wxWindow *) 0 ; | |
19736 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
19737 | wxPageSetupDialog *result; | |
19738 | PyObject * obj0 = 0 ; | |
19739 | PyObject * obj1 = 0 ; | |
19740 | char *kwnames[] = { | |
19741 | (char *) "parent",(char *) "data", NULL | |
19742 | }; | |
19743 | ||
19744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19745 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
19746 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 19747 | if (obj1) { |
15afbcd0 RD |
19748 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData, |
19749 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19750 | } |
19751 | { | |
19752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19753 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
19754 | ||
19755 | wxPyEndAllowThreads(__tstate); | |
19756 | if (PyErr_Occurred()) SWIG_fail; | |
19757 | } | |
15afbcd0 | 19758 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); |
d14a1e28 RD |
19759 | return resultobj; |
19760 | fail: | |
19761 | return NULL; | |
19762 | } | |
19763 | ||
19764 | ||
19765 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19766 | PyObject *resultobj; | |
19767 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
19768 | wxPageSetupDialogData *result; | |
19769 | PyObject * obj0 = 0 ; | |
19770 | char *kwnames[] = { | |
19771 | (char *) "self", NULL | |
19772 | }; | |
19773 | ||
19774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19775 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
19776 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19777 | { |
19778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19779 | { | |
19780 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
19781 | result = (wxPageSetupDialogData *) &_result_ref; | |
19782 | } | |
19783 | ||
19784 | wxPyEndAllowThreads(__tstate); | |
19785 | if (PyErr_Occurred()) SWIG_fail; | |
19786 | } | |
15afbcd0 | 19787 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); |
d14a1e28 RD |
19788 | return resultobj; |
19789 | fail: | |
19790 | return NULL; | |
19791 | } | |
19792 | ||
19793 | ||
19794 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19795 | PyObject *resultobj; | |
19796 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
19797 | int result; | |
19798 | PyObject * obj0 = 0 ; | |
19799 | char *kwnames[] = { | |
19800 | (char *) "self", NULL | |
19801 | }; | |
19802 | ||
19803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
19805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19806 | { |
19807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19808 | result = (int)(arg1)->ShowModal(); | |
19809 | ||
19810 | wxPyEndAllowThreads(__tstate); | |
19811 | if (PyErr_Occurred()) SWIG_fail; | |
19812 | } | |
15afbcd0 | 19813 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19814 | return resultobj; |
19815 | fail: | |
19816 | return NULL; | |
19817 | } | |
19818 | ||
19819 | ||
19820 | static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) { | |
19821 | PyObject *obj; | |
19822 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19823 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
19824 | Py_INCREF(obj); | |
19825 | return Py_BuildValue((char *)""); | |
19826 | } | |
4276dc52 | 19827 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
19828 | PyObject *resultobj; |
19829 | wxPrintDialogData *result; | |
d14a1e28 | 19830 | |
4276dc52 | 19831 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; |
d14a1e28 RD |
19832 | { |
19833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19834 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
19835 | ||
19836 | wxPyEndAllowThreads(__tstate); | |
19837 | if (PyErr_Occurred()) SWIG_fail; | |
19838 | } | |
15afbcd0 | 19839 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); |
d14a1e28 RD |
19840 | return resultobj; |
19841 | fail: | |
19842 | return NULL; | |
19843 | } | |
19844 | ||
19845 | ||
4276dc52 RD |
19846 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) { |
19847 | PyObject *resultobj; | |
19848 | wxPrintData *arg1 = 0 ; | |
19849 | wxPrintDialogData *result; | |
19850 | PyObject * obj0 = 0 ; | |
19851 | ||
19852 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
19853 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19854 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
19855 | SWIG_fail; | |
19856 | if (arg1 == NULL) { | |
19857 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
19858 | SWIG_fail; | |
19859 | } | |
19860 | { | |
19861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19862 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
19863 | ||
19864 | wxPyEndAllowThreads(__tstate); | |
19865 | if (PyErr_Occurred()) SWIG_fail; | |
19866 | } | |
19867 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
19868 | return resultobj; | |
19869 | fail: | |
19870 | return NULL; | |
19871 | } | |
19872 | ||
19873 | ||
19874 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { | |
19875 | int argc; | |
19876 | PyObject *argv[2]; | |
19877 | int ii; | |
19878 | ||
19879 | argc = PyObject_Length(args); | |
19880 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
19881 | argv[ii] = PyTuple_GetItem(args,ii); | |
19882 | } | |
19883 | if (argc == 0) { | |
19884 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
19885 | } | |
19886 | if (argc == 1) { | |
19887 | int _v; | |
19888 | { | |
19889 | void *ptr; | |
19890 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
19891 | _v = 0; | |
19892 | PyErr_Clear(); | |
19893 | } else { | |
19894 | _v = 1; | |
19895 | } | |
19896 | } | |
19897 | if (_v) { | |
19898 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
19899 | } | |
19900 | } | |
19901 | ||
19902 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'"); | |
19903 | return NULL; | |
19904 | } | |
19905 | ||
19906 | ||
d14a1e28 RD |
19907 | static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { |
19908 | PyObject *resultobj; | |
19909 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19910 | PyObject * obj0 = 0 ; | |
19911 | char *kwnames[] = { | |
19912 | (char *) "self", NULL | |
19913 | }; | |
19914 | ||
19915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19916 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19917 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19918 | { |
19919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19920 | delete arg1; | |
19921 | ||
19922 | wxPyEndAllowThreads(__tstate); | |
19923 | if (PyErr_Occurred()) SWIG_fail; | |
19924 | } | |
19925 | Py_INCREF(Py_None); resultobj = Py_None; | |
19926 | return resultobj; | |
19927 | fail: | |
19928 | return NULL; | |
19929 | } | |
19930 | ||
19931 | ||
19932 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19933 | PyObject *resultobj; | |
19934 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19935 | int result; | |
19936 | PyObject * obj0 = 0 ; | |
19937 | char *kwnames[] = { | |
19938 | (char *) "self", NULL | |
19939 | }; | |
19940 | ||
19941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19942 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19943 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19944 | { |
19945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19946 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
19947 | ||
19948 | wxPyEndAllowThreads(__tstate); | |
19949 | if (PyErr_Occurred()) SWIG_fail; | |
19950 | } | |
15afbcd0 | 19951 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19952 | return resultobj; |
19953 | fail: | |
19954 | return NULL; | |
19955 | } | |
19956 | ||
19957 | ||
19958 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19959 | PyObject *resultobj; | |
19960 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19961 | int result; | |
19962 | PyObject * obj0 = 0 ; | |
19963 | char *kwnames[] = { | |
19964 | (char *) "self", NULL | |
19965 | }; | |
19966 | ||
19967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19968 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19969 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19970 | { |
19971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19972 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
19973 | ||
19974 | wxPyEndAllowThreads(__tstate); | |
19975 | if (PyErr_Occurred()) SWIG_fail; | |
19976 | } | |
15afbcd0 | 19977 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19978 | return resultobj; |
19979 | fail: | |
19980 | return NULL; | |
19981 | } | |
19982 | ||
19983 | ||
19984 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19985 | PyObject *resultobj; | |
19986 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19987 | int result; | |
19988 | PyObject * obj0 = 0 ; | |
19989 | char *kwnames[] = { | |
19990 | (char *) "self", NULL | |
19991 | }; | |
19992 | ||
19993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19994 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19995 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19996 | { |
19997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19998 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
19999 | ||
20000 | wxPyEndAllowThreads(__tstate); | |
20001 | if (PyErr_Occurred()) SWIG_fail; | |
20002 | } | |
15afbcd0 | 20003 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
20004 | return resultobj; |
20005 | fail: | |
20006 | return NULL; | |
20007 | } | |
20008 | ||
20009 | ||
20010 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20011 | PyObject *resultobj; | |
20012 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20013 | int result; | |
20014 | PyObject * obj0 = 0 ; | |
20015 | char *kwnames[] = { | |
20016 | (char *) "self", NULL | |
20017 | }; | |
20018 | ||
20019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20020 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20022 | { |
20023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20024 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
20025 | ||
20026 | wxPyEndAllowThreads(__tstate); | |
20027 | if (PyErr_Occurred()) SWIG_fail; | |
20028 | } | |
15afbcd0 | 20029 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
20030 | return resultobj; |
20031 | fail: | |
20032 | return NULL; | |
20033 | } | |
20034 | ||
20035 | ||
20036 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20037 | PyObject *resultobj; | |
20038 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20039 | int result; | |
20040 | PyObject * obj0 = 0 ; | |
20041 | char *kwnames[] = { | |
20042 | (char *) "self", NULL | |
20043 | }; | |
20044 | ||
20045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20046 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20047 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20048 | { |
20049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20050 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
20051 | ||
20052 | wxPyEndAllowThreads(__tstate); | |
20053 | if (PyErr_Occurred()) SWIG_fail; | |
20054 | } | |
15afbcd0 | 20055 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
20056 | return resultobj; |
20057 | fail: | |
20058 | return NULL; | |
20059 | } | |
20060 | ||
20061 | ||
20062 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20063 | PyObject *resultobj; | |
20064 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20065 | bool result; | |
20066 | PyObject * obj0 = 0 ; | |
20067 | char *kwnames[] = { | |
20068 | (char *) "self", NULL | |
20069 | }; | |
20070 | ||
20071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20072 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20073 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20074 | { |
20075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20076 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
20077 | ||
20078 | wxPyEndAllowThreads(__tstate); | |
20079 | if (PyErr_Occurred()) SWIG_fail; | |
20080 | } | |
4f89f6a3 RD |
20081 | { |
20082 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20083 | } | |
d14a1e28 RD |
20084 | return resultobj; |
20085 | fail: | |
20086 | return NULL; | |
20087 | } | |
20088 | ||
20089 | ||
20090 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20091 | PyObject *resultobj; | |
20092 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20093 | bool result; | |
20094 | PyObject * obj0 = 0 ; | |
20095 | char *kwnames[] = { | |
20096 | (char *) "self", NULL | |
20097 | }; | |
20098 | ||
20099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20100 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20102 | { |
20103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20104 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
20105 | ||
20106 | wxPyEndAllowThreads(__tstate); | |
20107 | if (PyErr_Occurred()) SWIG_fail; | |
20108 | } | |
4f89f6a3 RD |
20109 | { |
20110 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20111 | } | |
d14a1e28 RD |
20112 | return resultobj; |
20113 | fail: | |
20114 | return NULL; | |
20115 | } | |
20116 | ||
20117 | ||
20118 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20119 | PyObject *resultobj; | |
20120 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20121 | bool result; | |
20122 | PyObject * obj0 = 0 ; | |
20123 | char *kwnames[] = { | |
20124 | (char *) "self", NULL | |
20125 | }; | |
20126 | ||
20127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20128 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20129 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20130 | { |
20131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20132 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
20133 | ||
20134 | wxPyEndAllowThreads(__tstate); | |
20135 | if (PyErr_Occurred()) SWIG_fail; | |
20136 | } | |
4f89f6a3 RD |
20137 | { |
20138 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20139 | } | |
d14a1e28 RD |
20140 | return resultobj; |
20141 | fail: | |
20142 | return NULL; | |
20143 | } | |
20144 | ||
20145 | ||
20146 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20147 | PyObject *resultobj; | |
20148 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20149 | bool result; | |
20150 | PyObject * obj0 = 0 ; | |
20151 | char *kwnames[] = { | |
20152 | (char *) "self", NULL | |
20153 | }; | |
20154 | ||
20155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20156 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20157 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20158 | { |
20159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20160 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
20161 | ||
20162 | wxPyEndAllowThreads(__tstate); | |
20163 | if (PyErr_Occurred()) SWIG_fail; | |
20164 | } | |
4f89f6a3 RD |
20165 | { |
20166 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20167 | } | |
d14a1e28 RD |
20168 | return resultobj; |
20169 | fail: | |
20170 | return NULL; | |
20171 | } | |
20172 | ||
20173 | ||
20174 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20175 | PyObject *resultobj; | |
20176 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20177 | bool result; | |
20178 | PyObject * obj0 = 0 ; | |
20179 | char *kwnames[] = { | |
20180 | (char *) "self", NULL | |
20181 | }; | |
20182 | ||
20183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20184 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20185 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20186 | { |
20187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20188 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
20189 | ||
20190 | wxPyEndAllowThreads(__tstate); | |
20191 | if (PyErr_Occurred()) SWIG_fail; | |
20192 | } | |
4f89f6a3 RD |
20193 | { |
20194 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20195 | } | |
d14a1e28 RD |
20196 | return resultobj; |
20197 | fail: | |
20198 | return NULL; | |
20199 | } | |
20200 | ||
20201 | ||
20202 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20203 | PyObject *resultobj; | |
20204 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20205 | int arg2 ; | |
20206 | PyObject * obj0 = 0 ; | |
994141e6 | 20207 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20208 | char *kwnames[] = { |
20209 | (char *) "self",(char *) "v", NULL | |
20210 | }; | |
20211 | ||
994141e6 | 20212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20213 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20214 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20215 | arg2 = (int) SWIG_AsInt(obj1); | |
20216 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20217 | { |
20218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20219 | (arg1)->SetFromPage(arg2); | |
20220 | ||
20221 | wxPyEndAllowThreads(__tstate); | |
20222 | if (PyErr_Occurred()) SWIG_fail; | |
20223 | } | |
20224 | Py_INCREF(Py_None); resultobj = Py_None; | |
20225 | return resultobj; | |
20226 | fail: | |
20227 | return NULL; | |
20228 | } | |
20229 | ||
20230 | ||
20231 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20232 | PyObject *resultobj; | |
20233 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20234 | int arg2 ; | |
20235 | PyObject * obj0 = 0 ; | |
994141e6 | 20236 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20237 | char *kwnames[] = { |
20238 | (char *) "self",(char *) "v", NULL | |
20239 | }; | |
20240 | ||
994141e6 | 20241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20242 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20243 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20244 | arg2 = (int) SWIG_AsInt(obj1); | |
20245 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20246 | { |
20247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20248 | (arg1)->SetToPage(arg2); | |
20249 | ||
20250 | wxPyEndAllowThreads(__tstate); | |
20251 | if (PyErr_Occurred()) SWIG_fail; | |
20252 | } | |
20253 | Py_INCREF(Py_None); resultobj = Py_None; | |
20254 | return resultobj; | |
20255 | fail: | |
20256 | return NULL; | |
20257 | } | |
20258 | ||
20259 | ||
20260 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20261 | PyObject *resultobj; | |
20262 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20263 | int arg2 ; | |
20264 | PyObject * obj0 = 0 ; | |
994141e6 | 20265 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20266 | char *kwnames[] = { |
20267 | (char *) "self",(char *) "v", NULL | |
20268 | }; | |
20269 | ||
994141e6 | 20270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20271 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20272 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20273 | arg2 = (int) SWIG_AsInt(obj1); | |
20274 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20275 | { |
20276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20277 | (arg1)->SetMinPage(arg2); | |
20278 | ||
20279 | wxPyEndAllowThreads(__tstate); | |
20280 | if (PyErr_Occurred()) SWIG_fail; | |
20281 | } | |
20282 | Py_INCREF(Py_None); resultobj = Py_None; | |
20283 | return resultobj; | |
20284 | fail: | |
20285 | return NULL; | |
20286 | } | |
20287 | ||
20288 | ||
20289 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20290 | PyObject *resultobj; | |
20291 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20292 | int arg2 ; | |
20293 | PyObject * obj0 = 0 ; | |
994141e6 | 20294 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20295 | char *kwnames[] = { |
20296 | (char *) "self",(char *) "v", NULL | |
20297 | }; | |
20298 | ||
994141e6 | 20299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20300 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20301 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20302 | arg2 = (int) SWIG_AsInt(obj1); | |
20303 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20304 | { |
20305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20306 | (arg1)->SetMaxPage(arg2); | |
20307 | ||
20308 | wxPyEndAllowThreads(__tstate); | |
20309 | if (PyErr_Occurred()) SWIG_fail; | |
20310 | } | |
20311 | Py_INCREF(Py_None); resultobj = Py_None; | |
20312 | return resultobj; | |
20313 | fail: | |
20314 | return NULL; | |
20315 | } | |
20316 | ||
20317 | ||
20318 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20319 | PyObject *resultobj; | |
20320 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20321 | int arg2 ; | |
20322 | PyObject * obj0 = 0 ; | |
994141e6 | 20323 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20324 | char *kwnames[] = { |
20325 | (char *) "self",(char *) "v", NULL | |
20326 | }; | |
20327 | ||
994141e6 | 20328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20329 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20330 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20331 | arg2 = (int) SWIG_AsInt(obj1); | |
20332 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20333 | { |
20334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20335 | (arg1)->SetNoCopies(arg2); | |
20336 | ||
20337 | wxPyEndAllowThreads(__tstate); | |
20338 | if (PyErr_Occurred()) SWIG_fail; | |
20339 | } | |
20340 | Py_INCREF(Py_None); resultobj = Py_None; | |
20341 | return resultobj; | |
20342 | fail: | |
20343 | return NULL; | |
20344 | } | |
20345 | ||
20346 | ||
20347 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20348 | PyObject *resultobj; | |
20349 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20350 | bool arg2 ; | |
20351 | PyObject * obj0 = 0 ; | |
20352 | PyObject * obj1 = 0 ; | |
20353 | char *kwnames[] = { | |
20354 | (char *) "self",(char *) "flag", NULL | |
20355 | }; | |
20356 | ||
20357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20358 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20359 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20360 | arg2 = (bool) SWIG_AsBool(obj1); | |
20361 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20362 | { |
20363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20364 | (arg1)->SetAllPages(arg2); | |
20365 | ||
20366 | wxPyEndAllowThreads(__tstate); | |
20367 | if (PyErr_Occurred()) SWIG_fail; | |
20368 | } | |
20369 | Py_INCREF(Py_None); resultobj = Py_None; | |
20370 | return resultobj; | |
20371 | fail: | |
20372 | return NULL; | |
20373 | } | |
20374 | ||
20375 | ||
20376 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20377 | PyObject *resultobj; | |
20378 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20379 | bool arg2 ; | |
20380 | PyObject * obj0 = 0 ; | |
20381 | PyObject * obj1 = 0 ; | |
20382 | char *kwnames[] = { | |
20383 | (char *) "self",(char *) "flag", NULL | |
20384 | }; | |
20385 | ||
20386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20387 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20388 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20389 | arg2 = (bool) SWIG_AsBool(obj1); | |
20390 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20391 | { |
20392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20393 | (arg1)->SetSelection(arg2); | |
20394 | ||
20395 | wxPyEndAllowThreads(__tstate); | |
20396 | if (PyErr_Occurred()) SWIG_fail; | |
20397 | } | |
20398 | Py_INCREF(Py_None); resultobj = Py_None; | |
20399 | return resultobj; | |
20400 | fail: | |
20401 | return NULL; | |
20402 | } | |
20403 | ||
20404 | ||
20405 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20406 | PyObject *resultobj; | |
20407 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20408 | bool arg2 ; | |
20409 | PyObject * obj0 = 0 ; | |
20410 | PyObject * obj1 = 0 ; | |
20411 | char *kwnames[] = { | |
20412 | (char *) "self",(char *) "flag", NULL | |
20413 | }; | |
20414 | ||
20415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20416 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20417 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20418 | arg2 = (bool) SWIG_AsBool(obj1); | |
20419 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20420 | { |
20421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20422 | (arg1)->SetCollate(arg2); | |
20423 | ||
20424 | wxPyEndAllowThreads(__tstate); | |
20425 | if (PyErr_Occurred()) SWIG_fail; | |
20426 | } | |
20427 | Py_INCREF(Py_None); resultobj = Py_None; | |
20428 | return resultobj; | |
20429 | fail: | |
20430 | return NULL; | |
20431 | } | |
20432 | ||
20433 | ||
20434 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20435 | PyObject *resultobj; | |
20436 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20437 | bool arg2 ; | |
20438 | PyObject * obj0 = 0 ; | |
20439 | PyObject * obj1 = 0 ; | |
20440 | char *kwnames[] = { | |
20441 | (char *) "self",(char *) "flag", NULL | |
20442 | }; | |
20443 | ||
20444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20445 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20446 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20447 | arg2 = (bool) SWIG_AsBool(obj1); | |
20448 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20449 | { |
20450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20451 | (arg1)->SetPrintToFile(arg2); | |
20452 | ||
20453 | wxPyEndAllowThreads(__tstate); | |
20454 | if (PyErr_Occurred()) SWIG_fail; | |
20455 | } | |
20456 | Py_INCREF(Py_None); resultobj = Py_None; | |
20457 | return resultobj; | |
20458 | fail: | |
20459 | return NULL; | |
20460 | } | |
20461 | ||
20462 | ||
20463 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20464 | PyObject *resultobj; | |
20465 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20466 | bool arg2 ; | |
20467 | PyObject * obj0 = 0 ; | |
20468 | PyObject * obj1 = 0 ; | |
20469 | char *kwnames[] = { | |
20470 | (char *) "self",(char *) "flag", NULL | |
20471 | }; | |
20472 | ||
20473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20474 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20476 | arg2 = (bool) SWIG_AsBool(obj1); | |
20477 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20478 | { |
20479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20480 | (arg1)->SetSetupDialog(arg2); | |
20481 | ||
20482 | wxPyEndAllowThreads(__tstate); | |
20483 | if (PyErr_Occurred()) SWIG_fail; | |
20484 | } | |
20485 | Py_INCREF(Py_None); resultobj = Py_None; | |
20486 | return resultobj; | |
20487 | fail: | |
20488 | return NULL; | |
20489 | } | |
20490 | ||
20491 | ||
20492 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20493 | PyObject *resultobj; | |
20494 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20495 | bool arg2 ; | |
20496 | PyObject * obj0 = 0 ; | |
20497 | PyObject * obj1 = 0 ; | |
20498 | char *kwnames[] = { | |
20499 | (char *) "self",(char *) "flag", NULL | |
20500 | }; | |
20501 | ||
20502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20505 | arg2 = (bool) SWIG_AsBool(obj1); | |
20506 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20507 | { |
20508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20509 | (arg1)->EnablePrintToFile(arg2); | |
20510 | ||
20511 | wxPyEndAllowThreads(__tstate); | |
20512 | if (PyErr_Occurred()) SWIG_fail; | |
20513 | } | |
20514 | Py_INCREF(Py_None); resultobj = Py_None; | |
20515 | return resultobj; | |
20516 | fail: | |
20517 | return NULL; | |
20518 | } | |
20519 | ||
20520 | ||
20521 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20522 | PyObject *resultobj; | |
20523 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20524 | bool arg2 ; | |
20525 | PyObject * obj0 = 0 ; | |
20526 | PyObject * obj1 = 0 ; | |
20527 | char *kwnames[] = { | |
20528 | (char *) "self",(char *) "flag", NULL | |
20529 | }; | |
20530 | ||
20531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20532 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20533 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20534 | arg2 = (bool) SWIG_AsBool(obj1); | |
20535 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20536 | { |
20537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20538 | (arg1)->EnableSelection(arg2); | |
20539 | ||
20540 | wxPyEndAllowThreads(__tstate); | |
20541 | if (PyErr_Occurred()) SWIG_fail; | |
20542 | } | |
20543 | Py_INCREF(Py_None); resultobj = Py_None; | |
20544 | return resultobj; | |
20545 | fail: | |
20546 | return NULL; | |
20547 | } | |
20548 | ||
20549 | ||
20550 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20551 | PyObject *resultobj; | |
20552 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20553 | bool arg2 ; | |
20554 | PyObject * obj0 = 0 ; | |
20555 | PyObject * obj1 = 0 ; | |
20556 | char *kwnames[] = { | |
20557 | (char *) "self",(char *) "flag", NULL | |
20558 | }; | |
20559 | ||
20560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20561 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20562 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20563 | arg2 = (bool) SWIG_AsBool(obj1); | |
20564 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20565 | { |
20566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20567 | (arg1)->EnablePageNumbers(arg2); | |
20568 | ||
20569 | wxPyEndAllowThreads(__tstate); | |
20570 | if (PyErr_Occurred()) SWIG_fail; | |
20571 | } | |
20572 | Py_INCREF(Py_None); resultobj = Py_None; | |
20573 | return resultobj; | |
20574 | fail: | |
20575 | return NULL; | |
20576 | } | |
20577 | ||
20578 | ||
20579 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20580 | PyObject *resultobj; | |
20581 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20582 | bool arg2 ; | |
20583 | PyObject * obj0 = 0 ; | |
20584 | PyObject * obj1 = 0 ; | |
20585 | char *kwnames[] = { | |
20586 | (char *) "self",(char *) "flag", NULL | |
20587 | }; | |
20588 | ||
20589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20590 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20591 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20592 | arg2 = (bool) SWIG_AsBool(obj1); | |
20593 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20594 | { |
20595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20596 | (arg1)->EnableHelp(arg2); | |
20597 | ||
20598 | wxPyEndAllowThreads(__tstate); | |
20599 | if (PyErr_Occurred()) SWIG_fail; | |
20600 | } | |
20601 | Py_INCREF(Py_None); resultobj = Py_None; | |
20602 | return resultobj; | |
20603 | fail: | |
20604 | return NULL; | |
20605 | } | |
20606 | ||
20607 | ||
20608 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20609 | PyObject *resultobj; | |
20610 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20611 | bool result; | |
20612 | PyObject * obj0 = 0 ; | |
20613 | char *kwnames[] = { | |
20614 | (char *) "self", NULL | |
20615 | }; | |
20616 | ||
20617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20618 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20619 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20620 | { |
20621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20622 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
20623 | ||
20624 | wxPyEndAllowThreads(__tstate); | |
20625 | if (PyErr_Occurred()) SWIG_fail; | |
20626 | } | |
4f89f6a3 RD |
20627 | { |
20628 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20629 | } | |
d14a1e28 RD |
20630 | return resultobj; |
20631 | fail: | |
20632 | return NULL; | |
20633 | } | |
20634 | ||
20635 | ||
20636 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20637 | PyObject *resultobj; | |
20638 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20639 | bool result; | |
20640 | PyObject * obj0 = 0 ; | |
20641 | char *kwnames[] = { | |
20642 | (char *) "self", NULL | |
20643 | }; | |
20644 | ||
20645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20646 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20647 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20648 | { |
20649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20650 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
20651 | ||
20652 | wxPyEndAllowThreads(__tstate); | |
20653 | if (PyErr_Occurred()) SWIG_fail; | |
20654 | } | |
4f89f6a3 RD |
20655 | { |
20656 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20657 | } | |
d14a1e28 RD |
20658 | return resultobj; |
20659 | fail: | |
20660 | return NULL; | |
20661 | } | |
20662 | ||
20663 | ||
20664 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20665 | PyObject *resultobj; | |
20666 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20667 | bool result; | |
20668 | PyObject * obj0 = 0 ; | |
20669 | char *kwnames[] = { | |
20670 | (char *) "self", NULL | |
20671 | }; | |
20672 | ||
20673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20674 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20675 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20676 | { |
20677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20678 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
20679 | ||
20680 | wxPyEndAllowThreads(__tstate); | |
20681 | if (PyErr_Occurred()) SWIG_fail; | |
20682 | } | |
4f89f6a3 RD |
20683 | { |
20684 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20685 | } | |
d14a1e28 RD |
20686 | return resultobj; |
20687 | fail: | |
20688 | return NULL; | |
20689 | } | |
20690 | ||
20691 | ||
20692 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20693 | PyObject *resultobj; | |
20694 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20695 | bool result; | |
20696 | PyObject * obj0 = 0 ; | |
20697 | char *kwnames[] = { | |
20698 | (char *) "self", NULL | |
20699 | }; | |
20700 | ||
20701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20702 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20703 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20704 | { |
20705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20706 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
20707 | ||
20708 | wxPyEndAllowThreads(__tstate); | |
20709 | if (PyErr_Occurred()) SWIG_fail; | |
20710 | } | |
4f89f6a3 RD |
20711 | { |
20712 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20713 | } | |
d14a1e28 RD |
20714 | return resultobj; |
20715 | fail: | |
20716 | return NULL; | |
20717 | } | |
20718 | ||
20719 | ||
20720 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20721 | PyObject *resultobj; | |
20722 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20723 | bool result; | |
20724 | PyObject * obj0 = 0 ; | |
20725 | char *kwnames[] = { | |
20726 | (char *) "self", NULL | |
20727 | }; | |
20728 | ||
20729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20730 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20731 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20732 | { |
20733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20734 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
20735 | ||
20736 | wxPyEndAllowThreads(__tstate); | |
20737 | if (PyErr_Occurred()) SWIG_fail; | |
20738 | } | |
4f89f6a3 RD |
20739 | { |
20740 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20741 | } | |
d14a1e28 RD |
20742 | return resultobj; |
20743 | fail: | |
20744 | return NULL; | |
20745 | } | |
20746 | ||
20747 | ||
20748 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20749 | PyObject *resultobj; | |
20750 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20751 | wxPrintData *result; | |
20752 | PyObject * obj0 = 0 ; | |
20753 | char *kwnames[] = { | |
20754 | (char *) "self", NULL | |
20755 | }; | |
20756 | ||
20757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20758 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20759 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20760 | { |
20761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20762 | { | |
20763 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
20764 | result = (wxPrintData *) &_result_ref; | |
20765 | } | |
20766 | ||
20767 | wxPyEndAllowThreads(__tstate); | |
20768 | if (PyErr_Occurred()) SWIG_fail; | |
20769 | } | |
15afbcd0 | 20770 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
20771 | return resultobj; |
20772 | fail: | |
20773 | return NULL; | |
20774 | } | |
20775 | ||
20776 | ||
20777 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20778 | PyObject *resultobj; | |
20779 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20780 | wxPrintData *arg2 = 0 ; | |
20781 | PyObject * obj0 = 0 ; | |
20782 | PyObject * obj1 = 0 ; | |
20783 | char *kwnames[] = { | |
20784 | (char *) "self",(char *) "printData", NULL | |
20785 | }; | |
20786 | ||
20787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20788 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20789 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20790 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
20791 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
20792 | SWIG_fail; | |
d14a1e28 | 20793 | if (arg2 == NULL) { |
15afbcd0 RD |
20794 | PyErr_SetString(PyExc_TypeError,"null reference"); |
20795 | SWIG_fail; | |
d14a1e28 RD |
20796 | } |
20797 | { | |
20798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20799 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
20800 | ||
20801 | wxPyEndAllowThreads(__tstate); | |
20802 | if (PyErr_Occurred()) SWIG_fail; | |
20803 | } | |
20804 | Py_INCREF(Py_None); resultobj = Py_None; | |
20805 | return resultobj; | |
20806 | fail: | |
20807 | return NULL; | |
20808 | } | |
20809 | ||
20810 | ||
20811 | static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) { | |
20812 | PyObject *obj; | |
20813 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20814 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
20815 | Py_INCREF(obj); | |
20816 | return Py_BuildValue((char *)""); | |
20817 | } | |
20818 | static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20819 | PyObject *resultobj; | |
20820 | wxWindow *arg1 = (wxWindow *) 0 ; | |
20821 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
20822 | wxPrintDialog *result; | |
20823 | PyObject * obj0 = 0 ; | |
20824 | PyObject * obj1 = 0 ; | |
20825 | char *kwnames[] = { | |
20826 | (char *) "parent",(char *) "data", NULL | |
20827 | }; | |
20828 | ||
20829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20830 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
20831 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 20832 | if (obj1) { |
15afbcd0 RD |
20833 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData, |
20834 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20835 | } |
20836 | { | |
20837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20838 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
20839 | ||
20840 | wxPyEndAllowThreads(__tstate); | |
20841 | if (PyErr_Occurred()) SWIG_fail; | |
20842 | } | |
15afbcd0 | 20843 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); |
d14a1e28 RD |
20844 | return resultobj; |
20845 | fail: | |
20846 | return NULL; | |
20847 | } | |
20848 | ||
20849 | ||
20850 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20851 | PyObject *resultobj; | |
20852 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
20853 | wxPrintDialogData *result; | |
20854 | PyObject * obj0 = 0 ; | |
20855 | char *kwnames[] = { | |
20856 | (char *) "self", NULL | |
20857 | }; | |
20858 | ||
20859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20860 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
20861 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20862 | { |
20863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20864 | { | |
20865 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
20866 | result = (wxPrintDialogData *) &_result_ref; | |
20867 | } | |
20868 | ||
20869 | wxPyEndAllowThreads(__tstate); | |
20870 | if (PyErr_Occurred()) SWIG_fail; | |
20871 | } | |
15afbcd0 | 20872 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
20873 | return resultobj; |
20874 | fail: | |
20875 | return NULL; | |
20876 | } | |
20877 | ||
20878 | ||
20879 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20880 | PyObject *resultobj; | |
20881 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
20882 | wxDC *result; | |
20883 | PyObject * obj0 = 0 ; | |
20884 | char *kwnames[] = { | |
20885 | (char *) "self", NULL | |
20886 | }; | |
20887 | ||
20888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20889 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
20890 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20891 | { |
20892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20893 | result = (wxDC *)(arg1)->GetPrintDC(); | |
20894 | ||
20895 | wxPyEndAllowThreads(__tstate); | |
20896 | if (PyErr_Occurred()) SWIG_fail; | |
20897 | } | |
20898 | { | |
20899 | resultobj = wxPyMake_wxObject(result); | |
20900 | } | |
20901 | return resultobj; | |
20902 | fail: | |
20903 | return NULL; | |
20904 | } | |
20905 | ||
20906 | ||
20907 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20908 | PyObject *resultobj; | |
20909 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
20910 | int result; | |
20911 | PyObject * obj0 = 0 ; | |
20912 | char *kwnames[] = { | |
20913 | (char *) "self", NULL | |
20914 | }; | |
20915 | ||
20916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
20918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20919 | { |
20920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20921 | result = (int)(arg1)->ShowModal(); | |
20922 | ||
20923 | wxPyEndAllowThreads(__tstate); | |
20924 | if (PyErr_Occurred()) SWIG_fail; | |
20925 | } | |
15afbcd0 | 20926 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
20927 | return resultobj; |
20928 | fail: | |
20929 | return NULL; | |
20930 | } | |
20931 | ||
20932 | ||
20933 | static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) { | |
20934 | PyObject *obj; | |
20935 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20936 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
20937 | Py_INCREF(obj); | |
20938 | return Py_BuildValue((char *)""); | |
20939 | } | |
20940 | static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20941 | PyObject *resultobj; | |
20942 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
20943 | wxPrinter *result; | |
20944 | PyObject * obj0 = 0 ; | |
20945 | char *kwnames[] = { | |
20946 | (char *) "data", NULL | |
20947 | }; | |
20948 | ||
20949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
20950 | if (obj0) { | |
15afbcd0 RD |
20951 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20952 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20953 | } |
20954 | { | |
20955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20956 | result = (wxPrinter *)new wxPrinter(arg1); | |
20957 | ||
20958 | wxPyEndAllowThreads(__tstate); | |
20959 | if (PyErr_Occurred()) SWIG_fail; | |
20960 | } | |
15afbcd0 | 20961 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); |
d14a1e28 RD |
20962 | return resultobj; |
20963 | fail: | |
20964 | return NULL; | |
20965 | } | |
20966 | ||
20967 | ||
20968 | static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20969 | PyObject *resultobj; | |
20970 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20971 | PyObject * obj0 = 0 ; | |
20972 | char *kwnames[] = { | |
20973 | (char *) "self", NULL | |
20974 | }; | |
20975 | ||
20976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20977 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
20978 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20979 | { |
20980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20981 | delete arg1; | |
20982 | ||
20983 | wxPyEndAllowThreads(__tstate); | |
20984 | if (PyErr_Occurred()) SWIG_fail; | |
20985 | } | |
20986 | Py_INCREF(Py_None); resultobj = Py_None; | |
20987 | return resultobj; | |
20988 | fail: | |
20989 | return NULL; | |
20990 | } | |
20991 | ||
20992 | ||
20993 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20994 | PyObject *resultobj; | |
20995 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20996 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20997 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
20998 | PyObject * obj0 = 0 ; | |
20999 | PyObject * obj1 = 0 ; | |
21000 | PyObject * obj2 = 0 ; | |
21001 | char *kwnames[] = { | |
21002 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
21003 | }; | |
21004 | ||
21005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
21006 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21007 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21008 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21009 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21010 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
21011 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21012 | { |
21013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21014 | (arg1)->CreateAbortWindow(arg2,arg3); | |
21015 | ||
21016 | wxPyEndAllowThreads(__tstate); | |
21017 | if (PyErr_Occurred()) SWIG_fail; | |
21018 | } | |
21019 | Py_INCREF(Py_None); resultobj = Py_None; | |
21020 | return resultobj; | |
21021 | fail: | |
21022 | return NULL; | |
21023 | } | |
21024 | ||
21025 | ||
21026 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21027 | PyObject *resultobj; | |
21028 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21029 | wxPrintDialogData *result; | |
21030 | PyObject * obj0 = 0 ; | |
21031 | char *kwnames[] = { | |
21032 | (char *) "self", NULL | |
21033 | }; | |
21034 | ||
21035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21036 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21037 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21038 | { |
21039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21040 | { | |
21041 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
21042 | result = (wxPrintDialogData *) &_result_ref; | |
21043 | } | |
21044 | ||
21045 | wxPyEndAllowThreads(__tstate); | |
21046 | if (PyErr_Occurred()) SWIG_fail; | |
21047 | } | |
15afbcd0 | 21048 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
21049 | return resultobj; |
21050 | fail: | |
21051 | return NULL; | |
21052 | } | |
21053 | ||
21054 | ||
21055 | static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21056 | PyObject *resultobj; | |
21057 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21058 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21059 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
e811c8ce | 21060 | int arg4 = (int) True ; |
d14a1e28 RD |
21061 | bool result; |
21062 | PyObject * obj0 = 0 ; | |
21063 | PyObject * obj1 = 0 ; | |
21064 | PyObject * obj2 = 0 ; | |
994141e6 | 21065 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
21066 | char *kwnames[] = { |
21067 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL | |
21068 | }; | |
21069 | ||
994141e6 | 21070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
21071 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21072 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21073 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21074 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21075 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
21076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 21077 | if (obj3) { |
15afbcd0 RD |
21078 | arg4 = (int) SWIG_AsInt(obj3); |
21079 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 21080 | } |
d14a1e28 RD |
21081 | { |
21082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21083 | result = (bool)(arg1)->Print(arg2,arg3,arg4); | |
21084 | ||
21085 | wxPyEndAllowThreads(__tstate); | |
21086 | if (PyErr_Occurred()) SWIG_fail; | |
21087 | } | |
4f89f6a3 RD |
21088 | { |
21089 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21090 | } | |
d14a1e28 RD |
21091 | return resultobj; |
21092 | fail: | |
21093 | return NULL; | |
21094 | } | |
21095 | ||
21096 | ||
21097 | static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21098 | PyObject *resultobj; | |
21099 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21100 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21101 | wxDC *result; | |
21102 | PyObject * obj0 = 0 ; | |
21103 | PyObject * obj1 = 0 ; | |
21104 | char *kwnames[] = { | |
21105 | (char *) "self",(char *) "parent", NULL | |
21106 | }; | |
21107 | ||
21108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21109 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21110 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21111 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21112 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21113 | { |
21114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21115 | result = (wxDC *)(arg1)->PrintDialog(arg2); | |
21116 | ||
21117 | wxPyEndAllowThreads(__tstate); | |
21118 | if (PyErr_Occurred()) SWIG_fail; | |
21119 | } | |
21120 | { | |
21121 | resultobj = wxPyMake_wxObject(result); | |
21122 | } | |
21123 | return resultobj; | |
21124 | fail: | |
21125 | return NULL; | |
21126 | } | |
21127 | ||
21128 | ||
21129 | static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21130 | PyObject *resultobj; | |
21131 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21132 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21133 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
21134 | wxString *arg4 = 0 ; | |
e811c8ce | 21135 | bool temp4 = False ; |
d14a1e28 RD |
21136 | PyObject * obj0 = 0 ; |
21137 | PyObject * obj1 = 0 ; | |
21138 | PyObject * obj2 = 0 ; | |
21139 | PyObject * obj3 = 0 ; | |
21140 | char *kwnames[] = { | |
21141 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL | |
21142 | }; | |
21143 | ||
21144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
15afbcd0 RD |
21145 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21146 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21147 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21149 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
21150 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21151 | { |
21152 | arg4 = wxString_in_helper(obj3); | |
21153 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 21154 | temp4 = True; |
d14a1e28 RD |
21155 | } |
21156 | { | |
21157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21158 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); | |
21159 | ||
21160 | wxPyEndAllowThreads(__tstate); | |
21161 | if (PyErr_Occurred()) SWIG_fail; | |
21162 | } | |
21163 | Py_INCREF(Py_None); resultobj = Py_None; | |
21164 | { | |
21165 | if (temp4) | |
21166 | delete arg4; | |
21167 | } | |
21168 | return resultobj; | |
21169 | fail: | |
21170 | { | |
21171 | if (temp4) | |
21172 | delete arg4; | |
21173 | } | |
21174 | return NULL; | |
21175 | } | |
21176 | ||
21177 | ||
21178 | static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21179 | PyObject *resultobj; | |
21180 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21181 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21182 | bool result; | |
21183 | PyObject * obj0 = 0 ; | |
21184 | PyObject * obj1 = 0 ; | |
21185 | char *kwnames[] = { | |
21186 | (char *) "self",(char *) "parent", NULL | |
21187 | }; | |
21188 | ||
21189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21190 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21191 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21192 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21193 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21194 | { |
21195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21196 | result = (bool)(arg1)->Setup(arg2); | |
21197 | ||
21198 | wxPyEndAllowThreads(__tstate); | |
21199 | if (PyErr_Occurred()) SWIG_fail; | |
21200 | } | |
4f89f6a3 RD |
21201 | { |
21202 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21203 | } | |
d14a1e28 RD |
21204 | return resultobj; |
21205 | fail: | |
21206 | return NULL; | |
21207 | } | |
21208 | ||
21209 | ||
21210 | static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21211 | PyObject *resultobj; | |
21212 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21213 | bool result; | |
21214 | PyObject * obj0 = 0 ; | |
21215 | char *kwnames[] = { | |
21216 | (char *) "self", NULL | |
21217 | }; | |
21218 | ||
21219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21220 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21221 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21222 | { |
21223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21224 | result = (bool)(arg1)->GetAbort(); | |
21225 | ||
21226 | wxPyEndAllowThreads(__tstate); | |
21227 | if (PyErr_Occurred()) SWIG_fail; | |
21228 | } | |
4f89f6a3 RD |
21229 | { |
21230 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21231 | } | |
d14a1e28 RD |
21232 | return resultobj; |
21233 | fail: | |
21234 | return NULL; | |
21235 | } | |
21236 | ||
21237 | ||
21238 | static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21239 | PyObject *resultobj; | |
21240 | int result; | |
21241 | char *kwnames[] = { | |
21242 | NULL | |
21243 | }; | |
21244 | ||
21245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
21246 | { | |
21247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21248 | result = (int)wxPrinter::GetLastError(); | |
21249 | ||
21250 | wxPyEndAllowThreads(__tstate); | |
21251 | if (PyErr_Occurred()) SWIG_fail; | |
21252 | } | |
15afbcd0 | 21253 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21254 | return resultobj; |
21255 | fail: | |
21256 | return NULL; | |
21257 | } | |
21258 | ||
21259 | ||
21260 | static PyObject * Printer_swigregister(PyObject *self, PyObject *args) { | |
21261 | PyObject *obj; | |
21262 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21263 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
21264 | Py_INCREF(obj); | |
21265 | return Py_BuildValue((char *)""); | |
21266 | } | |
21267 | static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21268 | PyObject *resultobj; | |
21269 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
21270 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
21271 | wxPyPrintout *result; | |
e811c8ce | 21272 | bool temp1 = False ; |
d14a1e28 RD |
21273 | PyObject * obj0 = 0 ; |
21274 | char *kwnames[] = { | |
21275 | (char *) "title", NULL | |
21276 | }; | |
21277 | ||
21278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
21279 | if (obj0) { | |
21280 | { | |
21281 | arg1 = wxString_in_helper(obj0); | |
21282 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 21283 | temp1 = True; |
d14a1e28 RD |
21284 | } |
21285 | } | |
21286 | { | |
21287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21288 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
21289 | ||
21290 | wxPyEndAllowThreads(__tstate); | |
21291 | if (PyErr_Occurred()) SWIG_fail; | |
21292 | } | |
21293 | { | |
21294 | resultobj = wxPyMake_wxObject(result); | |
21295 | } | |
21296 | { | |
21297 | if (temp1) | |
21298 | delete arg1; | |
21299 | } | |
21300 | return resultobj; | |
21301 | fail: | |
21302 | { | |
21303 | if (temp1) | |
21304 | delete arg1; | |
21305 | } | |
21306 | return NULL; | |
21307 | } | |
21308 | ||
21309 | ||
21310 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21311 | PyObject *resultobj; | |
21312 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21313 | PyObject *arg2 = (PyObject *) 0 ; | |
21314 | PyObject *arg3 = (PyObject *) 0 ; | |
21315 | PyObject * obj0 = 0 ; | |
21316 | PyObject * obj1 = 0 ; | |
21317 | PyObject * obj2 = 0 ; | |
21318 | char *kwnames[] = { | |
21319 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
21320 | }; | |
21321 | ||
21322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
21323 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21324 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21325 | arg2 = obj1; |
21326 | arg3 = obj2; | |
21327 | { | |
21328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21329 | (arg1)->_setCallbackInfo(arg2,arg3); | |
21330 | ||
21331 | wxPyEndAllowThreads(__tstate); | |
21332 | if (PyErr_Occurred()) SWIG_fail; | |
21333 | } | |
21334 | Py_INCREF(Py_None); resultobj = Py_None; | |
21335 | return resultobj; | |
21336 | fail: | |
21337 | return NULL; | |
21338 | } | |
21339 | ||
21340 | ||
21341 | static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21342 | PyObject *resultobj; | |
21343 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21344 | wxString result; | |
21345 | PyObject * obj0 = 0 ; | |
21346 | char *kwnames[] = { | |
21347 | (char *) "self", NULL | |
21348 | }; | |
21349 | ||
21350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21351 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21352 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21353 | { |
21354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21355 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
21356 | ||
21357 | wxPyEndAllowThreads(__tstate); | |
21358 | if (PyErr_Occurred()) SWIG_fail; | |
21359 | } | |
21360 | { | |
21361 | #if wxUSE_UNICODE | |
21362 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
21363 | #else | |
21364 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
21365 | #endif | |
21366 | } | |
21367 | return resultobj; | |
21368 | fail: | |
21369 | return NULL; | |
21370 | } | |
21371 | ||
21372 | ||
21373 | static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21374 | PyObject *resultobj; | |
21375 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21376 | wxDC *result; | |
21377 | PyObject * obj0 = 0 ; | |
21378 | char *kwnames[] = { | |
21379 | (char *) "self", NULL | |
21380 | }; | |
21381 | ||
21382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21383 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21384 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21385 | { |
21386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21387 | result = (wxDC *)(arg1)->GetDC(); | |
21388 | ||
21389 | wxPyEndAllowThreads(__tstate); | |
21390 | if (PyErr_Occurred()) SWIG_fail; | |
21391 | } | |
21392 | { | |
21393 | resultobj = wxPyMake_wxObject(result); | |
21394 | } | |
21395 | return resultobj; | |
21396 | fail: | |
21397 | return NULL; | |
21398 | } | |
21399 | ||
21400 | ||
21401 | static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21402 | PyObject *resultobj; | |
21403 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21404 | wxDC *arg2 = (wxDC *) 0 ; | |
21405 | PyObject * obj0 = 0 ; | |
21406 | PyObject * obj1 = 0 ; | |
21407 | char *kwnames[] = { | |
21408 | (char *) "self",(char *) "dc", NULL | |
21409 | }; | |
21410 | ||
21411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21412 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21413 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21414 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
21415 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21416 | { |
21417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21418 | (arg1)->SetDC(arg2); | |
21419 | ||
21420 | wxPyEndAllowThreads(__tstate); | |
21421 | if (PyErr_Occurred()) SWIG_fail; | |
21422 | } | |
21423 | Py_INCREF(Py_None); resultobj = Py_None; | |
21424 | return resultobj; | |
21425 | fail: | |
21426 | return NULL; | |
21427 | } | |
21428 | ||
21429 | ||
322913ce | 21430 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21431 | PyObject *resultobj; |
21432 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
21433 | int arg2 ; |
21434 | int arg3 ; | |
d14a1e28 | 21435 | PyObject * obj0 = 0 ; |
994141e6 RD |
21436 | PyObject * obj1 = 0 ; |
21437 | PyObject * obj2 = 0 ; | |
d14a1e28 | 21438 | char *kwnames[] = { |
322913ce | 21439 | (char *) "self",(char *) "w",(char *) "h", NULL |
d14a1e28 RD |
21440 | }; |
21441 | ||
994141e6 | 21442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
21443 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21444 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21445 | arg2 = (int) SWIG_AsInt(obj1); | |
21446 | if (PyErr_Occurred()) SWIG_fail; | |
21447 | arg3 = (int) SWIG_AsInt(obj2); | |
21448 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21449 | { |
21450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 21451 | (arg1)->SetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
21452 | |
21453 | wxPyEndAllowThreads(__tstate); | |
21454 | if (PyErr_Occurred()) SWIG_fail; | |
21455 | } | |
21456 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
21457 | return resultobj; |
21458 | fail: | |
21459 | return NULL; | |
21460 | } | |
21461 | ||
21462 | ||
322913ce | 21463 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21464 | PyObject *resultobj; |
21465 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
21466 | int *arg2 = (int *) 0 ; |
21467 | int *arg3 = (int *) 0 ; | |
21468 | int temp2 ; | |
21469 | int temp3 ; | |
d14a1e28 RD |
21470 | PyObject * obj0 = 0 ; |
21471 | char *kwnames[] = { | |
322913ce | 21472 | (char *) "self", NULL |
d14a1e28 RD |
21473 | }; |
21474 | ||
322913ce RD |
21475 | arg2 = &temp2; |
21476 | arg3 = &temp3; | |
21477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21478 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21479 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21480 | { |
21481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 21482 | (arg1)->GetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
21483 | |
21484 | wxPyEndAllowThreads(__tstate); | |
21485 | if (PyErr_Occurred()) SWIG_fail; | |
21486 | } | |
21487 | Py_INCREF(Py_None); resultobj = Py_None; | |
322913ce RD |
21488 | { |
21489 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
21490 | resultobj = t_output_helper(resultobj,o); | |
21491 | } | |
21492 | { | |
21493 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
21494 | resultobj = t_output_helper(resultobj,o); | |
21495 | } | |
d14a1e28 RD |
21496 | return resultobj; |
21497 | fail: | |
21498 | return NULL; | |
21499 | } | |
21500 | ||
21501 | ||
21502 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21503 | PyObject *resultobj; | |
21504 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21505 | int arg2 ; | |
21506 | int arg3 ; | |
21507 | PyObject * obj0 = 0 ; | |
994141e6 RD |
21508 | PyObject * obj1 = 0 ; |
21509 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
21510 | char *kwnames[] = { |
21511 | (char *) "self",(char *) "w",(char *) "h", NULL | |
21512 | }; | |
21513 | ||
994141e6 | 21514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
21515 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21516 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21517 | arg2 = (int) SWIG_AsInt(obj1); | |
21518 | if (PyErr_Occurred()) SWIG_fail; | |
21519 | arg3 = (int) SWIG_AsInt(obj2); | |
21520 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21521 | { |
21522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21523 | (arg1)->SetPageSizeMM(arg2,arg3); | |
21524 | ||
21525 | wxPyEndAllowThreads(__tstate); | |
21526 | if (PyErr_Occurred()) SWIG_fail; | |
21527 | } | |
21528 | Py_INCREF(Py_None); resultobj = Py_None; | |
21529 | return resultobj; | |
21530 | fail: | |
21531 | return NULL; | |
21532 | } | |
21533 | ||
21534 | ||
21535 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21536 | PyObject *resultobj; | |
21537 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21538 | int *arg2 = (int *) 0 ; | |
21539 | int *arg3 = (int *) 0 ; | |
21540 | int temp2 ; | |
21541 | int temp3 ; | |
21542 | PyObject * obj0 = 0 ; | |
21543 | char *kwnames[] = { | |
21544 | (char *) "self", NULL | |
21545 | }; | |
21546 | ||
21547 | arg2 = &temp2; | |
21548 | arg3 = &temp3; | |
21549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21550 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21551 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21552 | { |
21553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21554 | (arg1)->GetPageSizeMM(arg2,arg3); | |
21555 | ||
21556 | wxPyEndAllowThreads(__tstate); | |
21557 | if (PyErr_Occurred()) SWIG_fail; | |
21558 | } | |
21559 | Py_INCREF(Py_None); resultobj = Py_None; | |
21560 | { | |
21561 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
21562 | resultobj = t_output_helper(resultobj,o); | |
21563 | } | |
21564 | { | |
21565 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
21566 | resultobj = t_output_helper(resultobj,o); | |
21567 | } | |
21568 | return resultobj; | |
21569 | fail: | |
21570 | return NULL; | |
21571 | } | |
21572 | ||
21573 | ||
21574 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21575 | PyObject *resultobj; | |
21576 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21577 | int arg2 ; | |
21578 | int arg3 ; | |
21579 | PyObject * obj0 = 0 ; | |
994141e6 RD |
21580 | PyObject * obj1 = 0 ; |
21581 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
21582 | char *kwnames[] = { |
21583 | (char *) "self",(char *) "x",(char *) "y", NULL | |
21584 | }; | |
21585 | ||
994141e6 | 21586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
21587 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21588 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21589 | arg2 = (int) SWIG_AsInt(obj1); | |
21590 | if (PyErr_Occurred()) SWIG_fail; | |
21591 | arg3 = (int) SWIG_AsInt(obj2); | |
21592 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21593 | { |
21594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21595 | (arg1)->SetPPIScreen(arg2,arg3); | |
21596 | ||
21597 | wxPyEndAllowThreads(__tstate); | |
21598 | if (PyErr_Occurred()) SWIG_fail; | |
21599 | } | |
21600 | Py_INCREF(Py_None); resultobj = Py_None; | |
21601 | return resultobj; | |
21602 | fail: | |
21603 | return NULL; | |
21604 | } | |
21605 | ||
21606 | ||
21607 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21608 | PyObject *resultobj; | |
21609 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21610 | int *arg2 = (int *) 0 ; | |
21611 | int *arg3 = (int *) 0 ; | |
21612 | int temp2 ; | |
21613 | int temp3 ; | |
21614 | PyObject * obj0 = 0 ; | |
21615 | char *kwnames[] = { | |
21616 | (char *) "self", NULL | |
21617 | }; | |
21618 | ||
21619 | arg2 = &temp2; | |
21620 | arg3 = &temp3; | |
21621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21622 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21623 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21624 | { |
21625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21626 | (arg1)->GetPPIScreen(arg2,arg3); | |
21627 | ||
21628 | wxPyEndAllowThreads(__tstate); | |
21629 | if (PyErr_Occurred()) SWIG_fail; | |
21630 | } | |
21631 | Py_INCREF(Py_None); resultobj = Py_None; | |
21632 | { | |
21633 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
21634 | resultobj = t_output_helper(resultobj,o); | |
21635 | } | |
21636 | { | |
21637 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
21638 | resultobj = t_output_helper(resultobj,o); | |
21639 | } | |
21640 | return resultobj; | |
21641 | fail: | |
21642 | return NULL; | |
21643 | } | |
21644 | ||
21645 | ||
21646 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21647 | PyObject *resultobj; | |
21648 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21649 | int arg2 ; | |
21650 | int arg3 ; | |
21651 | PyObject * obj0 = 0 ; | |
994141e6 RD |
21652 | PyObject * obj1 = 0 ; |
21653 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
21654 | char *kwnames[] = { |
21655 | (char *) "self",(char *) "x",(char *) "y", NULL | |
21656 | }; | |
21657 | ||
994141e6 | 21658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
21659 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21660 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21661 | arg2 = (int) SWIG_AsInt(obj1); | |
21662 | if (PyErr_Occurred()) SWIG_fail; | |
21663 | arg3 = (int) SWIG_AsInt(obj2); | |
21664 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21665 | { |
21666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21667 | (arg1)->SetPPIPrinter(arg2,arg3); | |
21668 | ||
21669 | wxPyEndAllowThreads(__tstate); | |
21670 | if (PyErr_Occurred()) SWIG_fail; | |
21671 | } | |
21672 | Py_INCREF(Py_None); resultobj = Py_None; | |
21673 | return resultobj; | |
21674 | fail: | |
21675 | return NULL; | |
21676 | } | |
21677 | ||
21678 | ||
21679 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21680 | PyObject *resultobj; | |
21681 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21682 | int *arg2 = (int *) 0 ; | |
21683 | int *arg3 = (int *) 0 ; | |
21684 | int temp2 ; | |
21685 | int temp3 ; | |
21686 | PyObject * obj0 = 0 ; | |
21687 | char *kwnames[] = { | |
21688 | (char *) "self", NULL | |
21689 | }; | |
21690 | ||
21691 | arg2 = &temp2; | |
21692 | arg3 = &temp3; | |
21693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",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 | (arg1)->GetPPIPrinter(arg2,arg3); | |
21699 | ||
21700 | wxPyEndAllowThreads(__tstate); | |
21701 | if (PyErr_Occurred()) SWIG_fail; | |
21702 | } | |
21703 | Py_INCREF(Py_None); resultobj = Py_None; | |
21704 | { | |
21705 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
21706 | resultobj = t_output_helper(resultobj,o); | |
21707 | } | |
21708 | { | |
21709 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
21710 | resultobj = t_output_helper(resultobj,o); | |
21711 | } | |
21712 | return resultobj; | |
21713 | fail: | |
21714 | return NULL; | |
21715 | } | |
21716 | ||
21717 | ||
21718 | static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21719 | PyObject *resultobj; | |
21720 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21721 | bool result; | |
21722 | PyObject * obj0 = 0 ; | |
21723 | char *kwnames[] = { | |
21724 | (char *) "self", NULL | |
21725 | }; | |
21726 | ||
21727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21730 | { |
21731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21732 | result = (bool)(arg1)->IsPreview(); | |
21733 | ||
21734 | wxPyEndAllowThreads(__tstate); | |
21735 | if (PyErr_Occurred()) SWIG_fail; | |
21736 | } | |
4f89f6a3 RD |
21737 | { |
21738 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21739 | } | |
d14a1e28 RD |
21740 | return resultobj; |
21741 | fail: | |
21742 | return NULL; | |
21743 | } | |
21744 | ||
21745 | ||
21746 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21747 | PyObject *resultobj; | |
21748 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21749 | bool arg2 ; | |
21750 | PyObject * obj0 = 0 ; | |
21751 | PyObject * obj1 = 0 ; | |
21752 | char *kwnames[] = { | |
21753 | (char *) "self",(char *) "p", NULL | |
21754 | }; | |
21755 | ||
21756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21757 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21758 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21759 | arg2 = (bool) SWIG_AsBool(obj1); | |
21760 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21761 | { |
21762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21763 | (arg1)->SetIsPreview(arg2); | |
21764 | ||
21765 | wxPyEndAllowThreads(__tstate); | |
21766 | if (PyErr_Occurred()) SWIG_fail; | |
21767 | } | |
21768 | Py_INCREF(Py_None); resultobj = Py_None; | |
21769 | return resultobj; | |
21770 | fail: | |
21771 | return NULL; | |
21772 | } | |
21773 | ||
21774 | ||
21775 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21776 | PyObject *resultobj; | |
21777 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21778 | int arg2 ; | |
21779 | int arg3 ; | |
21780 | bool result; | |
21781 | PyObject * obj0 = 0 ; | |
994141e6 RD |
21782 | PyObject * obj1 = 0 ; |
21783 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
21784 | char *kwnames[] = { |
21785 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
21786 | }; | |
21787 | ||
994141e6 | 21788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
21789 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21790 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21791 | arg2 = (int) SWIG_AsInt(obj1); | |
21792 | if (PyErr_Occurred()) SWIG_fail; | |
21793 | arg3 = (int) SWIG_AsInt(obj2); | |
21794 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21795 | { |
21796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21797 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
21798 | ||
21799 | wxPyEndAllowThreads(__tstate); | |
21800 | if (PyErr_Occurred()) SWIG_fail; | |
21801 | } | |
4f89f6a3 RD |
21802 | { |
21803 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21804 | } | |
d14a1e28 RD |
21805 | return resultobj; |
21806 | fail: | |
21807 | return NULL; | |
21808 | } | |
21809 | ||
21810 | ||
21811 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21812 | PyObject *resultobj; | |
21813 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21814 | PyObject * obj0 = 0 ; | |
21815 | char *kwnames[] = { | |
21816 | (char *) "self", NULL | |
21817 | }; | |
21818 | ||
21819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21820 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21821 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21822 | { |
21823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21824 | (arg1)->base_OnEndDocument(); | |
21825 | ||
21826 | wxPyEndAllowThreads(__tstate); | |
21827 | if (PyErr_Occurred()) SWIG_fail; | |
21828 | } | |
21829 | Py_INCREF(Py_None); resultobj = Py_None; | |
21830 | return resultobj; | |
21831 | fail: | |
21832 | return NULL; | |
21833 | } | |
21834 | ||
21835 | ||
21836 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21837 | PyObject *resultobj; | |
21838 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21839 | PyObject * obj0 = 0 ; | |
21840 | char *kwnames[] = { | |
21841 | (char *) "self", NULL | |
21842 | }; | |
21843 | ||
21844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21845 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21846 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21847 | { |
21848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21849 | (arg1)->base_OnBeginPrinting(); | |
21850 | ||
21851 | wxPyEndAllowThreads(__tstate); | |
21852 | if (PyErr_Occurred()) SWIG_fail; | |
21853 | } | |
21854 | Py_INCREF(Py_None); resultobj = Py_None; | |
21855 | return resultobj; | |
21856 | fail: | |
21857 | return NULL; | |
21858 | } | |
21859 | ||
21860 | ||
21861 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21862 | PyObject *resultobj; | |
21863 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21864 | PyObject * obj0 = 0 ; | |
21865 | char *kwnames[] = { | |
21866 | (char *) "self", NULL | |
21867 | }; | |
21868 | ||
21869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21870 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21871 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21872 | { |
21873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21874 | (arg1)->base_OnEndPrinting(); | |
21875 | ||
21876 | wxPyEndAllowThreads(__tstate); | |
21877 | if (PyErr_Occurred()) SWIG_fail; | |
21878 | } | |
21879 | Py_INCREF(Py_None); resultobj = Py_None; | |
21880 | return resultobj; | |
21881 | fail: | |
21882 | return NULL; | |
21883 | } | |
21884 | ||
21885 | ||
21886 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21887 | PyObject *resultobj; | |
21888 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21889 | PyObject * obj0 = 0 ; | |
21890 | char *kwnames[] = { | |
21891 | (char *) "self", NULL | |
21892 | }; | |
21893 | ||
21894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21895 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21896 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21897 | { |
21898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21899 | (arg1)->base_OnPreparePrinting(); | |
21900 | ||
21901 | wxPyEndAllowThreads(__tstate); | |
21902 | if (PyErr_Occurred()) SWIG_fail; | |
21903 | } | |
21904 | Py_INCREF(Py_None); resultobj = Py_None; | |
21905 | return resultobj; | |
21906 | fail: | |
21907 | return NULL; | |
21908 | } | |
21909 | ||
21910 | ||
322913ce RD |
21911 | static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
21912 | PyObject *resultobj; | |
21913 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21914 | int arg2 ; | |
21915 | bool result; | |
21916 | PyObject * obj0 = 0 ; | |
994141e6 | 21917 | PyObject * obj1 = 0 ; |
322913ce RD |
21918 | char *kwnames[] = { |
21919 | (char *) "self",(char *) "page", NULL | |
21920 | }; | |
21921 | ||
994141e6 | 21922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21923 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21925 | arg2 = (int) SWIG_AsInt(obj1); | |
21926 | if (PyErr_Occurred()) SWIG_fail; | |
322913ce RD |
21927 | { |
21928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21929 | result = (bool)(arg1)->base_HasPage(arg2); | |
21930 | ||
21931 | wxPyEndAllowThreads(__tstate); | |
21932 | if (PyErr_Occurred()) SWIG_fail; | |
21933 | } | |
4f89f6a3 RD |
21934 | { |
21935 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21936 | } | |
322913ce RD |
21937 | return resultobj; |
21938 | fail: | |
21939 | return NULL; | |
21940 | } | |
21941 | ||
21942 | ||
d14a1e28 RD |
21943 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
21944 | PyObject *resultobj; | |
21945 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21946 | int *arg2 = (int *) 0 ; | |
21947 | int *arg3 = (int *) 0 ; | |
21948 | int *arg4 = (int *) 0 ; | |
21949 | int *arg5 = (int *) 0 ; | |
21950 | int temp2 ; | |
21951 | int temp3 ; | |
21952 | int temp4 ; | |
21953 | int temp5 ; | |
21954 | PyObject * obj0 = 0 ; | |
21955 | char *kwnames[] = { | |
21956 | (char *) "self", NULL | |
21957 | }; | |
21958 | ||
21959 | arg2 = &temp2; | |
21960 | arg3 = &temp3; | |
21961 | arg4 = &temp4; | |
21962 | arg5 = &temp5; | |
21963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21964 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21966 | { |
21967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21968 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
21969 | ||
21970 | wxPyEndAllowThreads(__tstate); | |
21971 | if (PyErr_Occurred()) SWIG_fail; | |
21972 | } | |
21973 | Py_INCREF(Py_None); resultobj = Py_None; | |
21974 | { | |
21975 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
21976 | resultobj = t_output_helper(resultobj,o); | |
21977 | } | |
21978 | { | |
21979 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
21980 | resultobj = t_output_helper(resultobj,o); | |
21981 | } | |
21982 | { | |
21983 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
21984 | resultobj = t_output_helper(resultobj,o); | |
21985 | } | |
21986 | { | |
21987 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
21988 | resultobj = t_output_helper(resultobj,o); | |
21989 | } | |
21990 | return resultobj; | |
21991 | fail: | |
21992 | return NULL; | |
21993 | } | |
21994 | ||
21995 | ||
d14a1e28 RD |
21996 | static PyObject * Printout_swigregister(PyObject *self, PyObject *args) { |
21997 | PyObject *obj; | |
21998 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21999 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
22000 | Py_INCREF(obj); | |
22001 | return Py_BuildValue((char *)""); | |
22002 | } | |
22003 | static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22004 | PyObject *resultobj; | |
22005 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22006 | wxWindow *arg2 = (wxWindow *) 0 ; | |
22007 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
22008 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
22009 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
22010 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
22011 | long arg5 = (long) 0 ; | |
22012 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
22013 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
22014 | wxPreviewCanvas *result; | |
22015 | wxPoint temp3 ; | |
22016 | wxSize temp4 ; | |
e811c8ce | 22017 | bool temp6 = False ; |
d14a1e28 RD |
22018 | PyObject * obj0 = 0 ; |
22019 | PyObject * obj1 = 0 ; | |
22020 | PyObject * obj2 = 0 ; | |
22021 | PyObject * obj3 = 0 ; | |
994141e6 | 22022 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
22023 | PyObject * obj5 = 0 ; |
22024 | char *kwnames[] = { | |
22025 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22026 | }; | |
22027 | ||
994141e6 | 22028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
22029 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22030 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22031 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22032 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22033 | if (obj2) { |
22034 | { | |
22035 | arg3 = &temp3; | |
22036 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
22037 | } | |
22038 | } | |
22039 | if (obj3) { | |
22040 | { | |
22041 | arg4 = &temp4; | |
22042 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
22043 | } | |
22044 | } | |
994141e6 | 22045 | if (obj4) { |
15afbcd0 RD |
22046 | arg5 = (long) SWIG_AsLong(obj4); |
22047 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 22048 | } |
d14a1e28 RD |
22049 | if (obj5) { |
22050 | { | |
22051 | arg6 = wxString_in_helper(obj5); | |
22052 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 22053 | temp6 = True; |
d14a1e28 RD |
22054 | } |
22055 | } | |
22056 | { | |
22057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22058 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
22059 | ||
22060 | wxPyEndAllowThreads(__tstate); | |
22061 | if (PyErr_Occurred()) SWIG_fail; | |
22062 | } | |
15afbcd0 | 22063 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); |
d14a1e28 RD |
22064 | { |
22065 | if (temp6) | |
22066 | delete arg6; | |
22067 | } | |
22068 | return resultobj; | |
22069 | fail: | |
22070 | { | |
22071 | if (temp6) | |
22072 | delete arg6; | |
22073 | } | |
22074 | return NULL; | |
22075 | } | |
22076 | ||
22077 | ||
22078 | static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) { | |
22079 | PyObject *obj; | |
22080 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22081 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
22082 | Py_INCREF(obj); | |
22083 | return Py_BuildValue((char *)""); | |
22084 | } | |
22085 | static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22086 | PyObject *resultobj; | |
22087 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22088 | wxFrame *arg2 = (wxFrame *) 0 ; | |
22089 | wxString *arg3 = 0 ; | |
22090 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22091 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22092 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22093 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22094 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
22095 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
22096 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22097 | wxPreviewFrame *result; | |
e811c8ce | 22098 | bool temp3 = False ; |
d14a1e28 RD |
22099 | wxPoint temp4 ; |
22100 | wxSize temp5 ; | |
e811c8ce | 22101 | bool temp7 = False ; |
d14a1e28 RD |
22102 | PyObject * obj0 = 0 ; |
22103 | PyObject * obj1 = 0 ; | |
22104 | PyObject * obj2 = 0 ; | |
22105 | PyObject * obj3 = 0 ; | |
22106 | PyObject * obj4 = 0 ; | |
994141e6 | 22107 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22108 | PyObject * obj6 = 0 ; |
22109 | char *kwnames[] = { | |
22110 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22111 | }; | |
22112 | ||
994141e6 | 22113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
22114 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22115 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22116 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
22117 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22118 | { |
22119 | arg3 = wxString_in_helper(obj2); | |
22120 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 22121 | temp3 = True; |
d14a1e28 RD |
22122 | } |
22123 | if (obj3) { | |
22124 | { | |
22125 | arg4 = &temp4; | |
22126 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22127 | } | |
22128 | } | |
22129 | if (obj4) { | |
22130 | { | |
22131 | arg5 = &temp5; | |
22132 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22133 | } | |
22134 | } | |
994141e6 | 22135 | if (obj5) { |
15afbcd0 RD |
22136 | arg6 = (long) SWIG_AsLong(obj5); |
22137 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 22138 | } |
d14a1e28 RD |
22139 | if (obj6) { |
22140 | { | |
22141 | arg7 = wxString_in_helper(obj6); | |
22142 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 22143 | temp7 = True; |
d14a1e28 RD |
22144 | } |
22145 | } | |
22146 | { | |
22147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22148 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22149 | ||
22150 | wxPyEndAllowThreads(__tstate); | |
22151 | if (PyErr_Occurred()) SWIG_fail; | |
22152 | } | |
15afbcd0 | 22153 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); |
d14a1e28 RD |
22154 | { |
22155 | if (temp3) | |
22156 | delete arg3; | |
22157 | } | |
22158 | { | |
22159 | if (temp7) | |
22160 | delete arg7; | |
22161 | } | |
22162 | return resultobj; | |
22163 | fail: | |
22164 | { | |
22165 | if (temp3) | |
22166 | delete arg3; | |
22167 | } | |
22168 | { | |
22169 | if (temp7) | |
22170 | delete arg7; | |
22171 | } | |
22172 | return NULL; | |
22173 | } | |
22174 | ||
22175 | ||
22176 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22177 | PyObject *resultobj; | |
22178 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
22179 | PyObject * obj0 = 0 ; | |
22180 | char *kwnames[] = { | |
22181 | (char *) "self", NULL | |
22182 | }; | |
22183 | ||
22184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22185 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
22186 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22187 | { |
22188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22189 | (arg1)->Initialize(); | |
22190 | ||
22191 | wxPyEndAllowThreads(__tstate); | |
22192 | if (PyErr_Occurred()) SWIG_fail; | |
22193 | } | |
22194 | Py_INCREF(Py_None); resultobj = Py_None; | |
22195 | return resultobj; | |
22196 | fail: | |
22197 | return NULL; | |
22198 | } | |
22199 | ||
22200 | ||
22201 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22202 | PyObject *resultobj; | |
22203 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
22204 | PyObject * obj0 = 0 ; | |
22205 | char *kwnames[] = { | |
22206 | (char *) "self", NULL | |
22207 | }; | |
22208 | ||
22209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22210 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
22211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22212 | { |
22213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22214 | (arg1)->CreateControlBar(); | |
22215 | ||
22216 | wxPyEndAllowThreads(__tstate); | |
22217 | if (PyErr_Occurred()) SWIG_fail; | |
22218 | } | |
22219 | Py_INCREF(Py_None); resultobj = Py_None; | |
22220 | return resultobj; | |
22221 | fail: | |
22222 | return NULL; | |
22223 | } | |
22224 | ||
22225 | ||
22226 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22227 | PyObject *resultobj; | |
22228 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
22229 | PyObject * obj0 = 0 ; | |
22230 | char *kwnames[] = { | |
22231 | (char *) "self", NULL | |
22232 | }; | |
22233 | ||
22234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22235 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
22236 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22237 | { |
22238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22239 | (arg1)->CreateCanvas(); | |
22240 | ||
22241 | wxPyEndAllowThreads(__tstate); | |
22242 | if (PyErr_Occurred()) SWIG_fail; | |
22243 | } | |
22244 | Py_INCREF(Py_None); resultobj = Py_None; | |
22245 | return resultobj; | |
22246 | fail: | |
22247 | return NULL; | |
22248 | } | |
22249 | ||
22250 | ||
22251 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22252 | PyObject *resultobj; | |
22253 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
22254 | wxPreviewControlBar *result; | |
22255 | PyObject * obj0 = 0 ; | |
22256 | char *kwnames[] = { | |
22257 | (char *) "self", NULL | |
22258 | }; | |
22259 | ||
22260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22261 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
22262 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22263 | { |
22264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22265 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
22266 | ||
22267 | wxPyEndAllowThreads(__tstate); | |
22268 | if (PyErr_Occurred()) SWIG_fail; | |
22269 | } | |
15afbcd0 | 22270 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); |
d14a1e28 RD |
22271 | return resultobj; |
22272 | fail: | |
22273 | return NULL; | |
22274 | } | |
22275 | ||
22276 | ||
22277 | static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
22278 | PyObject *obj; | |
22279 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22280 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
22281 | Py_INCREF(obj); | |
22282 | return Py_BuildValue((char *)""); | |
22283 | } | |
22284 | static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22285 | PyObject *resultobj; | |
22286 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22287 | long arg2 ; | |
22288 | wxWindow *arg3 = (wxWindow *) 0 ; | |
22289 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22290 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22291 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22292 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22293 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
22294 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
22295 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22296 | wxPreviewControlBar *result; | |
22297 | wxPoint temp4 ; | |
22298 | wxSize temp5 ; | |
e811c8ce | 22299 | bool temp7 = False ; |
d14a1e28 | 22300 | PyObject * obj0 = 0 ; |
994141e6 | 22301 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22302 | PyObject * obj2 = 0 ; |
22303 | PyObject * obj3 = 0 ; | |
22304 | PyObject * obj4 = 0 ; | |
994141e6 | 22305 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22306 | PyObject * obj6 = 0 ; |
22307 | char *kwnames[] = { | |
22308 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22309 | }; | |
22310 | ||
994141e6 | 22311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
22312 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22313 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22314 | arg2 = (long) SWIG_AsLong(obj1); | |
22315 | if (PyErr_Occurred()) SWIG_fail; | |
22316 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
22317 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22318 | if (obj3) { |
22319 | { | |
22320 | arg4 = &temp4; | |
22321 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22322 | } | |
22323 | } | |
22324 | if (obj4) { | |
22325 | { | |
22326 | arg5 = &temp5; | |
22327 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22328 | } | |
22329 | } | |
994141e6 | 22330 | if (obj5) { |
15afbcd0 RD |
22331 | arg6 = (long) SWIG_AsLong(obj5); |
22332 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 22333 | } |
d14a1e28 RD |
22334 | if (obj6) { |
22335 | { | |
22336 | arg7 = wxString_in_helper(obj6); | |
22337 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 22338 | temp7 = True; |
d14a1e28 RD |
22339 | } |
22340 | } | |
22341 | { | |
22342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22343 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22344 | ||
22345 | wxPyEndAllowThreads(__tstate); | |
22346 | if (PyErr_Occurred()) SWIG_fail; | |
22347 | } | |
15afbcd0 | 22348 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); |
d14a1e28 RD |
22349 | { |
22350 | if (temp7) | |
22351 | delete arg7; | |
22352 | } | |
22353 | return resultobj; | |
22354 | fail: | |
22355 | { | |
22356 | if (temp7) | |
22357 | delete arg7; | |
22358 | } | |
22359 | return NULL; | |
22360 | } | |
22361 | ||
22362 | ||
22363 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22364 | PyObject *resultobj; | |
22365 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22366 | int result; | |
22367 | PyObject * obj0 = 0 ; | |
22368 | char *kwnames[] = { | |
22369 | (char *) "self", NULL | |
22370 | }; | |
22371 | ||
22372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22373 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22374 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22375 | { |
22376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22377 | result = (int)(arg1)->GetZoomControl(); | |
22378 | ||
22379 | wxPyEndAllowThreads(__tstate); | |
22380 | if (PyErr_Occurred()) SWIG_fail; | |
22381 | } | |
15afbcd0 | 22382 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
22383 | return resultobj; |
22384 | fail: | |
22385 | return NULL; | |
22386 | } | |
22387 | ||
22388 | ||
22389 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22390 | PyObject *resultobj; | |
22391 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22392 | int arg2 ; | |
22393 | PyObject * obj0 = 0 ; | |
994141e6 | 22394 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22395 | char *kwnames[] = { |
22396 | (char *) "self",(char *) "zoom", NULL | |
22397 | }; | |
22398 | ||
994141e6 | 22399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22400 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22401 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22402 | arg2 = (int) SWIG_AsInt(obj1); | |
22403 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22404 | { |
22405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22406 | (arg1)->SetZoomControl(arg2); | |
22407 | ||
22408 | wxPyEndAllowThreads(__tstate); | |
22409 | if (PyErr_Occurred()) SWIG_fail; | |
22410 | } | |
22411 | Py_INCREF(Py_None); resultobj = Py_None; | |
22412 | return resultobj; | |
22413 | fail: | |
22414 | return NULL; | |
22415 | } | |
22416 | ||
22417 | ||
22418 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22419 | PyObject *resultobj; | |
22420 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22421 | wxPrintPreview *result; | |
22422 | PyObject * obj0 = 0 ; | |
22423 | char *kwnames[] = { | |
22424 | (char *) "self", NULL | |
22425 | }; | |
22426 | ||
22427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22428 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22429 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22430 | { |
22431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22432 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
22433 | ||
22434 | wxPyEndAllowThreads(__tstate); | |
22435 | if (PyErr_Occurred()) SWIG_fail; | |
22436 | } | |
15afbcd0 | 22437 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); |
d14a1e28 RD |
22438 | return resultobj; |
22439 | fail: | |
22440 | return NULL; | |
22441 | } | |
22442 | ||
22443 | ||
22444 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22445 | PyObject *resultobj; | |
22446 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22447 | PyObject * obj0 = 0 ; | |
22448 | char *kwnames[] = { | |
22449 | (char *) "self", NULL | |
22450 | }; | |
22451 | ||
22452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22455 | { |
22456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22457 | (arg1)->OnNext(); | |
22458 | ||
22459 | wxPyEndAllowThreads(__tstate); | |
22460 | if (PyErr_Occurred()) SWIG_fail; | |
22461 | } | |
22462 | Py_INCREF(Py_None); resultobj = Py_None; | |
22463 | return resultobj; | |
22464 | fail: | |
22465 | return NULL; | |
22466 | } | |
22467 | ||
22468 | ||
22469 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22470 | PyObject *resultobj; | |
22471 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22472 | PyObject * obj0 = 0 ; | |
22473 | char *kwnames[] = { | |
22474 | (char *) "self", NULL | |
22475 | }; | |
22476 | ||
22477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22478 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22479 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22480 | { |
22481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22482 | (arg1)->OnPrevious(); | |
22483 | ||
22484 | wxPyEndAllowThreads(__tstate); | |
22485 | if (PyErr_Occurred()) SWIG_fail; | |
22486 | } | |
22487 | Py_INCREF(Py_None); resultobj = Py_None; | |
22488 | return resultobj; | |
22489 | fail: | |
22490 | return NULL; | |
22491 | } | |
22492 | ||
22493 | ||
22494 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22495 | PyObject *resultobj; | |
22496 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22497 | PyObject * obj0 = 0 ; | |
22498 | char *kwnames[] = { | |
22499 | (char *) "self", NULL | |
22500 | }; | |
22501 | ||
22502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22505 | { |
22506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22507 | (arg1)->OnFirst(); | |
22508 | ||
22509 | wxPyEndAllowThreads(__tstate); | |
22510 | if (PyErr_Occurred()) SWIG_fail; | |
22511 | } | |
22512 | Py_INCREF(Py_None); resultobj = Py_None; | |
22513 | return resultobj; | |
22514 | fail: | |
22515 | return NULL; | |
22516 | } | |
22517 | ||
22518 | ||
22519 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22520 | PyObject *resultobj; | |
22521 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22522 | PyObject * obj0 = 0 ; | |
22523 | char *kwnames[] = { | |
22524 | (char *) "self", NULL | |
22525 | }; | |
22526 | ||
22527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22528 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22529 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22530 | { |
22531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22532 | (arg1)->OnLast(); | |
22533 | ||
22534 | wxPyEndAllowThreads(__tstate); | |
22535 | if (PyErr_Occurred()) SWIG_fail; | |
22536 | } | |
22537 | Py_INCREF(Py_None); resultobj = Py_None; | |
22538 | return resultobj; | |
22539 | fail: | |
22540 | return NULL; | |
22541 | } | |
22542 | ||
22543 | ||
22544 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22545 | PyObject *resultobj; | |
22546 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22547 | PyObject * obj0 = 0 ; | |
22548 | char *kwnames[] = { | |
22549 | (char *) "self", NULL | |
22550 | }; | |
22551 | ||
22552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22553 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22554 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22555 | { |
22556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22557 | (arg1)->OnGoto(); | |
22558 | ||
22559 | wxPyEndAllowThreads(__tstate); | |
22560 | if (PyErr_Occurred()) SWIG_fail; | |
22561 | } | |
22562 | Py_INCREF(Py_None); resultobj = Py_None; | |
22563 | return resultobj; | |
22564 | fail: | |
22565 | return NULL; | |
22566 | } | |
22567 | ||
22568 | ||
22569 | static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
22570 | PyObject *obj; | |
22571 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22572 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
22573 | Py_INCREF(obj); | |
22574 | return Py_BuildValue((char *)""); | |
22575 | } | |
4276dc52 | 22576 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
22577 | PyObject *resultobj; |
22578 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22579 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
4276dc52 | 22580 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
22581 | wxPrintPreview *result; |
22582 | PyObject * obj0 = 0 ; | |
22583 | PyObject * obj1 = 0 ; | |
22584 | PyObject * obj2 = 0 ; | |
d14a1e28 | 22585 | |
4276dc52 | 22586 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22587 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22588 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22589 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
22590 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 22591 | if (obj2) { |
4276dc52 | 22592 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
15afbcd0 | 22593 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
22594 | } |
22595 | { | |
22596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22597 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
22598 | ||
22599 | wxPyEndAllowThreads(__tstate); | |
22600 | if (PyErr_Occurred()) SWIG_fail; | |
22601 | } | |
15afbcd0 | 22602 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); |
d14a1e28 RD |
22603 | return resultobj; |
22604 | fail: | |
22605 | return NULL; | |
22606 | } | |
22607 | ||
22608 | ||
4276dc52 RD |
22609 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) { |
22610 | PyObject *resultobj; | |
22611 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22612 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
22613 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
22614 | wxPrintPreview *result; | |
22615 | PyObject * obj0 = 0 ; | |
22616 | PyObject * obj1 = 0 ; | |
22617 | PyObject * obj2 = 0 ; | |
22618 | ||
22619 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
22620 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22621 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22622 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
22623 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22624 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
22625 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22626 | { | |
22627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22628 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
22629 | ||
22630 | wxPyEndAllowThreads(__tstate); | |
22631 | if (PyErr_Occurred()) SWIG_fail; | |
22632 | } | |
22633 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
22634 | return resultobj; | |
22635 | fail: | |
22636 | return NULL; | |
22637 | } | |
22638 | ||
22639 | ||
22640 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
22641 | int argc; | |
22642 | PyObject *argv[4]; | |
22643 | int ii; | |
22644 | ||
22645 | argc = PyObject_Length(args); | |
22646 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
22647 | argv[ii] = PyTuple_GetItem(args,ii); | |
22648 | } | |
22649 | if ((argc >= 2) && (argc <= 3)) { | |
22650 | int _v; | |
22651 | { | |
22652 | void *ptr; | |
22653 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22654 | _v = 0; | |
22655 | PyErr_Clear(); | |
22656 | } else { | |
22657 | _v = 1; | |
22658 | } | |
22659 | } | |
22660 | if (_v) { | |
22661 | { | |
22662 | void *ptr; | |
22663 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22664 | _v = 0; | |
22665 | PyErr_Clear(); | |
22666 | } else { | |
22667 | _v = 1; | |
22668 | } | |
22669 | } | |
22670 | if (_v) { | |
22671 | if (argc <= 2) { | |
22672 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
22673 | } | |
22674 | { | |
22675 | void *ptr; | |
22676 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
22677 | _v = 0; | |
22678 | PyErr_Clear(); | |
22679 | } else { | |
22680 | _v = 1; | |
22681 | } | |
22682 | } | |
22683 | if (_v) { | |
22684 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
22685 | } | |
22686 | } | |
22687 | } | |
22688 | } | |
22689 | if (argc == 3) { | |
22690 | int _v; | |
22691 | { | |
22692 | void *ptr; | |
22693 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22694 | _v = 0; | |
22695 | PyErr_Clear(); | |
22696 | } else { | |
22697 | _v = 1; | |
22698 | } | |
22699 | } | |
22700 | if (_v) { | |
22701 | { | |
22702 | void *ptr; | |
22703 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22704 | _v = 0; | |
22705 | PyErr_Clear(); | |
22706 | } else { | |
22707 | _v = 1; | |
22708 | } | |
22709 | } | |
22710 | if (_v) { | |
22711 | { | |
22712 | void *ptr; | |
22713 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
22714 | _v = 0; | |
22715 | PyErr_Clear(); | |
22716 | } else { | |
22717 | _v = 1; | |
22718 | } | |
22719 | } | |
22720 | if (_v) { | |
22721 | return _wrap_new_PrintPreview__SWIG_1(self,args); | |
22722 | } | |
22723 | } | |
22724 | } | |
22725 | } | |
22726 | ||
22727 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'"); | |
22728 | return NULL; | |
22729 | } | |
22730 | ||
22731 | ||
d14a1e28 RD |
22732 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
22733 | PyObject *resultobj; | |
22734 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22735 | int arg2 ; | |
22736 | bool result; | |
22737 | PyObject * obj0 = 0 ; | |
994141e6 | 22738 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22739 | char *kwnames[] = { |
22740 | (char *) "self",(char *) "pageNum", NULL | |
22741 | }; | |
22742 | ||
994141e6 | 22743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22746 | arg2 = (int) SWIG_AsInt(obj1); | |
22747 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22748 | { |
22749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22750 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
22751 | ||
22752 | wxPyEndAllowThreads(__tstate); | |
22753 | if (PyErr_Occurred()) SWIG_fail; | |
22754 | } | |
4f89f6a3 RD |
22755 | { |
22756 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22757 | } | |
d14a1e28 RD |
22758 | return resultobj; |
22759 | fail: | |
22760 | return NULL; | |
22761 | } | |
22762 | ||
22763 | ||
22764 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22765 | PyObject *resultobj; | |
22766 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22767 | int result; | |
22768 | PyObject * obj0 = 0 ; | |
22769 | char *kwnames[] = { | |
22770 | (char *) "self", NULL | |
22771 | }; | |
22772 | ||
22773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22774 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22775 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22776 | { |
22777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22778 | result = (int)(arg1)->GetCurrentPage(); | |
22779 | ||
22780 | wxPyEndAllowThreads(__tstate); | |
22781 | if (PyErr_Occurred()) SWIG_fail; | |
22782 | } | |
15afbcd0 | 22783 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
22784 | return resultobj; |
22785 | fail: | |
22786 | return NULL; | |
22787 | } | |
22788 | ||
22789 | ||
22790 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22791 | PyObject *resultobj; | |
22792 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22793 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
22794 | PyObject * obj0 = 0 ; | |
22795 | PyObject * obj1 = 0 ; | |
22796 | char *kwnames[] = { | |
22797 | (char *) "self",(char *) "printout", NULL | |
22798 | }; | |
22799 | ||
22800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22801 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22802 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22803 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
22804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22805 | { |
22806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22807 | (arg1)->SetPrintout(arg2); | |
22808 | ||
22809 | wxPyEndAllowThreads(__tstate); | |
22810 | if (PyErr_Occurred()) SWIG_fail; | |
22811 | } | |
22812 | Py_INCREF(Py_None); resultobj = Py_None; | |
22813 | return resultobj; | |
22814 | fail: | |
22815 | return NULL; | |
22816 | } | |
22817 | ||
22818 | ||
22819 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22820 | PyObject *resultobj; | |
22821 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22822 | wxPyPrintout *result; | |
22823 | PyObject * obj0 = 0 ; | |
22824 | char *kwnames[] = { | |
22825 | (char *) "self", NULL | |
22826 | }; | |
22827 | ||
22828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22829 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22830 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22831 | { |
22832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22833 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
22834 | ||
22835 | wxPyEndAllowThreads(__tstate); | |
22836 | if (PyErr_Occurred()) SWIG_fail; | |
22837 | } | |
22838 | { | |
22839 | resultobj = wxPyMake_wxObject(result); | |
22840 | } | |
22841 | return resultobj; | |
22842 | fail: | |
22843 | return NULL; | |
22844 | } | |
22845 | ||
22846 | ||
22847 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22848 | PyObject *resultobj; | |
22849 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22850 | wxPyPrintout *result; | |
22851 | PyObject * obj0 = 0 ; | |
22852 | char *kwnames[] = { | |
22853 | (char *) "self", NULL | |
22854 | }; | |
22855 | ||
22856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22857 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22858 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22859 | { |
22860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22861 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
22862 | ||
22863 | wxPyEndAllowThreads(__tstate); | |
22864 | if (PyErr_Occurred()) SWIG_fail; | |
22865 | } | |
22866 | { | |
22867 | resultobj = wxPyMake_wxObject(result); | |
22868 | } | |
22869 | return resultobj; | |
22870 | fail: | |
22871 | return NULL; | |
22872 | } | |
22873 | ||
22874 | ||
22875 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22876 | PyObject *resultobj; | |
22877 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22878 | wxFrame *arg2 = (wxFrame *) 0 ; | |
22879 | PyObject * obj0 = 0 ; | |
22880 | PyObject * obj1 = 0 ; | |
22881 | char *kwnames[] = { | |
22882 | (char *) "self",(char *) "frame", NULL | |
22883 | }; | |
22884 | ||
22885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22886 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22887 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22888 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
22889 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22890 | { |
22891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22892 | (arg1)->SetFrame(arg2); | |
22893 | ||
22894 | wxPyEndAllowThreads(__tstate); | |
22895 | if (PyErr_Occurred()) SWIG_fail; | |
22896 | } | |
22897 | Py_INCREF(Py_None); resultobj = Py_None; | |
22898 | return resultobj; | |
22899 | fail: | |
22900 | return NULL; | |
22901 | } | |
22902 | ||
22903 | ||
22904 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22905 | PyObject *resultobj; | |
22906 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22907 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22908 | PyObject * obj0 = 0 ; | |
22909 | PyObject * obj1 = 0 ; | |
22910 | char *kwnames[] = { | |
22911 | (char *) "self",(char *) "canvas", NULL | |
22912 | }; | |
22913 | ||
22914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22915 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22916 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22917 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22919 | { |
22920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22921 | (arg1)->SetCanvas(arg2); | |
22922 | ||
22923 | wxPyEndAllowThreads(__tstate); | |
22924 | if (PyErr_Occurred()) SWIG_fail; | |
22925 | } | |
22926 | Py_INCREF(Py_None); resultobj = Py_None; | |
22927 | return resultobj; | |
22928 | fail: | |
22929 | return NULL; | |
22930 | } | |
22931 | ||
22932 | ||
22933 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22934 | PyObject *resultobj; | |
22935 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22936 | wxFrame *result; | |
22937 | PyObject * obj0 = 0 ; | |
22938 | char *kwnames[] = { | |
22939 | (char *) "self", NULL | |
22940 | }; | |
22941 | ||
22942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22945 | { |
22946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22947 | result = (wxFrame *)(arg1)->GetFrame(); | |
22948 | ||
22949 | wxPyEndAllowThreads(__tstate); | |
22950 | if (PyErr_Occurred()) SWIG_fail; | |
22951 | } | |
22952 | { | |
22953 | resultobj = wxPyMake_wxObject(result); | |
22954 | } | |
22955 | return resultobj; | |
22956 | fail: | |
22957 | return NULL; | |
22958 | } | |
22959 | ||
22960 | ||
22961 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22962 | PyObject *resultobj; | |
22963 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22964 | wxPreviewCanvas *result; | |
22965 | PyObject * obj0 = 0 ; | |
22966 | char *kwnames[] = { | |
22967 | (char *) "self", NULL | |
22968 | }; | |
22969 | ||
22970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22971 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22972 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22973 | { |
22974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22975 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
22976 | ||
22977 | wxPyEndAllowThreads(__tstate); | |
22978 | if (PyErr_Occurred()) SWIG_fail; | |
22979 | } | |
15afbcd0 | 22980 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); |
d14a1e28 RD |
22981 | return resultobj; |
22982 | fail: | |
22983 | return NULL; | |
22984 | } | |
22985 | ||
22986 | ||
22987 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22988 | PyObject *resultobj; | |
22989 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22990 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22991 | wxDC *arg3 = 0 ; | |
22992 | bool result; | |
22993 | PyObject * obj0 = 0 ; | |
22994 | PyObject * obj1 = 0 ; | |
22995 | PyObject * obj2 = 0 ; | |
22996 | char *kwnames[] = { | |
22997 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
22998 | }; | |
22999 | ||
23000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23001 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23002 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23003 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23004 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23005 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
23006 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
23007 | SWIG_fail; | |
d14a1e28 | 23008 | if (arg3 == NULL) { |
15afbcd0 RD |
23009 | PyErr_SetString(PyExc_TypeError,"null reference"); |
23010 | SWIG_fail; | |
d14a1e28 RD |
23011 | } |
23012 | { | |
23013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23014 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
23015 | ||
23016 | wxPyEndAllowThreads(__tstate); | |
23017 | if (PyErr_Occurred()) SWIG_fail; | |
23018 | } | |
4f89f6a3 RD |
23019 | { |
23020 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23021 | } | |
d14a1e28 RD |
23022 | return resultobj; |
23023 | fail: | |
23024 | return NULL; | |
23025 | } | |
23026 | ||
23027 | ||
23028 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23029 | PyObject *resultobj; | |
23030 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23031 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23032 | wxDC *arg3 = 0 ; | |
23033 | bool result; | |
23034 | PyObject * obj0 = 0 ; | |
23035 | PyObject * obj1 = 0 ; | |
23036 | PyObject * obj2 = 0 ; | |
23037 | char *kwnames[] = { | |
23038 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
23039 | }; | |
23040 | ||
23041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23042 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23043 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23044 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23045 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23046 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
23047 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
23048 | SWIG_fail; | |
d14a1e28 | 23049 | if (arg3 == NULL) { |
15afbcd0 RD |
23050 | PyErr_SetString(PyExc_TypeError,"null reference"); |
23051 | SWIG_fail; | |
d14a1e28 RD |
23052 | } |
23053 | { | |
23054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23055 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
23056 | ||
23057 | wxPyEndAllowThreads(__tstate); | |
23058 | if (PyErr_Occurred()) SWIG_fail; | |
23059 | } | |
4f89f6a3 RD |
23060 | { |
23061 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23062 | } | |
d14a1e28 RD |
23063 | return resultobj; |
23064 | fail: | |
23065 | return NULL; | |
23066 | } | |
23067 | ||
23068 | ||
23069 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23070 | PyObject *resultobj; | |
23071 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23072 | int arg2 ; | |
23073 | bool result; | |
23074 | PyObject * obj0 = 0 ; | |
994141e6 | 23075 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23076 | char *kwnames[] = { |
23077 | (char *) "self",(char *) "pageNum", NULL | |
23078 | }; | |
23079 | ||
994141e6 | 23080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23081 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23082 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23083 | arg2 = (int) SWIG_AsInt(obj1); | |
23084 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23085 | { |
23086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23087 | result = (bool)(arg1)->RenderPage(arg2); | |
23088 | ||
23089 | wxPyEndAllowThreads(__tstate); | |
23090 | if (PyErr_Occurred()) SWIG_fail; | |
23091 | } | |
4f89f6a3 RD |
23092 | { |
23093 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23094 | } | |
d14a1e28 RD |
23095 | return resultobj; |
23096 | fail: | |
23097 | return NULL; | |
23098 | } | |
23099 | ||
23100 | ||
23101 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23102 | PyObject *resultobj; | |
23103 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23104 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23105 | PyObject * obj0 = 0 ; | |
23106 | PyObject * obj1 = 0 ; | |
23107 | char *kwnames[] = { | |
23108 | (char *) "self",(char *) "canvas", NULL | |
23109 | }; | |
23110 | ||
23111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23112 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23113 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23114 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23115 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23116 | { |
23117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23118 | (arg1)->AdjustScrollbars(arg2); | |
23119 | ||
23120 | wxPyEndAllowThreads(__tstate); | |
23121 | if (PyErr_Occurred()) SWIG_fail; | |
23122 | } | |
23123 | Py_INCREF(Py_None); resultobj = Py_None; | |
23124 | return resultobj; | |
23125 | fail: | |
23126 | return NULL; | |
23127 | } | |
23128 | ||
23129 | ||
23130 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23131 | PyObject *resultobj; | |
23132 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23133 | wxPrintDialogData *result; | |
23134 | PyObject * obj0 = 0 ; | |
23135 | char *kwnames[] = { | |
23136 | (char *) "self", NULL | |
23137 | }; | |
23138 | ||
23139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23140 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23141 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23142 | { |
23143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23144 | { | |
23145 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
23146 | result = (wxPrintDialogData *) &_result_ref; | |
23147 | } | |
23148 | ||
23149 | wxPyEndAllowThreads(__tstate); | |
23150 | if (PyErr_Occurred()) SWIG_fail; | |
23151 | } | |
15afbcd0 | 23152 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
23153 | return resultobj; |
23154 | fail: | |
23155 | return NULL; | |
23156 | } | |
23157 | ||
23158 | ||
23159 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23160 | PyObject *resultobj; | |
23161 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23162 | int arg2 ; | |
23163 | PyObject * obj0 = 0 ; | |
994141e6 | 23164 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23165 | char *kwnames[] = { |
23166 | (char *) "self",(char *) "percent", NULL | |
23167 | }; | |
23168 | ||
994141e6 | 23169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23170 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23171 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23172 | arg2 = (int) SWIG_AsInt(obj1); | |
23173 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23174 | { |
23175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23176 | (arg1)->SetZoom(arg2); | |
23177 | ||
23178 | wxPyEndAllowThreads(__tstate); | |
23179 | if (PyErr_Occurred()) SWIG_fail; | |
23180 | } | |
23181 | Py_INCREF(Py_None); resultobj = Py_None; | |
23182 | return resultobj; | |
23183 | fail: | |
23184 | return NULL; | |
23185 | } | |
23186 | ||
23187 | ||
23188 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23189 | PyObject *resultobj; | |
23190 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23191 | int result; | |
23192 | PyObject * obj0 = 0 ; | |
23193 | char *kwnames[] = { | |
23194 | (char *) "self", NULL | |
23195 | }; | |
23196 | ||
23197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23198 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23199 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23200 | { |
23201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23202 | result = (int)(arg1)->GetZoom(); | |
23203 | ||
23204 | wxPyEndAllowThreads(__tstate); | |
23205 | if (PyErr_Occurred()) SWIG_fail; | |
23206 | } | |
15afbcd0 | 23207 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
23208 | return resultobj; |
23209 | fail: | |
23210 | return NULL; | |
23211 | } | |
23212 | ||
23213 | ||
23214 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23215 | PyObject *resultobj; | |
23216 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23217 | int result; | |
23218 | PyObject * obj0 = 0 ; | |
23219 | char *kwnames[] = { | |
23220 | (char *) "self", NULL | |
23221 | }; | |
23222 | ||
23223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23224 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23226 | { |
23227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23228 | result = (int)(arg1)->GetMaxPage(); | |
23229 | ||
23230 | wxPyEndAllowThreads(__tstate); | |
23231 | if (PyErr_Occurred()) SWIG_fail; | |
23232 | } | |
15afbcd0 | 23233 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
23234 | return resultobj; |
23235 | fail: | |
23236 | return NULL; | |
23237 | } | |
23238 | ||
23239 | ||
23240 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23241 | PyObject *resultobj; | |
23242 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23243 | int result; | |
23244 | PyObject * obj0 = 0 ; | |
23245 | char *kwnames[] = { | |
23246 | (char *) "self", NULL | |
23247 | }; | |
23248 | ||
23249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23250 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23251 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23252 | { |
23253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23254 | result = (int)(arg1)->GetMinPage(); | |
23255 | ||
23256 | wxPyEndAllowThreads(__tstate); | |
23257 | if (PyErr_Occurred()) SWIG_fail; | |
23258 | } | |
15afbcd0 | 23259 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
23260 | return resultobj; |
23261 | fail: | |
23262 | return NULL; | |
23263 | } | |
23264 | ||
23265 | ||
23266 | static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23267 | PyObject *resultobj; | |
23268 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23269 | bool result; | |
23270 | PyObject * obj0 = 0 ; | |
23271 | char *kwnames[] = { | |
23272 | (char *) "self", NULL | |
23273 | }; | |
23274 | ||
23275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23278 | { |
23279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23280 | result = (bool)(arg1)->Ok(); | |
23281 | ||
23282 | wxPyEndAllowThreads(__tstate); | |
23283 | if (PyErr_Occurred()) SWIG_fail; | |
23284 | } | |
4f89f6a3 RD |
23285 | { |
23286 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23287 | } | |
d14a1e28 RD |
23288 | return resultobj; |
23289 | fail: | |
23290 | return NULL; | |
23291 | } | |
23292 | ||
23293 | ||
23294 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23295 | PyObject *resultobj; | |
23296 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23297 | bool arg2 ; | |
23298 | PyObject * obj0 = 0 ; | |
23299 | PyObject * obj1 = 0 ; | |
23300 | char *kwnames[] = { | |
23301 | (char *) "self",(char *) "ok", NULL | |
23302 | }; | |
23303 | ||
23304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23305 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23306 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23307 | arg2 = (bool) SWIG_AsBool(obj1); | |
23308 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23309 | { |
23310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23311 | (arg1)->SetOk(arg2); | |
23312 | ||
23313 | wxPyEndAllowThreads(__tstate); | |
23314 | if (PyErr_Occurred()) SWIG_fail; | |
23315 | } | |
23316 | Py_INCREF(Py_None); resultobj = Py_None; | |
23317 | return resultobj; | |
23318 | fail: | |
23319 | return NULL; | |
23320 | } | |
23321 | ||
23322 | ||
23323 | static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23324 | PyObject *resultobj; | |
23325 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23326 | bool arg2 ; | |
23327 | bool result; | |
23328 | PyObject * obj0 = 0 ; | |
23329 | PyObject * obj1 = 0 ; | |
23330 | char *kwnames[] = { | |
23331 | (char *) "self",(char *) "interactive", NULL | |
23332 | }; | |
23333 | ||
23334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23335 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23336 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23337 | arg2 = (bool) SWIG_AsBool(obj1); | |
23338 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23339 | { |
23340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23341 | result = (bool)(arg1)->Print(arg2); | |
23342 | ||
23343 | wxPyEndAllowThreads(__tstate); | |
23344 | if (PyErr_Occurred()) SWIG_fail; | |
23345 | } | |
4f89f6a3 RD |
23346 | { |
23347 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23348 | } | |
d14a1e28 RD |
23349 | return resultobj; |
23350 | fail: | |
23351 | return NULL; | |
23352 | } | |
23353 | ||
23354 | ||
23355 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23356 | PyObject *resultobj; | |
23357 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23358 | PyObject * obj0 = 0 ; | |
23359 | char *kwnames[] = { | |
23360 | (char *) "self", NULL | |
23361 | }; | |
23362 | ||
23363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23364 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23365 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23366 | { |
23367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23368 | (arg1)->DetermineScaling(); | |
23369 | ||
23370 | wxPyEndAllowThreads(__tstate); | |
23371 | if (PyErr_Occurred()) SWIG_fail; | |
23372 | } | |
23373 | Py_INCREF(Py_None); resultobj = Py_None; | |
23374 | return resultobj; | |
23375 | fail: | |
23376 | return NULL; | |
23377 | } | |
23378 | ||
23379 | ||
23380 | static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) { | |
23381 | PyObject *obj; | |
23382 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23383 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
23384 | Py_INCREF(obj); | |
23385 | return Py_BuildValue((char *)""); | |
23386 | } | |
4276dc52 | 23387 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
23388 | PyObject *resultobj; |
23389 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23390 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
4276dc52 | 23391 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
23392 | wxPyPrintPreview *result; |
23393 | PyObject * obj0 = 0 ; | |
23394 | PyObject * obj1 = 0 ; | |
23395 | PyObject * obj2 = 0 ; | |
d14a1e28 | 23396 | |
4276dc52 | 23397 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
23398 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
23399 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23400 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23401 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 23402 | if (obj2) { |
4276dc52 | 23403 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
15afbcd0 | 23404 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
23405 | } |
23406 | { | |
23407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23408 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
23409 | ||
23410 | wxPyEndAllowThreads(__tstate); | |
23411 | if (PyErr_Occurred()) SWIG_fail; | |
23412 | } | |
15afbcd0 | 23413 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); |
d14a1e28 RD |
23414 | return resultobj; |
23415 | fail: | |
23416 | return NULL; | |
23417 | } | |
23418 | ||
23419 | ||
4276dc52 RD |
23420 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) { |
23421 | PyObject *resultobj; | |
23422 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23423 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
23424 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
23425 | wxPyPrintPreview *result; | |
23426 | PyObject * obj0 = 0 ; | |
23427 | PyObject * obj1 = 0 ; | |
23428 | PyObject * obj2 = 0 ; | |
23429 | ||
23430 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
23431 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
23432 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23433 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23434 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23435 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
23436 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23437 | { | |
23438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23439 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
23440 | ||
23441 | wxPyEndAllowThreads(__tstate); | |
23442 | if (PyErr_Occurred()) SWIG_fail; | |
23443 | } | |
23444 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
23445 | return resultobj; | |
23446 | fail: | |
23447 | return NULL; | |
23448 | } | |
23449 | ||
23450 | ||
23451 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
23452 | int argc; | |
23453 | PyObject *argv[4]; | |
23454 | int ii; | |
23455 | ||
23456 | argc = PyObject_Length(args); | |
23457 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
23458 | argv[ii] = PyTuple_GetItem(args,ii); | |
23459 | } | |
23460 | if ((argc >= 2) && (argc <= 3)) { | |
23461 | int _v; | |
23462 | { | |
23463 | void *ptr; | |
23464 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23465 | _v = 0; | |
23466 | PyErr_Clear(); | |
23467 | } else { | |
23468 | _v = 1; | |
23469 | } | |
23470 | } | |
23471 | if (_v) { | |
23472 | { | |
23473 | void *ptr; | |
23474 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23475 | _v = 0; | |
23476 | PyErr_Clear(); | |
23477 | } else { | |
23478 | _v = 1; | |
23479 | } | |
23480 | } | |
23481 | if (_v) { | |
23482 | if (argc <= 2) { | |
23483 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
23484 | } | |
23485 | { | |
23486 | void *ptr; | |
23487 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
23488 | _v = 0; | |
23489 | PyErr_Clear(); | |
23490 | } else { | |
23491 | _v = 1; | |
23492 | } | |
23493 | } | |
23494 | if (_v) { | |
23495 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
23496 | } | |
23497 | } | |
23498 | } | |
23499 | } | |
23500 | if (argc == 3) { | |
23501 | int _v; | |
23502 | { | |
23503 | void *ptr; | |
23504 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23505 | _v = 0; | |
23506 | PyErr_Clear(); | |
23507 | } else { | |
23508 | _v = 1; | |
23509 | } | |
23510 | } | |
23511 | if (_v) { | |
23512 | { | |
23513 | void *ptr; | |
23514 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23515 | _v = 0; | |
23516 | PyErr_Clear(); | |
23517 | } else { | |
23518 | _v = 1; | |
23519 | } | |
23520 | } | |
23521 | if (_v) { | |
23522 | { | |
23523 | void *ptr; | |
23524 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
23525 | _v = 0; | |
23526 | PyErr_Clear(); | |
23527 | } else { | |
23528 | _v = 1; | |
23529 | } | |
23530 | } | |
23531 | if (_v) { | |
23532 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); | |
23533 | } | |
23534 | } | |
23535 | } | |
23536 | } | |
23537 | ||
23538 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'"); | |
23539 | return NULL; | |
23540 | } | |
23541 | ||
23542 | ||
d14a1e28 RD |
23543 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
23544 | PyObject *resultobj; | |
23545 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23546 | PyObject *arg2 = (PyObject *) 0 ; | |
23547 | PyObject *arg3 = (PyObject *) 0 ; | |
23548 | PyObject * obj0 = 0 ; | |
23549 | PyObject * obj1 = 0 ; | |
23550 | PyObject * obj2 = 0 ; | |
23551 | char *kwnames[] = { | |
23552 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
23553 | }; | |
23554 | ||
23555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23556 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23557 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23558 | arg2 = obj1; |
23559 | arg3 = obj2; | |
23560 | { | |
23561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23562 | (arg1)->_setCallbackInfo(arg2,arg3); | |
23563 | ||
23564 | wxPyEndAllowThreads(__tstate); | |
23565 | if (PyErr_Occurred()) SWIG_fail; | |
23566 | } | |
23567 | Py_INCREF(Py_None); resultobj = Py_None; | |
23568 | return resultobj; | |
23569 | fail: | |
23570 | return NULL; | |
23571 | } | |
23572 | ||
23573 | ||
23574 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23575 | PyObject *resultobj; | |
23576 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23577 | int arg2 ; | |
23578 | bool result; | |
23579 | PyObject * obj0 = 0 ; | |
994141e6 | 23580 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23581 | char *kwnames[] = { |
23582 | (char *) "self",(char *) "pageNum", NULL | |
23583 | }; | |
23584 | ||
994141e6 | 23585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23588 | arg2 = (int) SWIG_AsInt(obj1); | |
23589 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23590 | { |
23591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23592 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
23593 | ||
23594 | wxPyEndAllowThreads(__tstate); | |
23595 | if (PyErr_Occurred()) SWIG_fail; | |
23596 | } | |
4f89f6a3 RD |
23597 | { |
23598 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23599 | } | |
d14a1e28 RD |
23600 | return resultobj; |
23601 | fail: | |
23602 | return NULL; | |
23603 | } | |
23604 | ||
23605 | ||
23606 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23607 | PyObject *resultobj; | |
23608 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23609 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23610 | wxDC *arg3 = 0 ; | |
23611 | bool result; | |
23612 | PyObject * obj0 = 0 ; | |
23613 | PyObject * obj1 = 0 ; | |
23614 | PyObject * obj2 = 0 ; | |
23615 | char *kwnames[] = { | |
23616 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
23617 | }; | |
23618 | ||
23619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23620 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23621 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23622 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23623 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23624 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
23625 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
23626 | SWIG_fail; | |
d14a1e28 | 23627 | if (arg3 == NULL) { |
15afbcd0 RD |
23628 | PyErr_SetString(PyExc_TypeError,"null reference"); |
23629 | SWIG_fail; | |
d14a1e28 RD |
23630 | } |
23631 | { | |
23632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23633 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
23634 | ||
23635 | wxPyEndAllowThreads(__tstate); | |
23636 | if (PyErr_Occurred()) SWIG_fail; | |
23637 | } | |
4f89f6a3 RD |
23638 | { |
23639 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23640 | } | |
d14a1e28 RD |
23641 | return resultobj; |
23642 | fail: | |
23643 | return NULL; | |
23644 | } | |
23645 | ||
23646 | ||
23647 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23648 | PyObject *resultobj; | |
23649 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23650 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23651 | wxDC *arg3 = 0 ; | |
23652 | bool result; | |
23653 | PyObject * obj0 = 0 ; | |
23654 | PyObject * obj1 = 0 ; | |
23655 | PyObject * obj2 = 0 ; | |
23656 | char *kwnames[] = { | |
23657 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
23658 | }; | |
23659 | ||
23660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23661 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23662 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23663 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23664 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23665 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
23666 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
23667 | SWIG_fail; | |
d14a1e28 | 23668 | if (arg3 == NULL) { |
15afbcd0 RD |
23669 | PyErr_SetString(PyExc_TypeError,"null reference"); |
23670 | SWIG_fail; | |
d14a1e28 RD |
23671 | } |
23672 | { | |
23673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23674 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
23675 | ||
23676 | wxPyEndAllowThreads(__tstate); | |
23677 | if (PyErr_Occurred()) SWIG_fail; | |
23678 | } | |
4f89f6a3 RD |
23679 | { |
23680 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23681 | } | |
d14a1e28 RD |
23682 | return resultobj; |
23683 | fail: | |
23684 | return NULL; | |
23685 | } | |
23686 | ||
23687 | ||
23688 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23689 | PyObject *resultobj; | |
23690 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23691 | int arg2 ; | |
23692 | bool result; | |
23693 | PyObject * obj0 = 0 ; | |
994141e6 | 23694 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23695 | char *kwnames[] = { |
23696 | (char *) "self",(char *) "pageNum", NULL | |
23697 | }; | |
23698 | ||
994141e6 | 23699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23700 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23702 | arg2 = (int) SWIG_AsInt(obj1); | |
23703 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23704 | { |
23705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23706 | result = (bool)(arg1)->base_RenderPage(arg2); | |
23707 | ||
23708 | wxPyEndAllowThreads(__tstate); | |
23709 | if (PyErr_Occurred()) SWIG_fail; | |
23710 | } | |
4f89f6a3 RD |
23711 | { |
23712 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23713 | } | |
d14a1e28 RD |
23714 | return resultobj; |
23715 | fail: | |
23716 | return NULL; | |
23717 | } | |
23718 | ||
23719 | ||
23720 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23721 | PyObject *resultobj; | |
23722 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23723 | int arg2 ; | |
23724 | PyObject * obj0 = 0 ; | |
994141e6 | 23725 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23726 | char *kwnames[] = { |
23727 | (char *) "self",(char *) "percent", NULL | |
23728 | }; | |
23729 | ||
994141e6 | 23730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23731 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23732 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23733 | arg2 = (int) SWIG_AsInt(obj1); | |
23734 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23735 | { |
23736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23737 | (arg1)->base_SetZoom(arg2); | |
23738 | ||
23739 | wxPyEndAllowThreads(__tstate); | |
23740 | if (PyErr_Occurred()) SWIG_fail; | |
23741 | } | |
23742 | Py_INCREF(Py_None); resultobj = Py_None; | |
23743 | return resultobj; | |
23744 | fail: | |
23745 | return NULL; | |
23746 | } | |
23747 | ||
23748 | ||
23749 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23750 | PyObject *resultobj; | |
23751 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23752 | bool arg2 ; | |
23753 | bool result; | |
23754 | PyObject * obj0 = 0 ; | |
23755 | PyObject * obj1 = 0 ; | |
23756 | char *kwnames[] = { | |
23757 | (char *) "self",(char *) "interactive", NULL | |
23758 | }; | |
23759 | ||
23760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23761 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23762 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23763 | arg2 = (bool) SWIG_AsBool(obj1); | |
23764 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23765 | { |
23766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23767 | result = (bool)(arg1)->base_Print(arg2); | |
23768 | ||
23769 | wxPyEndAllowThreads(__tstate); | |
23770 | if (PyErr_Occurred()) SWIG_fail; | |
23771 | } | |
4f89f6a3 RD |
23772 | { |
23773 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23774 | } | |
d14a1e28 RD |
23775 | return resultobj; |
23776 | fail: | |
23777 | return NULL; | |
23778 | } | |
23779 | ||
23780 | ||
23781 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23782 | PyObject *resultobj; | |
23783 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
23784 | PyObject * obj0 = 0 ; | |
23785 | char *kwnames[] = { | |
23786 | (char *) "self", NULL | |
23787 | }; | |
23788 | ||
23789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23790 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
23791 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23792 | { |
23793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23794 | (arg1)->base_DetermineScaling(); | |
23795 | ||
23796 | wxPyEndAllowThreads(__tstate); | |
23797 | if (PyErr_Occurred()) SWIG_fail; | |
23798 | } | |
23799 | Py_INCREF(Py_None); resultobj = Py_None; | |
23800 | return resultobj; | |
23801 | fail: | |
23802 | return NULL; | |
23803 | } | |
23804 | ||
23805 | ||
23806 | static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) { | |
23807 | PyObject *obj; | |
23808 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23809 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
23810 | Py_INCREF(obj); | |
23811 | return Py_BuildValue((char *)""); | |
23812 | } | |
23813 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23814 | PyObject *resultobj; | |
23815 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23816 | wxFrame *arg2 = (wxFrame *) 0 ; | |
23817 | wxString *arg3 = 0 ; | |
23818 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
23819 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
23820 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
23821 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
23822 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
23823 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
23824 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
23825 | wxPyPreviewFrame *result; | |
e811c8ce | 23826 | bool temp3 = False ; |
d14a1e28 RD |
23827 | wxPoint temp4 ; |
23828 | wxSize temp5 ; | |
e811c8ce | 23829 | bool temp7 = False ; |
d14a1e28 RD |
23830 | PyObject * obj0 = 0 ; |
23831 | PyObject * obj1 = 0 ; | |
23832 | PyObject * obj2 = 0 ; | |
23833 | PyObject * obj3 = 0 ; | |
23834 | PyObject * obj4 = 0 ; | |
994141e6 | 23835 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
23836 | PyObject * obj6 = 0 ; |
23837 | char *kwnames[] = { | |
23838 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
23839 | }; | |
23840 | ||
994141e6 | 23841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
23842 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23843 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23844 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
23845 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23846 | { |
23847 | arg3 = wxString_in_helper(obj2); | |
23848 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 23849 | temp3 = True; |
d14a1e28 RD |
23850 | } |
23851 | if (obj3) { | |
23852 | { | |
23853 | arg4 = &temp4; | |
23854 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
23855 | } | |
23856 | } | |
23857 | if (obj4) { | |
23858 | { | |
23859 | arg5 = &temp5; | |
23860 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
23861 | } | |
23862 | } | |
994141e6 | 23863 | if (obj5) { |
15afbcd0 RD |
23864 | arg6 = (long) SWIG_AsLong(obj5); |
23865 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 23866 | } |
d14a1e28 RD |
23867 | if (obj6) { |
23868 | { | |
23869 | arg7 = wxString_in_helper(obj6); | |
23870 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 23871 | temp7 = True; |
d14a1e28 RD |
23872 | } |
23873 | } | |
23874 | { | |
23875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23876 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
23877 | ||
23878 | wxPyEndAllowThreads(__tstate); | |
23879 | if (PyErr_Occurred()) SWIG_fail; | |
23880 | } | |
15afbcd0 | 23881 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); |
d14a1e28 RD |
23882 | { |
23883 | if (temp3) | |
23884 | delete arg3; | |
23885 | } | |
23886 | { | |
23887 | if (temp7) | |
23888 | delete arg7; | |
23889 | } | |
23890 | return resultobj; | |
23891 | fail: | |
23892 | { | |
23893 | if (temp3) | |
23894 | delete arg3; | |
23895 | } | |
23896 | { | |
23897 | if (temp7) | |
23898 | delete arg7; | |
23899 | } | |
23900 | return NULL; | |
23901 | } | |
23902 | ||
23903 | ||
23904 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23905 | PyObject *resultobj; | |
23906 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
23907 | PyObject *arg2 = (PyObject *) 0 ; | |
23908 | PyObject *arg3 = (PyObject *) 0 ; | |
23909 | PyObject * obj0 = 0 ; | |
23910 | PyObject * obj1 = 0 ; | |
23911 | PyObject * obj2 = 0 ; | |
23912 | char *kwnames[] = { | |
23913 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
23914 | }; | |
23915 | ||
23916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
23918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23919 | arg2 = obj1; |
23920 | arg3 = obj2; | |
23921 | { | |
23922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23923 | (arg1)->_setCallbackInfo(arg2,arg3); | |
23924 | ||
23925 | wxPyEndAllowThreads(__tstate); | |
23926 | if (PyErr_Occurred()) SWIG_fail; | |
23927 | } | |
23928 | Py_INCREF(Py_None); resultobj = Py_None; | |
23929 | return resultobj; | |
23930 | fail: | |
23931 | return NULL; | |
23932 | } | |
23933 | ||
23934 | ||
23935 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23936 | PyObject *resultobj; | |
23937 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
23938 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23939 | PyObject * obj0 = 0 ; | |
23940 | PyObject * obj1 = 0 ; | |
23941 | char *kwnames[] = { | |
23942 | (char *) "self",(char *) "canvas", NULL | |
23943 | }; | |
23944 | ||
23945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23946 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
23947 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23948 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23949 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23950 | { |
23951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23952 | (arg1)->SetPreviewCanvas(arg2); | |
23953 | ||
23954 | wxPyEndAllowThreads(__tstate); | |
23955 | if (PyErr_Occurred()) SWIG_fail; | |
23956 | } | |
23957 | Py_INCREF(Py_None); resultobj = Py_None; | |
23958 | return resultobj; | |
23959 | fail: | |
23960 | return NULL; | |
23961 | } | |
23962 | ||
23963 | ||
23964 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23965 | PyObject *resultobj; | |
23966 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
23967 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
23968 | PyObject * obj0 = 0 ; | |
23969 | PyObject * obj1 = 0 ; | |
23970 | char *kwnames[] = { | |
23971 | (char *) "self",(char *) "bar", NULL | |
23972 | }; | |
23973 | ||
23974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23975 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
23976 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23977 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar, | |
23978 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23979 | { |
23980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23981 | (arg1)->SetControlBar(arg2); | |
23982 | ||
23983 | wxPyEndAllowThreads(__tstate); | |
23984 | if (PyErr_Occurred()) SWIG_fail; | |
23985 | } | |
23986 | Py_INCREF(Py_None); resultobj = Py_None; | |
23987 | return resultobj; | |
23988 | fail: | |
23989 | return NULL; | |
23990 | } | |
23991 | ||
23992 | ||
23993 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23994 | PyObject *resultobj; | |
23995 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
23996 | PyObject * obj0 = 0 ; | |
23997 | char *kwnames[] = { | |
23998 | (char *) "self", NULL | |
23999 | }; | |
24000 | ||
24001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24002 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24003 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24004 | { |
24005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24006 | (arg1)->base_Initialize(); | |
24007 | ||
24008 | wxPyEndAllowThreads(__tstate); | |
24009 | if (PyErr_Occurred()) SWIG_fail; | |
24010 | } | |
24011 | Py_INCREF(Py_None); resultobj = Py_None; | |
24012 | return resultobj; | |
24013 | fail: | |
24014 | return NULL; | |
24015 | } | |
24016 | ||
24017 | ||
24018 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24019 | PyObject *resultobj; | |
24020 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24021 | PyObject * obj0 = 0 ; | |
24022 | char *kwnames[] = { | |
24023 | (char *) "self", NULL | |
24024 | }; | |
24025 | ||
24026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24027 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24028 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24029 | { |
24030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24031 | (arg1)->base_CreateCanvas(); | |
24032 | ||
24033 | wxPyEndAllowThreads(__tstate); | |
24034 | if (PyErr_Occurred()) SWIG_fail; | |
24035 | } | |
24036 | Py_INCREF(Py_None); resultobj = Py_None; | |
24037 | return resultobj; | |
24038 | fail: | |
24039 | return NULL; | |
24040 | } | |
24041 | ||
24042 | ||
24043 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24044 | PyObject *resultobj; | |
24045 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24046 | PyObject * obj0 = 0 ; | |
24047 | char *kwnames[] = { | |
24048 | (char *) "self", NULL | |
24049 | }; | |
24050 | ||
24051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24052 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24053 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24054 | { |
24055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24056 | (arg1)->base_CreateControlBar(); | |
24057 | ||
24058 | wxPyEndAllowThreads(__tstate); | |
24059 | if (PyErr_Occurred()) SWIG_fail; | |
24060 | } | |
24061 | Py_INCREF(Py_None); resultobj = Py_None; | |
24062 | return resultobj; | |
24063 | fail: | |
24064 | return NULL; | |
24065 | } | |
24066 | ||
24067 | ||
24068 | static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
24069 | PyObject *obj; | |
24070 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24071 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
24072 | Py_INCREF(obj); | |
24073 | return Py_BuildValue((char *)""); | |
24074 | } | |
24075 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24076 | PyObject *resultobj; | |
24077 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24078 | long arg2 ; | |
24079 | wxWindow *arg3 = (wxWindow *) 0 ; | |
24080 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
24081 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
24082 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
24083 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
24084 | long arg6 = (long) 0 ; | |
24085 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
24086 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
24087 | wxPyPreviewControlBar *result; | |
24088 | wxPoint temp4 ; | |
24089 | wxSize temp5 ; | |
e811c8ce | 24090 | bool temp7 = False ; |
d14a1e28 | 24091 | PyObject * obj0 = 0 ; |
994141e6 | 24092 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24093 | PyObject * obj2 = 0 ; |
24094 | PyObject * obj3 = 0 ; | |
24095 | PyObject * obj4 = 0 ; | |
994141e6 | 24096 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
24097 | PyObject * obj6 = 0 ; |
24098 | char *kwnames[] = { | |
24099 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
24100 | }; | |
24101 | ||
994141e6 | 24102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
24103 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24104 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24105 | arg2 = (long) SWIG_AsLong(obj1); | |
24106 | if (PyErr_Occurred()) SWIG_fail; | |
24107 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
24108 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24109 | if (obj3) { |
24110 | { | |
24111 | arg4 = &temp4; | |
24112 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
24113 | } | |
24114 | } | |
24115 | if (obj4) { | |
24116 | { | |
24117 | arg5 = &temp5; | |
24118 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
24119 | } | |
24120 | } | |
994141e6 | 24121 | if (obj5) { |
15afbcd0 RD |
24122 | arg6 = (long) SWIG_AsLong(obj5); |
24123 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 24124 | } |
d14a1e28 RD |
24125 | if (obj6) { |
24126 | { | |
24127 | arg7 = wxString_in_helper(obj6); | |
24128 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 24129 | temp7 = True; |
d14a1e28 RD |
24130 | } |
24131 | } | |
24132 | { | |
24133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24134 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
24135 | ||
24136 | wxPyEndAllowThreads(__tstate); | |
24137 | if (PyErr_Occurred()) SWIG_fail; | |
24138 | } | |
15afbcd0 | 24139 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); |
d14a1e28 RD |
24140 | { |
24141 | if (temp7) | |
24142 | delete arg7; | |
24143 | } | |
24144 | return resultobj; | |
24145 | fail: | |
24146 | { | |
24147 | if (temp7) | |
24148 | delete arg7; | |
24149 | } | |
24150 | return NULL; | |
24151 | } | |
24152 | ||
24153 | ||
24154 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24155 | PyObject *resultobj; | |
24156 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
24157 | PyObject *arg2 = (PyObject *) 0 ; | |
24158 | PyObject *arg3 = (PyObject *) 0 ; | |
24159 | PyObject * obj0 = 0 ; | |
24160 | PyObject * obj1 = 0 ; | |
24161 | PyObject * obj2 = 0 ; | |
24162 | char *kwnames[] = { | |
24163 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24164 | }; | |
24165 | ||
24166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24167 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
24168 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24169 | arg2 = obj1; |
24170 | arg3 = obj2; | |
24171 | { | |
24172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24173 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24174 | ||
24175 | wxPyEndAllowThreads(__tstate); | |
24176 | if (PyErr_Occurred()) SWIG_fail; | |
24177 | } | |
24178 | Py_INCREF(Py_None); resultobj = Py_None; | |
24179 | return resultobj; | |
24180 | fail: | |
24181 | return NULL; | |
24182 | } | |
24183 | ||
24184 | ||
24185 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24186 | PyObject *resultobj; | |
24187 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
24188 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
24189 | PyObject * obj0 = 0 ; | |
24190 | PyObject * obj1 = 0 ; | |
24191 | char *kwnames[] = { | |
24192 | (char *) "self",(char *) "preview", NULL | |
24193 | }; | |
24194 | ||
24195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24196 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
24197 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24198 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview, | |
24199 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24200 | { |
24201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24202 | (arg1)->SetPrintPreview(arg2); | |
24203 | ||
24204 | wxPyEndAllowThreads(__tstate); | |
24205 | if (PyErr_Occurred()) SWIG_fail; | |
24206 | } | |
24207 | Py_INCREF(Py_None); resultobj = Py_None; | |
24208 | return resultobj; | |
24209 | fail: | |
24210 | return NULL; | |
24211 | } | |
24212 | ||
24213 | ||
24214 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24215 | PyObject *resultobj; | |
24216 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
24217 | PyObject * obj0 = 0 ; | |
24218 | char *kwnames[] = { | |
24219 | (char *) "self", NULL | |
24220 | }; | |
24221 | ||
24222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24223 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
24224 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24225 | { |
24226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24227 | (arg1)->base_CreateButtons(); | |
24228 | ||
24229 | wxPyEndAllowThreads(__tstate); | |
24230 | if (PyErr_Occurred()) SWIG_fail; | |
24231 | } | |
24232 | Py_INCREF(Py_None); resultobj = Py_None; | |
24233 | return resultobj; | |
24234 | fail: | |
24235 | return NULL; | |
24236 | } | |
24237 | ||
24238 | ||
24239 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24240 | PyObject *resultobj; | |
24241 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
24242 | int arg2 ; | |
24243 | PyObject * obj0 = 0 ; | |
994141e6 | 24244 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24245 | char *kwnames[] = { |
24246 | (char *) "self",(char *) "zoom", NULL | |
24247 | }; | |
24248 | ||
994141e6 | 24249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24250 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
24251 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24252 | arg2 = (int) SWIG_AsInt(obj1); | |
24253 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
24254 | { |
24255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24256 | (arg1)->base_SetZoomControl(arg2); | |
24257 | ||
24258 | wxPyEndAllowThreads(__tstate); | |
24259 | if (PyErr_Occurred()) SWIG_fail; | |
24260 | } | |
24261 | Py_INCREF(Py_None); resultobj = Py_None; | |
24262 | return resultobj; | |
24263 | fail: | |
24264 | return NULL; | |
24265 | } | |
24266 | ||
24267 | ||
24268 | static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
24269 | PyObject *obj; | |
24270 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24271 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
24272 | Py_INCREF(obj); | |
24273 | return Py_BuildValue((char *)""); | |
24274 | } | |
24275 | static PyMethodDef SwigMethods[] = { | |
24276 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS }, | |
24277 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS }, | |
24278 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS }, | |
24279 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
24280 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS }, | |
24281 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
24282 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
24283 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24284 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
24285 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS }, | |
24286 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
24287 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
24288 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS }, | |
24289 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS }, | |
24290 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS }, | |
24291 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS }, | |
24292 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS }, | |
24293 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS }, | |
24294 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS }, | |
24295 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS }, | |
24296 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS }, | |
24297 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
24298 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS }, | |
24299 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
24300 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
24301 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS }, | |
d14a1e28 RD |
24302 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS }, |
24303 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS }, | |
24304 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS }, | |
24305 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS }, | |
24306 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS }, | |
24307 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS }, | |
24308 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
24309 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS }, | |
24310 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
24311 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
24312 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
24313 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
24314 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS }, | |
24315 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS }, | |
24316 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS }, | |
24317 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS }, | |
24318 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS }, | |
24319 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS }, | |
24320 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
24321 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
24322 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
24323 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS }, | |
24324 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
24325 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
24326 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
24327 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24328 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
24329 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24330 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24331 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
24332 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
24333 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS }, | |
24334 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
24335 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
24336 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS }, | |
24337 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS }, | |
24338 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS }, | |
24339 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS }, | |
24340 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS }, | |
24341 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
24342 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
24343 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
24344 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS }, | |
24345 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24346 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS }, |
24347 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
24348 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS }, | |
24349 | { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS }, | |
24350 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS }, | |
24351 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
24352 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
24353 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
24354 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS }, | |
24355 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS }, | |
24356 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
24357 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
24358 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS }, | |
24359 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS }, | |
24360 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS }, | |
24361 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS }, | |
24362 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS }, | |
24363 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS }, | |
24364 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS }, | |
24365 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
24366 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS }, | |
24367 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
24368 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
24369 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24370 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24371 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24372 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24373 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
24374 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS }, | |
24375 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
24376 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS }, | |
24377 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS }, | |
24378 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS }, | |
24379 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
24380 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
24381 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24382 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS }, | |
24383 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS }, | |
24384 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
24385 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
24386 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
24387 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS }, | |
24388 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS }, | |
24389 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS }, | |
24390 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS }, | |
d00d1b88 | 24391 | { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24392 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS }, |
24393 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
24394 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
24395 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
24396 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
24397 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
24398 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
24399 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
24400 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
24401 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
24402 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
24403 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
24404 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
24405 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS }, | |
24406 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS }, | |
24407 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
24408 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
24409 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS }, | |
24410 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
24411 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
24412 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS }, | |
24413 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS }, | |
24414 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
24415 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24416 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
24417 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
24418 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS }, | |
24419 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS }, | |
24420 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS }, | |
24421 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
24422 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
24423 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
24424 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
24425 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
24426 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
24427 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
24428 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
24429 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
24430 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
24431 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
24432 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
24433 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
24434 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
24435 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS }, | |
24436 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS }, | |
24437 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS }, | |
24438 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS }, | |
24439 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
24440 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
24441 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
24442 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
24443 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS }, | |
24444 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS }, | |
24445 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
24446 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
24447 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24448 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24449 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
24450 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
24451 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24452 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24453 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
24454 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
24455 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS }, | |
24456 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS }, | |
24457 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24458 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24459 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS }, | |
24460 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS }, | |
24461 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS }, | |
24462 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
24463 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
24464 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24465 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
24466 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24467 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
24468 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS }, | |
24469 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24470 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS }, | |
24471 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
24472 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
24473 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS }, | |
24474 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS }, | |
24475 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
24476 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS }, | |
24477 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
24478 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
24479 | { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24480 | { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS }, | |
24481 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS }, | |
24482 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
24483 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
24484 | { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24485 | { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS }, | |
24486 | { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS }, | |
24487 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS }, | |
24488 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS }, | |
24489 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS }, | |
24490 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS }, | |
24491 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS }, | |
24492 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
24493 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
24494 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24495 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24496 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
24497 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
24498 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS }, | |
24499 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS }, | |
24500 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS }, | |
24501 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS }, | |
24502 | { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS }, | |
24503 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
24504 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
24505 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
24506 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
24507 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
24508 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
24509 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS }, | |
24510 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS }, | |
24511 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS }, | |
24512 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24513 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
24514 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
24515 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS }, | |
24516 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
24517 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS }, | |
24518 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
24519 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS }, | |
24520 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS }, | |
24521 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS }, | |
24522 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS }, | |
24523 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
24524 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
24525 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS }, | |
24526 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
24527 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS }, | |
24528 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS }, | |
24529 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
24530 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
24531 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS }, | |
24532 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
24533 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS }, | |
24534 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
24535 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS }, | |
24536 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
24537 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
24538 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24539 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
24540 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
24541 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
24542 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS }, | |
24543 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
24544 | { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
74a57fcd | 24545 | { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24546 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS }, |
24547 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS }, | |
24548 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
24549 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS }, | |
24550 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS }, | |
24551 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS }, | |
24552 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS }, | |
24553 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS }, | |
24554 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
24555 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
24556 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
24557 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
24558 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
24559 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
24560 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
24561 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
24562 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS }, | |
24563 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS }, | |
24564 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24565 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS }, |
24566 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS }, | |
24567 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
24568 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
24569 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
24570 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
24571 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24572 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS }, |
24573 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS }, | |
24574 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
24575 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
24576 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
24577 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
24578 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
24579 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
24580 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
24581 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
24582 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
24583 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
24584 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
24585 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
24586 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
24587 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
24588 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS }, | |
24589 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS }, | |
24590 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS }, | |
24591 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
24592 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS }, | |
24593 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS }, | |
24594 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS }, | |
24595 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
24596 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
24597 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
24598 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24599 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS }, |
24600 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS }, | |
24601 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
24602 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24603 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS }, |
24604 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS }, | |
24605 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS }, | |
24606 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
24607 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
24608 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
24609 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
24610 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
24611 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
24612 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
24613 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
24614 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
24615 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
24616 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
24617 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
24618 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
24619 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS }, | |
15afbcd0 | 24620 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 | 24621 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24622 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS }, |
24623 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24624 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS }, |
24625 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS }, | |
24626 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS }, | |
24627 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS }, | |
24628 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS }, | |
24629 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS }, | |
24630 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24631 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
24632 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
24633 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS }, | |
24634 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24635 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
24636 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
24637 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS }, | |
24638 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
24639 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
24640 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
24641 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
24642 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24643 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
24644 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
24645 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
24646 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS }, | |
24647 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
24648 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
24649 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
24650 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS }, | |
24651 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS }, | |
24652 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS }, | |
24653 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
24654 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
24655 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
24656 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS }, | |
24657 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS }, | |
24658 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS }, | |
24659 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS }, | |
24660 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS }, | |
24661 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
24662 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
24663 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS }, | |
24664 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS }, | |
24665 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
24666 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
24667 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
24668 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS }, | |
24669 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
24670 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS }, | |
24671 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS }, | |
24672 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
24673 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
24674 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24675 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS }, | |
24676 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS }, | |
1cb4a8aa | 24677 | { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24678 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
24679 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
24680 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
24681 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
24682 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
24683 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
24684 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
24685 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
24686 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
24687 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
24688 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
24689 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
24690 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
24691 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
24692 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
24693 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
24694 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
24695 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
24696 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
1cb4a8aa RD |
24697 | { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS }, |
24698 | { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24699 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS }, |
24700 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS }, | |
1cb4a8aa | 24701 | { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24702 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
24703 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
24704 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
24705 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
24706 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
24707 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
24708 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
24709 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
24710 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
24711 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
24712 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
24713 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
24714 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
24715 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
24716 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
24717 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
24718 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
24719 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
24720 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
1cb4a8aa RD |
24721 | { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS }, |
24722 | { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 24723 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS }, |
1cb4a8aa RD |
24724 | { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS }, |
24725 | { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
24726 | { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24727 | { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
24728 | { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
24729 | { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
24730 | { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
24731 | { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
24732 | { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
24733 | { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
24734 | { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
24735 | { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
24736 | { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
24737 | { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
24738 | { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
24739 | { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
24740 | { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
24741 | { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
24742 | { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
24743 | { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
24744 | { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
24745 | { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS }, | |
24746 | { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS }, | |
24747 | { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS }, | |
d14a1e28 RD |
24748 | { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS }, |
24749 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
24750 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
24751 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
24752 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24753 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
24754 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
24755 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
24756 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
24757 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
24758 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
24759 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS }, | |
24760 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
24761 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
24762 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24763 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
24764 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
24765 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
24766 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
24767 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
24768 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS }, | |
24769 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
24770 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
24771 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
24772 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
24773 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
24774 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
24775 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
24776 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
24777 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
24778 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
24779 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
24780 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
24781 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
24782 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
24783 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
24784 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
24785 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
24786 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS }, | |
24787 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
24788 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
24789 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS }, | |
24790 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
db914595 RD |
24791 | { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS }, |
24792 | { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24793 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS }, |
24794 | { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
24795 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
24796 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
24797 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
24798 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24799 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
24800 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
24801 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
24802 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
24803 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
24804 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
24805 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
24806 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
24807 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
24808 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
24809 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
24810 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
24811 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
24812 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
24813 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
24814 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
24815 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
24816 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
24817 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
24818 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
24819 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
24820 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
24821 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
24822 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
24823 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
24824 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
24825 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS }, | |
24826 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
24827 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
24828 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
24829 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS }, | |
4276dc52 | 24830 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS }, |
d14a1e28 RD |
24831 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS }, |
24832 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
24833 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS }, | |
24834 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
24835 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
24836 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
24837 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
24838 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
24839 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
24840 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
24841 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
24842 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
24843 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS }, | |
24844 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
24845 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
24846 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
24847 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
24848 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
24849 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
24850 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
24851 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
24852 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
24853 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
24854 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
24855 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
24856 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
24857 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
24858 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
24859 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
24860 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
24861 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
24862 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
24863 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS }, | |
24864 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
24865 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
24866 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS }, | |
24867 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
24868 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS }, | |
24869 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS }, | |
24870 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS }, | |
24871 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS }, | |
24872 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
24873 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS }, | |
24874 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
24875 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS }, | |
24876 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS }, | |
24877 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS }, | |
24878 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS }, | |
24879 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS }, | |
24880 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS }, | |
24881 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24882 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
24883 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
24884 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 24885 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
322913ce | 24886 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24887 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, |
24888 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, | |
24889 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
24890 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
24891 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
24892 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
24893 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS }, | |
24894 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS }, | |
24895 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS }, | |
24896 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS }, | |
24897 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS }, | |
24898 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS }, | |
24899 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 24900 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS }, |
322913ce | 24901 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24902 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS }, |
24903 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
24904 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS }, | |
24905 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
24906 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
24907 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
24908 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
24909 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
24910 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS }, | |
24911 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
24912 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
24913 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
24914 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
24915 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS }, | |
24916 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS }, | |
24917 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS }, | |
24918 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS }, | |
24919 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS }, | |
24920 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS }, | |
4276dc52 | 24921 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS }, |
d14a1e28 RD |
24922 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, |
24923 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
24924 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
24925 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
24926 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS }, | |
24927 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS }, | |
24928 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
24929 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
24930 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
24931 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
24932 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
24933 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
24934 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
24935 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
24936 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
24937 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
24938 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
24939 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
24940 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS }, | |
24941 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS }, | |
24942 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS }, | |
24943 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
24944 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS }, | |
4276dc52 | 24945 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS }, |
d14a1e28 RD |
24946 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
24947 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
24948 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
24949 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
24950 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
24951 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
24952 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS }, | |
24953 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
24954 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS }, | |
24955 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
24956 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24957 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
24958 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
24959 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
24960 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
24961 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
24962 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS }, | |
24963 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
24964 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
24965 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
24966 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS }, | |
24967 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
24968 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS }, | |
24969 | { NULL, NULL } | |
24970 | }; | |
24971 | ||
24972 | ||
24973 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
24974 | ||
24975 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
24976 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24977 | } | |
24978 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
24979 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
24980 | } | |
24981 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
24982 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
24983 | } | |
24984 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
24985 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
24986 | } | |
24987 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
24988 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
24989 | } | |
24990 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
24991 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
24992 | } | |
24993 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
24994 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
24995 | } | |
24996 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
24997 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
24998 | } | |
24999 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
25000 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
25001 | } | |
25002 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
25003 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
25004 | } | |
25005 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
25006 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
25007 | } | |
25008 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
25009 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
25010 | } | |
25011 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
25012 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
25013 | } | |
25014 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
25015 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
25016 | } | |
25017 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
25018 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
25019 | } | |
25020 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
25021 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
25022 | } | |
25023 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
25024 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
25025 | } | |
25026 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
25027 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
25028 | } | |
25029 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
25030 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
25031 | } | |
25032 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
25033 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
25034 | } | |
25035 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
25036 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
25037 | } | |
25038 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
25039 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
25040 | } | |
25041 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
25042 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
25043 | } | |
25044 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
25045 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
25046 | } | |
25047 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
25048 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
25049 | } | |
25050 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
25051 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
25052 | } | |
25053 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
25054 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
25055 | } | |
25056 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
25057 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
25058 | } | |
25059 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
25060 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
25061 | } | |
25062 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
25063 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
25064 | } | |
25065 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
25066 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
25067 | } | |
25068 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
25069 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
25070 | } | |
25071 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
25072 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
25073 | } | |
25074 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
25075 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
25076 | } | |
25077 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
25078 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
25079 | } | |
25080 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
25081 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
25082 | } | |
25083 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
25084 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
25085 | } | |
25086 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
25087 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
25088 | } | |
25089 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
25090 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
25091 | } | |
25092 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
25093 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
25094 | } | |
25095 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
25096 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
25097 | } | |
25098 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
25099 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
25100 | } | |
25101 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
25102 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
25103 | } | |
25104 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
25105 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
25106 | } | |
25107 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
25108 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
25109 | } | |
25110 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
25111 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
25112 | } | |
25113 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
25114 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
25115 | } | |
25116 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
25117 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
25118 | } | |
25119 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
25120 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
25121 | } | |
25122 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
25123 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
25124 | } | |
25125 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
25126 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
25127 | } | |
25128 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
25129 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
25130 | } | |
25131 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
25132 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
25133 | } | |
25134 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
25135 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
25136 | } | |
25137 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
25138 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
25139 | } | |
25140 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
25141 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
25142 | } | |
25143 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
25144 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
25145 | } | |
25146 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
25147 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
25148 | } | |
25149 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
25150 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
25151 | } | |
25152 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
25153 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
25154 | } | |
25155 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
25156 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
25157 | } | |
25158 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
25159 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
25160 | } | |
25161 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
25162 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
25163 | } | |
25164 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
25165 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
25166 | } | |
25167 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
25168 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
25169 | } | |
25170 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
25171 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
25172 | } | |
25173 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
25174 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
25175 | } | |
25176 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
25177 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
25178 | } | |
25179 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
25180 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
25181 | } | |
25182 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
25183 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
25184 | } | |
25185 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
25186 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
25187 | } | |
1cb4a8aa RD |
25188 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
25189 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
25190 | } | |
d14a1e28 RD |
25191 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { |
25192 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
25193 | } | |
25194 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
25195 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
25196 | } | |
25197 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
25198 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25199 | } | |
25200 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
25201 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
25202 | } | |
25203 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
25204 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
25205 | } | |
25206 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
25207 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
25208 | } | |
25209 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
25210 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
25211 | } | |
25212 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
25213 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
25214 | } | |
25215 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
25216 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
25217 | } | |
25218 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
25219 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
25220 | } | |
25221 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
25222 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
25223 | } | |
25224 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
25225 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
25226 | } | |
25227 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
25228 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
25229 | } | |
25230 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
25231 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
25232 | } | |
25233 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
25234 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
25235 | } | |
25236 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
25237 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
25238 | } | |
25239 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
25240 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
25241 | } | |
25242 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
25243 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
25244 | } | |
25245 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
25246 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
25247 | } | |
25248 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
25249 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
25250 | } | |
25251 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
25252 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
25253 | } | |
25254 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
25255 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
25256 | } | |
25257 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
25258 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
25259 | } | |
25260 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
25261 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
25262 | } | |
25263 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
25264 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
25265 | } | |
25266 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
25267 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25268 | } | |
25269 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
25270 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
25271 | } | |
25272 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
25273 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
25274 | } | |
25275 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
25276 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
25277 | } | |
25278 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
25279 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
25280 | } | |
25281 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
25282 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
25283 | } | |
25284 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
25285 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
25286 | } | |
25287 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
25288 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25289 | } | |
25290 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
25291 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
25292 | } | |
25293 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
25294 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
25295 | } | |
25296 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
25297 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
25298 | } | |
25299 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
25300 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
25301 | } | |
25302 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
25303 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
25304 | } | |
25305 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
25306 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
25307 | } | |
25308 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
25309 | return (void *)((wxObject *) ((wxSizer *) x)); | |
25310 | } | |
25311 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
25312 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
25313 | } | |
25314 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
25315 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
25316 | } | |
25317 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
25318 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
25319 | } | |
25320 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
25321 | return (void *)((wxObject *) ((wxEvent *) x)); | |
25322 | } | |
25323 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
25324 | return (void *)((wxObject *) ((wxFontData *) x)); | |
25325 | } | |
25326 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
25327 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
25328 | } | |
25329 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
25330 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
25331 | } | |
25332 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
25333 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
25334 | } | |
25335 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
25336 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
25337 | } | |
25338 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
25339 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
25340 | } | |
25341 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
25342 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
25343 | } | |
25344 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
25345 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
25346 | } | |
25347 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
25348 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
25349 | } | |
25350 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
25351 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
25352 | } | |
25353 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
25354 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
25355 | } | |
25356 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
25357 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
25358 | } | |
25359 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
25360 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
25361 | } | |
25362 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
25363 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
25364 | } | |
25365 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
25366 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
25367 | } | |
25368 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
25369 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
25370 | } | |
25371 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
25372 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
25373 | } | |
25374 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
25375 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
25376 | } | |
25377 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
25378 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
25379 | } | |
25380 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
25381 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
25382 | } | |
25383 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
25384 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
25385 | } | |
25386 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
25387 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
25388 | } | |
25389 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
25390 | return (void *)((wxObject *) ((wxColourData *) x)); | |
25391 | } | |
25392 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
25393 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
25394 | } | |
25395 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
25396 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
25397 | } | |
25398 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
25399 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
25400 | } | |
25401 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
25402 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
25403 | } | |
25404 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
25405 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
25406 | } | |
25407 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
25408 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
25409 | } | |
25410 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
25411 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
25412 | } | |
25413 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
25414 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
25415 | } | |
25416 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
25417 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
25418 | } | |
25419 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
25420 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
25421 | } | |
25422 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
25423 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
25424 | } | |
25425 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
25426 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
25427 | } | |
25428 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
25429 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
25430 | } | |
25431 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
25432 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
25433 | } | |
25434 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
25435 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
25436 | } | |
25437 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
25438 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
25439 | } | |
25440 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
25441 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
25442 | } | |
25443 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
25444 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
25445 | } | |
25446 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
25447 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
25448 | } | |
25449 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
25450 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
25451 | } | |
25452 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
25453 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
25454 | } | |
25455 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
25456 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
25457 | } | |
25458 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
25459 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
25460 | } | |
25461 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
25462 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
25463 | } | |
25464 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
25465 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
25466 | } | |
25467 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
25468 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
25469 | } | |
25470 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
25471 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
25472 | } | |
25473 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
25474 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
25475 | } | |
25476 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
25477 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
25478 | } | |
25479 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
25480 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
25481 | } | |
25482 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
25483 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
25484 | } | |
25485 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
25486 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
25487 | } | |
25488 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
25489 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
25490 | } | |
25491 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
25492 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
25493 | } | |
25494 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
25495 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
25496 | } | |
25497 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
25498 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
25499 | } | |
25500 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
25501 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
25502 | } | |
25503 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
25504 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
25505 | } | |
25506 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
25507 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
25508 | } | |
25509 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
25510 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
25511 | } | |
25512 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
25513 | return (void *)((wxObject *) ((wxImage *) x)); | |
25514 | } | |
25515 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
25516 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
25517 | } | |
25518 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
25519 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
25520 | } | |
25521 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
25522 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
25523 | } | |
25524 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
25525 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
25526 | } | |
25527 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
25528 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
25529 | } | |
25530 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
25531 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
25532 | } | |
25533 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
25534 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
25535 | } | |
25536 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
25537 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
25538 | } | |
25539 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
25540 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
25541 | } | |
d14a1e28 RD |
25542 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
25543 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
25544 | } | |
25545 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
25546 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
25547 | } | |
25548 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
25549 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
25550 | } | |
1e0c8722 RD |
25551 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
25552 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
25553 | } | |
d14a1e28 RD |
25554 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
25555 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
25556 | } | |
25557 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
25558 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
25559 | } | |
25560 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
25561 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
25562 | } | |
25563 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
25564 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
25565 | } | |
25566 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
25567 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
25568 | } | |
25569 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
25570 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
25571 | } | |
25572 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
25573 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
25574 | } | |
25575 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
25576 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
25577 | } | |
25578 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
25579 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
25580 | } | |
25581 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
25582 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
25583 | } | |
1cb4a8aa RD |
25584 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
25585 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
25586 | } | |
d14a1e28 RD |
25587 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
25588 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
25589 | } | |
25590 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
25591 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
25592 | } | |
25593 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
25594 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
25595 | } | |
25596 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
25597 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
25598 | } | |
25599 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
25600 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
25601 | } | |
25602 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
25603 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
25604 | } | |
25605 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
25606 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
25607 | } | |
25608 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
25609 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
25610 | } | |
25611 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
25612 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
25613 | } | |
25614 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
25615 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
25616 | } | |
25617 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
25618 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
25619 | } | |
25620 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
25621 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
25622 | } | |
25623 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
25624 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
25625 | } | |
25626 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
25627 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
25628 | } | |
25629 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
25630 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
25631 | } | |
25632 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
25633 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
25634 | } | |
25635 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
25636 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
25637 | } | |
25638 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
25639 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
25640 | } | |
25641 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
25642 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
25643 | } | |
25644 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
25645 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
25646 | } | |
25647 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
25648 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
25649 | } | |
25650 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
25651 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
25652 | } | |
25653 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
25654 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
25655 | } | |
25656 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
25657 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
25658 | } | |
25659 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
25660 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
25661 | } | |
25662 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
25663 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
25664 | } | |
25665 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
25666 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
25667 | } | |
25668 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
25669 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
25670 | } | |
25671 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
25672 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
25673 | } | |
25674 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
25675 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
25676 | } | |
25677 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
25678 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
25679 | } | |
25680 | static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { | |
25681 | return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
25682 | } | |
25683 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
25684 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
25685 | } | |
25686 | static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) { | |
25687 | return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
25688 | } | |
25689 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
25690 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
25691 | } | |
25692 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
25693 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
25694 | } | |
25695 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
25696 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
25697 | } | |
25698 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
25699 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
25700 | } | |
25701 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
25702 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
25703 | } | |
25704 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
25705 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
25706 | } | |
25707 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
25708 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
25709 | } | |
25710 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
25711 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
25712 | } | |
25713 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
25714 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
25715 | } | |
25716 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
25717 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
25718 | } | |
25719 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
25720 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
25721 | } | |
25722 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
25723 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
25724 | } | |
25725 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
25726 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
25727 | } | |
25728 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
25729 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
25730 | } | |
25731 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
25732 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
25733 | } | |
25734 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
25735 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
25736 | } | |
25737 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
25738 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
25739 | } | |
25740 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
25741 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
25742 | } | |
25743 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
25744 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
25745 | } | |
25746 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
25747 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
25748 | } | |
25749 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
25750 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25751 | } | |
25752 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
25753 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
25754 | } | |
25755 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
25756 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
25757 | } | |
25758 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
25759 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
25760 | } | |
25761 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
25762 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
25763 | } | |
25764 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
25765 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
25766 | } | |
25767 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
25768 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
25769 | } | |
25770 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
25771 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
25772 | } | |
25773 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
25774 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
25775 | } | |
25776 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
25777 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
25778 | } | |
25779 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
25780 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
25781 | } | |
25782 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
25783 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
25784 | } | |
25785 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
25786 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
25787 | } | |
25788 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
25789 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
25790 | } | |
25791 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
25792 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
25793 | } | |
25794 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
25795 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
25796 | } | |
25797 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
25798 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
25799 | } | |
25800 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
25801 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
25802 | } | |
25803 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
25804 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
25805 | } | |
25806 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
25807 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
25808 | } | |
25809 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
25810 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
25811 | } | |
25812 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
25813 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
25814 | } | |
25815 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
25816 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
25817 | } | |
25818 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
25819 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
25820 | } | |
25821 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
25822 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
25823 | } | |
1cb4a8aa RD |
25824 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
25825 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
25826 | } | |
d14a1e28 RD |
25827 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
25828 | return (void *)((wxWindow *) ((wxControl *) x)); | |
25829 | } | |
25830 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
25831 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
25832 | } | |
25833 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
25834 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25835 | } | |
25836 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
25837 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
25838 | } | |
25839 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
25840 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
25841 | } | |
25842 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
25843 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
25844 | } | |
25845 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
25846 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
25847 | } | |
25848 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
25849 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
25850 | } | |
25851 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
25852 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
25853 | } | |
25854 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
25855 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
25856 | } | |
25857 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
25858 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
25859 | } | |
25860 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
25861 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
25862 | } | |
25863 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
25864 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
25865 | } | |
25866 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
25867 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
25868 | } | |
25869 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
25870 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
25871 | } | |
25872 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
25873 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
25874 | } | |
25875 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
25876 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
25877 | } | |
25878 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
25879 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
25880 | } | |
25881 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
25882 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
25883 | } | |
1cb4a8aa RD |
25884 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
25885 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
25886 | } | |
d14a1e28 RD |
25887 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
25888 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
25889 | } | |
25890 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
25891 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
25892 | } | |
25893 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
25894 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
25895 | } | |
25896 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
25897 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
25898 | } | |
25899 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
25900 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
25901 | } | |
25902 | static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) { | |
25903 | return (void *)((wxDialog *) ((wxPageSetupDialog *) x)); | |
25904 | } | |
25905 | static void *_p_wxPrintDialogTo_p_wxDialog(void *x) { | |
25906 | return (void *)((wxDialog *) ((wxPrintDialog *) x)); | |
25907 | } | |
25908 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { | |
25909 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
25910 | } | |
25911 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
25912 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
25913 | } | |
25914 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
25915 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
25916 | } | |
25917 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
25918 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
25919 | } | |
25920 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { | |
25921 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
25922 | } | |
25923 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
25924 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
25925 | } | |
25926 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
25927 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
25928 | } | |
25929 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
25930 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
25931 | } | |
1cb4a8aa RD |
25932 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
25933 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
25934 | } | |
d14a1e28 RD |
25935 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
25936 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
25937 | } | |
25938 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
25939 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
25940 | } | |
25941 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
25942 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
25943 | } | |
25944 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
25945 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
25946 | } | |
25947 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
25948 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
25949 | } | |
25950 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
25951 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
25952 | } | |
25953 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
25954 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
25955 | } | |
25956 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
25957 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
25958 | } | |
25959 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
25960 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
25961 | } | |
25962 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
25963 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
25964 | } | |
25965 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
25966 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
25967 | } | |
25968 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
25969 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
25970 | } | |
25971 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
25972 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
25973 | } | |
25974 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
25975 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
25976 | } | |
25977 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
25978 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
25979 | } | |
25980 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
25981 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
25982 | } | |
25983 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
25984 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
25985 | } | |
25986 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
25987 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
25988 | } | |
15afbcd0 RD |
25989 | 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}}; |
25990 | 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}}; | |
25991 | 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}}; | |
25992 | 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}}; | |
25993 | 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}}; | |
25994 | 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}}; | |
25995 | 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}}; | |
25996 | 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}}; | |
25997 | 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}}; | |
25998 | 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}}; | |
25999 | 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}}; | |
26000 | 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}}; | |
26001 | 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}}; | |
26002 | 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}}; | |
26003 | 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}}; | |
26004 | 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}}; | |
26005 | 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}}; | |
26006 | 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}}; | |
26007 | 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}}; | |
26008 | 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}}; | |
26009 | 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}}; | |
26010 | 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}}; | |
26011 | 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}}; | |
26012 | 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}}; | |
26013 | 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}}; | |
26014 | 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}}; | |
26015 | 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}}; | |
26016 | 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}}; | |
26017 | 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}}; | |
26018 | 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}}; | |
26019 | 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}}; | |
26020 | 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}}; | |
26021 | 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}}; | |
26022 | 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}}; | |
26023 | 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 | 26024 | 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 |
26025 | 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}}; |
26026 | 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}}; | |
26027 | 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}}; | |
26028 | 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}}; | |
26029 | 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}}; | |
26030 | 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}}; | |
26031 | 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}}; | |
26032 | 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}}; | |
26033 | 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}}; | |
26034 | 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}}; | |
26035 | 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}}; | |
26036 | 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}}; | |
26037 | 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 | 26038 | 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 |
26039 | 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}}; |
26040 | 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 | 26041 | 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 |
26042 | 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}}; |
26043 | 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}}; | |
26044 | 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}}; | |
26045 | 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}}; | |
26046 | 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}}; | |
26047 | 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}}; | |
26048 | 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}}; | |
26049 | 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}}; | |
26050 | 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 |
26051 | 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}}; |
26052 | 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 |
26053 | 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}}; |
26054 | 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}}; | |
26055 | 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}}; | |
26056 | 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}}; | |
26057 | 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}}; | |
26058 | 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}}; | |
26059 | 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}}; | |
26060 | 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}}; | |
26061 | 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}}; | |
26062 | 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 | 26063 | 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 |
26064 | 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}}; |
26065 | 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}}; | |
26066 | 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}}; | |
26067 | 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}}; | |
26068 | 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}}; | |
26069 | 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}}; | |
26070 | 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}}; | |
26071 | 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}}; | |
26072 | 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}}; | |
26073 | 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 |
26074 | |
26075 | static swig_type_info *swig_types_initial[] = { | |
26076 | _swigt__p_wxQueryLayoutInfoEvent, | |
26077 | _swigt__p_wxPreviewFrame, | |
26078 | _swigt__p_wxPyPreviewFrame, | |
d14a1e28 RD |
26079 | _swigt__p_wxPyPanel, |
26080 | _swigt__p_wxMenu, | |
26081 | _swigt__p_wxPrintData, | |
26082 | _swigt__p_wxFontData, | |
26083 | _swigt__p_wxEvent, | |
26084 | _swigt__p_wxTaskBarIcon, | |
26085 | _swigt__p_wxIconBundle, | |
26086 | _swigt__p_wxLayoutAlgorithm, | |
26087 | _swigt__p_wxFindDialogEvent, | |
26088 | _swigt__p_wxPreviewCanvas, | |
26089 | _swigt__p_wxFont, | |
26090 | _swigt__p_wxSplitterEvent, | |
26091 | _swigt__p_wxRegion, | |
26092 | _swigt__p_wxFindReplaceData, | |
26093 | _swigt__p_int, | |
26094 | _swigt__p_wxSize, | |
26095 | _swigt__p_wxDC, | |
26096 | _swigt__p_wxIcon, | |
26097 | _swigt__p_wxMDIChildFrame, | |
26098 | _swigt__p_wxColourData, | |
26099 | _swigt__p_wxNotifyEvent, | |
26100 | _swigt__p_wxPyWindow, | |
26101 | _swigt__p_wxSplashScreen, | |
26102 | _swigt__p_wxFindReplaceDialog, | |
26103 | _swigt__p_wxProgressDialog, | |
26104 | _swigt__p_wxMessageDialog, | |
26105 | _swigt__p_wxTextEntryDialog, | |
26106 | _swigt__p_wxSingleChoiceDialog, | |
26107 | _swigt__p_wxMultiChoiceDialog, | |
26108 | _swigt__p_wxFileDialog, | |
26109 | _swigt__p_wxPrinter, | |
d14a1e28 RD |
26110 | _swigt__p_wxArrayInt, |
26111 | _swigt__p_wxEvtHandler, | |
26112 | _swigt__p_wxCalculateLayoutEvent, | |
26113 | _swigt__p_wxPyHtmlListBox, | |
26114 | _swigt__p_wxPyVListBox, | |
26115 | _swigt__p_wxRect, | |
994141e6 | 26116 | _swigt__p_char, |
d14a1e28 RD |
26117 | _swigt__p_wxMiniFrame, |
26118 | _swigt__p_wxFrame, | |
26119 | _swigt__p_wxPyPrintout, | |
26120 | _swigt__p_wxTaskBarIconEvent, | |
26121 | _swigt__p_wxScrollWinEvent, | |
26122 | _swigt__p_wxStatusBar, | |
26123 | _swigt__p_wxMDIParentFrame, | |
26124 | _swigt__p_wxPoint, | |
26125 | _swigt__p_wxObject, | |
db914595 | 26126 | _swigt__p_wxOutputStream, |
d14a1e28 | 26127 | _swigt__p_unsigned_long, |
1cb4a8aa | 26128 | _swigt__p_wxPyScrolledWindow, |
d14a1e28 RD |
26129 | _swigt__p_wxMDIClientWindow, |
26130 | _swigt__p_wxTipWindow, | |
26131 | _swigt__p_wxSashLayoutWindow, | |
26132 | _swigt__p_wxSplitterWindow, | |
d14a1e28 RD |
26133 | _swigt__p_wxPyVScrolledWindow, |
26134 | _swigt__p_wxPyPopupTransientWindow, | |
26135 | _swigt__p_wxPopupWindow, | |
26136 | _swigt__p_wxSashWindow, | |
26137 | _swigt__p_wxTopLevelWindow, | |
26138 | _swigt__p_wxWindow, | |
26139 | _swigt__p_wxScrolledWindow, | |
1e0c8722 | 26140 | _swigt__p_wxSplashScreenWindow, |
d14a1e28 RD |
26141 | _swigt__p_wxMenuBar, |
26142 | _swigt__p_wxPrintPreview, | |
26143 | _swigt__p_wxSashEvent, | |
26144 | _swigt__p_wxString, | |
26145 | _swigt__p_wxPyPrintPreview, | |
26146 | _swigt__p_wxFontDialog, | |
26147 | _swigt__p_wxDirDialog, | |
26148 | _swigt__p_wxColourDialog, | |
26149 | _swigt__p_wxDialog, | |
26150 | _swigt__p_wxPanel, | |
db914595 | 26151 | _swigt__p_wxPageSetupDialog, |
d14a1e28 RD |
26152 | _swigt__p_wxPrintDialog, |
26153 | _swigt__p_wxBitmap, | |
26154 | _swigt__p_wxCommandEvent, | |
d14a1e28 RD |
26155 | _swigt__p_wxPreviewControlBar, |
26156 | _swigt__p_wxPyPreviewControlBar, | |
26157 | _swigt__p_wxColour, | |
26158 | _swigt__p_wxToolBar, | |
b2dc1044 | 26159 | _swigt__p_wxPageSetupDialogData, |
994141e6 | 26160 | _swigt__p_wxPrintDialogData, |
d14a1e28 RD |
26161 | 0 |
26162 | }; | |
26163 | ||
26164 | ||
26165 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
26166 | ||
26167 | static swig_const_info swig_const_table[] = { | |
d14a1e28 RD |
26168 | {0}}; |
26169 | ||
26170 | #ifdef __cplusplus | |
26171 | } | |
26172 | #endif | |
26173 | ||
26174 | #ifdef __cplusplus | |
26175 | extern "C" | |
26176 | #endif | |
26177 | SWIGEXPORT(void) SWIG_init(void) { | |
26178 | static PyObject *SWIG_globals = 0; | |
26179 | static int typeinit = 0; | |
26180 | PyObject *m, *d; | |
26181 | int i; | |
26182 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
26183 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
26184 | d = PyModule_GetDict(m); | |
26185 | ||
26186 | if (!typeinit) { | |
26187 | for (i = 0; swig_types_initial[i]; i++) { | |
26188 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
26189 | } | |
26190 | typeinit = 1; | |
26191 | } | |
26192 | SWIG_InstallConstants(d,swig_const_table); | |
26193 | ||
b2dc1044 RD |
26194 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
26195 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
26196 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
26197 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
26198 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
b2df227b RD |
26199 | PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP)); |
26200 | PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE)); | |
26201 | PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE)); | |
26202 | PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE)); | |
26203 | PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX)); | |
26204 | PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME)); | |
26205 | PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU)); | |
26206 | PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX)); | |
26207 | PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX)); | |
26208 | PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ)); | |
26209 | PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT)); | |
26210 | PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX)); | |
26211 | PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER)); | |
26212 | PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT)); | |
26213 | PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE)); | |
26214 | PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE)); | |
26215 | PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW)); | |
26216 | PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT)); | |
26217 | PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU)); | |
26218 | PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR)); | |
26219 | PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED)); | |
15afbcd0 RD |
26220 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR)); |
26221 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR)); | |
26222 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR)); | |
26223 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER)); | |
26224 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION)); | |
26225 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL)); | |
26226 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG)); | |
26227 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT)); | |
26228 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN)); | |
26229 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE)); | |
26230 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT)); | |
26231 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT)); | |
b2dc1044 | 26232 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
15afbcd0 RD |
26233 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER)); |
26234 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH)); | |
26235 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT)); | |
26236 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE)); | |
26237 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH)); | |
26238 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER)); | |
4276dc52 | 26239 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME)); |
15afbcd0 RD |
26240 | PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER)); |
26241 | PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D)); | |
26242 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL)); | |
26243 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL)); | |
26244 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE)); | |
26245 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING)); | |
26246 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN)); | |
d14a1e28 RD |
26247 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
26248 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
26249 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
26250 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
b2dc1044 RD |
26251 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); |
26252 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
15afbcd0 RD |
26253 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE)); |
26254 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING)); | |
26255 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN)); | |
26256 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER)); | |
26257 | PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER)); | |
26258 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH)); | |
26259 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER)); | |
26260 | PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D)); | |
26261 | PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP)); | |
26262 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT)); | |
26263 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM)); | |
26264 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT)); | |
26265 | PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE)); | |
26266 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK)); | |
26267 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE)); | |
d14a1e28 | 26268 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
15afbcd0 RD |
26269 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL)); |
26270 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL)); | |
26271 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE)); | |
26272 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP)); | |
26273 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT)); | |
26274 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT)); | |
26275 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM)); | |
26276 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y)); | |
26277 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X)); | |
26278 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH)); | |
26279 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY)); | |
d14a1e28 RD |
26280 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
26281 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
b2dc1044 | 26282 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); |
d14a1e28 RD |
26283 | |
26284 | // Map renamed classes back to their common name for OOR | |
26285 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
26286 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
26287 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
26288 | ||
26289 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
26290 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
26291 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
26292 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
26293 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
26294 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
26295 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
b2dc1044 RD |
26296 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); |
26297 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
26298 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
26299 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
26300 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
26301 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
15afbcd0 RD |
26302 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE)); |
26303 | PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN)); | |
26304 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD)); | |
26305 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE)); | |
26306 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG)); | |
26307 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN)); | |
26308 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE)); | |
26309 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD)); | |
d14a1e28 RD |
26310 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
26311 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
26312 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
26313 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
26314 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
15afbcd0 RD |
26315 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001)); |
26316 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001)); | |
26317 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002)); | |
26318 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003)); | |
26319 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004)); | |
26320 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005)); | |
26321 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100)); | |
26322 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600)); | |
b2dc1044 RD |
26323 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
26324 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
15afbcd0 RD |
26325 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE)); |
26326 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW)); | |
26327 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE)); | |
26328 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER)); | |
26329 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM)); | |
26330 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR)); | |
26331 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED)); | |
26332 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR)); | |
26333 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT)); | |
26334 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS)); | |
26335 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT)); | |
26336 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM)); | |
26337 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST)); | |
26338 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST)); | |
26339 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO)); | |
26340 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT)); | |
26341 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE)); | |
26342 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT)); | |
26343 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS)); | |
26344 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT)); | |
26345 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM)); | |
26346 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST)); | |
26347 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST)); | |
26348 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO)); | |
d14a1e28 RD |
26349 | |
26350 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
26351 | ||
26352 | } | |
26353 |